只需一步,快速开始
使用道具 举报
调用新注册会员 SELECT * FROM uchome_space where avatar = 1 ORDER BY uid DESC 调用排行榜会员 SELECT * FROM uchome_show ORDER BY credit DESC 循环部分代码 pocketdragon 发表于 2008-11-6 11:28
调用新注册会员 SELECT * FROM uchome_space where avatar = 1 ORDER BY uid DESC 调用排行榜会员 SELECT * FROM uchome_show ORDER BY credit DESC 循环部分代码 <!--{loop $_SBLOCK['block1'] $value}--> <td style=" border-top:none;"><A title=$value[username] href="space.php?uid=$value[uid]" target=_blank> <IMG style="BORDER-RIGHT: #000 1px solid; BORDER-TOP: #000 1px solid; BORDER-LEFT: #000 1px solid; BORDER-BOTTOM: #000 1px solid" hspace=10 src="<!--{avatar($value[uid],small)}-->"></A><BR> <CENTER> <A href="space.php?uid=$value[uid]" target=_blank"> <DIV class=ellipsis><SPAN>$value[username]</SPAN></DIV></CENTER></A></td> <!--{/loop}--> 注意:SBLOCK['block1'] 修改成对应的(如:如果这是你创建的第18个调用,那么就应该是block18了!) 缓存时间可以600秒,调用30个
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2024-11-26 18:50 , Processed in 0.027205 second(s), 3 queries , Gzip On, Redis On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.