<? 
session_start();
?>
<? include('header.php'); ?>
								<div class="content_top_center">
									<div class="content_top_left">
										<div class="content_top_right">
			
			<table class="contentpaneopen"><tr><td class="contentheading" width="100%">Редактирование Вашего профиля</td></tr></table>
			
		<table class="contentpaneopen"><tr><td width="70%" align="left" valign="top" colspan="2"><span class="small"></td></tr>
			<tr>
				<td valign="top" colspan="2" class="createdate"></td>
			</tr>
</table>

		              </div>
									</div>
								</div>

<?

require('config.php');

$username=uc($_COOKIE["usNick"]);
$pazz=uc($_COOKIE["usPass"]);

$sql = "SELECT * FROM tb_users WHERE username='$username'";
$result = mysql_query($sql);        
$row = mysql_fetch_array($result);


?>


<div align="center"><div id="form">


<table width="400" border="0" align="center">
  <tr>
    <td width="150" align="left"><p><label>ID:</label></p></td>
    <td width="250" align="left"><? echo $row["id"]; ?></td>
  </tr>
  <tr>
    <td width="150" align="left"><p><label>Username:</label></p></td>
    <td width="250" align="left"><? echo $row["username"]; ?></td>
  </tr>
  <tr>
    <td width="150" align="left"><p><label>E-mail:</label></p></td>
    <td width="250" align="left"><? echo $row["email"]; ?></td>
  </tr>
  <tr>
    <td width="150" align="left"><p><label>WMR кошелек:</label></p></td>
    <td width="250" align="left"><? echo $row["pemail"]; ?></td>
  </tr>
 <tr>
    <td width="150" align="left"><p><label>Country:</label></p></td>
	<td width="250" align="left"><? echo $row["country"]; ?></td>
 </tr>
 <tr>
    <td width="150" align="left"><p><label>Your referer:</label></p></td>
	<td width="250" align="left"><? echo $row["referer"]; ?></td>
 </tr>
 <tr>
    <td width="150" align="left"><p><label>Join date:</label></p></td>
	<td width="250" align="left"><? echo $row["joindate"]; ?></td>
 </tr>
 <tr>
    <td width="150" align="left"><p><label>Last IP Log:</label></p></td>
	<td width="250" align="left"><? echo $row["ip"]; ?></td>
 </tr>
 <tr>
    <td width="150" align="left"><p><label>IP</label></p></td>
	<td width="250" align="left"><? echo $row["lastiplog"]; ?></td>
 </tr>
</table>
<h3>Хотите поменять профиль?<br> Свяжитесь с админом!<br> ICQ: 111111111;
<img src="http://status.icq.com/online.gif?icq=111111111&img=5" alt="im" /><br> WMID:111111111</h3>
</div></div>

<?

mysql_close($con);
?>


<? include('footer.php'); ?>
