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();}第二步,打開留言本的模版文件,默認的是/templets/plus/guestbook.htm <?php   pasterTempletDiy("default/head.htm");?>其他的同理                         
新聞熱點
疑難解答