--- careers.php 2001/10/02 07:45:45 1.16 +++ careers.php 2002/04/11 12:56:40 1.17 @@ -1,5 +1,23 @@ upload_dir = "/data/erec"; + + //ini_restore("include_path"); // no work? + ini_set("include_path",$old_inc); +} else { + require("Smarty.class.php"); +} + require("conn.inc"); $smarty = new Smarty; @@ -83,12 +101,13 @@ } $main=$smarty->fetch("Careers-".$part.".tpl"); +} elseif ($part == "erec") { + $main=$erec->page(); } else { $main_file.="Main.htm"; $main=join('',file($main_file)); } - $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); $smarty->assign("MAIN",$main);