/home/mip/public_html_/old-website/old/sendregistrationform.php
<?php
require_once("func_proc.php");
//print "$message";
//exit;
/* To send HTML mail, you can set the Content-type header. */
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
/* additional headers */
$headers .= "From: info@mipinternational.com\r\n";
$to = "$email_employer";
$subject = "CLIENT INQUIRY FORM - MIP WEBSITE";
$body = "<html>
<body>
<table width='97%' cellpadding='0' cellspacing='0' border='0' style='border-style:none' bgcolor=#FFFFFF>
<tr>
<td align=center valign=middle class=box><br />
<span class=style10>Manpower Request Form </span>
<table border='0' cellpadding='0' cellspacing='0' style=border-collapse:collapse>
<tr>
<td height='15' colspan='3'></td>
</tr>
<tr>
<td height='22' align=left><strong>Business Name</strong></td>
<td align=center><strong>:</strong></td>
<td align=left>".$Business_Name."</td>
</tr>
<tr>
<td height='22' valign=top align=left><strong>Business Address</strong></td>
<td align=left valign=top><strong>:</strong></td>
<td align=left>".$Address."</td>
</tr>
<tr>
<td height='22' align=left><strong>Telephone Number</strong></td>
<td align=left><strong>:</strong></td>
<td align=left>".$Telephone."</td>
</tr>
<tr>
<td height='22' align=left><strong>Fax Number</strong></td>
<td align=center><strong>:</strong></td>
<td align=left>".$Fax."</td>
</tr>
<tr>
<td height='22' align=left><strong>Email Address</strong></td>
<td align=center><strong>:</strong></td>
<td align=left>".$Email_Address."</td>
</tr>
<tr>
<td height='22' align=left><strong>Website</strong></td>
<td align=center><strong>:</strong></td>
<td align=left>".$Website."</td>
</tr>
<tr>
<td height='15'></td>
<td height='15'></td>
<td height='15'></td>
</tr>
<tr>
<td height='22' align=left><strong>Contact Person</strong></td>
<td align=center><strong>:</strong></td>
<td align=left>".$Contact_Person."</td>
</tr>
<tr>
<td height=22 align=left><strong>Position</strong></td>
<td align=center><strong>:</strong></td>
<td align=left>".$Position."</td>
</tr>
<tr>
<td height='22' align=left style='padding-left:2px'><strong>Business License Number</strong></td>
<td align=center><strong>:</strong></td>
<td align=left>".$License_Number."</td>
</tr>
<tr>
<td height='22' align=left><strong>Nature of Business</strong></td>
<td align=center><strong>:</strong></td>
<td align=left>".$Nature."</td>
</tr>
<tr>
<td height='15' colspan='3'></td>
</tr>
</table>
<br />
<table width='584' border='1' cellpadding='2' cellspacing='0'>
<tr bgcolor=#f9f9f9>
<td width='144' height='29' align=center valign=top class=style4><strong>Position</strong></td>
<td width='138' align=center valign=top class=style4><strong>Number Required</strong></td>
<td width='279' align=center valign=top class=style4><strong>Job Description (Qualification, age limit..etc)</strong></td>
</tr>".do_form_row($Position1, $Number1, $Description1).
do_form_row($Position2, $Number2, $Description2).
do_form_row($Position3, $Number3, $Description3).
do_form_row($Position4, $Number4, $Description4).
do_form_row($Position5, $Number5, $Description5).
do_form_row($Position6, $Number6, $Description6).
do_form_row($Position7, $Number7, $Description7).
do_form_row($Position8, $Number8, $Description8).
do_form_row($Position9, $Number9, $Description9).
do_form_row($Position10, $Number10, $Description10).
do_form_row($Position11, $Number11, $Description11).
do_form_row($Position12, $Number12, $Description12).
do_form_row($Position13, $Number13, $Description13).
do_form_row($Position14, $Number14, $Description14).
do_form_row($Position15, $Number15, $Description15).
"
</table></td>
</tr>
</table>
</body>
</html>";
if (mail($to, $subject, $body, $headers,"-finfo@mipinternational.com"))
{
$statusMessage = "Request Successfully sent!";
}
else
{
$statusMessage = "<font color=#FF0000>Request could not be sent!</font>";
}
?>
<!--call do_leftContent-->
<? do_html_header()?>
<? do_menu(); ?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="3px"></td>
</tr>
<!-- <tr>
<td height="1" background="images/pixel.gif"><img src="images/pixel.gif" width="1" height="1"></td>
</tr>-->
<tr>
<td style="padding:10px;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="150" class="header_white" style="padding-top:3;padding-left:5px;"><img src="images/form.gif" width="239" height="26" /></td>
<td>
</td>
</tr>
<tr height="5" >
<td colspan="2"></td>
</tr>
</table><br />
<br />
<!-- form -->
<p align="center" style="font-weight: bold" class="style4"><br />
<br />
<?=$statusMessage?><br />
<br />
</p>
</td>
</tr>
</table>
<!--RIGHT CONTAINER-->
<? do_footer(); ?>
<script>
setTimeout("window.location='<?=$_SERVER['HTTP_REFERER']?>'",1250);
</script>