3 // directories where SILC documents are located
4 $DocRoot = "/home/www/silcnet.org/d/";
7 // remove dangerous characters, only alphanumerical characters are passed
8 $SecurityFilter = $HTMLRoot.EReg_Replace('([^a-zA-Z0-9_.])*','',$page);
12 <?xml version="1.0" encoding="iso-8859-1"?>
13 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
14 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
16 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-a" />
17 <meta http-equiv="Content-Language" content="en" />
18 <meta name="description" content="SILC Secure Internet Live Conferencing" />
19 <meta name="keywords" content="SILC, secure, chat, protocol, cipher, encrypt, SKE" />
20 <meta content="INDEX, FOLLOW" name="ROBOTS" />
21 <style type="text/css">
23 body { color: #000000; background: #bbbbbb; font-family: Helvetica, Arial, Sans-serif; }
24 a:link { text-decoration: none; color: #2f486f; }
25 a:visited { text-decoration: none;color: #2f486f; }
26 a:active { text-decoration: none; color: #2f486f; }
30 <title> SILC Secure Internet Live Conferencing -
33 if (Is_Readable($SecurityFilter.".php"))
43 <body bgcolor="#aaaaaa" text="#000000" link="#2f486f" alink="#2f486f" vlink="#2f486f">
47 <table width="800" bgcolor="#000000" cellpadding="1" cellspacing="0" border="0">
50 <table width="100%" bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0">
52 <td bgcolor="#e2e2e2">
53 <br /><a href="index.php?page=news"><img src="img/silc.gif" width="700" height="100" alt=" SILC Secure Internet Live Conferencing " border="0" /></a>
56 <tr><td bgcolor="#000000" height="1"></td></tr>
59 <table width="100%" bgcolor="#e2e2e2" cellpadding="10" cellspacing="0" border="0">
60 <tr><td><font face="Helvetica,Arial,Sans-serif">
62 // read document, if it is not valid then read opening page
63 if (Is_Readable($SecurityFilter))
64 require $SecurityFilter;
66 require $HTMLRoot."news.php";