403Webshell
Server IP : 35.201.19.92  /  Your IP : 216.73.216.156
Web Server : nginx
System : Linux pod-200961 6.8.0-1055-gke #61-Ubuntu SMP Tue May 26 22:57:42 UTC 2026 x86_64
User : fpm200098 ( 200098)
PHP Version : 8.2.33
Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /nas/content/live/questfamilyday/wp-content/themes/generatepress_child/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /nas/content/live/questfamilyday/wp-content/themes/generatepress_child/admin/documents-fields.php
<?php 
$police_clearance = get_post_meta( $post->ID, 'police_clearance_meta_key', true );
$children_check_card = get_post_meta( $post->ID, 'children_check_card_meta_key', true );
$termination_notice = get_post_meta( $post->ID, 'termination_notice_meta_key', true );
$ACECQA_Qualification = get_post_meta( $post->ID, 'ACECQA_Qualification_meta_key', true );
$CPR_training_certificate = get_post_meta( $post->ID, 'training_certificate_meta_key', true );
$ChildcareFirstAidTraining = get_post_meta( $post->ID, 'ChildcareFirstAidTraining_meta_key', true );
$ChildProtectionTraining = get_post_meta( $post->ID, 'ChildProtectionTraining_meta_key', true );
$SafeInfantSleepingTraining = get_post_meta( $post->ID, 'SafeInfantSleepingTraining_meta_key', true );
$FoodSafetyTraining = get_post_meta( $post->ID, 'FoodSafetyTraining_meta_key', true );
$DriversLicenceOrAlt = get_post_meta( $post->ID, 'DriversLicenceOrAlt_meta_key', true );
$HouseTitle = get_post_meta( $post->ID, 'HouseTitle_meta_key', true );
$PublicLiabilityInsurance = get_post_meta( $post->ID, 'PublicLiabilityInsurance_meta_key', true );
$CurrentVehicleRegistration = get_post_meta( $post->ID, 'CurrentVehicleRegistration_meta_key', true );
$ComplianceHistoryStatement = get_post_meta( $post->ID, 'ComplianceHistoryStatement_meta_key', true );
$MedicalSelfAssessment = get_post_meta( $post->ID, 'MedicalSelfAssessment_meta_key', true );
$AgreementtoComply = get_post_meta( $post->ID, 'AgreementtoComply_meta_key', true );
$EducatorSuitabilityQuestionaire = get_post_meta( $post->ID, 'EducatorSuitabilityQuestionaire_meta_key', true );
$residing_adults = get_post_meta( $post->ID, 'residing_adults_meta_key', true );
$membership_agreement = get_post_meta( $post->ID, 'membership_agreement_meta_key', true );

$police_clearance_expiry = get_post_meta( $post->ID, 'police_clearance_expiry_meta_key', true );
$children_check_card_expiry = get_post_meta( $post->ID, 'children_check_card_expiry_meta_key', true );
$cpr_training_certificate_expiry = get_post_meta( $post->ID, 'cpr_training_certificate_expiry_meta_key', true );
$childcare_first_aid_training_expiry = get_post_meta( $post->ID, 'childcare_first_aid_training_expiry_meta_key', true );
$child_protection_training_expiry = get_post_meta( $post->ID, 'child_protection_training_expiry_meta_key', true );
$safe_infant_expiry = get_post_meta( $post->ID, 'safe_infant_expiry_meta_key', true );
$food_safety_expiry = get_post_meta( $post->ID, 'food_safety_expiry_meta_key', true );
$drivers_license_or_alt_expiry = get_post_meta( $post->ID, 'drivers_license_or_alt_expiry_meta_key', true );
$public_liability_expiry = get_post_meta( $post->ID, 'public_liability_expiry_meta_key', true );
$current_vehicle_expiry = get_post_meta( $post->ID, 'current_vehicle_expiry_meta_key', true );
?>

<table id="table_documents">
	<tbody>
		<tr>
			<td class="entry-label">Police Clearance</td>
			<td class="entry-label">Expiry Date</td>
		</tr>
		<tr>
			<td class="entry-content">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'police_clearance_status', true ) );
					?>
					<a href="<?php echo $police_clearance ?>" target="_blank" aria-label="Click to view"><?php echo basename($police_clearance);?></a>
					<select name="police_clearance_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>
				</div>
			</td>

			<td class="entry-content" for="expiry">
				<div class="infos">
					<?php
					if ( $police_clearance_expiry ) {
						$expire_date = strtotime($police_clearance_expiry);
						echo '<p>'.date('jS F Y', $expire_date).'</p>';
					}
					?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label">Working With Children Check Card</td>
			<td class="entry-label">Expiry Date</td>
		</tr>
		<tr>
			<td class="entry-content">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'children_check_card_status', true ) );
					?>
					<?php if ( !empty($children_check_card) ) : ?>

					<a href="<?php echo $children_check_card ?>" target="_blank" aria-label="Click to view"><?php echo basename($children_check_card);?></a>
					<select name="children_check_card_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
			<td class="entry-content" for="expiry">
				<div class="infos">
					<?php
					if ( $children_check_card_expiry ) {
						$expire_date = strtotime($children_check_card_expiry);
						echo '<p>'.date('jS F Y', $expire_date).'</p>';
					}
					?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label" colspan="2">Termination Notice from Previous FDC Service (if applicable)</td>
		</tr>
		<tr>
			<td class="entry-content" colspan="2">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'termination_notice_status', true ) );
					?>
					<?php if ( !empty($termination_notice) ) : ?>

					<a href="<?php echo $termination_notice ?>" target="_blank" aria-label="Click to view"><?php echo basename($termination_notice);?></a>
					<select name="termination_notice_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label" colspan="2">ACECQA Approved Qualification Transcript (or evidence of enrolment in course)</td>
		</tr>
		<tr>
			<td class="entry-content" colspan="2">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'ACECQA_Qualification_status', true ) );
					?>
					<?php if ( !empty($ACECQA_Qualification) ) : ?>

					<a href="<?php echo $ACECQA_Qualification ?>" target="_blank" aria-label="Click to view"><?php echo basename($ACECQA_Qualification);?></a>
					<select name="ACECQA_Qualification_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label">CPR Training Certificate</td>
			<td class="entry-label">Expiry Date</td>
		</tr>
		<tr>
			<td class="entry-content">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'CPR_training_certificate_status', true ) );
					?>
					<?php if ( !empty($CPR_training_certificate) ) : ?>

					<a href="<?php echo $CPR_training_certificate ?>" target="_blank" aria-label="Click to view"><?php echo basename($CPR_training_certificate);?></a>
					<select name="CPR_training_certificate_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
			<td class="entry-content" for="expiry">
				<div class="infos">
					<?php
					if ( $cpr_training_certificate_expiry ) {
						$expire_date = strtotime($cpr_training_certificate_expiry);
						echo '<p>'.date('jS F Y', $expire_date).'</p>';
					}
					?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label">Childcare First Aid Training Certificate (including anaphylaxis and asthma management)</td>
			<td class="entry-label">Expiry Date</td>
		</tr>
		<tr>
			<td class="entry-content">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'ChildcareFirstAidTraining_status', true ) );
					?>
					<?php if ( !empty($ChildcareFirstAidTraining) ) : ?>

					<a href="<?php echo $ChildcareFirstAidTraining ?>" target="_blank" aria-label="Click to view"><?php echo basename($ChildcareFirstAidTraining);?></a>
					<select name="ChildcareFirstAidTraining_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
			<td class="entry-content" for="expiry">
				<div class="infos">
					<?php
					if ( $childcare_first_aid_training_expiry ) {
						$expire_date = strtotime($childcare_first_aid_training_expiry);
						echo '<p>'.date('jS F Y', $expire_date).'</p>';
					}
					?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label">Child Protection Training Certificate</td>
			<td class="entry-label">Expiry Date</td>
		</tr>
		<tr>
			<td class="entry-content">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'ChildProtectionTraining_status', true ) );
					?>
					<?php if ( !empty($ChildProtectionTraining) ) : ?>

					<a href="<?php echo $ChildProtectionTraining ?>" target="_blank" aria-label="Click to view"><?php echo basename($ChildProtectionTraining);?></a>
					<select name="ChildProtectionTraining_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
			<td class="entry-content" for="expiry">
				<div class="infos">
					<?php
					if ( $child_protection_training_expiry ) {
						$expire_date = strtotime($child_protection_training_expiry);
						echo '<p>'.date('jS F Y', $expire_date).'</p>';
					}
					?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label">Safe Infant Sleeping Training Certificate</td>
			<td class="entry-label">Expiry Date</td>
		</tr>
		<tr>
			<td class="entry-content">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'SafeInfantSleepingTraining_status', true ) );
					?>
					<?php if ( !empty($SafeInfantSleepingTraining) ) : ?>

					<a href="<?php echo $SafeInfantSleepingTraining ?>" target="_blank" aria-label="Click to view"><?php echo basename($SafeInfantSleepingTraining);?></a>
					<select name="SafeInfantSleepingTraining_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
			<td class="entry-content" for="expiry">
				<div class="infos">
					<?php
					if ( $safe_infant_expiry ) {
						$expire_date = strtotime($safe_infant_expiry);
						echo '<p>'.date('jS F Y', $expire_date).'</p>';
					}
					?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label">Food Safety Training Certificate (if applicable)</td>
			<td class="entry-label">Expiry Date</td>
		</tr>
		<tr>
			<td class="entry-content">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'FoodSafetyTraining_status', true ) );
					?>
					<?php if ( !empty($FoodSafetyTraining) ) : ?>

					<a href="<?php echo $FoodSafetyTraining ?>" target="_blank" aria-label="Click to view"><?php echo basename($FoodSafetyTraining);?></a>
					<select name="FoodSafetyTraining_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
			<td class="entry-content" for="expiry">
				<div class="infos">
					<?php
					if ( $food_safety_expiry ) {
						$expire_date = strtotime($food_safety_expiry);
						echo '<p>'.date('jS F Y', $expire_date).'</p>';
					}
					?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label">Driver’s Licence (or alternative photo ID)</td>
			<td class="entry-label">Expiry Date</td>
		</tr>
		<tr>
			<td class="entry-content">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'DriversLicenceOrAlt_status', true ) );
					?>
					<?php if ( !empty($DriversLicenceOrAlt) ) : ?>

					<a href="<?php echo $DriversLicenceOrAlt ?>" target="_blank" aria-label="Click to view"><?php echo basename($DriversLicenceOrAlt);?></a>
					<select name="DriversLicenceOrAlt_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
			<td class="entry-content" for="expiry">
				<div class="infos">
					<?php
					if ( $drivers_license_or_alt_expiry ) {
						$expire_date = strtotime($drivers_license_or_alt_expiry);
						echo '<p>'.date('jS F Y', $expire_date).'</p>';
					}
					?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label" colspan="2">House Title (if owner) or Written permission to operate FDC from rental property (if tenant)</td>
		</tr>
		<tr>
			<td class="entry-content" colspan="2">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'HouseTitle_status', true ) );
					?>
					<?php if ( !empty($HouseTitle) ) : ?>

					<a href="<?php echo $HouseTitle ?>" target="_blank" aria-label="Click to view"><?php echo basename($HouseTitle);?></a>
					<select name="HouseTitle_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label">Public Liability Insurance Certificate</td>
			<td class="entry-label">Expiry Date</td>
		</tr>
		<tr>
			<td class="entry-content">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'PublicLiabilityInsurance_status', true ) );
					?>
					<?php if ( !empty($PublicLiabilityInsurance) ) : ?>

					<a href="<?php echo $PublicLiabilityInsurance ?>" target="_blank" aria-label="Click to view"><?php echo basename($PublicLiabilityInsurance);?></a>
					<select name="PublicLiabilityInsurance_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
			<td class="entry-content" for="expiry">
				<div class="infos">
					<?php
					if ( $public_liability_expiry ) {
						$expire_date = strtotime($public_liability_expiry);
						echo '<p>'.date('jS F Y', $expire_date).'</p>';
					}
					?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label">Current vehicle registration/3rd party insurance (if transporting children)</td>
			<td class="entry-label">Expiry Date</td>
		</tr>
		<tr>
			<td class="entry-content">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'CurrentVehicleRegistration_status', true ) );
					?>
					<?php if ( !empty($CurrentVehicleRegistration) ) : ?>

					<a href="<?php echo $CurrentVehicleRegistration ?>" target="_blank" aria-label="Click to view"><?php echo basename($CurrentVehicleRegistration);?></a>
					<select name="CurrentVehicleRegistration_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
			<td class="entry-content" for="expiry">
				<div class="infos">
					<?php
					if ( $current_vehicle_expiry ) {
						$expire_date = strtotime($current_vehicle_expiry);
						echo '<p>'.date('jS F Y', $expire_date).'</p>';
					}
					?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label" colspan="2">Compliance History Statement</td>
		</tr>
		<tr>
			<td class="entry-content" colspan="2">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'ComplianceHistoryStatement_status', true ) );
					?>
					<?php if ( !empty($ComplianceHistoryStatement) ) : ?>

					<a href="<?php echo $ComplianceHistoryStatement ?>" target="_blank" aria-label="Click to view"><?php echo basename($ComplianceHistoryStatement);?></a>
					<select name="ComplianceHistoryStatement_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label" colspan="2">Medical Self-Assessment</td>
		</tr>
		<tr>
			<td class="entry-content" colspan="2">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'MedicalSelfAssessment_status', true ) );
					?>
					<?php if ( !empty($MedicalSelfAssessment) ) : ?>

					<a href="<?php echo $MedicalSelfAssessment ?>" target="_blank" aria-label="Click to view"><?php echo basename($MedicalSelfAssessment);?></a>
					<select name="MedicalSelfAssessment_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label" colspan="2">Agreement to Comply with Drug and Alcohol-Free Environment</td>
		</tr>
		<tr>
			<td class="entry-content" colspan="2">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'AgreementtoComply_status', true ) );
					?>
					<?php if ( !empty($AgreementtoComply) ) : ?>

					<a href="<?php echo $AgreementtoComply ?>" target="_blank" aria-label="Click to view"><?php echo basename($AgreementtoComply);?></a>
					<select name="AgreementtoComply_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label" colspan="2">Educator Suitability Questionaire</td>
		</tr>
		<tr>
			<td class="entry-content" colspan="2">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'EducatorSuitabilityQuestionaire_status', true ) );
					?>
					<?php if ( !empty($EducatorSuitabilityQuestionaire) ) : ?>

					<a href="<?php echo $EducatorSuitabilityQuestionaire ?>" target="_blank" aria-label="Click to view"><?php echo basename($EducatorSuitabilityQuestionaire);?></a>
					<select name="EducatorSuitabilityQuestionaire_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label" colspan="2">Register of Residing Adults</td>
		</tr>
		<tr>
			<td class="entry-content" colspan="2">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'residing_adults_status', true ) );
					?>
					<?php if ( !empty($residing_adults) ) : ?>

					<a href="<?php echo $residing_adults ?>" target="_blank" aria-label="Click to view"><?php echo basename($residing_adults);?></a>
					<select name="residing_adults_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
		</tr>

		<tr>
			<td class="entry-label" colspan="2">Membership Agreement</td>
		</tr>
		<tr>
			<td class="entry-content" colspan="2">
				<div class="infos">
					<?php 
					$curval = esc_attr( get_post_meta( get_the_ID(), 'membership_agreement_status', true ) );
					?>
					<?php if ( !empty($membership_agreement) ) : ?>

					<a href="<?php echo $membership_agreement ?>" target="_blank" aria-label="Click to view"><?php echo basename($membership_agreement);?></a>
					<select name="membership_agreement_status">
						<option value="On Review" <?php echo ($curval == "On Review" ? 'selected' : '') ?>>On Review</option>
						<option value="Approved" <?php echo ($curval == "Approved" ? 'selected' : '') ?>>Approved</option>
						<option value="Disapproved" <?php echo ($curval == "Disapproved" ? 'selected' : '') ?>>Disapproved</option>
					</select>

					<?php else: ?>
					<p>No upload</p>
					<?php endif; ?>
				</div>
			</td>
		</tr>
	</tbody>
</table>

Youez - 2016 - github.com/yon3zu
LinuXploit