Ok här är profil.php
<?
include 'header.php';
$profile_class = new User($_GET['id']);
?>
<tr>
<td class="contenthead">Medlems Profil</td>
</tr>
<tr><td class="contentcontent">
<table width='100%'>
<tr>
<td colspan='4'>
<table width='100%' height='100%' cellpadding='5' cellspacing='2'>
<tr>
<td width='267' align='center'>[img]<? echo $profile_class->avatar; ?>[/img]</td>
<td width="708" align='center'></td>
</tr>
</table> </td>
</tr>
<tr>
<td width='15%'>
Namn:</td>
<td width='35%'><?php echo $profile_class->formattedname; ?></td>
<td width='15%'></td>
<td width='35%'></td>
</tr>
<tr>
<td width='15%'></td>
<td width='35%'></td>
<td width='15%'></td>
<td width='35%'></td>
</tr>
<tr>
<td width='15%'>
Level:</td>
<td width='35%'><?php echo $profile_class->level; ?></td>
<td width='15%'>
Pengar:</td>
<td width='35%'>$<?php echo $profile_class->money; ?></td>
</tr>
<tr>
<td width='15%'>
Medlem sedan:</td>
<td width='35%'><?php echo $profile_class->age; ?></td>
<td width='15%'>
Senast Aktiv:</td>
<td width='35%'><?php echo $profile_class->formattedlastactive; ?></td>
</tr>
<tr>
<td width='15%'>
Online:</td>
<td width='35%'><?php echo $profile_class->formattedonline; ?></td>
<td width='15%'>
Klubb:</td>
<td width='35%'><?php echo $profile_class->formattedgang; ?></td>
</tr>
<tr>
<td width='15%'>
Bor i:</td>
<td width='35%'><?php echo $profile_class->cityname; ?></td>
<td width='15%'></td>
<td width='35%'></td>
</tr>
</table>
<table width="100%" border="0">
<tr>
<td>
<? echo $profile_class->desc2; ?></td>
</tr>
</table></td></tr>
<?
if ($user_class->id != $profile_class->id){
?>
<tr><td class="contenthead">Actions</td></tr>
<tr><td class="contentcontent">
<table width='100%'>
<tr>
<td width='25%' align='center'>
username ?>'>Meddelande</td>
<td width='25%' align='center'>
id; ?>'>Skicka pengar</td>
<td width='25%' align='center'></td>
<td width='25%' align='center'></td>
</tr>
<tr>
<td width='25%' align='center'>
id ?>'>Attackera!</td>
<td width='25%' align='center'>
id ?>'>Råna</td>
<td width='25%' align='center'></td>
<td width='25%' align='center'></td>
</tr>
</table>
</td></tr>
<?
}
include 'footer.php';
?>