$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='admin';
$newim=' <img src="'.$uid[userpic].'" width="50" height="50" />';
}
else if($r[ismember]==1)
{
$newimg='<a href="/e/space/?username=admin" target="_blank">admin</a>';
$newim='<a href="/e/space/?username=admin" target="_blank"><img src="'.$uid[userpic].'" width="50" height="50" /></a>';
}
$listtemp='<p class="Image_text">'.$newim.'</p> <p class="user_name">'.$newimg.'</p>';