//--- does the user's picture exist?
if ( @fopen($GLOBALS["home_dir"] . "images/" . $details->main_pic, "r") )
{
$image_url = $GLOBALS["home_dir"] . "images/" . $details->main_pic;
}
else
{
$image_url = $GLOBALS["home_dir"] . "images/_missing.jpg";
}
?>
|
=htmlspecialchars($details->forename, ENT_QUOTES)?>
=htmlspecialchars($details->surname, ENT_QUOTES)?>
nationality: =htmlspecialchars($details->location, ENT_QUOTES)?>
//--- does the players's flag picture exist?
$country = str_replace(" ", "_", $details->location);
$flag_url = $GLOBALS["home_dir"]."flags/mini_" . strtolower($country) . ".gif";
if ( @fopen($flag_url, "r") )
{
?>
}
?>
alias:
if ($details->alias) print htmlspecialchars($details->alias, ENT_QUOTES);
else print "unknown";
?>
|
if ($prev_person)
{
?>
prev bio
}
if ($prev_person && $next_person) print " | ";
if ($next_person)
{
?>
next bio
}
?>
|