<?php
$array_other_details  = jsonEncodeDecode('decode', $row_page['employment_details']) ;
//$user_profile = jsonEncodeDecode('decode', $row_page['employment_file']) ;

// Flat values
$positionApplyText = $array_other_details['positionApplyText'];
$expectedSalary = $array_other_details['expectedSalary'];
$noticePeroid = $array_other_details['noticePeriod'];
$referralName = $array_other_details['referralName'];
$personal_name = $array_other_details['personal_name'];
$personal_name_chinese = $array_other_details['personal_name_chinese'];
$personal_name_nickname = $array_other_details['personal_name_nickname'];
$personal_dob = $array_other_details['personal_dob'];
$personal_age = $array_other_details['personal_age'];
$personal_email = $array_other_details['personal_email'];
$personal_nationality = $array_other_details['personal_nationality'];
$personal_religion = $array_other_details['personal_religion'];
$personal_mobile = $array_other_details['personal_mobile'];
$personal_home_tel = $array_other_details['personal_home_tel'];
$personal_gender = $array_other_details['personal_gender'];
$personal_marital_status = $array_other_details['personal_marital_status'];
$personal_lisence = $array_other_details['personal_lisence'];
$personal_lisence_class = $array_other_details['personal_lisence_class'];
$personal_permanent_address = $array_other_details['personal_permanent_address'];
$personal_residential_address = $array_other_details['personal_residential_address'];

// Arrays
$member = $array_other_details['family_members'];
$array_education_level = $array_other_details['education_levels'];
$array_professional_qualification = $array_other_details['professional_qualifications'];
$array_reference = $array_other_details['references'];
$array_subsequent_employment = $array_other_details['subsequent_employments'];

// Language proficiency
$spoken_english = $array_other_details['language_proficiency']['spoken_english'];
$written_english = $array_other_details['language_proficiency']['written_english'];
$spoken_mandarin = $array_other_details['language_proficiency']['spoken_mandarin'];
$written_mandarin = $array_other_details['language_proficiency']['written_mandarin'];
$spoken_bm = $array_other_details['language_proficiency']['spoken_bm'];
$written_bm = $array_other_details['language_proficiency']['written_bm'];
$language_other_1 = $array_other_details['language_proficiency']['language_other_1']; 
$spoken_other1 = $array_other_details['language_proficiency']['spoken_other1'];
$written_other1 = $array_other_details['language_proficiency']['written_other1'];
$language_other_2 = $array_other_details['language_proficiency']['language_other_2'];
$spoken_other2 = $array_other_details['language_proficiency']['spoken_other2'];
$written_other2 = $array_other_details['language_proficiency']['written_other2'];

// Current employment
$currentCompanyName = $array_other_details['current_employment']['company_name'];
$currentCompanyPosition = $array_other_details['current_employment']['position'];
$currentCompanyAddress = $array_other_details['current_employment']['address'];
$currentCompanyJoinDate = $array_other_details['current_employment']['join_date'];
$currentCompanyLeftDate = $array_other_details['current_employment']['left_date'];
$currentCompanySalary = $array_other_details['current_employment']['salary'];
$currentCompanyAllowance = $array_other_details['current_employment']['allowance'];
$currentCompanyReason = $array_other_details['current_employment']['leave_reason'];

// Habits
$gambling = $array_other_details['habits']['gambling'];
$smoking = $array_other_details['habits']['smoking'];
$drug = $array_other_details['habits']['drug'];
$drinking = $array_other_details['habits']['drinking'];

// Conditions
$disability_detail = $array_other_details['conditions']['disability_detail'];
$medication_detail = $array_other_details['conditions']['medication_detail'];
$pregnancy_detail = $array_other_details['conditions']['pregnancy_detail'];
$dismissed_detail = $array_other_details['conditions']['dismissed_detail'];
$court_detail = $array_other_details['conditions']['court_detail'];
$finance_detail = $array_other_details['conditions']['finance_detail'];
$applied_detail = $array_other_details['conditions']['applied_detail'];
$dispute_detail = $array_other_details['conditions']['dispute_detail'];
$other_job_detail = $array_other_details['conditions']['other_job_detail'];

// Relocation
$willingToTransferWithrelocation = $array_other_details['relocation']['with'];
$willingToTransferWithoutrelocation = $array_other_details['relocation']['without'];

// Other
$vehicle = $array_other_details['vehicle'];
$overtime = $array_other_details['overtime'];
$attract = $array_other_details['attract'];
$career_plan = $array_other_details['career_plan'];

//signature
$application_signature = $array_other_details['application']['signature'];
$application_signature_date = $array_other_details['application']['date'];


// interview details
$int_det_content = jsonEncodeDecode('decode', $row_page['employment_interview_details']) ;
$int_det_question_con = $int_det_content['question'];
$int_det_interviewer_con = $int_det_content['interviewer'];
$int_det_verifier_con = $int_det_content['verifier'];
$int_det_approver_con = $int_det_content['approver'];
// print_r($int_det_verifier_con);exit;

$array_qualification_list = array('qua_below_pmr' => 'Below PMR',
								'qua_pmr_pt3' => 'PMR / PT3',
								'qua_spm' => 'SPM',
								'qua_certificate_skm_svm' => 'Certificate/ SKM / SVM',
								'qua_alevel_uec' => 'A-Level / UEC',
								'qua_diploma' => 'Diploma',
								'qua_degree' => 'Degree',
								'qua_master_degree' => 'Master Degree',
								'qua_phd' => 'PHD'
								);

$mysqli_query = "SELECT * FROM system_user WHERE user_is_interview_by = 'yes' AND user_trash = '0' AND user_id = '".$int_det_interviewer_con['name']."' LIMIT 1" ;
			$mysqli_check_interviewer = $mysqli->query($mysqli_query) ;
if ($mysqli_check_interviewer->num_rows > 0){
	$row_ck_interviewer = $mysqli_check_interviewer->fetch_array(MYSQLI_ASSOC) ;
	$int_det_interviewer_name = dataFilter($row_ck_interviewer['user_name']) ;
}

$mysqli_query = "SELECT * FROM system_user WHERE user_is_interview_by = 'yes' AND user_trash = '0' AND user_id = '".$int_det_verifier_con['verify_name']."' LIMIT 1" ;
$mysqli_check_verifier = $mysqli->query($mysqli_query) ;
if ($mysqli_check_verifier->num_rows > 0){
	$row_ck_verifier = $mysqli_check_verifier->fetch_array(MYSQLI_ASSOC) ;
	$int_det_verifier_name = dataFilter($row_ck_verifier['user_name']) ;
}

$mysqli_query = "SELECT * FROM system_user WHERE user_is_interview_by = 'yes' AND user_trash = '0' AND user_id = '".$int_det_approver_con['approve_name']."' LIMIT 1" ;
$mysqli_check_approver = $mysqli->query($mysqli_query) ;
if ($mysqli_check_approver->num_rows > 0){
	$row_ck_approver = $mysqli_check_approver->fetch_array(MYSQLI_ASSOC) ;
	$int_det_approver_name = dataFilter($row_ck_approver['user_name']) ;
}

$html .= '
<tr>
	<td colspan="3" style="font-size:20px;text-align:left;">
		<span style="border-bottom:2px solid black;">APPLICANT MUST FILL IN ALL BLANKS BEFORE SUBMISSION</span>
	</td>
	<td rowspan="3" width="180px" style="text-align:right;">
		<img src="'.($user_profile['file'] != '' ? $user_profile['path'].$user_profile['file'] : 'images/user_profile.png').'" style="width:180px; padding:3px; border:2px solid #000;" />
	</td>
</tr>

<tr>
	<td colspan="3">
		<br>
		<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;">
			<tr>
			<td style="width:150px;" >Position Applied : </td>
			<td style="text-align:middle;width:150px;border-bottom:1px solid black;padding-left:5px;">'.$positionApplyText.'</td>
			<td width="20px">&nbsp;</td>
			<td style="width:150px;">Expected Salary : </td>
			<td style="text-align:middle;width:150px;border-bottom:1px solid black;padding-left:5px; text-transform:uppercase;">RM '.$expectedSalary.'</td>
			</tr>
		</table>
	</td>
</tr>

<tr>
	<td colspan="3">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;">
			<tr>
			<td style="width:150px;">Notice Peroid : </td>
			<td style="text-align:middle;width:150px;border-bottom:1px solid black;padding-left:5px;">'.$noticePeroid.' days</td>
			<td width="20px">&nbsp;</td>
			<td style="width:150px;">Referral Name: </td>
			<td style="text-align:middle;width:150px;border-bottom:1px solid black;padding-left:5px; text-transform:uppercase;">'.$referralName.'</td>
			</tr>
		</table>
	</td>
</tr>

<tr><td colspan="4">&nbsp;</td></tr>

<tr><td colspan="4">&nbsp;</td></tr>

<tr>
	<td colspan="4" style="width:100%;border:1px solid black; padding:10px;">
			<table width="1060px" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td colspan="4" width="1060px" style="font-weight:bold;font-size:20px; padding:10px 0; text-align:center; border:1px solid #000; background:#000; color:white; text-transform:uppercase; text-align:center;">
						PERSONAL INFORMATION
					</td>
				</tr>
			</table>
		
			<table width="900px" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td style="width:150px;padding:1px 0;">Name as per NRIC :</td>
					<td style="width:750px;border-bottom:1px solid black;text-transform:uppercase;">'.dataFilter($personal_name).'</td>
				</tr>
			</table>
		
			<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td style="width:400px;padding:1px 0;">NAME IN CHINESE CHARACTER (IF APPLICABLE): </td>
					<td style="width:5000px;border-bottom:1px solid black;text-transform:uppercase;"><p lang="zh-CN">'.$personal_name_chinese.'</p></td>
				</tr>
			</table>
			<table width="900px" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td style="width:100px;padding:1px 0;">Nick Name :</td>
					<td style="width:800px;border-bottom:1px solid black;text-transform:uppercase;">'.dataFilter($personal_name_nickname).'</td>
				</tr>
			</table>
		
			<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td width="140px;" style="padding:1px 0;">Nationality: </td>
					<td width="140px" style="border-bottom:1px solid black; text-transform:uppercase;">'.dataFilter($row_page['employment_nationality']).'</td>
					<td style="width:30px">&nbsp;</td>
					<td width="140px;" style="padding:1px 0;">Birth Date: </td>
					<td width="140px" style="border-bottom:1px solid black;">'.date('d/m/Y', strtotime($row_page['employment_dob'])).'</td>
					<td style="width:30px">&nbsp;</td>
					<td width="140px;" style="padding:1px 0;">Religion: </td>
					<td width="140px" style="border-bottom:1px solid black; text-transform:uppercase;">'.dataFilter($personal_religion).'</td>
				</tr>
			</table>
		
			<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td style="width:120px;padding:1px 0;">Religion: </td>
					<td style="width:125px;border-bottom:1px solid black; text-transform:uppercase;">'.dataFilter($row_page['employment_religion']).'</td>
					<td style="width:30px;">&nbsp;</td>
					<td style="width:120px;padding:1px 0;">Marital Status: </td>
					<td style="width:126px;border-bottom:1px solid black; text-transform:uppercase;">'.dataFilter($personal_marital_status).'</td>
					<td style="width:30px;">&nbsp;</td>
					<td>
						<label>Male
						<span style="margin:5px;border:1px solid black;">'.($row_page['employment_sex'] == 'Male' ? '&nbsp;/&nbsp;' : '&nbsp;&nbsp;&nbsp;').'</span>
						</label>
		                <label>Female
		                <span style="margin:5px;border:1px solid black;">'.($row_page['employment_sex'] == 'Female' ? '&nbsp;/&nbsp;' : '&nbsp;&nbsp;&nbsp;').'</span>
		                </label>
					</td>
				</tr>
			</table>
		
			<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td width="160px;" style="padding:1px 0;">Permanent Address: </td>
					<td width="900px" style="border-bottom:1px solid black; text-transform:uppercase;">'.dataFilter($row_page['employment_address']).'</td>
				</tr>
			</table>
		
			<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td width="120px;" style="padding:1px 0;">Mobile Number: </td>
					<td width="100px" style="border-bottom:1px solid black; text-transform:uppercase;">'.dataFilter($row_page['employment_mobile']).'</td>
					<td style="width:20px">&nbsp;</td>
					<td width="150px;" style="padding:1px 0;">House Tel Number: </td>
					<td width="100px" style="border-bottom:1px solid black; text-transform:uppercase;">'.dataFilter($row_page['employment_tel']).'</td>
					<td style="width:20px">&nbsp;</td>
					<td width="60px;" style="padding:1px 0;">Email: </td>
					<td width="120px" style="border-bottom:1px solid black; text-transform:uppercase;"><a href="mailto:'.dataFilter($row_page['employment_email']).'" style="color:black;text-decoration: none;">'.dataFilter($row_page['employment_email']).'</a></td>
				</tr>
			</table>
		
			<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td width="130px;" style="padding:1px 0;">Driving License: </td>
					<td width="130px" style="border-bottom:1px solid black; text-transform:uppercase;">'.dataFilter($personal_lisence).'</td>
					<td style="width:20px">&nbsp;</td>
					<td width="160px;" style="padding:1px 0;">Driving License class: </td>
					<td width="130px" style="border-bottom:1px solid black; text-transform:uppercase;">'.dataFilter($personal_lisence_class).'</td>
					<td style="width:20px">&nbsp;</td>
				</tr>
			</table>
	</td>
</tr>

<tr><td colspan="4">&nbsp;</td></tr>
<tr><td colspan="4">&nbsp;</td></tr>

<tr>
	<td colspan="4" style="width:100%;border:1px solid black; padding:10px;">
		
			<table width="1060px" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td colspan="4" width="1060px" style="font-weight:bold;font-size:20px; padding:10px 0; text-align:center; border:1px solid #000; background:#000; color:white; text-transform:uppercase; text-align:center;">
						FAMILY PARTICULARS
					</td>
				</tr>
			</table>

			<table width="100%" cellpadding="0" cellspacing="0" style="font-size:16px; padding-bottom:15px;">
				<tr>
					<th style="padding:1px 0; text-align:center;border:1px solid black" colspan="2">Name</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" >Relationship</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" >Age</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" >Occupation</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" >Company Name</th>
				</tr>
				<tr>
					<td width="30px" style="padding:5px;text-transform:uppercase;border:1px solid black">1</td>
					<td width="380px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[0]['name'].'</td>
					<td width="150px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[0]['relationship'].'</td>
					<td width="100" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[0]['age'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[0]['occupation'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[0]['company'].'</td>
				</tr>
				<tr>
					<td width="30px" style="padding:5px;text-transform:uppercase;border:1px solid black">2</td>
					<td width="380px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[1]['name'].'</td>	
					<td width="150px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[1]['relationship'].'</td>
					<td width="100px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[1]['age'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[1]['occupation'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[1]['company'].'</td>
				</tr>
				<tr>
					<td width="30px" style="padding:5px;text-transform:uppercase;border:1px solid black">3</td>
					<td width="380px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[2]['name'].'</td>					
					<td width="150px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[2]['relationship'].'</td>
					<td width="100px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[2]['age'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[2]['occupation'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[2]['company'].'</td>
				</tr>
				<tr>
					<td width="30px" style="padding:5px;text-transform:uppercase;border:1px solid black">4</td>
					<td width="380px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[3]['name'].'</td>					
					<td width="150px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[3]['relationship'].'</td>
					<td width="100px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[3]['age'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[3]['occupation'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[3]['company'].'</td>
				</tr>
				<tr>
					<td width="30px" style="padding:5px;text-transform:uppercase;border:1px solid black">5</td>
					<td width="380px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[4]['name'].'</td>					
					<td width="150px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[4]['relationship'].'</td>
					<td width="100px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[4]['age'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[4]['occupation'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[4]['company'].'</td>
				</tr>
				<tr>
					<td width="30px" style="padding:5px;text-transform:uppercase;border:1px solid black">5</td>
					<td width="380px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[5]['name'].'</td>					
					<td width="150px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[5]['relationship'].'</td>
					<td width="100px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[5]['age'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[5]['occupation'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[5]['company'].'</td>
				</tr>
				<tr>
					<td width="30px" style="padding:5px;text-transform:uppercase;border:1px solid black">5</td>
					<td width="380px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[6]['name'].'</td>					
					<td width="150px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[6]['relationship'].'</td>
					<td width="100px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[6]['age'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[6]['occupation'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[6]['company'].'</td>
				</tr>
				<tr>
					<td width="30px" style="padding:5px;text-transform:uppercase;border:1px solid black">5</td>
					<td width="380px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[7]['name'].'</td>					
					<td width="150px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[7]['relationship'].'</td>
					<td width="100px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[7]['age'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[7]['occupation'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$member[7]['company'].'</td>
				</tr>
			</table>
	</td>
</tr>


<tr><td colspan="4">&nbsp;</td></tr>
<tr><td colspan="4">&nbsp;</td></tr>

<tr>
	<td colspan="4" style="width:100%;border:1px solid black; padding:10px;">
		
			<table width="1060px" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td colspan="4" width="1060px" style="font-weight:bold;font-size:20px; padding:10px 0; text-align:center; border:1px solid #000; background:#000; color:white; text-transform:uppercase; text-align:center;">
						PROFESSIONAL QUALIFICATION
					</td>
				</tr>
			</table>

			<table width="100%" cellpadding="0" cellspacing="0" style="font-size:16px; padding-bottom:15px;">
				<tr>
					<th style="padding:1px 0; text-align:center;border:1px solid black" ></th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" >PROFESSIONAL QUALIFICATION</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" >ACCREDITED BY</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" >Start</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" >END</th>
				</tr>
				<tr>
					<td width="30px" style="padding:5px;text-transform:uppercase;border:1px solid black">1</td>
					<td width="380px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[0]['qualification'].'</td>
					<td width="150px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[0]['accredited'].'</td>
					<td width="100" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[0]['startYear'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[0]['finishYear'].'</td>
				</tr>
				<tr>
					<td width="30px" style="padding:5px;text-transform:uppercase;border:1px solid black">2</td>
					<td width="380px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[1]['qualification'].'</td>	
					<td width="150px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[1]['accredited'].'</td>
					<td width="100px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[1]['startYear'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[1]['finishYear'].'</td>
				</tr>
				<tr>
					<td width="30px" style="padding:5px;text-transform:uppercase;border:1px solid black">3</td>
					<td width="380px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[2]['qualification'].'</td>					
					<td width="150px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[2]['accredited'].'</td>
					<td width="100px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[2]['startYear'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[2]['finishYear'].'</td>

				</tr>
				<tr>
					<td width="30px" style="padding:5px;text-transform:uppercase;border:1px solid black">4</td>
					<td width="380px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[3]['qualification'].'</td>					
					<td width="150px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[3]['accredited'].'</td>
					<td width="100px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[3]['startYear'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[3]['finishYear'].'</td>
				</tr>
				<tr>
					<td width="30px" style="padding:5px;text-transform:uppercase;border:1px solid black">5</td>
					<td width="380px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[4]['qualification'].'</td>					
					<td width="150px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[4]['accredited'].'</td>
					<td width="100px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[4]['startYear'].'</td>
					<td width="200px" style="padding:5px;text-transform:uppercase;border:1px solid black">'.$array_professional_qualification[4]['finishYear'].'</td>
				</tr>
			</table>
	</td>
</tr>


<tr><td colspan="4">&nbsp;</td></tr>
<tr><td colspan="4">&nbsp;</td></tr>

<tr>
	<td colspan="4" style="width:100%;border:1px solid black; padding:10px;">
		
			<table width="1060px" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td colspan="4" width="1060px" style="font-weight:bold;font-size:20px; padding:10px 0; text-align:center; border:1px solid #000; background:#000; color:white; text-transform:uppercase; text-align:center;">
						EDUCATIONAL LEVEL
					</td>
				</tr>
			</table>

			<table width="100%" cellpadding="0" cellspacing="0" style="font-size:16px; padding-bottom:15px;">
				<tr>
					<th style="padding:1px 0; text-align:center;border:1px solid black" rowspan="2">Qualification</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" rowspan="2">Name of School/College/University</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" >START</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" >FINISH</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" rowspan="2">Grade Obtained<br>(CGPA/Class)</th>
				</tr>
				<tr>
					<th style="padding:1px 0; text-align:center;border:1px solid black" >Month/Year</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" >Month/Year</th>
				</tr>
				<tr>
					<td width="130px" style="height:80px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_education_level[0]['qualification'].'</td>
					<td width="250px" style="height:80px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_education_level[0]['schoolName'].'</td>
					<td width="140px" style="height:80px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_education_level[0]['startYear'].'</td>
					<td width="140px" style="height:80px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_education_level[0]['finishYear'].'</td>
					<td width="200px" style="height:80px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_education_level[0]['grade'].'</td>
				</tr>
				<tr>
					<td width="130px" style="height:80px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_education_level[1]['qualification'].'</td>
					<td width="250px" style="height:80px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_education_level[1]['schoolName'].'</td>
					<td width="140px" style="height:80px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_education_level[1]['startYear'].'</td>
					<td width="140px" style="height:80px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_education_level[1]['finishYear'].'</td>
					<td width="200px" style="height:80px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_education_level[1]['grade'].'</td>
				</tr>
				<tr>
					<td width="130px" style="height:80px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_education_level[2]['qualification'].'</td>
					<td width="250px" style="height:80px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_education_level[2]['schoolName'].'</td>
					<td width="140px" style="height:80px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_education_level[2]['startYear'].'</td>
					<td width="140px" style="height:80px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_education_level[2]['finishYear'].'</td>
					<td width="200px" style="height:80px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_education_level[2]['grade'].'</td>
				</tr>
				<tr>
					<td width="130px" style="height:80px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_education_level[3]['qualification'].'</td>
					<td width="250px" style="height:80px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_education_level[3]['schoolName'].'</td>
					<td width="140px" style="height:80px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_education_level[3]['startYear'].'</td>
					<td width="140px" style="height:80px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_education_level[3]['finishYear'].'</td>
					<td width="200px" style="height:80px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_education_level[3]['grade'].'</td>
				</tr>
			</table>
	</td>
</tr>


<tr><td colspan="4">&nbsp;</td></tr>
<tr><td colspan="4">&nbsp;</td></tr>

<tr>
	<td colspan="4" style="width:100%;border:1px solid black; padding:10px;">
		
			<table width="1060px" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td colspan="4" width="1060px" style="font-weight:bold;font-size:20px; padding:10px 0; text-align:center; border:1px solid #000; background:#000; color:white; text-transform:uppercase; text-align:center;">
						EMPLOYMENT HISTORY
					</td>
				</tr>
			</table>

			<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px;">
				<tr>
					<td width="220px;" style="padding:1px 0;">Current company name: </td>
					<td width="50px" style="border-bottom:1px solid black;">'.$currentCompanyName.'</td>
					<td width="220px;" style="padding:1px 0;">Current company position: </td>
					<td width="50px" style="border-bottom:1px solid black;">'.$currentCompanyPosition.'</td>
				</tr>
				<tr>
					<td width="220px;" style="padding:1px 0;">Current company address: </td>
					<td width="500px" colspan="2" style="border-bottom:1px solid black;">'.$currentCompanyAddress.'</td>
				</tr>
				<tr>
					<td width="220px;" style="padding:1px 0;">Current company join date: </td>
					<td width="50px" style="border-bottom:1px solid black;">'.$currentCompanyJoinDate.'</td>
					<td width="220px;" style="padding:1px 0;">Current company left date: </td>
					<td width="50px" style="border-bottom:1px solid black;">'.$currentCompanyLeftDate.'</td>
				</tr>
				<tr>
					<td width="220px;" style="padding:1px 0;">Current company salary: </td>
					<td width="50px" style="border-bottom:1px solid black;">'.$currentCompanySalary.'</td>
					<td width="220px;" style="padding:1px 0;">Current company allowance: </td>
					<td width="50px" style="border-bottom:1px solid black;">'.$currentCompanyAllowance.'</td>
				</tr>
				<tr>
					<td width="220px;" style="padding:1px 0;">reason left: </td>
					<td width="500px" colspan="2" style="border-bottom:1px solid black;">'.$currentCompanyReason.'</td>
				</tr>
			</table>

			<table width="100%" cellpadding="0" cellspacing="0" style="font-size:16px; padding-bottom:15px;">
				<tr>
					<th style="padding:1px 0; text-align:center;border:1px solid black" rowspan="2">Company Name</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" rowspan="2">Position Held</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" colspan="2" >Period of Employment</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" rowspan="2">Last Drawn/<br>allowance</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" rowspan="2">Last Drawn/<br>Current Salary</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" rowspan="2">Reason(s) for leaving</th>
				</tr>
				<tr>
					<th style="padding:1px 0; text-align:center;border:1px solid black" >From</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black" >To</th>
				</tr>
				<tr>
					<td width="200px" style="height:100px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_subsequent_employment[0]['name'].'</td>
					<td width="200px" style="height:100px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_subsequent_employment[0]['position'].'</td>
					<td width="100px" style="height:100px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.($array_subsequent_employment[0]['joinDate'] != '' ? $array_subsequent_employment[0]['joinDate'] : '' ).'</td>
					<td width="100px" style="height:100px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.($array_subsequent_employment[0]['leftDate'] != '' ? $array_subsequent_employment[0]['leftDate'] : '' ).'</td>
					<td width="100px" style="height:100px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_subsequent_employment[0]['allowance'].'</td>
					<td width="130px" style="height:100px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_subsequent_employment[0]['salary'].'</td>
					<td width="230px" style="height:100px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_subsequent_employment[0]['reason'].'</td>
				</tr>
				<tr>
					<td width="200px" style="height:100px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_subsequent_employment[1]['name'].'</td>
					<td width="200px" style="height:100px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_subsequent_employment[1]['position'].'</td>
					<td width="100px" style="height:100px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.($array_subsequent_employment[1]['joinDate'] != '' ? $array_subsequent_employment[1]['joinDate'] : '' ).'</td>
					<td width="100px" style="height:100px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.($array_subsequent_employment[1]['leftDate'] != '' ? $array_subsequent_employment[1]['leftDate'] : '' ).'</td>
					<td width="100px" style="height:100px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_subsequent_employment[1]['allowance'].'</td>
					<td width="130px" style="height:100px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_subsequent_employment[1]['salary'].'</td>
					<td width="230px" style="height:100px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_subsequent_employment[1]['reason'].'</td>
				</tr>
				<tr>
					<td width="200px" style="height:100px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_subsequent_employment[2]['name'].'</td>
					<td width="200px" style="height:100px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_subsequent_employment[2]['position'].'</td>
					<td width="100px" style="height:100px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.($array_subsequent_employment[2]['joinDate'] != '' ? $array_subsequent_employment[2]['joinDate'] : '' ).'</td>
					<td width="100px" style="height:100px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.($array_subsequent_employment[2]['leftDate'] != '' ? $array_subsequent_employment[2]['leftDate'] : '' ).'</td>
					<td width="100px" style="height:100px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_subsequent_employment[2]['allowance'].'</td>
					<td width="130px" style="height:100px; padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_subsequent_employment[2]['salary'].'</td>
					<td width="230px" style="height:100px; padding:5px; text-transform:uppercase; border:1px solid black">'.$array_subsequent_employment[2]['reason'].'</td>
				</tr>
			</table>
	</td>
</tr>


<tr><td colspan="4">&nbsp;</td></tr>
<tr><td colspan="4">&nbsp;</td></tr>

<tr>
	<td colspan="4" style="width:100%;border:1px solid black; padding:10px;">
		
			<table width="1060px" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td colspan="4" width="1060px" style="font-weight:bold;font-size:20px; padding:10px 0; text-align:center; border:1px solid #000; background:#000; color:white; text-transform:uppercase; text-align:center;">
						LANGUAGE AND SKILL
					</td>
				</tr>
			</table>

			<table width="100%" cellpadding="0" cellspacing="0" style="font-size:16px; padding-bottom:15px;">
				<tr>
					<th style="height:60px; padding:1px 0; text-align:center;border:1px solid black">Language</th>
					<th style="height:60px; padding:1px 0; text-align:center;border:1px solid black">Written</th>
					<th style="height:60px; padding:1px 0; text-align:center;border:1px solid black">Spoken</th>
				</tr>
				<tr>
					<td width="353px" style="text-align:center;height:60px; padding:1px 0; border:1px solid black">English</td>
					<td width="353px" style="height:60px; padding:1px 0; text-align:center;border:1px solid black;text-transform:uppercase">'.$spoken_english.'</td>
					<td width="353px" style="height:60px; padding:1px 0; text-align:center;border:1px solid black;text-transform:uppercase">'.$written_english.'</td>
				</tr>
				<tr>
					<td width="353px" style="text-align:center;height:60px; padding:1px 0; border:1px solid black">Bahasa Melayu</td>
					<td width="353px" style="height:60px; padding:1px 0; text-align:center;border:1px solid black;text-transform:uppercase">'.$spoken_bm.'</td>
					<td width="353px" style="height:60px; padding:1px 0; text-align:center;border:1px solid black;text-transform:uppercase">'.$written_bm.'</td>
				</tr>
				<tr>
					<td width="353px" style="text-align:center;height:60px; padding:1px 0; border:1px solid black">Chinese</td>
					<td width="353px" style="height:60px; padding:1px 0; text-align:center;border:1px solid black;text-transform:uppercase">'.$spoken_mandarin.'</td>
					<td width="353px" style="height:60px; padding:1px 0; text-align:center;border:1px solid black;text-transform:uppercase">'.$written_mandarin.'</td>
				</tr>
				<tr>
					<td width="353px" style="text-align:center;height:60px; padding:1px 0; border:1px solid black">'.$language_other_1.'</td>
					<td width="353px" style="height:60px; padding:1px 0; text-align:center;border:1px solid black;text-transform:uppercase">'.$written_other1.'</td>
					<td width="353px" style="height:60px; padding:1px 0; text-align:center;border:1px solid black;text-transform:uppercase">'.$spoken_other1.'</td>
				</tr>
				<tr>
					<td width="353px" style="text-align:center;height:60px; padding:1px 0; border:1px solid black">'.$language_other_2.'</td>
					<td width="353px" style="height:60px; padding:1px 0; text-align:center;border:1px solid black;text-transform:uppercase">'.$written_other2.'</td>
					<td width="353px" style="height:60px; padding:1px 0; text-align:center;border:1px solid black;text-transform:uppercase">'.$spoken_other2.'</td>
				</tr>
			</table>
	</td>
</tr>

<tr><td colspan="4">&nbsp;</td></tr>
<tr><td colspan="4">&nbsp;</td></tr>

<tr>
	<td colspan="4" style="width:100%;border:1px solid black; padding:10px;">
		
			<table width="1060px" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td colspan="4" width="1060px" style="font-weight:bold;font-size:20px; padding:10px 0; text-align:center; border:1px solid #000; background:#000; color:white; text-transform:uppercase; text-align:center;">
						WHAT IS YOUR INVOLVEMENT IN THE FOLLOWING ACTIVITY
					</td>
				</tr>
			</table>

			<table width="100%" cellpadding="0" cellspacing="0" style="font-size:16px; padding-bottom:15px;">
				<tr>
					<th style="height:60px; padding:1px 0; text-align:center;border:1px solid black">gambling</th>
					<th style="height:60px; padding:1px 0; text-align:center;border:1px solid black">smoking</th>
					<th style="height:60px; padding:1px 0; text-align:center;border:1px solid black">drug</th>
					<th style="height:60px; padding:1px 0; text-align:center;border:1px solid black">drinking</th>
				</tr>
				<tr>
					<td width="265px" style="text-align:center;height:60px; padding:1px 0; border:1px solid black">'.$gambling.'</td>
					<td width="265px" style="height:60px; padding:1px 0; text-align:center;border:1px solid black;text-transform:uppercase">'.$smoking.'</td>
					<td width="265px" style="height:60px; padding:1px 0; text-align:center;border:1px solid black;text-transform:uppercase">'.$drug.'</td>
					<td width="265px" style="height:60px; padding:1px 0; text-align:center;border:1px solid black;text-transform:uppercase">'.$drinking.'</td>
				</tr>
			</table>
	</td>
</tr>

<tr><td colspan="4">&nbsp;</td></tr>
<tr><td colspan="4">&nbsp;</td></tr>

<tr>
	<td colspan="4" style="width:100%;border:1px solid black; padding:10px;">
		
			<table width="1060px" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td colspan="4" width="1060px" style="font-weight:bold;font-size:20px; padding:10px 0; text-align:center; border:1px solid #000; background:#000; color:white; text-transform:uppercase; text-align:center;">
						OTHERS INFORMATION
					</td>
				</tr>
			</table>

			<table width="100%" cellpadding="0" cellspacing="0" style="font-size:16px; padding-bottom:15px;">
				<tr>
					<th style="padding:1px 0; text-align:center;border:1px solid black">Descriptions</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black">Yes</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black">No</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black">Remarks</th>
				</tr>
			
				<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">1) DID YOU SUFFER FROM ANY PHYSICAL DISABILITY, CHRONIC AILMENT HANDICAP, ALLERGIES OR SERIOUS ILLNESS?</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black;">'.(!empty($disability_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black;">'.(empty($disability_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black;">'.$disability_detail.'</td>
				</tr>

				<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">2) ARE YOU TAKING ANY LONG-TERM MEDICATION FOR DIABETIC, ASTHMA, ETC.?</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(!empty($medication_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(!empty($medication_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black;">'.$medication_detail.'</td>
				</tr>

				<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">3) PREGNANCY BEFORE JOINING (CURRENTLY / PLANNING IN COMING FEW THREE (3) MONTHS)?</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(!empty($pregnancy_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(empty($pregnancy_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black;">'.$pregnancy_detail.'</td>
				</tr>

				<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">4) ARE YOU WILLING TO TRANSFER TO A NEW DEPARTMENT OR COMPANY IF THE OPPORTUNITY ARISES? (with relocation)</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black;">'.(($willingToTransferWithrelocation=="yes") ? '/' : '&nbsp;').'</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black;">'.(($willingToTransferWithrelocation=="no") ? '/' : '&nbsp;').'</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black; background:black;">&nbsp;</td>
				</tr>
				<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">4) ARE YOU WILLING TO TRANSFER TO A NEW DEPARTMENT OR COMPANY IF THE OPPORTUNITY ARISES? (without relocation)</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black;">'.(($willingToTransferWithoutrelocation=="yes") ? '/' : '&nbsp;').'</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black;">'.(($willingToTransferWithoutrelocation=="no") ? '/' : '&nbsp;').'</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black; background:black;">&nbsp;</td>
				</tr>

				<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">5) HAVE YOU EVER BEEN DISMISSED, DISCHARGED, OR LAID OFF FROM ANY EMPLOYMENT?</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(!empty($dismissed_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(empty($dismissed_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black;">'.$dismissed_detail.'</td>
				</tr>
								<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">6) HAVE YOU EVER BEEN CHARGED IN A COURT LAW?</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(!empty($court_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(empty($court_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black;">'.$court_detail.'</td>
				</tr>

				<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">7) HAVE YOU BEEN DECLARED BANKRUPTCY?</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(($bankruptcy=="yes") ? '/' : '&nbsp;').'</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(($bankruptcy=="no") ? '/' : '&nbsp;').'</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black; background:black;">&nbsp;</td>
				</tr>

				<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">8) CURRENTLY EXPERIENCING ANY FINANCIAL DIFFICULTIES?</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(!empty($finance_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(empty($finance_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black;">'.$finance_detail.'</td>
				</tr>

				<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">9) HAVE YOU APPLIED TO OUR COMPANY BEFORE?</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(($applied_detail=="yes") ? '/' : '&nbsp;').'</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(($applied_detail=="no") ? '/' : '&nbsp;').'</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black; background:black;">&nbsp;</td>
				</tr>

				<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">10) TRADE DISPUTE WITH PREVIOUS EMPLOYERS?</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(!empty($dispute_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(empty($dispute_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black;">'.$dispute_detail.'</td>
				</tr>
				<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">11) OWN A CAR OR MOTORCYCLE?</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(($vehicle=="yes") ? '/' : '&nbsp;').'</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(($vehicle=="no") ? '/' : '&nbsp;').'</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black; background:black;">&nbsp;</td>
				</tr>
				<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">12) WILLING TO WORK OVERTIME?</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(($overtime=="yes") ? '/' : '&nbsp;').'</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(($overtime=="no") ? '/' : '&nbsp;').'</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black; background:black;">&nbsp;</td>
				</tr>
				<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">13) HAVE ANY PART-TIME JOB OR SIDE BUSINESS?</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(!empty($other_job_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.(empty($other_job_detail) ? '/' : '&nbsp;' ).'</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black;">'.$other_job_detail.'</td>
				</tr>
				<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">14) WHAT ATTRACTED YOU TO THIS CAREER OPPORTUNITY?</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black; background:black;">&nbsp;</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black; background:black;">&nbsp;</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$attract.'</td>
				</tr>
				<tr>
					<td width="460px" style="padding:5px; text-transform:uppercase; border:1px solid black">15) WHAT ARE YOUR CAREER GOALS IN 5 YEARS?</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black; background:black;">&nbsp;</td>
					<td width="100px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black; background:black;">&nbsp;</td>
					<td width="400px" style="padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$career_plan.'</td>
				</tr>
			</table>
	</td>
</tr>

<tr><td colspan="4">&nbsp;</td></tr>
<tr><td colspan="4">&nbsp;</td></tr>

<tr>
	<td colspan="4" style="width:100%;border:1px solid black; padding:10px;">
		
			<table width="1060px" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td colspan="4" width="1060px" style="font-weight:bold;font-size:20px; padding:10px 0; text-align:center; border:1px solid #000; background:#000; color:white; text-transform:uppercase; text-align:center;">
						REFERENCES
					</td>
				</tr>
			</table>

			<table width="100%" cellpadding="0" cellspacing="0" style="font-size:16px; padding-bottom:15px;">
				<tr>
					<th style="padding:1px 0; text-align:center;border:1px solid black">Name</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black">Position/Company</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black">Contact Number</th>
					<th style="padding:1px 0; text-align:center;border:1px solid black">Years Known</th>
				</tr>
			
				<tr>
					<td width="510px" style="height:50px;padding:5px; text-transform:uppercase; border:1px solid black">'.$array_reference[0]['name'].'</td>
					<td width="200px" style="height:50px;padding:5px; text-transform:uppercase;border:1px solid black">'.$array_reference[0]['position'].'</td>
					<td width="200px" style="height:50px;padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_reference[0]['contacts'].'</td>
					<td width="150px" style="height:50px;padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_reference[0]['year'].'</td>
				</tr>

				<tr>
					<td width="510px" style="height:50px;padding:5px; text-transform:uppercase; border:1px solid black">'.$array_reference[1]['name'].'</td>
					<td width="200px" style="height:50px;padding:5px; text-transform:uppercase;border:1px solid black">'.$array_reference[1]['position'].'</td>
					<td width="200px" style="height:50px;padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_reference[1]['contacts'].'</td>
					<td width="150px" style="height:50px;padding:5px; text-transform:uppercase; text-align:center; border:1px solid black">'.$array_reference[1]['year'].'</td>
				</tr>
			</table>
	</td>
</tr>

<tr><td colspan="4">&nbsp;</td></tr>
<tr><td colspan="4">&nbsp;</td></tr>

<tr>
	<td colspan="4" style="width:100%;border:1px solid black; padding:10px;">

			<table width="100%" cellpadding="0" cellspacing="0" style="font-size:16px; padding-bottom:15px;">
			
				<tr>
					<td width="530px" style="height:50px;padding:5px; text-transform:uppercase; border:1px solid black">Resignation notice period: '.$personality['notice'].'
					</td>
					<td width="530px" style="height:50px;padding:5px; text-transform:uppercase; border:1px solid black">Expected Salary:'.$salary['expected_salary'].'</td>
				</tr>

				<tr>
					<td colspan="2" style="height:50px;padding:5px; border-left:0px; border-right:0px; text-align:justify;"><br>I certify that the statement is correct. I understand that any false information (for omissions) in this application or its supporting documents, will be sufficient grounds for refusal to hire me or termination without notice. I further understand that the M&R Group of Companies has the right to review and investigate my previous employment, criminal records and other background data.<br>&nbsp;</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; text-transform:uppercase; border:1px solid black">Applicant’s signature:<img src="'.$application_signature.'" width="350px"/></td>
					<td width="530px" style="vertical-align:top;height:50px;padding:5px; text-transform:uppercase; border:1px solid black">Date:'.date('d/m/Y', strtotime($application_signature_date)).'</td>
				</tr>
			</table>
	</td>
</tr>


<tr><td colspan="4">&nbsp;</td></tr>
<tr><td colspan="4">&nbsp;</td></tr>

<tr>
	<td colspan="4" style="width:100%;border:1px solid black; padding:10px;">

			<table width="1060px" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td colspan="4" width="1060px" style="font-weight:bold;font-size:20px; padding:10px 0; text-align:center; border:1px solid #000; background:#000; color:white; text-transform:uppercase; text-align:center;">
						FOR OFFICE USE ONLY
					</td>
				</tr>
			</table>

			<table width="100%" cellpadding="0" cellspacing="0" style="font-size:16px; padding-bottom:15px;">

				<tr>
					<td colspan="4" width="1060px" style="font-weight:bold;font-size:20px; padding:10px 0; text-align:center; border:1px solid #000; text-transform:uppercase; text-align:center;">
						REMUNERATION DETAILS (HUMAN RESOURCE DEPT)
					</td>
				</tr>
			
				<tr>
					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;">Employee No
						<br><br>
						<span style="padding:1px 0;text-transform:uppercase;"></span>
					</td>

					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;">Employee Code
						<br><br>
						<span style="padding:1px 0;text-transform:uppercase;"></span>
					</td>

					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;">Basic Salary
						<br><br>
						<span style="padding:1px 0;text-transform:uppercase;"></span>
					</td>

					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;">Department
						<br><br>
						<span style="padding:1px 0;text-transform:uppercase;"></span>
					</td>
				</tr>

				<tr>
					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;">Designation
						<br><br>
						<span style="padding:1px 0;text-transform:uppercase;"></span>
					</td>

					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;">Date Joined
						<br><br>
						<span style="padding:1px 0;text-transform:uppercase;"></span>
					</td>

					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;">Shift
						<br><br>
						<span style="padding:1px 0;text-transform:uppercase;"></span>
					</td>

					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;">Location
						<br><br>
						<span style="padding:1px 0;text-transform:uppercase;"></span>
					</td>
				</tr>

				<tr>
					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;vertical-align:top">Interview by,
						<br><br><br><br><br>
						<span style="padding:1px 0; text-transform:uppercase;">HOD (s)</span>
					</td>

					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center; vertical-align:top">Name
						<br><br><br><br><br>
						<span style="padding:1px 0;text-transform:uppercase; border-bottom: 2px solid black"><strong>'.$int_det_interviewer_name.'</strong></span>
					</td>

					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;vertical-align:top">Position
						<br><br><br><br><br>
						<span style="padding:1px 0;text-transform:uppercase; border-bottom: 2px solid black"><strong>'.$int_det_interviewer_con['int_position'].'</strong></span>
					</td>

					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;vertical-align:top">Signature
						<br>
						<span style="padding:1px 0;text-transform:uppercase;border-bottom: 2px solid black">'.($int_det_interviewer_con['sign']!='' ?  '<img src="'.$int_det_interviewer_con['sign'].'" width="200px" style="padding-bottom:10px;">' : '').'</span>
					</td>
				</tr>

				<tr>
					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;vertical-align:top">Verify by,
						<br><br><br><br><br>
						<span style="padding:1px 0; text-transform:uppercase;">HUMAN RESOURCES</span>
					</td>

					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center; vertical-align:top">Name
						<br><br><br><br><br>
						<span style="padding:1px 0;text-transform:uppercase; border-bottom: 2px solid black"><strong>'.$int_det_verifier_name.'</strong></span>
					</td>

					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;vertical-align:top">Position
						<br><br><br><br><br>
						<span style="padding:1px 0;text-transform:uppercase; border-bottom: 2px solid black"><strong>'.$int_det_verifier_con['verify_position'].'</strong></span>
					</td>

					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;vertical-align:top">Signature
						<br>
						<span style="padding:1px 0;text-transform:uppercase;border-bottom: 2px solid black">'.($int_det_verifier_con['verify_sign']!='' ?  '<img src="'.$int_det_verifier_con['verify_sign'].'" width="200px" style="padding-bottom:10px;">' : '' ).'</span>
					</td>
				</tr>

				<tr>
					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;vertical-align:top">Approve by,
						<br><br><br><br><br>
						<span style="padding:1px 0; text-transform:uppercase;">DIRECTOR</span>
					</td>

					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center; vertical-align:top">Name
						<br><br><br><br><br>
						<span style="padding:1px 0;text-transform:uppercase; border-bottom: 2px solid black"><strong>'.$int_det_approver_name.'</strong></span>
					</td>

					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;vertical-align:top">Position
						<br><br><br><br><br>
						<span style="padding:1px 0;text-transform:uppercase; border-bottom: 2px solid black"><strong>'.$int_det_approver_con['approve_position'].'</strong></span>
					</td>

					<td width="265px" style="height:150px;padding:5px; border:1px solid black; text-align:center;vertical-align:top">Signature
						<br>
						<span style="padding:1px 0;text-transform:uppercase;border-bottom: 2px solid black">'.($int_det_verifier_con['verify_sign']!='' ?  '<img src="'.$int_det_approver_con['approve_sign'].'" width="200px" style="padding-bottom:10px;">' : '').'</span>
					</td>
				</tr>

			</table>
	</td>
</tr>


<tr><td colspan="4">&nbsp;</td></tr>
<tr><td colspan="4">&nbsp;</td></tr>

<tr>
	<td colspan="4" style="width:100%;border:1px solid black; padding:10px;">

			<table width="1060px" border="0" cellpadding="0" cellspacing="0" style="font-size:16px;padding-bottom:15px">
				<tr>
					<td colspan="4" width="1060px" style="font-weight:bold;font-size:20px; padding:10px 0; text-align:center; border:1px solid #000; background:#000; color:white; text-transform:uppercase; text-align:center;">
						FOR OFFICE USE ONLY
					</td>
				</tr>
			</table>

			<table width="100%" cellpadding="0" cellspacing="0" style="font-size:16px; padding-bottom:15px;">

				<tr>
					<td colspan="5" width="1060px" style="font-weight:bold;font-size:20px; padding:15px 0; text-align:center; border:1px solid #000; text-transform:uppercase; text-align:center;"><span style="border-bottom:1px solid black">
						INTERVIEW ASSESSMENT</span>
					</td>
				</tr>
			
				<tr>
					<td width="530px" style="padding:5px; border:1px solid black; text-align:center;" rowspan="2">Attribute
					</td>

					<td width="530px" style="height:50px;padding:5px; border:1px solid black; text-align:center;" colspan="4">Tick which is applicable
					</td>

				</tr>

				<tr>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">Excellent
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">Very Good
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">Good
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">Poor
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Appearance (professional dress, grooming)
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q1'] == 'Excellent' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q1'] == 'Very Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q1'] == 'Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q1'] == 'Poor' ? '/': '').'
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Poise, self-confidence, 1st impression
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q2'] == 'Excellent' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q2'] == 'Very Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q2'] == 'Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q2'] == 'Poor' ? '/': '').'
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Verbal communication skills (articulate, clear)
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q3'] == 'Excellent' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q3'] == 'Very Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q3'] == 'Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q3'] == 'Poor' ? '/': '').'
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Listening ability and non-verbal communication
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q4'] == 'Excellent' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q4'] == 'Very Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q4'] == 'Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q4'] == 'Poor' ? '/': '').'
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Clarity of career interests and goals
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q5'] == 'Excellent' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q5'] == 'Very Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q5'] == 'Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q5'] == 'Poor' ? '/': '').'
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Ability to link prior work experience to position
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q6'] == 'Excellent' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q6'] == 'Very Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q6'] == 'Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q6'] == 'Poor' ? '/': '').'
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Knowledge of industry
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q7'] == 'Excellent' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q7'] == 'Very Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q7'] == 'Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q7'] == 'Poor' ? '/': '').'
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Preparation for interview
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q8'] == 'Excellent' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q8'] == 'Very Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q8'] == 'Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q8'] == 'Poor' ? '/': '').'
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Quality of questions
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q9'] == 'Excellent' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q9'] == 'Very Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q9'] == 'Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q9'] == 'Poor' ? '/': '').'
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Interest in & enthusiasm toward opportunity
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q10'] == 'Excellent' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q10'] == 'Very Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q10'] == 'Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q10'] == 'Poor' ? '/': '').'
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Strength of competence / skills for position / work
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q11'] == 'Excellent' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q11'] == 'Very Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q11'] == 'Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q11'] == 'Poor' ? '/': '').'
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Overall impression of candidate’s performance
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q12'] == 'Excellent' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q12'] == 'Very Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q12'] == 'Good' ? '/': '').'
					</td>
					<td width="132px" style="height:50px;padding:5px; border:1px solid black; text-align:center;">'.($int_det_question_con['q12'] == 'Poor' ? '/': '').'
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Recommended pay 
					</td>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;" colspan="4">'.($int_det_question_con['q13'] != '' ? $int_det_question_con['q13'] : '').'
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Probationary Period months 
					</td>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;" colspan="4">
						<span '.($int_det_question_con['q14'] == '3 months' ? 'style="border-bottom:2px solid black;"': '').'>03</span> / <span '.($int_det_question_con['q14'] == '6 months' ? 'style="border-bottom:2px solid black;"': '').'> 06 </span> / <span '.($int_det_question_con['q14'] == '12 months' ? 'style="border-bottom:2px solid black;"': '').'>12</span> month
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Result
					</td>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;" colspan="4">
						<span '.($int_det_question_con['q15'] == 'Suitable' ? 'style="border-bottom:2px solid black;"': '').'>Suitable</span> / <span '.($int_det_question_con['q15'] == 'Not Suitable' ? 'style="border-bottom:2px solid black;"': '').'>Not Suitable</span> / <span '.($int_det_question_con['q15'] == 'future' ? 'style="border-bottom:2px solid black;"': '').'>To be considered for future assignments</span>
					</td>
				</tr>

				<tr>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black;"> Recommendations / high lights of the interview
					</td>
					<td width="530px" style="height:50px;padding:5px; border:1px solid black; text-transform:uppercase" colspan="4">
						'.($int_det_question_con['q16'] != '' ? $int_det_question_con['q16'] : '').'
					</td>
				</tr>

			</table>
	</td>
</tr>

<tr><td colspan="4">&nbsp;</td></tr>' ;
?>
