updates.
[silc.git] / scripts / silcdoc / gen_index.php
1 <?php
2 /*
3
4   Author: Pekka Riikonen <priikone@silcnet.org>
5
6   Copyright (C) 2002 Pekka Riikonen
7
8   This program is free software; you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation; either version 2 of the License, or
11   (at your option) any later version.
12
13   This program is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18 */
19 ?>
20
21 <html>
22 <head>
23  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-a" />
24  <meta http-equiv="Content-Language" content="en" />
25  <meta name="description" content="SILC Secure Internet Live Conferencing" />
26  <meta name="keywords" content="SILC, secure, chat, protocol, cipher, encrypt, SKE" />
27  <meta content="INDEX, FOLLOW" name="ROBOTS" />
28  <style type="text/css">
29   <!--
30   body { color: #000000; background: #ffffff; font-family: Helvetica, Arial, Sans-serif; }
31   a:link { text-decoration: none; color: #2f488f; }
32   a:visited { text-decoration: none;color: #2f488f; }
33   a:active { text-decoration: none; color: #2f488f; }
34   -->
35  </style>
36 </head>
37
38 <body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
39
40 <table border="0" cellspacing="0" cellpadding="6" width="100%">
41  <tr valign="top" bgcolor="#dddddd">
42   <td><small>Copyright &copy; 2001 - 2002 SILC Project<br />
43     <a href="http://silcnet.org">SILC Project Website</a></small></td>
44   <td align="right"><small>
45    <a href="index.html">SILC Toolkit Reference Manual</a><br />
46    </small></td>
47  </tr>
48 </table>
49 <table border="0" cellspacing="0" cellpadding="0" width="100%">
50  <tr valign="top"><td bgcolor="#cccccc"></td></tr>
51 </table>
52
53 <table cellpadding="0" cellspacing="0" border="0">
54  <tr valign="top">
55
56   <td width="220" bgcolor="#f0f0f0">
57    <table width="100%" cellpadding="2" cellspacing="2" border="0">
58     <tr valign="top"><td>
59 <br />
60 <?php
61 require "$dest/index.tmpl";
62 ?>
63     </td></tr>
64    </table>
65   </td>
66
67   <td bgcolor="#dddddd" background="dot.gif"> </td>
68
69   <td width="800">
70    <table cellpadding="2" cellspacing="6" width="100%">
71     <tr><td valign="top">
72 <br />
73 <?php
74 require "$page";
75 ?>
76 <br /><br /><br /><br />
77     </td></tr>
78    </table>
79   </td>
80
81   <td bgcolor="#cccccc" background="dot.gif"> </td>
82
83   <td width="200" bgcolor="#f0f0f0">
84     <table width="100%" cellpadding="4" cellspacing="0">
85     <tr valign="top"><td>
86 <br />
87 <font face="Helvetica,Arial,Sans-serif" size="1">
88 <?php
89 /* Get the index for this page */
90 $len = strcspn($page, "__");
91 $fname = substr($page, 0, $len);
92 require "$fname"."__index.tmpl";
93 ?>
94 </font>
95
96 <br /><br /><br /><br />
97     </td></tr>
98     </table>
99   </td>
100 </tr>
101 </table>
102
103 <table border="0" cellspacing="0" cellpadding="0" width="100%">
104  <tr valign="top"><td bgcolor="#cccccc"></td></tr>
105 </table>
106 <table border="0" cellspacing="0" cellpadding="6" width="100%">
107  <tr valign="top" bgcolor="#dddddd">
108   <td><small>Copyright &copy; 2001 - 2002 SILC Project<br />
109     <a href="http://silcnet.org">SILC Project Website</a></small></td>
110   <td align="right"><small>
111    <a href="index.html">SILC Toolkit Reference Manual</a><br />
112    </small></td>
113  </tr>
114 </table>
115
116 </body>
117 </html>