最新活动:电脑PC端+手机端+微网站+自适应网页多模板选择-建站388元起价!!!
当前位置:主页 > 网站建设 > dede:arclist、dede:list等标签中调用附加字段,DEDE技术

dede:arclist、dede:list等标签中调用附加字段,DEDE技术

时间:2023-07-19 12:07:19 阅读: 文章分类: 网站建设 作者: 织梦编辑员

导读:DEDE技术DEDE技术dede:arclist、dede:list等标签中调用附加字段方法,有需要了解的朋友可参考参考。dede模板下载织梦的模板。

dede模板下载织梦的模板  代码如下

    {dede:list perpage='20'}                           <div class="f-con01">                               <div class="f-con01-l">&n梦织模板bsp;                                  <a><img src="/templets/qiba/images/con01-f.jpg"></a>                               </div>                               <div class="f-con01-r">                                   <p class="a6"><a href="[field:arcurl/]" target="_blank">[field:title/]</a></p>                     &ndede手机模板bsp;             <p><a>[field:description/]...</a></p>                                   <dl>                                       <dt>地址:</dt>                                       <dd>[field:id runphp="yes"]                                               $dsql = new DedeSql(false);                                               $sql="SELECT qiba.address from `dede_addonqiba` as qiba where qiba.aid=@me";                                               $arcRow = $dsql->GetOne($sql);                                               @me=''.$arcRow['address'].'';    &nbdede网站模板sp;                                      [/field:id]</dd>                                       <dt>乘车路线:</dt>                                       <dd>[field:id runphp="yes"]                                               $dsql = new DedeSql(false);                                               $sql="SELECT qiba.roadline from `dede_addonqiba` as qiba where qiba.aid=@me";                                               $arcRow = $dsql->GetOne($sql);                                               @me=''.$arcRow['roadline'].'';                                           [/field:id]</dd>                                   </dl>                                   <dl>                                       <dt>电话:</dt>                                       <dd>[field:id runphp="yes"]                                               $dsql = new DedeSql(false);                                               $sql="SELECT qiba.telephone from `dede_addonqiba` as qiba where qiba.aid=@me";                                               $arcRow = $dsql->GetOne($sql);                                               @me=''.$arcRow['telephone'].'';                                           [/field:id]</dd>                                   </dl>                               </div>                               <div class="f-con01-b">                                   <div class="star">                                       <p>评分:</p>                                       [field:id runphp="yes"]                                               @me=rating_bar(@me,5);                                           [/field:id]                                   </div>                               </div>                               <div class="clear"></div>                           </div>                           {/dede:list}  

关键词标签: 标签 字段 DEDE技术

声明: 本文由我的SEOUC技术文章主页发布于:2023-07-19 ,文章dede:arclist、dede:list等标签中调用附加字段,DEDE技术主要讲述标签,字段,DEDE技术网站建设源码以及服务器配置搭建相关技术文章。转载请保留链接: https://www.seouc.com/article/web_30999.html

我的IDC 网站建设技术SEOUC.COM
专注网站建设,SEO优化,小程序设计制作搭建开发定制网站等,数千家网站定制开发案例,网站推广技术服务。
  • 5000+合作客服
  • 8年从业经验
  • 150+覆盖行业
  • 最新热门源码技术文章