Home > Article > Backend Development > Simple code example of dedecms template call parsing
This article mainly introduces the simplest code for dedecms template calling and parsing. Friends who need it can refer to it
dedecms template download address: m.sbmmt.com/xiazai/code/dedecms
<?php require_once (dirname(FILE) . "/include/common.inc.php"); require_once DEDEINC."/arc.partview.class.php"; $pv = new PartView(); //实例化 $pv->SetTemplet($cfg_basedir . $cfg_templets_dir . "/" . $cfg_wap_style . '/index.htm'); //模板的路径 $pv->Display(); //显示 ?>
##
The above is the detailed content of Simple code example of dedecms template call parsing. For more information, please follow other related articles on the PHP Chinese website!