<?php
include("includes/site_info.php");
if(!empty($_SESSION['Sess_UserId'])){
include("session_handler.inc");

$WUserID = $_SESSION['Sess_UserId'];
$WUserType = $_SESSION['Sess_UserType'];
$WUserName = $_SESSION['Sess_UserName'];

$block_query=mysql_query("SELECT count(*) FROM blockmail WHERE blk_receiverid = $WUserID AND blk_senderid = 1",$link);
$block_list = mysql_result($block_query,0,0);

if ($block_list > 0) {
	echo '<table width="100%" border=0 cellpadding="5" cellspacing="0" class="white_back_t_xb p5">';
	echo '<tr>';
	echo '<td align="center">Sorry this hahaper has chosen not to receive further emails from you.</td>';
	echo '</tr>';
	echo '</table>';
die;
	}

?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="p5">
	<tr class="grey_12 orange_row_back solid_line_separator">
		<td><div style="background-color:#0000FF; width:10px; height:10px; float:left; margin-top:3px; margin-right:5px;"><img src="images/spacer.gif" width="10" height="10" /></div>
			Message Boards >> Investor Wanted</td>
	</tr>
	<tr>
		<td align="center" class="blue_12"><strong>Need Working Capital</strong></td>
	</tr>
	<tr>
		<td align="left" class="blue_12"><p>We have various opportunities in technopreneur market. It has been done and we have the right people and programmers that can make this happen. We have our Patent protection. We been needing an investor to make this one of the biggest corps in Malaysia to the world. We believe with the right investor and the right people this can be a very profitable investment.</p>
			<p>&nbsp;</p>
			<p>Mentor as investor please welcome.</p>
			<p>&nbsp;</p>
			<p>Thank You!</p>
			<p>&nbsp;</p>
			<p>Location: Johor, Malaysia</p></td>
	</tr>
	<tr>
		<td align="left">&nbsp;</td>
	</tr>
	<tr class="p0">
		<td align="left" class="border-1px"><div id="comp_msg" style="padding:5px"><img src="images/spacer.gif" /></div>
			<form action="javascript:getCompose(document.getElementById('form_incoming_mail'));" name='form_incoming_mail' id='form_incoming_mail'>
				<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" class="white_back_t_xb p5">
					<tr>
						<td valign="top"><?=SENDMAIL_MESSAGE?>
							:</td>
						<td><textarea id="txtMessage" cols="" rows="10" style="width:400px"></textarea></td>
					</tr>
					<tr>
						<td>&nbsp;</td>
						<td><input name="userid" type="hidden" id="userid" value="1">
							<input type='hidden' name='myhandle' value='<?php print("$WUserName"); ?>' />
							<input name="txtSubject" type="hidden" id="txtSubject" value="Investor Message by <?=$WUserName?>">
							<input name="Validate" type="submit" class="button" value="<?php echo BUTTON_SENDMAIL ?>" /></td>
					</tr>
				</table>
			</form></td>
	</tr>
</table>
<?php } else { ?>
<!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" />
<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 id="menu-float-main"><span class="lang_button">English</span></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 border="0" cellpadding="0" cellspacing="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>
															<td class="link_top_t">&nbsp;</td>
															<td class="link_top_t">&nbsp;</td>
														</tr>
														<tr>
															<td><img src="images/spacer.gif" width="1" height="40" /></td>
															<td>&nbsp;</td>
															<td>&nbsp;</td>
														</tr>
														<tr>
															<td class="red_12_t">Investor Message</td>
															<td class="red_12_t">&nbsp;</td>
															<td class="red_12_t">&nbsp;</td>
														</tr>
														<tr>
															<td align="left" valign="top"><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">Message Boards >> Investor Wanted</td>
																				</tr>
																				<tr>
																					<td align="left"><strong>Need Working Capital</strong></td>
																				</tr>
																				<tr>
																					<td align="left"><p>We have various opportunities in technopreneur market. It has been done and we have the right people and programmers that can make this happen. We have our Patent protection. We been needing an investor to make this one of the biggest corps in Malaysia to the world. We believe with the right investor and the right people this can be a very profitable investment. </p>
																						<p>Mentor as investor please welcome. </p>
																						<p>Thank You!</p>
																						<p>Location: Johor, Malaysia</p></td>
																				</tr>
																				<tr>
																					<td align="left"><?php if($_GET["error"]) {?><div id="msg_content_error"><?=$_GET["error"]?><img src="images/spacer.gif" /></div><?php } ?>
																						<form action="mail_investor.php" method="post" name='form_incoming_mail' id='form_incoming_mail'>
																							<table width="100%" border="0" align="left" cellpadding="5" cellspacing="0" class="grey_12">
																								<tr>
																									<td>Name</td>
																									<td> :</td>
																									<td><input name='name' type='text' id="name" style="width:400px" value="<?=$_SESSION["postInvestor"]["name"]?>"/>																										</td>
																								</tr>
																								<tr>
																									<td><?=MENU_MAIL?></td>
																									<td>:</td>
																									<td><input name="email" type="text" id="email" style="width:400px" value="<?=$_SESSION["postInvestor"]["email"]?>" /></td>
																								</tr>
																								<tr>
																									<td>Contact</td>
																									<td>:</td>
																									<td><input name="contact" type="text" id="contact" style="width:400px" value="<?=$_SESSION["postInvestor"]["contact"]?>" /></td>
																								</tr>
																								<tr>
																									<td valign="top"><?=SENDMAIL_MESSAGE?></td>
																									<td valign="top"> :</td>
																									<td><textarea name="txtMessage" cols="" rows="10" id="txtMessage" style="width:400px"><?=$_SESSION["postInvestor"]["txtMessage"]?></textarea></td>
																								</tr>
																								<tr>
																									<td valign="top">Verification Code</td>
																									<td valign="top" class="grey_12">:</td>
																									<td class="grey_12"><img src="verImage.php" width="60" height="30" align="absmiddle" />
																										<input name="vcode" type="text" id="vcode" value=""/></td>
																								</tr>
																								<tr>
																									<td>&nbsp;</td>
																									<td>&nbsp;</td>
																									<td><input name="Validate" type="submit" class="button" value="<?php echo BUTTON_SENDMAIL ?>" /></td>
																								</tr>
																							</table>
																						</form></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>
															<td align="left"><img src="images/spacer.gif" width="20" height="1" /></td>
															<td align="left" valign="top">&nbsp;</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="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="index.php" target="_self" title="Home">HOME</a></td>
											<td><a href="about.php" target="_self" title="About">ABOUT</a></td>
											<td><a href="contactus.html" target="_self" title="Contact">CONTACT</a></td>
											<td><a href="career.php" target="_self" title="Careers">CAREERS</a></td>
											<td><a href="terms.html" target="_self" title="Terms">TERMS</a></td>
											<td><a href="privacy.html" target="_self" title="Privacy">PRIVACY</a></td>
												<td><a href="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>
<?php } ?>
