<?php
include("check.php");
include("config.php");
include("func.php");
include("ar.php");
if($_SESSION['user']){
$check="select * from playersc where username='".$_SESSION['user']."' and password='".$_SESSION['password']."'";
$result=mysql_query($check);
$row=mysql_fetch_array($result);
$id2=$row['id'];
$town=town($id2);
include("dayup.php");
?>
<html>
<head>
<style>
a:link.ta { color: blue; font-weight:bold; text-decoration:bold;font-size: 14pt;}
a:visited.ta { color: blue; font-weight:bold; text-decoration:bold;font-size: 14pt;}
a:active.ta { color: blue; font-weight:bold; text-decoration:bold;font-size: 14pt;}
a:hover.ta { color: blue; font-weight:bold; text-decoration:bold;font-size: 14pt;}
a:link.ta3 { color: #ffffff; font-weight:bold; text-decoration:bold;font-size: 12pt;}
a:visited.ta3 { color: #ffffff; font-weight:bold; text-decoration:bold;font-size: 12pt;}
a:active.ta3 { color: #ffffff; font-weight:bold; text-decoration:bold;font-size: 12pt;}
a:hover.ta3 { color: #ffffff; font-weight:bold; text-decoration:bold;font-size: 12pt;}
input.t1 {
font-family: verdana,helvetica;
color: orange;
background-color: #660000;
border: solid 1px #000000;
font-weight: bold;
font-size: 14px;
}
</style>
<script type="text/javascript" src="functions.js"></script>
</head>
<body bgcolor=#CCA37A>
<table align=center width=600><tr><td>
<table align=center>
<tr><td><img src=logo.jpg width=150 height=150></td><td><font size=6><b><?echo$index[1];?><br><?echo$index[2];?><br> <?echo$index[3];?></b></font></td></tr>
</table>
<table align=center width=600 style=" border: 1px solid #000000;"><tr><td>
<?include("topmenu.php");?>
<?include("status.php");?>
<table align=center width=600 bgcolor=#ffffff dir=rtl>
<tr><td align=center><a href=wmail.php class=ta><?echo$mailr[1];?></a></td></tr>
<tr><td align=center><font size=3 color=blue><b><?echo$mailr[2];?></b></font></td></tr>
</table>
<form method=post action=dmail.php>
<table align=center width=600 bgcolor=#ffffff dir=rtl>
<tr><td align=center><font size=3 color=blue><b><?echo$mailr[3];?></b></font></td><td align=center><font size=3 color=blue><b><?echo$mailr[4];?></b></font></td><td align=center><font size=3 color=blue><b><?echo$mailr[5];?></b></font></td></tr>
<?
$mail_check="select * from mails where Userto='$town[1]'";
$result_mail=mysql_query($mail_check);
while($row_mail=mysql_fetch_array($result_mail)){
$userfrom2=$rowmail['Userfrom'];
$sub2=$rowmail['Subject'];
$date2=$rowmail['Sentdate'];
echo"<tr><td align=center><font size=3 color=blue><b>$userfrom2</b></font></td><td align=center><font size=3 color=blue><b>$sub2</b></font></td><td align=center><font size=3 color=blue><b>$date2</b></font></td></tr>";
}
?>
</table>
<?include("links.php");?>
</td></tr></table>
</td></tr></table>
</body>
</html>
<?
}
?>
Bookmarks