/home/mip/www/img/credit/datatables/thankyou_apply.php.tar
home/mip/public_html_/old-website/thankyou_apply.php 0000644 00000010472 15152074625 0016733 0 ustar 00 <?
require_once("func_proc.php");
do_header("Apply Online: Finish Application");
do_menu();
$jobs_side = getdata("select * from web_jobs where posting_date <= '$sqltoday' and (expiry_date > '$sqltoday' or expiry_date='0000-00-00') order by posting_date desc limit 20");
echo mysql_error();
$ann = getdata("select * from web_announcements where status = 'Published' and posting_date <= '$sqltoday' order by posting_date desc limit 10");
@$job1 = getdata_one("*","web_jobs","webjob_id",$webjob_id);
@$position_name = getname($job1['position_id'],"positions","position_id");
$positions = getdata("select positions.* from positions order by name");
$height = array("ft", "cm");
$weight = array("lbs", "kg");
$sex = array("M", "F");
$civilstatus = array("Single", "Married", "Widowed", "Separated");
$formname="thisonly";
$inputname= array("position1","lname","fname","mname");
$displayname= array("Position Applying","Last Name","First Name","Middle Name");
JS_CheckRequired($formname,$inputname,$displayname,"","");
if ($table=="web_doc_library") {
if(strstr($table,"web_")) $personal_table = "web_personal"; else $personal_table = "personal";
}
if ($table=="web_training") {
if(strstr($table,"web_")) $personal_table = "web_personal"; else $personal_table = "personal";
}
?>
<table width="585" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="585" height="170" align="right" valign="top">
<table width="100%" height="159" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="585" height="170" valign="top" style="padding-left:25px; padding-right:20px; padding-top:0px">
<div style="padding-top:3px; background-color:#FFFFFF" align="left" class="applyonline"><font size=2 color=maroon><b>Apply Online</b></font> </div>
<!-- start --><br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<?
$personal = getdata_one("*",$personal_table,"applicant_id",$applicant_id);
$position_name = getname($personal['position_id1'],"positions","position_id");
$formname="thisonly";
$inputname= array("company","position");
$displayname= array("Company","Position");
JS_CheckRequired($formname,$inputname,$displayname,"","");
if($id){
$employment1 = getdata_one("*",$web_employment,"id",$id);
echo mysql_error();
$employment = getdata("select * from $web_employment where applicant_id='$applicant_id' and id != '$id' order by from_date desc");
echo mysql_error();
$num_emp = count($employment);
echo "<form method=post action='sqlupdate.php?what=web_employment&id=$id' name='$formname' onsubmit='return CheckRequired()'>";
}else{
$employment = getdata("select * from web_employment where applicant_id='$applicant_id' order by from_date desc");
echo mysql_error();
$num_emp = count($employment);
echo "<form method=post action='sqladd.php?what=web_employment' name='$formname' onsubmit='return CheckRequired()'>";
}
echo "<input type='hidden' name='applicant_id' value='$applicant_id'>";
?>
<table width=100% border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width=100%>
<tr>
<td align="left"><? echo "<b>Position-</b>" . $position_name;?> </td>
<td align=right rowspan="2"><a href="<?=$pic_dir.$personal[picture]?>" rel="lightbox" title="<?=$personal[applicant_id]?>"><? if ($personal[picture]){echo resize_pic1(60,60,$pic_dir.$personal[picture],"","","","1");}?> </a>
</td>
</tr>
<tr align="left">
<td><font size=2 color="#0290E8">
<b>Finish Application</b></font> </td>
</tr>
<tr>
<td valign="top" align=center class="style3" colspan="2"><br />
<font size=2><b><?=$personal[fname]." ".$personal[mname]." ".$personal[lname]?>,</b><br>thank you for submitting your application.<br>Please allow reasonable time for us to process your application.
<br><br><br>
<a href="jobs.php">Go to list of job openings</a>
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- end -->
</td>
</tr>
</table>
</td>
</tr>
</table>
<?
do_footer();
if($msg) echo "<script>alert('$msg')</script>";
?>