通用页底模板
引用十个热门关键词
{gethotsearch(10)}
在线客服引用
{template 'system/servers.html'}
手机访问状态下在线客服引用
{if config::get('wap_foot_nav')=='1'}
{template 'system/foot_nav_b.html'}
{elseif config::get('wap_foot_nav')=='2'}
{template 'system/foot_nav_c.html'}
{else}
{template 'system/foot_nav_a.html'}
{/if}
短信留言提示框引用
{template 'system/sms.html'}
引用十个热门关键词
{gethotsearch(10)}
引用十个热门关键词
{gethotsearch(10)}
引用十个热门关键词
{gethotsearch(10)}
友情链接引用
{loop friendlink('text',0,24) $flink} <a href="{$flink['url']}" target="_blank">{$flink['name']}</a> {/loop}
友情链接logo引用
{loop friendlink('image',0,24) $flink} <a href="{$flink['url']}" title="{$flink['name']}"><img src="{$flink['logo']}"width="88" height="31" /></a> {/loop}
用editplus打开footer.html 页头模板
1、页底常用函数说明
手机访问链接二维码图片
<div id="qrcode"></div>
<script>
$(function() {
$('#qrcode').qrcode({width: 150,height: 150,text: window.location.href});
});
</script>
公众号二维码图片
<img src="{get('weixin_pic')}" onerror='this.src="{config::get('onerror_pic')}"' />
引用留言框:
{callGuestbook()}
引用留言框模板在网站目录data/guestbook.php文件中修改;
留言列表模板在模板包guestbook/index.html 中修改。
引用邮箱订阅框:
<form name="listform" id="listform" action="<?php echo url('archive/email');?>" method="post">
<input type="text" name="email" id="email" value=" {lang(mailsubscription)} " onfocus="if(this.value==' {lang(mailsubscription)} ') {this.value=''}" onblur="checkEmail(this)" class="s_text" />
<input type="submit" align="absmiple" name='submit' value=" " class="s_btn" />
</form>
引用留言框模板在网站目录data/guestbook.php文件中修改;
引用防伪码查询框:
<form name='search' action=" <input type="text" name="keyword" value="{lang(enter)}{lang(ecoding)}" onfocus="if(this.value=='{lang(enter)}{lang(ecoding)}') {this.value=''}" onblur="if(this.value=='') this.value='{lang(enter)}{lang(ecoding)}'" class="s_text" />
<input name='submit' type="submit" value="" align="middle" class="s_btn" />
</form>
引用订单查询框:
<input type="text" id="oid" name="oid" value="{lang(orderquery)}" onfocus="if(this.value=='{lang(orderquery)}') {this.value=''}" onblur="if(this.value=='') this.value='{lang(orderquery)}'" class="s_text" />
<input name='submit' type="submit" value="" onclick="javascript:window.location.href='<?php echo url('archive/orders');?>&oid='+document.getElementById('oid').value;" align="middle" class="s_btn" />
用 CmsEasy 助您「轻松搭建」企业官网。
Copyright © www.cmseasy.cn 2017 all right reserved,Powered by
CmsEasy