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 bgcolor="#444444"><td><img src="space.gif" width="1" height="1"border="0" alt="" ></td></tr>
51 </table>
52
53 <table cellpadding="0" cellspacing="0" border="0">
54  <tr valign="top">
55
56   <td width="230" bgcolor="#f0f0f0">
57    <table width="100%" cellpadding="2" cellspacing="2" border="0">
58     <tr valign="top"><td>
59 <br />
60 <small>
61 <?php
62 require "$dest/index.tmpl";
63 ?>
64 </small>
65 <br /><br /><br /><br />
66     </td></tr>
67    </table>
68   </td>
69
70   <td bgcolor="#cccccc" background="dot.gif">
71     <img src="space.gif" width="1" height="1" border="0" alt=""></td>
72
73   <td width="800">
74    <table cellpadding="2" cellspacing="6" width="100%">
75     <tr><td valign="top">
76 <br />
77 <?php
78 require "$page";
79 ?>
80 <br /><br /><br /><br />
81     </td></tr>
82    </table>
83   </td>
84
85   <td bgcolor="#cccccc" background="dot.gif">
86     <img src="space.gif" width="1" height="1" border="0" alt=""></td>
87
88   <td width="200" bgcolor="#f0f0f0">
89     <table width="100%" cellpadding="4" cellspacing="0">
90     <tr valign="top"><td>
91 <br />
92 <font face="Helvetica,Arial,Sans-serif" size="1">
93 <?php
94 /* Get the index for this page */
95 $len = strcspn($page, "__");
96 $fname = substr($page, 0, $len);
97 require "$fname"."__index.tmpl";
98 ?>
99 </font>
100
101 <br /><br /><br /><br />
102     </td></tr>
103     </table>
104   </td>
105 </tr>
106 </table>
107
108 <table border="0" cellspacing="0" cellpadding="0" width="100%">
109 <tr bgcolor="#444444"><td><img src="space.gif" width="1" height="1"border="0" alt="" ></td></tr>
110 </table>
111 <table border="0" cellspacing="0" cellpadding="6" width="100%">
112  <tr valign="top" bgcolor="#dddddd">
113   <td><small>Copyright &copy; 2001 - 2002 SILC Project<br />
114     <a href="http://silcnet.org">SILC Project Website</a></small></td>
115   <td align="right"><small>
116    <a href="index.html">SILC Toolkit Reference Manual</a><br />
117    </small></td>
118  </tr>
119 </table>
120
121 </body>
122 </html>