3 // Copyright (c) 2001, Lubomir Sedlacik <salo@silcnet.org>
4 // and other members of the SILC Project (http://silcnet.org)
5 // All rights reserved.
7 // Redistribution and use in source and binary forms, with or without
8 // modification, are permitted provided that the following conditions
11 // 1) Redistributions of source code must retain the above copyright notice,
12 // this list of conditions and the following disclaimer.
13 // 2) Redistributions in binary form must reproduce the above copyright
14 // notice, this list of conditions and the following disclaimer in the
15 // documentation and/or other materials provided with the distribution.
16 // 3) Neither the name of the SILC Project nor the names of its contributors
17 // may be used to endorse or promote products derived from this software
18 // without specific prior written permission.
20 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
21 // IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
24 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 // THE POSSIBILITY OF SUCH DAMAGE.
33 // Read neccessary stuff if accessible
34 if (Is_Readable("config.php")) include("config.php");
35 if (Is_Readable("mirror.php")) include("mirror.php");
38 <?xml version="1.0" encoding="iso-8859-1"?>
39 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
40 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
41 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
43 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
44 <meta http-equiv="Content-Language" content="en" />
45 <meta name="description" content="SILC Secure Internet Live Conferencing" />
46 <meta name="keywords" content="SILC silcnet secure chat protocol cipher encrypt encryption SKE private channel conferencing" />
47 <meta content="INDEX, FOLLOW" name="ROBOTS" />
48 <title> SILC Secure Internet Live Conferencing -
52 if ($Country_Code != "")
53 $WWW_Site = $Country_Code.".silcnet.org";
55 $WWW_Site = "silcnet.org";
57 if ($Country_Code != "" && StrToLower($FTP_Archive) == "yes")
58 $FTP_Site = "ftp.".$Country_Code.".silcnet.org";
60 $FTP_Site = "ftp.silcnet.org";
62 if ($Country_Code != "" && StrToLower($CVS_Archive) == "yes"
63 && $CVS_User && $CVS_Root)
64 $CVS_Site = "cvs.".$Country_Code.".silcnet.org";
66 $CVS_Site = "cvs.silcnet.org";
68 $CVS_Root = "/cvs/silc";
71 // find out release dates from release archive files
72 $Date_Toolkit = date("l dS of F Y H:i:s",
73 filemtime("download/silc-toolkit-".$Latest_Toolkit.".tar.gz"));
74 $Date_Client = date("l dS of F Y H:i:s",
75 filemtime("download/silc-client-".$Latest_Client.".tar.gz"));
76 $Date_Server = date("l dS of F Y H:i:s",
77 filemtime("download/silc-server-".$Latest_Server.".tar.gz"));
79 // remove possibly dangerous characters, only alphanumerical characters are passed
80 function Filter($input) {
81 return EReg_Replace("([^a-zA-Z0-9])*", "", $input);
90 if (Is_Readable("html/".Filter($page).".php")) {
98 <link href="silc.css" rel="stylesheet" type="text/css" />
102 <table width="100%" cellpadding="0" cellspacing ="0" border="0">
103 <tr><td align="center">
105 <table width="700" cellpadding="1" cellspacing="0" border="0">
108 <table width="100%" cellpadding="0" cellspacing="0" border="0">
111 <img src="img/silc.gif" width="700" height="100" alt=" " />
115 <td class="white" align="center">
116 <table cellspacing="3" cellpadding="10" border="0">
117 <tr><td valign="top" class="white">
119 <small class="black">o</small> <a href="?page=news" class="normal">SILC News</a><br />
120 <small class="black">o</small> <a href="?page=about" class="normal">About the SILC</a><br />
121 <small class="black">o</small> <a href="?page=history" class="normal">History of SILC</a><br />
122 <small class="black">o</small> <a href="?page=contribute" class="normal">Contributing</a><br />
123 <small class="black">o</small> <a href="?page=lists" class="normal">SILC Mailing Lists</a><br />
124 </td><td valign="top" class="white">
125 <b>Documentation</b><br />
126 <small class="black">o</small> <a href="?page=docs" class="normal">SILC Documentation</a><br />
127 <small class="black">o</small> <a href="?page=whitepaper" class="normal">SILC White Paper</a><br />
128 <small class="black">o</small> <a href="?page=faq" class="normal">SILC FAQ</a><br />
129 <small class="black">o</small> <a href="?page=features" class="normal">SILC Features</a><br />
130 <small class="black">o</small> <a href="?page=todo" class="normal">TODO List</a><br />
131 </td><td valign="top" class="white">
132 <b>Software</b><br />
133 <small class="black">o</small> <a href="?page=download" class="normal">Download SILC</a><br />
134 <small class="black">o</small> <a href="?page=mirrors" class="normal">Mirrors Worldwide</a><br />
135 <small class="black">o</small> <a href="?page=cvs" class="normal">Anonymous CVS Access</a><br />
136 <small class="black">o</small> <a href="txt/changes.txt" class="normal">ChangeLog</a><br />
137 <small class="black">o</small> <a href="?page=copying" class="normal">The General Public License (GPL)</a><br />
141 <tr><td class="blackline"></td></tr>
143 <td class="<?php if($pass == 1 && $page == "whitepaper") $color="whitetext"; else $color="greytext"; echo $color; ?>">
144 <table width="100%" cellpadding="10" cellspacing="0" border="0">
145 <tr><td class="<?php echo $color; ?>">
147 // read document, if it is not valid then read opening page
149 include("html/".Filter($page).".php");
151 include("html/news.php");
158 switch(StrToLower($OS_Type)) {
159 case "bsd": $img = "daemon.gif";
160 $alt = "( daemon powered - IMAGE )";
162 case "linux": $img = "penguin.gif";
163 $alt = "( penguin powered - IMAGE )";
167 echo "<td align=\"right\" valign=\"bottom\">";
169 echo "<img src=\"img/".$img."\" alt=\"".$alt."\" />";
183 <a href="mailto:salo at silcnet.org" class="small">salo at silcnet.org</a> |
186 include("html/counter.php");
188 <a href="http://validator.w3.org/check/referer" class="small">XHTML</a> and
189 <a href="http://jigsaw.w3.org/css-validator/check/referer" class="small">CSS</a>