Simple code example of dedecms template call parsing

黄舟
Release: 2023-03-07 08:38:02
Original
1833 people have browsed it

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: www.php.cn/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 . &#39;/index.htm&#39;); //模板的路径 
$pv->Display(); //显示     
?>
Copy after login



##

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!