<?php
//-> Login Pic Avatar
########################################################
# __ ___ #
# /__ | #
# \_| | #
#------------------------------------------------------#
# Design and Slice by http://www.Gamer-Templates.de #
# [ CMS Copyright by www.Gamer-Templates.de ] #
#------------------------------------------------------#
########################################################
function userloginpicgt($userid,$width=88,$height=116)
{
global $picformat,$chkMe,$userid;
foreach($picformat as $endung)
{
if(file_exists(basePath."/inc/images/uploads/useravatare/".$userid.".".$endung))
{
$pic = show(_userava_link, array("id" => $userid,
"endung" => $endung,
"width" => $width,
"height" => $height));
}
}
$return = '
<div style="position:absolute;margin-left:11px;margin-top:30px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="88" height="116">'.$pic.'</td>
</tr>
</table>
</div>
';
if($chkMe == 'unlogged') return "";
else return $return;
}
?>
|