Step1:-
<!--Step1 -->
<?
if($_POST['Submit']=='Submit')
{
extract ($_POST);
//user mail
$sendTo = $email;
$subject = "Sub :Thank you";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: YOUR COMPANY NAME <contact@YOURDOMAINNAME.COM>';
$message = "<html><head></head><body><font-style:italic; color:#FF0099> Dear ".$_POST['name'].", <br><br>
Thanks for your interest........... YOUR COMPLIMENTS CONTINUES HERE. We have received all your details and we will contact you at the earliest. <BR><br> CONTINUE YOUR SUBJECT .<br><br>";
$message = $message."Thanks & Regards.<br>----------------------------<br>NAME,<br>YOURS SCINCEARLY<br>YOUR COMPANY NAME<br>
www.YOUR COMPANY NAME.com</body></html>";
//$from = "YOUR COMPANY NAME";
@mail($sendTo, $subject, $message, $headers);
//admin mail
//$sendTo_a = "contact@YOURDOMAINNAME.COM";
$sendTo_a = "ADMINID@gmail.com";
$subject_a = "Sub :Student Enrole Form";
$headers_a = 'MIME-Version: 1.0' . "\r\n";
$headers_a .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers_a .= 'From:'.$name.'<'. $email.'>';
$message_a = "<html><head></head><body>".$_POST['name'].",
is Register as in your www.YOUR COMPANY NAME.com<br>".
"<table width='83%' bgcolor=#EFF8F8 border='0' align='center' cellspacing='0' cellpadding='5'>
<tr>
<td width='30%'>Name</td>
<td width='5%'>:</td>
<td width='45%'>$name</td>
</tr>
<tr>
<td>Email Id</td>
<td>:</td>
<td>$email</td>
</tr>
<tr>
<td>Contact Number</td>
<td>:</td>
<td>$number</td>
</tr>
<tr>
<td>Qualification</td>
<td>:</td>
<td>$quali</td>
</tr>
<tr>
<td>Prefer Timings</td>
<td>:</td>
<td>$sel</td>
</tr>
</table>
</body></html>
<br> ";
@mail($sendTo_a, $subject_a, $message_a, $headers_a);
//end admin mail
echo "<script>";
echo "location.replace('YOUR NEXT PAGE.php')";
echo "</script>";
}
?>
<?
if($_POST['Submit']=='Submit')
{
extract ($_POST);
//user mail
$sendTo = $email;
$subject = "Sub :Thank you";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: YOUR COMPANY NAME <contact@YOURDOMAINNAME.COM>';
$message = "<html><head></head><body><font-style:italic; color:#FF0099> Dear ".$_POST['name'].", <br><br>
Thanks for your interest........... YOUR COMPLIMENTS CONTINUES HERE. We have received all your details and we will contact you at the earliest. <BR><br> CONTINUE YOUR SUBJECT .<br><br>";
$message = $message."Thanks & Regards.<br>----------------------------<br>NAME,<br>YOURS SCINCEARLY<br>YOUR COMPANY NAME<br>
www.YOUR COMPANY NAME.com</body></html>";
//$from = "YOUR COMPANY NAME";
@mail($sendTo, $subject, $message, $headers);
//admin mail
//$sendTo_a = "contact@YOURDOMAINNAME.COM";
$sendTo_a = "ADMINID@gmail.com";
$subject_a = "Sub :Student Enrole Form";
$headers_a = 'MIME-Version: 1.0' . "\r\n";
$headers_a .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers_a .= 'From:'.$name.'<'. $email.'>';
$message_a = "<html><head></head><body>".$_POST['name'].",
is Register as in your www.YOUR COMPANY NAME.com<br>".
"<table width='83%' bgcolor=#EFF8F8 border='0' align='center' cellspacing='0' cellpadding='5'>
<tr>
<td width='30%'>Name</td>
<td width='5%'>:</td>
<td width='45%'>$name</td>
</tr>
<tr>
<td>Email Id</td>
<td>:</td>
<td>$email</td>
</tr>
<tr>
<td>Contact Number</td>
<td>:</td>
<td>$number</td>
</tr>
<tr>
<td>Qualification</td>
<td>:</td>
<td>$quali</td>
</tr>
<tr>
<td>Prefer Timings</td>
<td>:</td>
<td>$sel</td>
</tr>
</table>
</body></html>
<br> ";
@mail($sendTo_a, $subject_a, $message_a, $headers_a);
//end admin mail
echo "<script>";
echo "location.replace('YOUR NEXT PAGE.php')";
echo "</script>";
}
?>
Step2:-
<!--Step2 -->
<!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>YOUR COMPANY TITLE</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style6 {color: #5490CC; font-weight: bold; }
.style7 {color: #5490CC}
.style11 {color: #5490CC;}
.style12 {color: #FFFFFF}
-->
</style>
</head>
<body>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#000000">
<tr>
<td valign="top"><table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="left"><? include "header.php";?></td>
</tr>
<tr>
<td height="300" valign="top" ><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" align="center"> </td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="3%"> </td>
<td width="97%"><? include "menu.php";?></td>
</tr>
</table></td>
</tr>
<tr>
<td width="9%" valign="top" align="left"><? include "leftmenu.php";?></td>
<td width="91%"><table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="67"><img src="images/images/b1.jpg" width="67" height="59" /></td>
<td width="505" class="m_button1"> </td>
<td width="88"><img src="images/images/b3.jpg" width="67" height="59" /></td>
</tr>
<tr>
<td class="left_menu"> </td>
<td><table width="96%" cellspacing="0" cellpadding="0">
<tr>
<td><span class="style6 style7">Enrol NOW </span></td>
</tr>
<tr>
<td><table width="96%" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="70"><p>Do you want to speak fluent and confident English?<br />
Do you want to experience the i3 approach to English...?<br />
Do you want to leap towards a successful career...?<br />
Are you interested to join Outleap Career Academy...? </p></td>
</tr>
</table></td>
</tr>
<!--<tr>
<td> </td>
</tr>-->
<tr>
<td><p class="style11"><strong>Give your details</strong></p>
<p>Give us your details and we will contact you at the earliest.</p></td>
</tr>
<tr>
<td><table width="96%" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="70%" cellspacing="0" cellpadding="0">
<tr>
<td width="38%"> </td>
<td width="62%"> </td>
</tr>
<form id="form1" name="form1" method="post" action="">
<tr>
<td><span class="style11">Name</span></td>
<td><input name="name" type="text" id="name" /> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span class="style11">Email ID </span></td>
<td><input name="email" type="text" id="email" /></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span class="style11">Contact Number </span></td>
<td><input name="number" type="text" id="number" /></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span class="style11">Qualification</span></td>
<td><input name="quali" type="text" id="quali" /></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span class="style11">Preferred Timing </span></td>
<td><select name="sel" id="sel">
<option value="[ Select Timings ]">[ Select Timings ]</option>
<option value="07:00 am to 08:30 am">07:00 am to 08:30 am</option>
<option value="08:30 am to 10:00 am">08:30 am to 10:00 am</option>
<option value="10:30 am to 12:00 pm">10:30 am to 12:00 pm</option>
<option value="12:00 pm to 01:30 pm">12:00 pm to 01:30 pm</option>
<option value="04:00 pm to 05:30 pm">04:00 pm to 05:30 pm</option>
<option value="05:30 pm to 07:00 pm">05:30 pm to 07:00 pm</option>
<option value="07:30 pm to 09:00 pm">07:30 pm to 09:00 pm</option>
</select> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" name="Submit" value="Submit" /> </td>
</tr>
</form>
<tr>
<td> </td>
<td> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td class="style11"><strong>Upload your resume Here...! ( </strong><span class="style12"> word format only</span><strong> ) </strong></td>
</tr>
<tr>
<td><input type="file" name="file" /></td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
<td class="right_menu"> </td>
</tr>
<tr>
<td><img src="images/images/b6.jpg" width="67" height="59" /></td>
<td class="m_button2"> </td>
<td><img src="images/images/b8.jpg" width="67" height="59" /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<!-- <tr>
<td> </td>
</tr>-->
<tr>
<td><? include"footer.php";?></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
<!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>YOUR COMPANY TITLE</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style6 {color: #5490CC; font-weight: bold; }
.style7 {color: #5490CC}
.style11 {color: #5490CC;}
.style12 {color: #FFFFFF}
-->
</style>
</head>
<body>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#000000">
<tr>
<td valign="top"><table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="left"><? include "header.php";?></td>
</tr>
<tr>
<td height="300" valign="top" ><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" align="center"> </td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="3%"> </td>
<td width="97%"><? include "menu.php";?></td>
</tr>
</table></td>
</tr>
<tr>
<td width="9%" valign="top" align="left"><? include "leftmenu.php";?></td>
<td width="91%"><table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="67"><img src="images/images/b1.jpg" width="67" height="59" /></td>
<td width="505" class="m_button1"> </td>
<td width="88"><img src="images/images/b3.jpg" width="67" height="59" /></td>
</tr>
<tr>
<td class="left_menu"> </td>
<td><table width="96%" cellspacing="0" cellpadding="0">
<tr>
<td><span class="style6 style7">Enrol NOW </span></td>
</tr>
<tr>
<td><table width="96%" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="70"><p>Do you want to speak fluent and confident English?<br />
Do you want to experience the i3 approach to English...?<br />
Do you want to leap towards a successful career...?<br />
Are you interested to join Outleap Career Academy...? </p></td>
</tr>
</table></td>
</tr>
<!--<tr>
<td> </td>
</tr>-->
<tr>
<td><p class="style11"><strong>Give your details</strong></p>
<p>Give us your details and we will contact you at the earliest.</p></td>
</tr>
<tr>
<td><table width="96%" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="70%" cellspacing="0" cellpadding="0">
<tr>
<td width="38%"> </td>
<td width="62%"> </td>
</tr>
<form id="form1" name="form1" method="post" action="">
<tr>
<td><span class="style11">Name</span></td>
<td><input name="name" type="text" id="name" /> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span class="style11">Email ID </span></td>
<td><input name="email" type="text" id="email" /></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span class="style11">Contact Number </span></td>
<td><input name="number" type="text" id="number" /></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span class="style11">Qualification</span></td>
<td><input name="quali" type="text" id="quali" /></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span class="style11">Preferred Timing </span></td>
<td><select name="sel" id="sel">
<option value="[ Select Timings ]">[ Select Timings ]</option>
<option value="07:00 am to 08:30 am">07:00 am to 08:30 am</option>
<option value="08:30 am to 10:00 am">08:30 am to 10:00 am</option>
<option value="10:30 am to 12:00 pm">10:30 am to 12:00 pm</option>
<option value="12:00 pm to 01:30 pm">12:00 pm to 01:30 pm</option>
<option value="04:00 pm to 05:30 pm">04:00 pm to 05:30 pm</option>
<option value="05:30 pm to 07:00 pm">05:30 pm to 07:00 pm</option>
<option value="07:30 pm to 09:00 pm">07:30 pm to 09:00 pm</option>
</select> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" name="Submit" value="Submit" /> </td>
</tr>
</form>
<tr>
<td> </td>
<td> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td class="style11"><strong>Upload your resume Here...! ( </strong><span class="style12"> word format only</span><strong> ) </strong></td>
</tr>
<tr>
<td><input type="file" name="file" /></td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
<td class="right_menu"> </td>
</tr>
<tr>
<td><img src="images/images/b6.jpg" width="67" height="59" /></td>
<td class="m_button2"> </td>
<td><img src="images/images/b8.jpg" width="67" height="59" /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<!-- <tr>
<td> </td>
</tr>-->
<tr>
<td><? include"footer.php";?></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
No comments:
Post a Comment