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

	$preventPop = "yes";

if (isset($_COOKIE['WUsername_c']) && isset($_COOKIE['WPassword_c'])) {
	print"<script>location.href='$CONST_LINK_ROOT/complete_login.php'</script>";
}
#affiliates Tracker####################
if(isset($HTTP_GET_VARS['inv_id'])){
	$inv_id=$HTTP_GET_VARS['inv_id'];
	$_SESSION['inv_id']=$inv_id;
	print"<script>location.href='$SITE_MAIN_WWW_ROOT/register1.php?inv_id=$inv_id'</script>";
	exit;
}


 $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" xmlns:fb="http://ogp.me/ns/fb#">
<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 - Marketer!</title>
<link rel="stylesheet" type="text/css" href="main.css" media="screen, print">
</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">
							<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 id="menu-float-main"><span class="lang_button">English</span></div>
												<div style="float:right; padding-top:135px;"><span class="logout_button">Beta Versions</span></div></td>
										</tr>
									</table>
									<div class="middle-float">
										<table border="0" align="center" cellpadding="0" cellspacing="0">
											<tr>
												<td valign="top"><span class="link_top_t"><img src="images/home.gif" alt="home" width="23" height="21" hspace="0" vspace="0" border="0"> <a href="http://www.wowdoyou.com/index.php" target="_self">Wauhaha Home </a></span></td>
												<td valign="top">&nbsp;</td>
												<td rowspan="3" valign="top"><table width="100%" border="0" align="right" cellpadding="0" cellspacing="0">
														<tr>
															<td><img src="images/spacer.gif" width="15" height="1"></td>
															<td><?php
					   $act_sess=mysql_query("select * from active_users where username='$Sess_UserName'");
 $active = mysql_num_rows($act_sess);
	if($active==0){
	include ("login_box.php");
					  	}
						?></td>
														</tr>
													</table></td>
											</tr>
											<tr>
												<td valign="top">&nbsp;</td>
												<td valign="top">&nbsp;</td>
											</tr>
											<tr>
												<td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="white_back_t_xb grey_box">
														<tr>
															<td align="center" valign="middle"><img src="images/main.jpg" width="692" height="291" border="0" usemap="#Map"></td>
														</tr>
													</table></td>
												<td valign="top">&nbsp;</td>
											</tr>
											<tr>
												<td colspan="3" valign="top">&nbsp;</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>
			</table></td>
	</tr>
</table>
<map name="Map">
	<area shape="rect" coords="428,173,490,216" href="http://www.wowdoyou.com/register1.php" target="_self" alt="Register">
</map>
</body>
</html>
