-
function pasterTempletDiy($path)
-
{
-
require_once(DEDEINC."/arc.partview.class.PHP");
-
global$cfg_basedir,$cfg_templets_dir;
-
$tmpfile = $cfg_basedir.$cfg_templets_dir."/".$path;//模版文件的路径
-
$dtp = new PartView();
-
$dtp->SetTemplet($tmpfile);
-
$dtp->display();
-
}
pasterTempletDiy("default/head.htm");
?>