Static generation of web pages. Based on GSoC work, and still needs
[ccan] / web / menulist.html
1 <?php
2 session_start();
3 // Pages created in subdirs need ../ appended.
4 $url_prefix = getenv("URLPREFIX");
5 ?>
6 <table align="center" width="100%" cellpadding="4" cellspacing="1" border="0" bgcolor="lightblue">
7  <tr align="left" bgcolor="CCFFCC" >
8   <td align="center">
9         <a href="<?=$url_prefix?>upload.html">Upload Code</a>
10   </td>
11   <td align="center">
12         <a href="<?=$url_prefix?>list.html">Download Code</a>
13   </td>
14   <td align="center">
15         <a href="<?=$url_prefix?>index.html">About</a>
16   </td>
17   <td align="center">
18     <form method="get" action="http://www.google.com/search">
19       <input type="text"   name="q" size="25"
20              maxlength="255" value="" />
21       <input type="hidden" name="sitesearch" value="ccan.ozlabs.org"/>
22       <input type="submit" value="Search CCAN (Google)" />
23     </form>
24   </td>
25 </table>
26 <hr>