Merge branch 'master' into uat
[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 <script src="/jquery.sortable.js"></script>
11 </head>
12 <body>
13
14 <p id="header">
15 <?php if ($username) { ?>
16 <a href="/city">Cities</a>
17 /
18 <a href="/area">Areas</a>
19 /
20 <a href="/contact">Contacts</a>
21 /
22 <a href="/order">Orders</a>
23 /
24 <a href="/delivery">Deliveries</a>
25 /
26 <a href="/hub">Hubs</a>
27 /
28 <a href="/donation">Donations</a>
29 /
30 <a href="/report">Reports</a>
31
32 <strong class="small"><em><?php echo $username; ?></em>@<?php echo $charity; ?></strong>
33 <a href="/logout" class="smaller">logout</a>
34 <?php } else echo "<strong>$charity</strong>"; ?>
35 </p>
36
37 <div id="main">