帝国cms手机端WAP中内容页模板调用栏目缩略图和栏目简介方法

搬瓦工机场JMS

这里介绍下在帝国cms手机端WAP中内容页模板调用栏目缩略图和栏目简介方法,代码如下:

<?php
$cr=$empire->fetch1("select classimg from {$dbtbpre}enewsclass where classid='".$r['classid']."' limit 1");
?>
栏目缩放图:<img src="<?=$cr[classimg]?>">

<?
$classr=$empire->fetch1("select intro from {$dbtbpre}enewsclass where classid='".$navinfor[classid]."' limit 1");
?>

栏目简介:<?=DoWapRepNewstext($classr[intro])?>

未经允许不得转载:搬瓦工VPS_美国VPS » 帝国cms手机端WAP中内容页模板调用栏目缩略图和栏目简介方法

赞 (0) 打赏

相关推荐

    暂无内容!

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏