<?php
ini_set('session.cookie_domain', '.wauhaha.com');
session_start();
include("includes/site_info.php");

 $Sess_UserId=$_SESSION['Sess_UserId'];
 $Sess_UserName=$_SESSION['Sess_UserName'];
 
 $act_sess=mysql_query("select * from active_users where username='$Sess_UserName'");
 $active = mysql_num_rows($act_sess);
	if($active>0){
	echo "<script>location.href='" . $CONST_LINK_ROOT . "/home.php'</script>";
	}

?>
<!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=UTF-8" />
<meta name="robots" content="noodp,noydir" />
<meta name="description" content="Wauhaha,Incunifies the world strong development technology, the Malaysian native place culture characteristic and the Internet development present situation, develops the Malaysian Internet software infrastructure technology platform with all one's strength, provides the individual to be able to display the heart dream since childhood... , is also your Internet enterprise essential partner." />
<link rel="alternate" media="handheld" href="http://www.wowdoyou.com/" />
<title>Wauhaha!</title>
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="top">
				<tr>
					<td><table width="1000" border="0" align="center" cellpadding="0" cellspacing="0" class="bottom">
							<tr>
								<td><table width="1000" border="0" align="center" cellpadding="0" cellspacing="0" class="header">
										<tr>
											<td width="353" valign="top"><a href="http://www.wowdoyou.com"> <img src="images/logo.gif" alt="wauhaha" border="0" > </a></td>
											<td width="647" valign="top"><div style="position:relative">
													<div id="menu-float-main"><span class="lang_button">English</span></div>
													<div style="position: absolute; padding-top:96px; padding-right:150px; right: 0px; bottom: 0px;"><span class="logout_button">Beta Versions</span></div>
												</div></td>
										</tr>
									</table>
									<div class="middle-float">
										<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
											<tr>
												<td width="666" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
														<tr>
															<td valign="top" class="link_top_t"><img src="images/home.gif" alt="home" width="23" height="21" hspace="0" vspace="0" border="0"> <a href="index.php" target="_self">Home</a> </td>
														</tr>
														<tr>
															<td><img src="images/spacer.gif" width="1" height="40"></td>
														</tr>
														<tr>
															<td align="left"><table width="600" border="0" cellpadding="0" cellspacing="0">
																	<tr>
																		<td width="12" valign="bottom"><img src="images/big-box_01.jpg" width="12" height="12"></td>
																		<td width="642" valign="bottom" style="background-image:url(images/big-box_02.jpg); background-repeat:repeat-x; background-position:bottom">&nbsp;</td>
																		<td width="12" valign="bottom"><img src="images/big-box_04.jpg" width="12" height="12"></td>
																	</tr>
																	<tr>
																		<td style="background-image:url(images/big-box_05.jpg); background-repeat:repeat-y">&nbsp;</td>
																		<td><table width="100%" border="0" cellpadding="5" cellspacing="0" class="white_back_t">
																				<tr>
																					<td width="100%" class="purple_back">ERROR ALERT</td>
																				</tr>
																				<tr>
																					<td><div>
																							<table width="100%" border="0" align="" cellpadding="5" cellspacing="0" class="white_back_t_xb">
																								<tr>
																									<td width="100%" align="center"><?php  if($_GET['error_msg']=='login_error') {?>
																										<div align="center">
																											<p><font color="#FF0000">Sorry, an error seems to have occured.</font></p>
																											<p><font color="#FF0000">Invalid Account Information or Account not activated yet!</font> </p>
																											<a href="http://www.wowdoyou.com/register1.php" target="_self" class="purple_14">Sign Up</a> </div>
																										<?php } elseif($_GET['error_msg']=='ip_blacklisted') { ?>
																										<div align="center">
																											<p><font color="#FF0000">Your IP address has been blacklisted by the Wauhaha administrator.</font></p>
																											<p><font color="#FF0000"> Due to that, you are not allowed to register or login untill this has been resolved.</font></p>
																											<p><font color="#FF0000">If you feel that this is an error, please contact us via the QUESTION! page.</font></p>
																										</div>
																										<?php } elseif($_GET['error_msg']=='ec_failed') {?>
																										<div align="center">
																											<p><font color="#FF0000">Your email address failed to be confirmed.</font></p>
																											<p><font color="#FF0000">Please contact us via the QUESTION! page.</font></p>
																										</div>
																										<?php } ?>
																									</td>
																								</tr>
																								<tr>
																									<td>&nbsp;</td>
																								</tr>
																							</table>
																						</div></td>
																				</tr>
																			</table></td>
																		<td style="background-image:url(images/big-box_07.jpg); background-repeat:repeat-y">&nbsp;</td>
																	</tr>
																	<tr>
																		<td valign="top"><img src="images/big-box_10.jpg" width="12" height="12"></td>
																		<td valign="top" style="background-image:url(images/big-box_11.jpg); background-repeat:repeat-x; background-position:top">&nbsp;</td>
																		<td valign="top"><img src="images/big-box_12.jpg" width="12" height="12"></td>
																	</tr>
																</table></td>
														</tr>
														<tr>
															<td align="left"><img src="images/spacer.gif" width="1" height="50"></td>
														</tr>
													</table></td>
												<td width="374" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
														<tr>
															<td><img src="images/spacer.gif" width="30" height="1"></td>
															<td><?php include ("login_box.php"); ?></td>
														</tr>
													</table></td>
											</tr>
										</table>
									</div></td>
							</tr>
							<tr>
								<td align="center"><table border="0" cellpadding="10" cellspacing="0" class="menu_bottom_t">
										<tr>
												<td><a href="http://www.wowdoyou.com/wauhhBiz.php" target="_self" title="WAUHHBIZ">WAUHHBIZ</a></td>
												<td><a href="http://marketer.wauhaha.com/wauhhHot.php" target="_self" title="WAUHHHOT">WAUHHHOT</a></td>
											<td><a href="http://socializer.wauhaha.com/wauhhSoc.php" target="_self" title="WAUHHSOCIETY">WAUHHSOCIETY</a></td>
											<td><a href="http://www.wowdoyou.com/index.php" target="_self" title="Home">WAUHAHA HOME</a></td>
											<td><a href="http://www.wowdoyou.com/about.php" target="_self" title="About">ABOUT</a></td>
											<td><a href="http://www.wowdoyou.com/contactus.html" target="_self" title="Contact">CONTACT</a></td>
											<td><a href="http://www.wowdoyou.com/career.php" target="_self" title="Careers">CAREERS</a></td>
											<td><a href="http://www.wowdoyou.com/terms.html" target="_self" title="Terms">TERMS</a></td>
											<td><a href="http://www.wowdoyou.com/privacy.html" target="_self" title="Privacy">PRIVACY</a></td>
												<td><a href="<?=$SITE_MAIN_WWW_ROOT?>/invmsg.php" title="Investor Message" target="_self">INVESTOR</a></td>
												<td><a href="http://www.facebook.com/pages/Wauhaha/125760707473366" target="_blank" title="Facebook Page">FB PAGE</a></td>
											</tr>
									</table></td>
							</tr>
						</table></td>
				</tr>
			</table></td>
	</tr>
	<tr>
		<td><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0" class="copyright">
				<tr>
					<td align="center">Copyright &copy; 2011 Wauhaha.com. All Rights Reserved. Reproduction strictly prohibited.<br>
						All brand names and products are registered trademarks and patent pending of their respective companies.</td>
				</tr>
			</table></td>
	</tr>
</table>
</body>
</html>
