Here is my help to you
player.php
[code:1]<? $id=$HTTP_GET_VARS["id"]; ?>
<html>
<head>
<title>View Player</title>
<style>
.pd {
position: absolute;
top : 55px;
left : 118px;
}
.pdstatus{
position: absolute;
top : 272px;
left : 296px;
}
.pdname{
position: absolute;
top : 304px;
left : 150px;
width : 184px;
height : 38px;
}
.pdback{
position: absolute;
top : 40px;
left : 110px;
}
.pdskill{
position: absolute;
top : 380px;
left : 40px;
width: 366px;
height: 105px;
}
</style>
</head>
<body bgcolor="#ffffff" text="#000000" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
<?
if ($id!=""
{
$strConn="DRIVER={MySQL ODBC 3.51 Driver};SERVER=localhost;DATABASE=MyRunUO;User Id=;Password=;";
// $con is of type "ADODB.Connection"
$a2p_connstr=$strConn
$a2p_uid=strstr($a2p_connstr,'uid');
$a2p_uid=substr($d,strpos($d,'=')+1,strpos($d,';')-strpos($d,'=')-1);
$a2p_pwd=strstr($a2p_connstr,'pwd');
$a2p_pwd=substr($d,strpos($d,'=')+1,strpos($d,';')-strpos($d,'=')-1);
$con=mysql_connect("localhost",$a2p_uid,$a2p_pwd);
mysql_select_db("",$con);
$rs=$rs_query=mysql_query(("select * from myrunuo_characters_layers WHERE char_id = '".$id."' ORDER by layer_id"
,$con);
$rs=mysql_fetch_array($rs_query);
$alldata=;
$allrows=count($alldata);
$rs=$rs_query=mysql_query(("select * from myrunuo_characters WHERE char_id = '".$id."'"
,$con);
$rs=mysql_fetch_array($rs_query);
$chrdata=;
$rs=$rs_query=mysql_query(("select * from myrunuo_characters_skills WHERE char_id = '".$id."' ORDER by skill_value"
,$con);
$rs=mysql_fetch_array($rs_query);
$skilldata=;
$skillnames=array("Alchemy","Anatomy","Animal Lore","Item ID","Arms Lore","Parrying","Begging","Blacksmithing","Bowcraft","Peacemaking","Camping","Carpentry","Cartography","Cooking","Detecting Hidden","Enticement","Evaluating Intel","Healing","Fishing","Forensics","Herding","Hiding","Provocation","Inscription","Lock Picking","Magery","Magic Resistance","Tactics","Snooping","Musicianship","Poisoning","Archery","Spirit Speak","Stealing","Tailoring","Taming","Taste ID","Tinkering","Tracking","Veterinary","Swordsmanship","Macefighting","Fencing","Wrestling","Lumberjacking","Mining","Meditation","Stealth","Remove Trap","Necromancy","Focus","Chivalry"
;
$char_name=$chrdata[1][0];
$char_female="true";
$char_dir=12+$chrdata[5][0];
if ($chrdata[5][0]==1)
{
$char_female="false";
}
$char_bodyhue=$chrdata[10][0];
if ($char_bodyhue==33770)
{
$char_bodyhue=1001;
}
$char_guild=$chrdata[7][0];
$char_guildtitle=$chrdata[8][0];
$char_nototitle=$chrdata[9][0];
?>
<table width="466" height="540" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top">
<div class="pdback"><img src="images/2001.gif" alt="" width="262" height="324"></div>
<div class="pd"><img src="http://www.riven.ru:9090/sys/returnImages.htm?item=<? echo $char_dir; ?>&hue=<? echo $char_bodyhue; ?>" width="260" height="237"></div>
<div class="pd"><img src="images/50422.gif" alt="" width="260" height="237"></div>
<?
for ($tempcol=0; $tempcol<=$allrows; $tempcol=$tempcol+1)
{
print "<div class='pd'><img src='http://www.riven.ru:9090/sys/returnImages.htm?item=".$alldata[2][$tempcol]."&hue=".$alldata[3][$tempcol]."&male=".$char_female."'></div>";
}
?>
<div class="pdname"><font face="Verdana, Arial" color="white" size="2"><b><? echo $char_nototitle; ?></b></font></div>
</td></tr>
<tr><td align="center" valign="top">
<div class="pdskill">
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td align="center"><a href="http://guide.uo.com/skill_<? echo $skilldata[1][0]; ?>.html"><img src="<? echo skillimage($skilldata[1][0]); ?>" border=0 width=125 height=80 alt="<? echo $skillnames[$skilldata[1][0]]; ?>"></a><font face="Arial" color="white" size="2"><? echo $skillnames[$skilldata[1][0]]; ?></font></td>
<td align="center"><a href="http://guide.uo.com/skill_<? echo $skilldata[1][1]; ?>.html"><img src="<? echo skillimage($skilldata[1][1]); ?>" border=0 width=125 height=80 alt="<? echo $skillnames[$skilldata[1][1]]; ?>"></a><font face="Arial" color="white" size="2"><? echo $skillnames[$skilldata[1][1]]; ?></font></td>
<td align="center"><a href="http://guide.uo.com/skill_<? echo $skilldata[1][2]; ?>.html"><img src="<? echo skillimage($skilldata[1][2]); ?>" border=0 width=125 height=80 alt="<? echo $skillnames[$skilldata[1][2]]; ?>"></a><font face="Arial" color="white" size="2"><? echo $skillnames[$skilldata[1][2]]; ?></font></td>
</tr>
</table>
</div></td></tr>
<?
if ($char_guild!=""
{
?>
<tr><td align="center" valign="top">
<?
$rs=$rs_query=mysql_query(("select * from myrunuo_guilds WHERE guild_id = '".$char_guild."' ORDER by guild_name"
,$con);
$rs=mysql_fetch_array($rs_query);
$guilddata=;
?>
<font face="Verdana, Arial" color="#000000" size="3"><b>Guild:</b> &nbsp; &nbsp;<a href="guilds.asp?id=<? echo $guilddata[0][0]; ?>"><? echo $guilddata[1][0]; ?></a></font>
<? } ?>
</td>
</tr>
<?
}
function skillimage($skill)
{
extract($GLOBALS);
$temp="";
if ($skill>=100)
{
$temp="g";
}
$skillimage="images/".$skill.$temp.".gif";
return $function_ret;
}
?>
</table>
</body>
</html>[/code:1]
let me know if anything is wrong because I could not test it yet!