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();
}
<div class="head">
<div class="top center">
<div class="title">
<h1>
<h1><a href="<?php echo $cfg_basehost;?>/">
<?php echo $cfg_webname;?></a></h1>
</h1>
</div><!-- /title -->
</div><!-- /top -->
</div><!-- /header -->
如对本文有疑问,请提交到交流论坛,广大热心网友会为你解答!! 点击进入论坛