zoukankan      html  css  js  c++  java
  • DT系统开发之-在线询盘信息的调取实现

       调用标签

        

    <!--{tag("table=message&condition=status=3 and typeid=1&areaid=$cityid&catid=$catid&pagesize=9&order=addtime desc&template=index-sell-inquery")}-->
    

      对应模板

       

    <ul class="inquerylist">
    {loop $tags $i $t}
    <li{if $i%2 == 1} class="listorange"{/if}><span>{date('Y-m-d', $t[addtime])}</span>  <img src="../../../skin/muwu/image/fatcow_252.png" align="absmiddle" />  {if $t[fromuser]<>''}<a href="{userurl($t[fromuser])}" class="userr">{$t[fromuser]}</a>{else}游客  {/if}对<a href="{userurl($t[touser])}" class="userr">{$t[touser]}</a>发布的<?php 
            preg_match_all("/(<([w]+)[^>]*>)(.*?)(</\2>)/", $t[content], $matches, PREG_SET_ORDER);
            foreach ($matches as $val) {
           echo $val[0];
        } 
    ?>,发表询盘信息</li>
    {/loop}
    </ul>
    

      

  • 相关阅读:
    1001.A+B Format(20)
    大一下学期的自我目标
    re模块3
    re模块2
    re模块
    configParser模块
    logging模块
    hashlib模块
    sys模块
    isinstance函数
  • 原文地址:https://www.cnblogs.com/68xi/p/8547377.html
Copyright © 2011-2022 走看看