9.2 应用举例 调用指定分类下的自定义页面标题
来源:网络作者:站长
<div class="page-title" id="pageContents"> <ul> [e:loop={'select id,path,title from [!db.pre!]enewspage where classid=1 order by id',20,24,0}] <?php $pageurl=$public_r['newsurl'].str_replace('../../','',$bqr['path']); ?> <li><a href="<?=$pageurl?>"><?=$bqr[title]?></a></li> [/e:loop] </ul> </div>
你觉得文章内容怎么样