e8b89daa495e9c549408a84fca89583a480258c6
[readifood.git] / lib / header.php
1 <head>
2 <link rel="stylesheet" type="text/css" href="/style.css">
3 <title><?php echo "$charity"; if ($module) echo " - $module"; ?></title>
4 <?php
5   echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"$http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css\">\n";
6   echo "<script src=\"$http://code.jquery.com/jquery-1.9.1.js\"></script>\n";
7   echo "<script src=\"$http://code.jquery.com/ui/1.10.3/jquery-ui.js\"></script>\n";
8 ?>
9 <script src="/jquery.autosize.js"></script>
10 </head>
11 <body>
12
13 <p id="header">
14 <?php if ($username) { ?>
15 <a href="/city">Cities</a>
16 /
17 <a href="/area">Areas</a>
18 /
19 <a href="/contact">Contacts</a>
20 /
21 <a href="/order">Orders</a>
22 /
23 <a href="/delivery">Deliveries</a>
24 /
25 <a href="/hub">Hubs</a>
26 /
27 <a href="/donation">Donations</a>
28 /
29 <a href="/report">Reports</a>
30
31 <strong class="small"><em><?php echo $username; ?></em>@<?php echo $charity; ?></strong>
32 <a href="/logout" class="smaller">logout</a>
33 <?php } else echo "<strong>$charity</strong>"; ?>
34 </p>
35
36 <div id="main">