rendered paste body<html>
<head>
<title>Warriors of Defeat :: MMORPG</title>
<style type="text/css">
body {
background-color: #000000;
color: white;
}
td.links {
background-color: #333333;
color: white;
border: 1px solid #FFFFFF;
text-align: center;
}
A:link {text-decoration: none; color: yellow;}
A:visited {text-decoration: none; color: yellow;}
A:active {text-decoration: none; color: yellow;}
A:hover {text-decoration: none; color: gold;}
input {
background-color: #333333;
color: #FFFFFF;
border: 1px solid white;
text-align: center;
background-image: url('images/bar.gif');
}
td.base{
background-color: #111111;
color: white;
border: 1px solid #FFFFFF;
text-align: center;
}
td.base1{
background-color: #111111;
color: white;
border: 1px solid #FFFFFF;
text-align: center;
}
td.base1{
background-color: #222222;
color: white;
border: 0px solid #FFFFFF;
text-align: center;
}
td.base1{
background-color: #222222;
color: white;
border: 0px solid #FFFFFF;
}
td.copywrite {
background-color: #333333;
color: white;
border: 1px solid #FFFFFF;
text-align: center;
}
</style>
</head>
<body>
<table width="100%">
<tr><td align="center"><IMG SRC="images/banner.jpg" ALT="Warriors of Defeat" BORDER=1></td></tr></table><br />
<table width="100%"><tr>
<td class="links"><a href="index.php">Home</a> <a>|</a> <a href="battlefield.php">Rankings</a> <a>|</a> <a href="help.php">Help</a> <a>|</a> <a href="forum" target="_blank">Forums</a> <a>|</a> <a href="chat" target="_blank">Chat</a> <a>|</a> <a href="spam.php">Report Spam</a> <a>|</a> <a href="privacy.php">Privacy Policy</a> <a>|</a> <a href="tos.php">Terms of Service</a> <a>|</a> <a href="contact.php">Contact Us</a></td></tr></table><br>
<center><form action="login.php" method="post">Username: <input name="username" type="text" id="username" /> Password: <input name="password" id="password" type="password" /> <input name="login" id="login" type="submit" value="Log In" /></form>
<table width="50%"><tr><td class="links"><a href="register.php">Register</a> <a>|</a> <a href="forgot.php">Forgot Password</a><br>
<?
include "config.php";
$something = mysql_query("SELECT count(user_id) AS count FROM users WHERE last_active < DATE_SUB(NOW(), INTERVAL 5 minute)");
echo number_format($something['count'], 0,'.','');
echo $something['count'];
echo "<a href='online.php'>Users Online</a>";
?></td></tr></table></center><br>
<?
session_start();
if(empty($_SESSION['user'])){
Echo "<h1>Error</h1><br>
Please Login";
}
else{
mysql_query("UPDATE users SET last_active=NOW() WHERE username='{$_SESSION['user']}'");
?>
<table width="100%">
<tr>
<td width="48%"><table width="100%"><tr>
<td class="base">User Info</td></tr></table></td>
<td width="48%"></td></tr></table>
<?
}
?>
<table width="100%"><tr>
<td class="copywrite">Created By: Eric © Copywrite 2007-2008 Warriors of Defeat, <a href="http://ewnetwork.info/" target="_blank">EW Network</a></td></tr></table>
</body>
</html>