-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader2.php
More file actions
executable file
·25 lines (25 loc) · 878 Bytes
/
Copy pathheader2.php
File metadata and controls
executable file
·25 lines (25 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<table class="bodytable">
<tr><td colspan="2" align="right" class="divider"><a href="index.php?logout=true">Log out</a></td></tr>
<tr><td class="admin_sidebar">
<a href="index.php">Main page</a><br /><br />
<a href="upload.php">Upload comics</a><br />
<a href="browse.php">Browse/edit comics</a><br />
<a href="options.php">Change settings</a><br />
<a href="password.php">Change username/password</a>
</td>
<td valign="top">
<?php
if($_REQUEST["message"]) $messages[] = $_REQUEST["message"];
if(count($_SESSION["messages"])) {
$messages = array_merge($_SESSION["messages"],(array)$messages);
unset($_SESSION["messages"]);
}
if(count($_REQUEST["messages"])) $messages = array_merge($_REQUEST["messages"],(array)$messages);
if(count($messages)) {
echo "<ul>\n";
foreach($messages as $message) {
echo "<li>$message</li>\n";
}
echo "</ul>\n";
}
?>