<?
require_once ('config.php');
switch ($_GET['page'])
{
case 'TOS':
$TOS_file = fopen(skin . 'TOS.tpl', 'r');
$TOS_content = fread($TOS_file, filesize(skin . 'TOS.tpl'));fclose($TOS_file);
$smarty->assign('content', stripslashes($TOS_content));
break;
}
$smarty->display('nomenu.tpl');
?>