帝国cms关联外表连接sql语句

前端之家收集整理的这篇文章主要介绍了帝国cms关联外表连接sql语句前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

内容页的关联语句

[e:loop={'line',1,18,"title='$navinfor[line]'"}]
<a href="<?=$bqsr['titleurl']?>" target="_blank"><b><<?=$bqr['title']?>></b> <span>&nbsp;&nbsp;¥<?=$bqr['tprice']?></span></a>
[/e:loop]

列表页的关联语句

$line=$empire->fetch1("select title,id,classid,newspath,filename,groupid,titleurl from phome_ecms_line where title='$r[line]' limit 1");
$lineurl=sys_ReturnBqTitleLink($line);
$listtemp='<li><a href="'.$lineurl.'">'.$line[title].'</a> </li>';

猜你在找的帝国CMS相关文章