手机
当前位置:查字典教程网 >CMS教程 >phpcms >PHPCMS2008 SP4 心情排行指数不显示的解决办法
PHPCMS2008 SP4 心情排行指数不显示的解决办法
摘要:{loop$infos$r}{$r[title]}{getsql="selectc.url,c.title,c.style,m.n$r[id...

{loop $infos $r}

<?php

$i="n".$r[id];

$k=$r[id];

?>

<div>

<h3><img src="{$r[img]}" width="21" height="21" /> {$r[title]}</h3>

<ul>

{get sql="select c.url,c.title,c.style,m.n$r[id] from phpcms_content c,phpcms_mood_data m where c.contentid=m.contentid and m.moodid='$moodid' and m.n$r[id]>0 order by m.n$r[id] desc" rows="6"}

<li>{if $r[$i]}<span>({$r[$i]})</span>{/if}<a href="{$r[url]}" target="_blank"><font>{$r[title]}</font></a></li>

{/get}

</ul>

</div>

{if $k%2==0}

<div></div>

{/if}

{/loop}

模板位于:mood/rank.html

【PHPCMS2008 SP4 心情排行指数不显示的解决办法】相关文章:

PHPCMSV9父栏目调用子栏目的方法

PHPCMS取消搜索时的分词功能的方法

PHPCMS v9过滤采集内容中CSS样式的实现方法

PHPCMS内容页文章标题添加页码的方法教程

为PHPCMS 2008 编辑器增加常用中文字体方法

PHPCMS V9 定时发布文章的实现方法

phpcms 退出无法同步通知discuz问题的解决方法

PHPCMS 使用心得与技巧,以及小BUG的纠正

PHPCMS V9任意短消息阅读BUG分析与解决方法

phpsso忘记密码的解决办法

精品推荐
分类导航