01 function pasterTempletDiy($path) 02 03 { 04 05 require_once(DEDEINC."/arc.partview.class.php"); 06 07 global $cfg_basedir,$cfg_templets_dir; 08 09 $tmpfile = $cfg_basedir.$cfg_templets_dir."/".$path;//模版文件的路径 10 11 $dtp = new PartView(); 12 13 $dtp->SetTemplet($tmpfile); 14 15 $dtp->Display(); 16 17 }
新闻热点
疑难解答