<?PHP
if (!isset($rootpath))
return;//$rootpath="../";
include_once($rootpath . "common.php");
$ttem = new Template();
$ttem->set_filenames(array("header"=>$rootpath."html/header.tpl"));
$ttem->set_filenames(array("uploadsucc"=>$rootpath."html/webdrive/uploadsucc.tpl"));
$ttem->set_filenames(array("footer"=>$rootpath."html/footer.tpl"));
$ttem->assign_var("APP_ROOT", $webappcfg['APPPATH']);
@reset($rb);
while (list($key, $var) = each($rb))
{
$ttem->assign_var($key, $var);
}
@reset($rb);
while (list($key, $var) = each($rb))
{
$ttem->assign_var($key, $var);
}
$ttem->pparse("header");
$ttem->pparse("uploadsucc");
$ttem->pparse("footer")
?>