Here's the whole page with some edits so it would fit:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Zanapets ~ Home</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<style type="text/css">
<!--
body,td,th {
color: #FFFFFF;
}
body {
background-color: #0F3711;
}
-->
</style></head>
<body text="#FFFFFF" link="#FFFFFF">
<div align="center">
<table width="784" height="603" border="1" bordercolor="#001700">
<tr>
<td width="152" height="55" bgcolor="#0F3711"><form method="post" action="login.php">
<p align="center">Username:<br>
<input name="username" type="text" id="username">
Password:
<input name="password" type="password" id="password">
<input type="submit" name="Submit" value="Submit">
</p>
</form>
</td>
<td width="450"><img src="images/tlogo.png" width="450" height="120"></td>
<td width="160"><div align="center">
<?
include 'config.php';
session_start();
if($_SESSION['s_logged_n'] == 'true'){
$query="SELECT * FROM Users";
$result=mysql_query($query);
$num=mysql_numrows($result);
$i=0;
while ($i < $num) {
$current_zg=mysql_result($result,$i,"ZG");
$current_username=mysql_result($result,$i,"Username");
$i++;
}
echo ('Username:');
echo($current_username);
echo('ZanaGold:');
echo($current_zg);
echo('Current Pet:');
} else {
echo ('You cannot access this information unless you are logged in. <a href="login.php">Click here</a> to login.');
}?>
</div></td>
</tr>
<tr>
<td height="289" colspan="2">
<div align="center">Login to your Zanapets account<br>
<?php
session_start();
include 'config.php';
if(isset($_POST['login']))
{
$username = trim(addslashes($POST['username']));
$password = md5(trim($POST['password']));
$query = mysql_query("SELECT * FROM Users WHERE Username = '$username' AND Password = '$password' LIMIT 1") or die(mysql_error());
$row = mysql_fetch_array($query);
// now we check if they are activated
if(mysql_num_rows($query) > 0)
{
if($row['Activated'] > 0)
{
$SESSION['s_logged_n'] = 'true';
$SESSION['s_username'] = $username;
$_SESSION['s_name'] = $row['Name'];
header("Location: member.php");
} else {
echo ('Sorry, we couldnt log you on. Your account may not be active. Please check your email for the activation code. Or, <a href="resend.php">click here</a> to resend the activation code.<br><br>Or, the information you just put in is wrong. <a href="login.php">Click here</a> to go back and try again.');
}
?>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
</td>
<td><div align="center">
<p><a href="index.php"><font color="#FFFFFF">Home</font></a></p>
<p><a href="login.php">Login</a></p>
<p><a href="logout.php">Logout</a></p>
<p><a href="member.php">ZanaCentral</a></p>
<p>Worlds</p>
<p>Shops</p>
<p>Search</p>
<p>Games</p>
<p>Boards</p>
<p><a href="news.php">News</a></p> <p>ZMail</p>
<p>Help</p>
</div></td>
</tr>
<tr>
<td height="23" colspan="3"><div align="center">All names, news, content, characters, logos, data, and indicia are ©2005 Zanapets. </div></td>
</tr>
</table>
</div>
</body>
</html>