<head>
<link rel="stylesheet" type="text/css" href="/style.css">
<title><?php echo "$charity"; if ($module) echo " - $module"; ?></title>
+<?php
+ echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"$http://code.jquery.com/ui/1.13.2/themes/smoothness/jquery-ui.css\">\n";
+ echo "<script src=\"$http://code.jquery.com/jquery-3.6.1.js\"></script>\n";
+ echo "<script src=\"$http://code.jquery.com/ui/1.13.2/jquery-ui.js\"></script>\n";
+?>
+<script src="/jquery.autosize.js"></script>
+<script src="/jquery.sortable.js"></script>
</head>
<body>
<p id="header">
-<?php if ($username) { ?>
+<?php if (isset($username)) { ?>
<a href="/city">Cities</a>
/
<a href="/area">Areas</a>
<a href="/report">Reports</a>
<strong class="small"><em><?php echo $username; ?></em>@<?php echo $charity; ?></strong>
-<a href="/logout" class="smaller">logout</a>
+<a href="/logout.php" class="smaller">logout</a>
<?php } else echo "<strong>$charity</strong>"; ?>
</p>