heres the code for uimage the code who are controlling the script i think, then its allso some .js in the folder tooltip (domTT_ ect)
function uimage($user,$size,$type,$extra)
{
global $VAR;
global $phpfox_config;
if (@$GLOBALS['phpfox_config']['error_reporting'])
{
error_reporting(0);
}
$new_image_ok = FALSE;
$user = trim($user);
if (mcheck($user) != 1)
{
return;
}
$a = mysql_query("SELECT `user`,`img`,`location` FROM `user` WHERE `user` = '$user'");
$b = mysql_fetch_array($a);
if($b[location] == "AeeUaa")
{$b[location] = "Greece"; }
elseif($b[location] == "Ey?nio")
{$b[location] = "Cyprus"; }
$tolink = "".$VAR[5]."/".newpics($user)."";
$str = "\n";
if ($type != '7') $str .= '<a href="'.$VAR[0].'/'.$user.'">'."\n";
$uzer_temp = mysql_query("SELECT * FROM `user` WHERE user='$user'");
$uzer = mysql_fetch_array($uzer_temp);
$sex = $uzer['gender'];
$age = bday($uzer['day'],$uzer['month'],$uzer['year']);
$city = $uzer['city'];
$state = $uzer['state'];
$country = $uzer['location'];
$status = $uzer['dating'];
if ( file_exists("". $VAR[5] ."/member/i/p/".$b['img']."".$b['user']."_". $size .".jpg") ) {
if($sex == "Female" || $sex == "female") { $seximg = "female.gif";} elseif($sex == "male" || $sex == "Male") { $seximg = "male.gif";}
$i = "class='pic1' onmouseover=\"this.style.color = '#D17E62'; domTT_activate(this, event, 'content', '<table><tr><td colspan=2 align=left ><font class=tootiptitle>".$user."</font></td></tr><tr><td align=left><img width=75px src=\'". $VAR[0] ."/member/i/p/2005/01/".$user."_75.jpg\'></td><td valign=top align=left><b>Gender: <img src=\'". $VAR[0] ."/images/".$seximg."\'></b>".$sex."<br /><b>Location: </b><span style=\'font-size:9px;\'>".$city.", ".$state.", ".$country."</span><br /><b>Age: </b>".$age." y/o<br /><b>Status: </b>".$status."</td></tr></table>', 'trail', true, 'fade', 'both', 'fadeMax', 90, 'styleClass', 'niceTitle');\" onmouseout=\"this.style.color = ''; domTT_mouseout(this, event);\"";
} else {
if($sex == "Female" || $sex == "female") { $seximg = "female.gif";} elseif($sex == "Male" || $sex == "male") { $seximg = "male.gif";}
if($sex == "Female" || $sex == "female") { $noimg = "noimagewoman.png";} elseif($sex == "male" || $sex == "Male") { $noimg = "noimageman.png";}
$i = "class='pic1' onmouseover=\"this.style.color = '#D17E62'; domTT_activate(this, event, 'content', '<table><tr><td colspan=2 align=left><b><font size=2>".$user."</font></b></td></tr><tr><td align=left><img width=60px src=\'". $VAR[0] ."/images/$noimg\'></td><td valign=top align=left><b>Gender <img src=\'". $VAR[0] ."/images/".$seximg."\'></b>".$sex."<br /><b>Location: </b><span style=\'font-size:9px;\'>".$city.", ".$state.", ".$country."</span><br /><b>Age: </b>".$age." y/o<br /><b>Status: </b>".$status."<br /></td></tr></table>', 'trail', true, 'fade', 'both', 'fadeMax',90, 'styleClass', 'niceTitle');\" onmouseout=\"this.style.color = ''; domTT_mouseout(this, event);\"";
}
if ( file_exists("". $VAR[5] ."/member/i/p/".$b['img']."".$b['user']."_". $size .".jpg") )
{
list($width,$height) = getimagesize("". $VAR[5] ."/member/i/p/".$b['img']."".$b['user']."_". $size .".jpg");
$add_size = "";
if ( !$width || !$height )
{
$add_size = 'width="'. $size .'" height="'. $size .'"';
}
if ( $width > $size || $height > $size )
{
$add_size = 'width="'. $size .'" height="'. $size .'"';
}
$str .= "<img src=\"". $VAR[0] ."/member/i/p/".$b['img']."".$b['user']."_". $size .".jpg\" alt=\"\" ". $i ." ". $add_size ."/>";
}
else
{
$new_image_ok = TRUE;
phpfox_profile_image($user,$b['img']);
}
if ( $new_image_ok )
{
if ( file_exists( $tolink ) )
{
$str .= image($size,$size,''.$VAR[0].'/'.newpics($user).'',$i);
}
else
$uzer_temp1 = mysql_query("SELECT * FROM `user` WHERE user='$user'");
$uzer = mysql_fetch_array($uzer_temp1);
$sexi = $uzer['gender'];
if( $sexi == "Female" || $sexi == "female") { $noimage = "noimagewoman.png";} elseif ( $sexi == "Male" || $sexi == "male") { $noimage = "noimageman.png";}
{
$str .= image($size,$size,''.$VAR[0].'/images/' .$noimage. '',$i);
}
}
if ($type != '7') $str .= '</a>'."\n";
return $str;
}