<?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><a href="http://www.dede58.com/web/empire/<?="$public_r[newsurl]"?>e/space/?userid=http://www.dede58.com/web/empire/<?=$fur[userid]?>" target="_blank"><img src="<?=$uaddr[userpic]?$uaddr[userpic]:'../../data/images/nouserpic.gif'?>" /></a></div>
<p><a href="http://www.dede58.com/web/empire/<?="$public_r[newsurl]"?>e/space/?userid=http://www.dede58.com/web/empire/<?=$fur[userid]?>" target="_blank" title="<?=$fr[fname]?>"><?=$fr[fname]?></a></p>
</li>
<?
}
?> 把<img src="<?=$uaddr[userpic]?$uaddr[userpic]:'../../data/images/nouserpic.gif'?>" />改为
<img src="<?=$fuaddr[userpic]?$fuaddr[userpic]:'../../data/images/nouserpic.gif'?>" />