<?php
$fsql=$empire->query("select fid,fname,fsay from {$dbtbpre}enewshy where userid='$user[userid]' order by fid desc limit 6");
while($fr=$empire->fetch($fsql))
{
$fur=$empire->fetch1("select userid from {$user_tablename} where {$user_username}='$fr[fname]' limit 1");
$fuaddr=$empire->fetch1("select userpic from {$dbtbpre}enewsmemberadd where userid='$fur[userid]' limit 1");
?>
<li>
<div class="user48"><a href="<?="$public_r[newsurl]"?>e/space/?userid=<?=$fur[userid]?>" target="_blank"><img src="<?=$uaddr[userpic]?$uaddr[userpic]:'../../data/images/nouserpic.gif'?>" /></a></div>
<p><a href="<?="$public_r[newsurl]"?>e/space/?userid=<?=$fur[userid]?>" target="_blank" title="<?=$fr[fname]?>"><?=$fr[fname]?></a></p>
</li>
<?
}
?>
把<img src="<?=$uaddr[userpic]?$uaddr[userpic]:'../../data/images/nouserpic.gif'?>" width="48" height="48" />改为 <img src="<?=$fuaddr[userpic]?$fuaddr[userpic]:'../../data/images/nouserpic.gif'?>" width="48" height="48" />
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)