項目轉讓
<span class="f_r">
{php $sellcount=$db->get_one("SELECT COUNT(*) AS num FROM ".$DT_PRE."sell WHERE status=3 and typeid=1");}
總共收錄了<span class="secfs">{$sellcount[num]}</span>條資訊
</span>
列表內容
<!--{tag("moduleid=5&table=sell&condition=typeid=1 and status=3&pagesize=10&order=edittime desc")}-->
供應
<a href="{$MODULE[5][linkurl]}"><strong>供應資訊</strong></a>
{php $sellcount=$db->get_one("SELECT COUNT(*) AS num FROM ".$DT_PRE."sell WHERE status=3 and typeid=0");}
<span class="sexca">總共收錄了<span class="secfs">{$sellcount[num]}</span>條資訊</span>
供應內容
<div class="trade_body" id="isell">
<!--{tag("moduleid=5&condition=status=3&pagesize=".$DT['page_trade']."&order=addtime desc&time=addtime&template=list-trade")}--></div>
求購
<!--{php $bnum = $db->count($DT_PRE.'buy','1', 60);}-->
<span class="sexca">總共收錄了<span class="secfs">{$bnum}</span>條資訊</span></div>
求購內容
<div class="trade_body" id="ibuy">
<!--{tag("moduleid=6&condition=status=3&pagesize=".$DT['page_trade']."&order=addtime desc&time=addtime&template=list-trade")}--></div>