Questions tagged «smarty»


10
什么是.tpl文件?php,网页设计
一个男人要我重新设计一个用PHP(VideoCMS)运行的网站。但是,当我要求他向我发送源代码时,他给了我* .tpl文件而不是* .php文件。其中包含一些代码: {include file='header.tpl' p="article"} <br /> <table width="886" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="150" valign="top"> <div id="reg_box"> <h3 class="captions">{$lang.articles}</h3> <div id="list_cats"> <ul> {$article_categories} </ul> </div> </div> <br /> <div id="reg_box"> <h3 class="captions">{$lang.members}</h3> {if $logged_in == '1'} {include file='loggedin_body.tpl'} {else} {include file='login_body.tpl'} {/if} 要么 {include file='header.tpl' p="index"} {php} $_SESSION['isFair'] …
91 php  html  smarty 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.