$uid=$empire->fetch1("select * from {$dbtbpre}enewsmemberadd where userid={$r[userid]}");
if(empty($uid[userpic]))
{
$uid[userpic]='/e/data/images/nouserpic.gif';
}
$newimg='';
$newim='';
if($r[ismember]==0)
{
$newimg='[!--username--]';
$newim=' <img src="'http://www.dede58.com/web/empire/.$uid[userpic].'" />';
}
else if($r[ismember]==1)
{
$newimg='<a href="http://www.dede58.com/e/space/?username=[!--username--]" target="_blank">[!--username--]</a>';
$newim='<a href="http://www.dede58.com/e/space/?username=[!--username--]" target="_blank"><img src="'http://www.dede58.com/web/empire/.$uid[userpic].'" /></a>';
}
$listtemp='<p>'.$newim.'</p> <p>'.$newimg.'</p>';