> <p>基本语法</p> <table> <thead> <tr> <th>标签</th> <th>说明</th> <th>备注</th> </tr> </thead> <tbody> <tr> <td>{cms:version}</td> <td>系统版本号</td> <td>如:V1.0</td> </tr> <tr> <td>{cms:sitepath}</td> <td>网站终极目录(可放在二级目录,其它语言则在三级目录)</td> <td>默认:/</td> </tr> <tr> <td>{cms:siteurl}</td> <td>网站网址</td> <td></td> </tr> <tr> <td>{cms:wapurl}</td> <td>手机网站网址</td> <td></td> </tr> <tr> <td>{cms:logo} {cms:pclogo}</td> <td>网站LOGO地址</td> <td></td> </tr> <tr> <td>{cms:waplogo}</td> <td>手机网站 LOGO地址</td> <td></td> </tr> <tr> <td>{cms:sitetitle}</td> <td>网站标题</td> <td></td> </tr> <tr> <td>{cms:sitetitle2}</td> <td>网站附加标题</td> <td></td> </tr> <tr> <td>{cms:sitename}</td> <td>网站标题</td> <td></td> </tr> <tr> <td>{cms:sitekeys}</td> <td>网站关键词</td> <td></td> </tr> <tr> <td>{cms:sitekeyslink}</td> <td>网站关键词带连接</td> <td>&nbsp;</td> </tr> <tr> <td>{cms:sitedesc}</td> <td>网站描述</td> <td></td> </tr> <tr> <td>{cms:siteicp}</td> <td>备案号</td> <td></td> </tr> <tr> <td>{cms:tempath}</td> <td>默认模板路径</td> <td></td> </tr> <tr> <td>{cms:company}</td> <td>公司名称</td> <td></td> </tr> <tr> <td>{cms:address}</td> <td>公司地址</td> <td></td> </tr> <tr> <td>{cms:postcode}</td> <td>邮政编码</td> <td></td> </tr> <tr> <td>{cms:mobile}</td> <td>手机号码</td> <td></td> </tr> <tr> <td>{cms:fax}</td> <td>公司传真</td> <td></td> </tr> <tr> <td>{cms:email}</td> <td>电子邮箱</td> <td></td> </tr> <tr> <td>{cms:weixin}</td> <td>微信二维码</td> <td></td> </tr> <tr> <td>{cms:tel}{cms:tel1}</td> <td>电话</td> <td></td> </tr> <tr> <td>{cms:qq}{cms:qq1}</td> <td>qq</td> <td></td> </tr> <tr> <td>{cms:contact}{cms:contact1}</td> <td>联系人</td> <td></td> </tr> <tr> <td>{cms:tel1} {cms:tel2} {cms:tel3}...</td> <td>电话号码</td> <td>支持多个,用竖线分割(默认模板调用3个qq,如果后台更改请修改foot模板)</td> </tr> <tr> <td>{cms:qq1} {cms:qq2} {cms:qq3}...</td> <td>qq</td> <td>支持多个,用竖线分割</td> </tr> <tr> <td>{cms:contact1}{cms:contact2}{cms:contact3}...</td> <td>联系人</td> <td>支持多个,用竖线分割</td> </tr> <tr> <td>{cms:qqkf1}</td> <td>qq客服标签1</td> <td>多个qq客服请使用qqkf1</td> </tr> <tr> <td>{cms:qqkf2}</td> <td>qq客服标签2</td> <td>一个qq客服请使用qqkf2</td> </tr> <tr> <td>{cms:statisticalcode}</td> <td>统计代码</td> <td>可在此插入商桥等代码</td> </tr> <tr> <td>{cms:copyright}</td> <td>网站版权</td> <td></td> </tr> <tr> <td>{cms:location}</td> <td>面包屑</td> <td></td> </tr> <tr> <td>{cms:nowtime}</td> <td>当前时间</td> <td>当前年:{formatdate:{cms:nowtime},yyyy}</td> </tr> <tr> <td>{cms:baidumap}</td> <td>百度地图</td> <td>后台有百度地图定位功能</td> </tr> <tr> <td>{cms:gbookform}</td> <td>调用留言表单</td> <td></td> </tr> <tr> <td>{cms:productpics}</td> <td>调用产品相册</td> <td>(带jquery效果,模板页面需载入jquery.js)</td> </tr> </tbody> </table> <h2 data-line="45"><a id="_45"></a>分类信息</h2> <p>基本语法</p> <table> <thead> <tr> <th>标签</th> <th>说明</th> <th>备注</th> </tr> </thead> <tbody> <tr> <td>{cms:sid}</td> <td>分类id</td> <td>默认为0</td> </tr> <tr> <td>{cms:sname}</td> <td>分类名称</td> <td>默认为空</td> </tr> <tr> <td>{cms:senname}</td> <td>分类英文名称</td> <td>默认为空</td> </tr> <tr> <td>{cms:tsid}</td> <td>顶层分类id</td> <td>默认为0</td> </tr> <tr> <td>{cms:tsname}</td> <td>顶层名称</td> <td>默认为空</td> </tr> <tr> <td>{cms:tsenname}</td> <td>顶层英文名称</td> <td>默认为空</td> </tr> <tr> <td>{cms:psid}</td> <td>上级id</td> <td>默认为0</td> </tr> </tbody> </table> <h2 data-line="59"><a id="_59"></a>模板引用</h2> <p>基本语法</p> <table> <thead> <tr> <th>标签</th> <th>说明</th> <th>备注</th> </tr> </thead> <tbody> <tr> <td>{cms:top}</td> <td>头部模板</td> <td>{cms:template src=head.html}</td> </tr> <tr> <td>{cms:foot}</td> <td>尾部模板</td> <td>{cms:template src=foot.html}</td> </tr> <tr> <td>{cms:left}</td> <td>左侧模板</td> <td>{cms:template src=left.html}</td> </tr> <tr> <td>{cms:right}</td> <td>右侧模板</td> <td>{cms:template src=right.html}</td> </tr> </tbody> </table> <p>{cms:template src=?.html} (<strong>调用自定义模板,请确保模板一定存在,不然报错</strong>)</p>