You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

75 lines
2.9 KiB

{template 'header'}
<div class="b10"></div>
<div class="m m3">
<div class="m3l">
<div class="top-l">
<!--{php $tags=tag("table=quote_product_$moduleid&condition=1&areaid=$cityid&pagesize=20&order=edittime desc&length=16&template=null");}-->
{if $tags}
<table cellpadding="3" cellspacing="1" width="100%" bgcolor="#DDDDDD">
<tr bgcolor="#EEEEEE">
<th>品名</th>
<th width="90">价格</th>
<th width="40">单位</th>
<th width="70">报价数</th>
</tr>
</table>
<div id="products">
<table cellpadding="0" cellspacing="0" width="100%">
{loop $tags $i $t}
<tr bgcolor="#FFFFFF" align="center">
<td><a href="{$MOD[linkurl]}{rewrite('price.php?itemid='.$t['itemid'])}" target="_blank" title="{$t[alt]}" class="b">{$t[title]}</a></td>
<td{if $i==0} width="96"{/if}><span class="f_red">{$DT[money_sign]}{$t[price]}</span></td>
<td{if $i==0} width="46"{/if}>{$t[unit]}</td>
<td{if $i==0} width="75"{/if}>{$t[item]}</td>
</tr>
{/loop}
</table>
</div>
{/if}
</div>
<div class="top-r">
<div class="headline">
<!--{tag("moduleid=$moduleid&condition=status=3 and level=5&areaid=$cityid&order=".$MOD[order]."&pagesize=1&page=2&template=list-hl")}-->
</div>
<div class="subline">
<!--{tag("moduleid=$moduleid&condition=status=3 and level=1&areaid=$cityid&order=".$MOD[order]."&pagesize=5&page=2&target=_blank")}-->
</div>
</div>
<div class="b10"></div>
{if $MOD[page_icat]}
<table cellpadding="0" cellspacing="0" width="100%">
{loop $maincat $i $c}
{if $i%2==0}<tr>{/if}
<td valign="top" width="430">
<div class="head-txt"><span><a href="{$MOD[linkurl]}{$c[linkurl]}">更多<i>&gt;</i></a></span><strong>{$c[catname]}</strong></div>
<div class="list-txt"><!--{tag("moduleid=$moduleid&catid=".$c[catid]."&condition=status=3&areaid=$cityid&order=".$MOD[order]."&pagesize=".$MOD[page_icat]."&datetype=2&target=_blank")}--></div>
</td>
{if $i%2==0}<td>&nbsp;</td>{/if}
{if $i%2==1}</tr>{/if}
{/loop}
</table>
{/if}
<div class="b10"></div>
</div>
<div class="m3r">
<div class="head-sub"><strong>报价企业</strong></div>
<div class="list-txt">
<!--{php $tags=tag("table=quote_price_$moduleid&condition=username<>''&areaid=$cityid&pagesize=10&order=itemid desc&group=username&template=null");}-->
{if $tags}
<ul>
{loop $tags $i $t}
<li><span class="f_r">{area_pos($t[areaid], '/', 1)}</span><a href="{userurl($t[username])}" target="_blank">{$t[company]}</a></li>
{/loop}
</ul>
{/if}
</div>
<div class="head-sub"><strong>点击排行</strong></div>
<div class="list-rank"><!--{tag("moduleid=$moduleid&condition=status=3 and addtime>$DT_TODAY-18000*86400&areaid=$cityid&order=hits desc&key=hits&pagesize=9&template=list-rank")}--></div>
<div class="b10"></div>
</div>
</div>
{load('marquee.js')}
<script type="text/javascript">
new dmarquee(22, 20, 1000, 'products');
</script>
{template 'footer'}