Show Your Support
$member_avatar = $member_avatar['avatar']; if(preg_match ( "/\.php/", $member_avatar) || preg_match ( "/avatar/", $member_avatar)) { if (preg_match ( "/\.php/", $member_avatar)) { $member_avatar = $forumpath."/".$member_avatar; } $sizedata=""; if ($imagesizer==1) { $check = getimagesize($member_avatar); $avatarwidth = $check[0]; $avatarheight = $check[1]; if ($avatarwidth > $maxavatarwidth) { $avatarwidth = $maxavatarwidth; } if ($avatarheight > $maxavatarheight) { $avatarheight = $maxavatarheight; } $sizedata = "width='".$avatarwidth."' height='".$avatarheight."' "; } return "<img src='{$member_avatar}' border='0' alt='' ".$sizedata."/>";
$member_avatar = $member_avatar['avatar']; if(preg_match ( "/\.php/", $member_avatar) || preg_match ( "/avatar/", $member_avatar)) { if (preg_match ( "/\.php/", $member_avatar)) { $member_avatar = $forumpath."/".$member_avatar; } /* $sizedata=""; if ($imagesizer==1) { $check = getimagesize($member_avatar); $avatarwidth = $check[0]; $avatarheight = $check[1]; if ($avatarwidth > $maxavatarwidth) { $avatarwidth = $maxavatarwidth; } if ($avatarheight > $maxavatarheight) { $avatarheight = $maxavatarheight; } $sizedata = "width='".$avatarwidth."' height='".$avatarheight."' "; } return "<img src='{$member_avatar}' border='0' alt='' ".$sizedata."/>"; } if (($avatarid==0) && ($filename!="")) { $sizedata=""; if ($imagesizer==1) { $check = getimagesize($path); $avatarwidth = $check[0]; $avatarheight = $check[1]; if ($avatarwidth > $maxavatarwidth) { $avatarwidth = $maxavatarwidth; } if ($avatarheight > $maxavatarheight) { $avatarheight = $maxavatarheight; } $sizedata = "width='".$avatarwidth."' height='".$avatarheight."' "; } */ return "<img src='{$path}' border='0' alt=''/>";