[Business network] Statistical calls

Source: Internet
Author: User
Project Transfer

<Span class = "f_r">
{Php $ sellcount = $ db-> get_one ("select count (*) AS num FROM". $ DT_PRE. "exist WHERE status = 3 and typeid = 1 ");}
A total of <span class = "secfs" >{$ sellcount [num]} </span> information entries are included.
</Span>

List content

<!--{tag("moduleid=5&table=sell&condition=typeid=1 and status=3&pagesize=10&order=edittime desc")}-->

Supply

<A href = "{$ MODULE [5] [linkurl]}"> <strong> Supply Information </strong> </a>
{Php $ sellcount = $ db-> get_one ("select count (*) AS num FROM". $ DT_PRE. "exist WHERE status = 3 and typeid = 0 ");}
<Span class = "sexca"> A total of <span class = "secfs" >{$ sellcount [num] }</span> information entries are included. </span>

Supply content

<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>

Purchase

<! -- {Php $ bnum = $ db-> count ($ DT_PRE. 'buy', '1', 60);} -->
<Span class = "sexca"> A total of <span class = "secfs" >{$ bnum} </span> messages </span> </div>

Purchase content

<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>
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.