Tag-Base
: Tag-Base
, or view demo : Tpl/Tag > demo-tjs $_did = 'yyyy-md-xxxx';
{php $_did = '2006-97-8axx'; }
{tag:demo3=[jsList][modid,demo][order,etime][limit,3]}
<li><a href="{surl("demo.$t_did")}">{=$t_title} --- {stime($t_atime)}</a></li>
{/tag:demo3}
Clike <i id="jsid_field_{=$this->mod}:{=$did}:click">{=$click}<!--,add1--></i> Times
Remark:<i id="cnt_nrem">0</i> Items
Remark(<i id="jsid_count_{=$pmod}:{=$did}">0<!--`{=$this->mod},cnt_{=$pmod}`--></i>Items) (Notice use ` split the remark tag)
Remark(<i id="jsid_count_{=$pmod}:{=$did}">0<!--news,cnt_nrem--></i>Items)
Remark(<i id="jsid_count_nrem:2013-ck-jc01">0<!--`news,cnt_nrem`--></i>Items)
Guestbook(<i id="jsid_count_{=$modid}:0">0</i>Items) //All guestbook rec(s)
{php $did = '2013-ck-jc01'; $etime = '321123'; }
<br><div id='jsid_advs_ab'><!--cd--> ----------- This tag Not be replaced, Show org ...(jsid_advs_ab=cd)</div>
<br><div id='jsid_advs_adv1'><!--adpic:aphom--></div>
<br><span id='jsid_advs_adv2'><!--adpic:apinn--></span>
<br><div id='jsid_advs_advx'><!--adxxx:yyhom--></div>
jsid_advs_
, Do NOT repeat as the same page model:catalog
, Can use <!--model:catid-->
hide the content before show the advs js-Advs:
-> Advs can be showed with Base-Tags, but it is recommended to use this method;
-> In a large system, may create a large number of static HTML files, use js-Tag load advs, It can easy to update ads alone, do not update the entire HTML file;
Notice: These pages at `/dev.php` is the Manual for Imcat, Welcome to `Faqs` Exchange experience!
QQGroup:607070548; Copyright © 2011-2018 txjia.com All rights reserved.
Run:0.000/35.472(ms); 0(sql)/1.965(MB); doc:c_demo/tpltag_main; Upd:2024-04-26 19:06:09