Static generation of web pages. Based on GSoC work, and still needs
[ccan] / web / search.html
1                 <form method="post" action="search.php">
2                 <table align="center">
3                 <tr align="left">
4                 <td>
5                         Search ccan repository:
6                 </td>
7                 <td>
8                                 <p><input name="searchtext" type="text"/></p>
9                 </td>
10                 <td>
11                                 <p> <select name="searchmenu">
12                                                 <option value="all">All  </option>
13                                                 <option value="author">Author   </option>
14                                                 <option value="module">Module title   </option>
15                                          </select>
16                                 </p>
17                 </td>
18                 </tr>
19                 <tr align="center">
20                 <td></td>
21                 <td align="right">
22                                 <input type="submit" name="search" value="Search"/>
23                 </td>
24                 <td align="left"><a href=search.php?disp=all>Display all</a></td>
25                 </tr>
26                 </table>
27                 <table align="center">
28                                 <tr align="left">
29                                 <?php
30                                         for ($i = "a"; $i != "aa"; $i++) {
31                                                 echo '<td><a href=search.php?disp='. $i . '>'. $i .'</a></td>';
32                                         }
33                                 ?>
34                                 </tr>                                   
35                         </td>
36                 </tr>
37                 </table>
38                 </form>