PMCMS全站通用标签
PMCMS全站通用标签{webroot}当前网站目录{weburl}网站URL{webmode}系统运行模式,数值:1为动态,2为伪静态,3为静态{pmcms[logo]} 电脑版logo地址{pmcms[mlogo]} 手机版logo地址{htmldir} 静态模式下,生成文件目录
PMCMS模版引用
PMCMS模版引用,当前目录模版包含 {pmcms:include("pmcms_head.asp")}相对路径模版包含{pmcms:include("../../pmcms_head.asp")}
PMCMS定义变量与PMCMS if条件判断
PMCMS定义变量与PMCMS if条件判断,定义变量 {dim a:a=a+1} {a} 条件判断 {if a=1}显示1{elseif a=2}显示2{else}显示3{/if} 或{if a=1}显示1{else}显示2{/if} 或{if a=1}显示1{/if}
PMCMS区块标签调用
PMCMS区块标签调用{pmcms:block("自定义名称")} 例如:{pmcms:block("company")}、{pmcms:block("tel")} 、{pmcms:block("email")}等 自定义区块步骤:依次点击后台顶部菜单【内容…
PMCMS顶部导航标签调用
PMCMS顶部导航标签调用PMCMS顶部导航标签调用 <ul> <li><h2><a href="{webroot}" title="网站首页">网站首页</a></h2></li> {pmcms:rs top="…
PMCMS焦点图/幻灯片标签调用
PMCMS焦点图/幻灯片标签调用{pmcms:rs field="url,pic,title,txta,txtb,txtc,txtd,txte,txtf" table="pmcms_expand_slide" where="islock=1 and classid=1" order="ordnum de…
PMCMS栏目名称与栏目链接调用
PMCMS栏目名称与栏目链接调用 一、单独调用方法: {pmcms.getcateurl(*)}栏目分类的链接;*的值是要调用分类的id的值,例如:1,2,3等数字;也可以是 topid,classid {pmcms.getcatename(*)} 栏目分类的名称;*的值…
PMCMS调用指定内容列表
PMCMS调用指定内容列表1、文字列表{pmcms:rs top="5" field="id,title,style,createdate,isurl,url,classid,pic,ispic,intro" table="sd_content" where="islock=1 and classi…
PMCMS调用友情链接
PMCMS调用友情链接1、文字链接 {pmcms:rs top="0" table="sd_expand_link" where="islock=1 and islogo=0" order="id desc"} {rs:eof}<li>没有资料</li>{/r…
PMCMS广告调用
PMCMS广告调用{pmcms:rs field="url,pic,title,txta,txtb,txtc,txtd,txte,txtf" table="pmcms_expand_ad" where="islock=1 and classid=3" order="ordnum desc,id desc" …
PMCMS首页单篇内容调用
PMCMS首页单篇内容调用{pmcms:rs table="pmcms_model_page" where="classid=1"} {$rs[content]} {/pmcms:rs} 首页单篇简介调用 {pmcms:rs table="pmcms_model_page" where="cl…
PMCMS单篇内容调用
PMCMS单篇内容调用{pmcms.get_content_split(content_,htmlrule)} 单篇内容分页代码调用 <div class="pagelist" > <ul>{get_content_page}</ul> </div>
PMCMS列表页专用标签
PMCMS列表页专用标签 {classname} 栏目名称 {seokey} 栏目关键字 {seodesc} 栏目描述 {seotitle} 优化标题 {classid} 栏目ID {parentid} 当前栏目的所有父ID {sonid} 当前栏目的所有子ID {pagenum} 栏目的分页数量 {c…
PMCMS内容页专用
PMCMS内容页专用 {classname} 当前内容所属栏目的栏目名称 {classid} 当前内容所属栏目的栏目ID {followid} 当前内容所属栏目的父栏目ID {sonid} 当前内容所属栏目的所有子类 {parentid} 当前内容所属栏目的所有父类 …