destoon的(de)模闆裡(lǐ)面是(shì)δ•✔支持php的(de)代碼的(de),我們可( ¥↔kě)以直接在模闆裡(lǐ)面查詢出來(lái)即可(kě)¥±$♥的(de)。
<ul>
{php $sellcount=$db-&g'★t;get_one("select COUNT(*) δ∑ >AS num FROM ".$DT_PRE.&quoγΩt;sell WHERE status=3&quo®t;);}
<li>共有(yǒu){$se₽÷llcount[num]}條供應</li>
{php $company=$db->get_one(&q↓φuot;select COUNT(*) ASβ∞® num FROM ".$DT_PRE."Ωmember WHERE groupid>5");}
<li>共有(yǒu){$company[n÷₽um]}個(gè)企業(yè)</li↕±≥>
{php $newcount=$db->get_one(σ£&α"select COUNT(*) AS n¶↕©↕um FROM ".$DT_PRE.">•≈;article_21 WHERE status=3") →←↓;}
<li>共有(yǒu){$newcount[num]}條資訊&≤'lt;/li>
</ul>
頁面顯示當前的(de)日(rì)期的(de)方法:∞®α{date('Y-m-d',$DT_TIME)}