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.6 KiB

{template 'header'}
<style>
/* common */
.m {margin:auto;width:1220px;clear:both;}
.m0 {width:100%;background:#F5F5F5;overflow:hidden;}
.m0 .m {background:#F5F5F5;}
.m1 {}
.m1l {width:960px;float:left;background:#FFFFFF;}
.m1r {width:250px;float:right;background:#FFFFFF;}
.m2 {}
.m2l {width:960px;float:left;background:#FFFFFF;}
.m2r {width:250px;float:right;background:#FFFFFF;}
.m3 {}
.m3l {width:880px;float:left;background:#FFFFFF;}
.m3r {width:330px;float:right;background:#FFFFFF;}
.side ul {margin:10px;}
.side em {font-size:12px;font-style:normal;color:#999999;}
.side a {width:90%;display:block;font-size:16px;}
.side input {width:140px;border:#EEEEEE 1px solid;border-radius:8px;padding:8px 8px 8px 26px;font-size:14px;background:#FFFFFF url('{DT_SKIN}image/icon-search16.png') no-repeat 6px center;outline:none;margin:16px 16px 16px 32px;}
.side input:hover {width:180px;}
.side_li {line-height:48px;height:48px;padding-left:32px;overflow:hidden;}
.side_li:hover {background:#F2F2F2;border-radius:10px;}
.side_on {line-height:48px;height:48px;background:#F5F5F5;padding-left:32px;overflow:hidden;border-radius:10px;}
</style>
<div class="m">
<div class="nav">
<span class="f_r">
<form action="{$MOD[linkurl]}product.php">
<input type="text" size="40" name="kw" value="{$kw}"/>&nbsp;
{ajax_category_select('catid', '所属分类', $catid, $moduleid)}&nbsp;
<input type="submit" value="搜 索" class="btn-blue"/>&nbsp;
<input type="button" value="重 搜" class="btn" onclick="Go('{$MOD[linkurl]}{rewrite('product.php?page=1')}');"/>
</form>
</span>
<a href="{$MODULE[1][linkurl]}">首页</a> <i>&gt;</i> <a href="{$MOD[linkurl]}">{$MOD[name]}</a> <i>&gt;</i> <a href="{$MOD[linkurl]}product.php">产品报价</a></div>
</div>
{if $lists}
<div class="m">
<table cellpadding="16" cellspacing="0" class="tb">
<tr>
<th>品名</th>
<th>属性参数</th>
<th width="120">最新报价</th>
<th width="40">单位</th>
<th width="100">报价数</th>
<th width="120">报价时间</th>
</tr>
{loop $lists $v}
<tr align="center">
<td align="left"><a href="{$v[linkurl]}" target="_blank" class="b px16">{$v[title]}</a></td>
<td align="left" class="f_gray">
{if $v[v1]}{$v[n1]}:{$v[v1]}&nbsp;&nbsp;{/if}
{if $v[v2]}{$v[n2]}:{$v[v2]}&nbsp;&nbsp;{/if}
{if $v[v3]}{$v[n3]}:{$v[v3]}&nbsp;&nbsp;{/if}
</td>
<td class="f_price">{$DT[money_sign]}{$v[price]}</td>
<td>{$v[unit]}</td>
<td>{$v[item]}</td>
<td>{timetodate($v[edittime], 5)}</td>
</tr>
{/loop}
</table>
{if $pages}<div class="pages">{$pages}</div>{/if}
</div>
{else}
<div class="m bd-t">
<br/><br/><br/><center class="px16">未找到相关产品</center><br/><br/><br/>
</div>
{/if}
{template 'footer'}