Added order notes field.
[readifood.git] / lib / menu.php
1 <head>
2 <link rel="stylesheet" type="text/css" href="/style.css">
3 </head>
4 <body>
5 <?php
6
7 if (false) {
8   /* Propel 1.3 syntax. */
9   #$area = AreaPeer::retrieveByPK(1);
10
11   $q = new AreaQuery;
12   $area = $q->findPK(1);
13   $qq = new CityQuery;
14   $city = $qq->findPK($area->getCityId());
15
16   printf("%s in %s\n", $area->getName(), $city->getName());
17 }
18
19   function button($text, $link) {
20     $safe = htmlspecialchars($text);
21     echo "<span class=\"button\"><a href=\"$link\">$safe</a></span>\n";
22   }
23
24   echo "<p>\n";
25   button("Orders", "/order");
26   button("Donations", "/donation");
27   echo "</p>\n";
28
29   echo "<p>\n";
30   button("Contacts", "/contact");
31   button("Hubs", "/hub");
32   button("Areas", "/area");
33   echo "</p>\n";
34
35   echo "<p>\n";
36   button("Cities", "/city");
37   echo "</p>\n";
38 ?>
39 </body>