Hi there and thanks for looking. 
I have a wapdesire V2 script and I am trying to copy the Avatar Pic so it will show next to shoutbox when someone shouts, at the minute I cannot get this to work and am hopeing somone here can help for me.
The code I have is
	
and copy of shoutbox code is 
	
I have tried everything even copyin the code from profiles but will not work... can someone please offer a hand
 
							
						
					I have a wapdesire V2 script and I am trying to copy the Avatar Pic so it will show next to shoutbox when someone shouts, at the minute I cannot get this to work and am hopeing somone here can help for me.
The code I have is
PHP Code:
	
	
<img src="$sex[4]" width="50" height="50"><br/> 
PHP Code:
	
	
if(points(getuid_sid($sid))>14){$main.="<form action="./shoutbox/shout.php?sid=$sid" method="post">\n";}
$main.="<img src="./phpThumb/phpThumb.php?src=../smilies/banner.jpg" alt="-------"/><br/>
<b>ShoutBox</b><br/>\n";
    if($who =="")
    {
        $sql = "SELECT id, shout, uid, shtime  FROM shouts ORDER BY shtime DESC LIMIT 3";
}else{
    $sql = "SELECT id, shout, uid, shtime  FROM shouts  WHERE shouter='".$who."'ORDER BY shtime DESC LIMIT 3";
}
    $items = mysql_query($sql);
    echo mysql_error();
    if(mysql_num_rows($items)>0)
    {
    while ($item = mysql_fetch_array($items))
    {
        $shnick = getnick_uid($item[2]);
        $sht = getbbcode($item[1], $sid, 1);
        $shdt = date("d m y-H:i", $item[3]);
      $lnk = "<a href="./profile.php?who=$item[2]&sid=$sid">$shnick</a>: $sht<br/>$shdt";
     if(delshout(getuid_sid($sid),$lshout[2])){
$main.=" <a href="./shoutbox/delete.php?delete=$item[0]&sid=$sid">
<img src="./images/error.gif" alt="[x]"/></a>\n";
}else{
        $dlsh = "";
      }
      $main.="$lnk $dlsh<br/>";
    }
    }
$main.="<br/><a href="./shoutbox/history.php?sid=$sid">History</a>\n";
//$main.="<b> | </b><a href="./shoutbox/shoutroom.php?sid=$sid">ShoutRoom</a>\n";
if(points(getuid_sid($sid))<15){
$points="points";
if(points(getuid_sid($sid))==14){$points="point";}
$main.="<br/>You need ".(15-points(getuid_sid($sid)))." more $points to shout!<br/> 
<img src="./phpThumb/phpThumb.php?src=../smilies/banner.jpg" alt="-------"/>
</div>\n";
}else{
$main.="<br/>ShoutBox Message:<br/>
<input name="shtxt" maxlength="100"/><br/>
<input type="submit" value="Add Shout"/><br/>
<img src="./phpThumb/phpThumb.php?src=../smilies/banner.jpg" alt="-------"/>
</form>
</div>\n";
} 
Comment