• 专业制作各种营销型网站,利用模板做站,速度快,费用低,效果好。实现电脑手机平板电脑微信小程序的快速部署。我们做网站的目的很单纯:为销售负责!
    • 提供搜索引擎营销SEO竞价账户托管等服务

DESTOON商铺模板经常用到的标签调用

网络营销资讯 7个月前 (11-30) 360次浏览 扫描二维码

<title>{if $seo_title}{$seo_title}{else}{if $head_title}{$head_title}{$DT[seo_delimiter]}{/if}{$COM[company]}{/if}</title>
{if $head_keywords}<meta name=”keywords” content=”{$head_keywords}”/>{/if}
{if $head_description}<meta name=”description” content=”{$head_description}”/>{/if}
{if $head_mobile}
<meta http-equiv=”mobile-agent” content=”format=html5;url={$head_mobile}”>
{/if}
{if $head_canonical}
<link rel=”canonical” href=”{$head_canonical}”/>
{/if}
<link rel=”stylesheet” type=”text/css” href=”{$HSPATH}static/css/style.css”/>

销售热线:{if $COM[telephone]}{$COM[telephone]}{else}{$COM[mobile]}{/if}
<a href=”{$COM[linkurl]}”>网站首页</a>
新闻链接<a href=”{userurl($username, ‘file=news’, $domain)}”>
供应链接<a href=”{userurl($username, ‘file=sell’, $domain)}”>
相册链接<a href=”{userurl($username, ‘file=photo’, $domain)}”>
关于我们链接<a href=”{userurl($username, ‘file=introduce’, $domain)}”>
公司名称:{$COM[company]}
<p>地址:{$COM[address]}</p>
<p> 电话:{$COM[telephone]} 手机:{$COM[mobile]} Email: {$COM[mail]}</p>
公司地址:<a href=”{DT_PATH}api/address.php?auth={encrypt($COM[address].’|’.$COM[company], DT_KEY.’MAP’)}” target=”_blank”>{$COM[address]}</a>
所在地区:{area_pos($COM[areaid], ‘/’)}
公司简介{$COM[intro]}
限制字数{dsubstr($t[introduce], 80, ‘…’)}
邮政编码:{$COM[postcode]}
公司电话:{if $domain}{$COM[telephone]}{else}{anti_spam($COM[telephone])}{/if}
公司传真:{if $domain}{$COM[fax]}{else}{anti_spam($COM[fax])}{/if}
电子邮件:{if $domain}{$COM[mail]}{else}{anti_spam($COM[mail])}{/if}
公司网址:{if $COM[homepage]}<a href=”{$COM[homepage]}” target=”_blank”>{$COM[homepage]}</a><br/>{/if}
<a href=”{$COM[linkurl]}” target=”_blank”>{$COM[linkurl]}</a></dd>
</dl>
{if $COM[truename]}
<dl>
<dt>联 系 人:</dt>
<dd>{$COM[truename]} ({if $COM[gender]==1}先生{else}女士{/if})</dd>
</dl>
{/if}
{if $COM[department]}
<dl>
<dt>部门(职位):</dt>
<dd>{$COM[department]}{if $COM[career]} ({$COM[career]}){/if}</dd>
</dl>
{/if}
{if $COM[mobile]}
<dl>
<dt>手机号码:</dt>
<dd>{if $domain}{$COM[mobile]}{else}{anti_spam($COM[mobile])}{/if}</dd>
</dl>
{/if}
{if $COM[gzh]}
<dl>
<dt>微信公众号:</dt>
<dd>{$COM[gzh]} &nbsp; <a href=”javascript:;” onclick=”prompt(‘请按Ctrl+C复制微信号’, ‘{$COM[gzh]}’);” class=”b”>复制</a></dd>
</dl>
{/if}
{if $COM[gzhqr]}
<dl>
<dt>扫码关注:</dt>
<dd><img src=”{$COM[gzhqr]}”/></dd>
</dl>
{/if}
<dl>
<dt>即时通讯:</dt>
<dd>
{if $COM[username] && $DT[im_web]}{im_web($COM[username])}&nbsp;{/if}
{if $COM[qq] && $DT[im_qq]}{im_qq($COM[qq])}&nbsp;{/if}
{if $COM[wx] && $DT[im_wx]}{im_wx($COM[wx], $COM[username])}&nbsp;{/if}
{if $COM[ali] && $DT[im_ali]}{im_ali($COM[ali])}&nbsp;{/if}
{if $COM[skype] && $DT[im_skype]}{im_skype($COM[skype])}&nbsp;{/if}
</dd>
</dl>
<dl>
<dt>在线状态:</dt>
<dd>{if online($COM[userid])==1}<span class=”f_red”>当前在线</span>{else}<span class=”f_gray”>当前离线</span>{/if}</dd>
</dl>

</div>

Logo
{if $logo}
<div class=”logo”><a href=”{$COM[linkurl]}”><img src=”{$logo}”></a></div>
{else}
<div class=”logo”><a href=”{$COM[linkurl]}”><img src=”{if $DT[logo]}{$DT[logo]}{else}{DT_SKIN}image/logo.gif{/if}”></a></div>
{/if}

导航
<dd class=”{if $file==’homepage’}hover{else}{/if}”><span><a href=”{$COM[linkurl]}”>网站首页</a></span></dd>
{loop $MENU $k $v}
{if $k < 7}
<dd class=”{if $file==$menu_file[$k]}hover{else}{/if}”><span><a href=”{$v[linkurl]}”>{$v[name]}</a></span>
{if in_array($menu_file[$k], array(‘sell’))}
<div class=”div_a”>
<?php
isset($typeid) or $typeid = 0;
$_file = $file;
$_item = ‘product-‘.$userid;
$_name = ‘产品分类’;
$_file = ‘sell’;
$_TYPE = get_type($_item);
$_TP = $_TYPE ? sort_type($_TYPE) : array();
?>
{loop $_TP[0] $v0}
<a href=”{userurl($username, ‘file=’.$_file.’&typeid=’.$v0[‘typeid’], $domain)}” title=”” id=”name_{$v0[typeid]}”>{set_style($v0[typename], $v0[style])}</a>
{/loop}
</div>
{/if}

{if in_array($menu_file[$k], array(‘news’))}
<div class=”div_a”>
<?php
isset($typeid) or $typeid = 0;
$_file = $file;
$_item = ‘news-‘.$userid;
$_name = ‘新闻分类’;
$_file = ‘news’;
$_TYPE = get_type($_item);
$_TP = $_TYPE ? sort_type($_TYPE) : array();
?>
{loop $_TP[0] $v0}
<a href=”{userurl($username, ‘file=’.$_file.’&typeid=’.$v0[‘typeid’], $domain)}” title=””>{set_style($v0[typename], $v0[style])}</a>
{/loop}
</div>
{/if}

{if in_array($menu_file[$k], array(‘mall’))}
<div class=”div_a”>
<?php
isset($typeid) or $typeid = 0;
$_file = $file;
$_item = ‘mall-‘.$userid;
$_name = ‘商品分类’;
$_file = ‘mall’;
$_TYPE = get_type($_item);
$_TP = $_TYPE ? sort_type($_TYPE) : array();
?>
{loop $_TP[0] $v0}
<a href=”{userurl($username, ‘file=’.$_file.’&typeid=’.$v0[‘typeid’], $domain)}” title=””>{set_style($v0[typename], $v0[style])}</a>
{/loop}
</div>
{/if}

{if in_array($menu_file[$k], array(‘contact’))}
<div class=”div_a”>
<a href=”{userurl($COM[username], ‘file=contact’)}”>联系方式</a>
<a href=”{userurl($COM[username], ‘file=contact’)}” title=””>在线留言</a>
</div>
{/if}
</dd>
{/if}
{/loop}

banner
{if $bannert || $banner}
{if $bannert == 2}
<li><a {if $bannerlink1}href=”{$bannerlink1}” target=”_blank”{else}href=”###”{/if}><img src=”{$banner1}” width=”100%” alt=””/></a></li>
<li><a {if $bannerlink1}href=”{$bannerlink1}” target=”_blank”{else}href=”###”{/if}><img src=”{$banner2}” width=”100%” alt=””/></a></li>
{if $banner3}<li><a {if $bannerlink1}href=”{$bannerlink1}” target=”_blank”{else}href=”###”{/if}><img src=”{$banner3}” width=”100%” alt=””/></a></li>{/if}
{if $banner4}<li><a {if $bannerlink1}href=”{$bannerlink1}” target=”_blank”{else}href=”###”{/if}><img src=”{$banner4}” width=”100%” alt=””/></a></li>{/if}
{if $banner5}<li><a {if $bannerlink1}href=”{$bannerlink1}” target=”_blank”{else}href=”###”{/if}><img src=”{$banner5}” width=”100%” alt=””/></a></li>{/if}
{else}
<li><a {if $bannerlink1}href=”{$bannerlink1}” target=”_blank”{else}href=”###”{/if}><img src=”{$banner}” width=”100%” alt=””/></a></li>
{/if}
{/if}

{template ‘header’, $template}
{template ‘footer’, $template}

推荐产品
<!–{php $tags=tag(“moduleid=5&condition=status>2 and username=’$username’ and elite=1 and thumb<>”&pagesize=6&order=edittime desc&fields=itemid,title,linkurl,introduce,thumb,edittime&template=null”);}–>
{loop $tags $i $t}
<li>
<a href=”{if $homeurl}{$t[linkurl]}{else}{userurl($username, ‘file=sell&itemid=’.$t[‘itemid’], $domain)}{/if}”>
<div class=”pic”><img src=”{str_replace(‘.thumb.’.file_ext($t[thumb]), ”,$t[thumb])}” onerror=”this.src='{DT_SKIN}image/nopic100.gif'”></div>
<div class=”text text-overflow”>{$t[title]}</div>
<div class=”text1″>{dsubstr($t[introduce], 56, ‘…’)}</div>
</a>
</li>
{/loop}

最新供应
<!–{php $tags=tag(“moduleid=5&condition=status>2 and username=’$username’&pagesize=8&order=edittime desc&fields=itemid,title,linkurl,thumb,edittime&template=null”);}–>
{loop $tags $i $t}
<li>
<a href=”{if $homeurl}{$t[linkurl]}{else}{userurl($username, ‘file=sell&itemid=’.$t[‘itemid’], $domain)}{/if}”>
<div class=”pic”><img src=”{imgurl($t[thumb], 160)}” onerror=”this.src='{DT_SKIN}image/nopic100.gif'”></div>
<div class=”text”><p>{$t[title]}</p></div>
</a>
</li>
{/loop}

产品分类调用
<?php
isset($typeid) or $typeid = 0;
$_file = $file;
$_item = ‘product-‘.$userid;
$_name = ‘产品分类’;
$_file = ‘sell’;
$_TYPE = get_type($_item);
$_TP = $_TYPE ? sort_type($_TYPE) : array();
?>
{loop $_TP[0] $v0}
<h3><a href=”{userurl($username, ‘file=’.$_file.’&typeid=’.$v0[‘typeid’], $domain)}”><div>{set_style($v0[typename], $v0[style])}</div></a></h3>
{/loop}

简介图:
{if $video}
{load(‘player.js’)}
<div class=”right”><script type=”text/javascript”>document.write(player(‘{$video}’,240,200,1));</script></div>
{else}
<div class=”right”><img src=”{if $COM[thumb]}{$COM[thumb]}{else}{$HSPATH}static/picture/about.png{/if}” onerror=”this.src='{DT_SKIN}image/nopic100.gif'” style=”width: 384px;”/></div>
{/if}

关于我们/公司简介 内容调用:{$content}

新闻中心
<!–{php $tags=tag(“table=news&condition=status=3 and username=’$username’&pagesize=4&order=addtime desc&template=null”);}–>
{loop $tags $t}
<li>
<a target=”blank” href=”{userurl($username, ‘file=news&itemid=’.$t[‘itemid’], $domain)}”>{if $t[thumb]}<img src=”{$t[thumb]}” onerror=”this.src='{DT_SKIN}image/nopic100.gif'”>{/if}</a>
<div class=”text”>
<h5 class=”text-overflow”><a target=”blank” href=”{userurl($username, ‘file=news&itemid=’.$t[‘itemid’], $domain)}”>{$t[title]}</a></h5>
<?php
$itemids = $t[itemid];
$hy = $db -> get_one(“SELECT content FROM `{$db->pre}news_data` WHERE `itemid`=’$itemids'”);
$introduce = $hy[content];
?>
<em>{dsubstr(strip_tags($introduce),180,’…’)}</em>
<em>{date(‘Y-m-d’,$t[addtime])}</em>
</div>
</li>
{/loop}

公司相册
<!–{php $tags=tag(“moduleid=12&condition=status>2 and username=’$username’&pagesize=4&order=addtime desc&fields=itemid,title,linkurl,thumb,addtime,items,open&template=null”);}–>
{loop $tags $i $t}
<li><a href=”{$t[linkurl]}”>
<div class=”pic”><img src=”{imgurl($t[thumb])}” onerror=”this.src='{DT_SKIN}image/nopic100.gif'”></div>
<div class=”text”><p>{$t[title]}</p></div>
</a>
</li>
{/loop}

友情链接: <!–{tag(“table=link&condition=status=3 and username=’$username’ &areaid=$cityid&pagesize=”.$DT[‘page_text’].”&order=listorder desc,itemid desc&dir=xhtag&template=link-new”)}–>

<a href=”{userurl($COM[username], ‘file=sell’)}” target=”_blank”>销售中心</a><em>·</em>
<a href=”{userurl($COM[username], ‘file=contact’)}” target=”_blank”>联系我们</a><em>·</em>
<a href=”{$MODULE[2][linkurl]}”>管理入口</a>

导航
{loop $MENU $k $v}
<a href=”{$v[linkurl]}”>{$v[name]}</a>
{/loop}

Copyright ? {$COM[company]} &nbsp;
<a href=”{$MODULE[1][linkurl]}” target=”_blank”>【{$DT[sitename]}】</a>&<a href=”http://www.031388.com”>【营销型网站建设】</a>提供技术支持
{if $show_stats}访问量:{$COM[hits]}{/if} {if $COM[icp]} |<a href=”http://www.miibeian.gov.cn&#8221; target=”_blank”>{$COM[icp]}</a>{/if}


未经允许请不要转载本站文章。本文连接:http://www.031388.com/250
我们提供专业的快速网站建设服务、网站优化服务、仿站、高端网站建设等。如有需要请联系。
电话(微信):17343034112
喜欢 (0)