rendered paste body<?phpsession_start();include "includes/MySQL.php";include "includes/functions.php";//$DBConnection = mysql_connect($loginDB['host'], $loginDB['user'], $loginDB['pass']);//mysql_select_db($loginDB['data'], $DBConnection);echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Kingdom of Kings L2</title><link href="style.css" rel="stylesheet" type="text/css" /><link rel="shortcut icon" href="favicon.ico"><script type="text/javascript"><!-- if (document.images) { image1 = new Image(131, 33); image1.src = "images/top_nav_small_tab_hover.gif"; }//--></script><style type="text/css"><!--.style1 { color: #0000FF; font-style: italic; font-weight: bold;}.style2 {color: #00FF00;}.styleON {color: green; font-style: italic; font-weight: bold; }.styleOFF {color: red; font-style: italic; font-weight: bold; }.style4 {color: #FFFF00; font-style: italic; font-weight: bold; }--></style></head><body><!-- END TOP NAV --><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="803" height="182" title="Kingdom of Kings L2 Banner"> <param name="movie" value="images/banner.swf" /> <param name="quality" value="high" /> <embed src="images/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="803" height="182"></embed></object><!-- END HEADER --><ul id="statsbar"><li id="comments">GameServer Status : <?=ServerStatus(1)?> </li><li id="hits">LoginServer Status : <?=ServerStatus(2)?> </li><li id="online">Online Players:<span class="style4"> <?=$highOnline?></span> </li></ul><!-- END STATS BAR --><div id="container"><div id="left"><h2>Main Navigation</h2><!-- START MAIN NAVIGATION --><ul id="leftnav"><li><a href="index.php?page=news">Home</a></li><li><a href="index.php?page=register">Register</a></li><li><a href="index.php?page=forum">Forum</a></li><li><a href="index.php?page=download">Downloads</a></li><li><a href="index.php?page=multimedia">Multi-Media </a></li><li><a href="ventrilo://vent9.light-speed.com:8354/servername=Kingdom%20of%20Kings&channelname=Kingdom%20of%20Kings">Ventrilo</a></li><li><a href="teamspeak://play.kingdomofkings.com:8777/password=koknplayer">TeamSpeak</a></li><li><a href="index.php?page=staff">Staff</a></li><li><a href="index.php?page=donations">Donations</a></li><li><a href="index.php?page=voting">Voting</a></li><li><a href="index.php?page=connectioninfo">Connection Info</a></li><li><a href="index.php?page=serverstats">Server Statistics</a></li></ul><!-- END MAIN NAVIGATION --><!-- START LOGIN --><h2>Account Login</h2><div id="login">';if(!logged()) {echo '<form method="POST" action="index.php?page='.$_GET['page'].'" id="login"><b>Account:</b><br /><input type="text" name="login_username" size="20"><br /><b>Password:</b><br /><input type="text" name="login_password" size="20"><br /><img src="includes/verification_image.php"> <input type="input" size="3" name="verificationcode" style="text-align:center;"><br /><input type="submit" value="Login" name="login_submit"><br />';if(isset($_POST['login_submit'])) {include "includes/verification_image.class.php";//include "includes/MySQL.php";$login_username = SecureText($_POST['login_username']);$login_password = SecureText($_POST['login_password']);$image = new verification_image(); if($image->validate_code($_POST['verificationcode']) || SecureText($_SESSION['login_userid'])) { login($login_username,$login_password); } else { echo "<b>Code is not valid</b>"; }}} else { $query = mysql_query("SELECT * FROM accounts WHERE login = '".SecureText($_SESSION['login_username'])."' LIMIT 1") or die(mysql_error()); $row = mysql_fetch_array($query);}echo '</form></div><!-- END LOGIN --><h2>Recent News Topics </h2><div id="news"><a href="newshistory.html"><img src="images/news_icon.gif" alt="news" border="0" /></a><strong>06/04/06</strong> - <a href="newshistory.html">New Lineage 2 Website! </a></div></div><!-- END LEFT COLUMN --><!-- START RIGHT COLUMN -->';if(SecureText($_GET['page'])) { $file = SecureText($_GET['page']).".php"; if(file_exists("content/".$file)) { include("content/".$file); } else {echo '<h3 align="left">Error - 404! </h3><p align="left">This sit dosent exist</p>';}} else { include("content/news.php");}session_write_close();?><!-- END RIGHT COLUMN --></div><p id="footer"><a href="http://www.kingdomofkings.com">Kingdom of Kings Network</a><br /> © Copyright 2007 - All Rights Reserved <br /> <a href="http://www.kingdomofkings.com"></a></p></body></html>