--- legal.php 2001/02/28 09:48:30 1.1 +++ legal.php 2001/03/12 10:52:18 1.2 @@ -20,7 +20,13 @@ include("common.inc"); -$main=$smarty->fetch("$main_file.tpl"); +if (file_exists("./html/".$main_file.".htm")) { + $main_file="./html/".$main_file.".htm"; + $main=join('',file($main_file)); +// $main.=""; +} else { + $main=$smarty->fetch("$main_file.tpl"); +} $smarty->assign("MAIN",$main); $smarty->display("index.tpl");