1、自定义字段关联软件,在文章里显示关联软件信息:
[e:loop={"select * from phome_ecms_news where ftitle ='$navinfor[guanlian]' limit 1",10,24,0}]
<?php if (!empty($bqr['ftitle'])) { ?>
<?php
$thistagstr = dp_InfoTag($bqr['classid'], $bqr['id'], '| ', 10);
?>
<div class="m-xgku clearfix">
<span class="f-fl m-xgkuleft" id="m-float-img">
<a href="<?=$bqr['titleurl']?>" title="<?=$bqr['title']?>" target="_blank">
<img src="<?=$bqr['titlepic']?>" alt="<?=$bqr['title']?>">
</a>
</span>
<div class="m-title">
<a href="<?=$bqr['titleurl']?>" title="<?=$bqr['title']?>" id="m-float-name" target="_blank"><?=$bqr['title']?></a>
<span><?=$bqr['bb']?></span>
</div>
<ul class="f-lifl clearfix">
<li class="chang dachang">
类型:<i><?=$class_r[$bqr['classid']]['classname']?></i>
大小:<i><?=$bqr['dx']?></i>
语言:<i><?=$bqr['yy']?></i>
评分:<i><?=$bqr['xj']?></i>
</li>
<li class="chang dachang">标签:<span id="taggo"><?=$thistagstr?></span></li>
</ul>
<a href="<?=$bqr['titleurl']?>" class="kuxiaz" id="m-soft-url" target="_blank">立即下载</a>
</div>
<?php } ?>
[/e:loop]
2、自定义字段关联具体ID:
[e:loop={"select * from [!db.pre!]ecms_phone where id ='$navinfor[phoneid]' order by newstime desc limit 10",0,24,0}]
<a href="<?=$bqsr['titleurl']?>" target="_blank"><?=$bqr['title']?></a> <br>
[/e:loop]
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)