<?php $this->load->view('includes/head') ?>
<?php $this->load->view('includes/topbar') ?>
<?php $this->load->view('includes/header') ?>
<?php
$employmentSettings = getWebSyncsData('Employment Settings', 'employmentSettings', '');

// print_r($employmentSettings);
?>

<main id="main">

	<!-- ======= Coming Soon ======= -->
	<section id="temple-services" class="temple-services" style="background-image: url(<?=base_url('assets/img/elegant-background-with-mandala.png');?>);background-size: auto;">
		<div class="container">
			<center> <h2 style="font-weight:bold!important;font-size: 35px!important;">Employment Opportunities<br><img src="<?=base_url('assets/img/border.png')?>" class="img-fluid img-responsive" style="width: 20%;"></h2> </center>

			<div class="row justify-content-center">

				<?php 
				if (isset($employmentSettings) && !empty($employmentSettings)) {
					
			
				foreach ($employmentSettings as $value) { ?>
					

					<div class="col-md-12 my-3">
						<div class="card">
							<div class="card-header" style="background-color:#570000;color: white;">
								<h3 class="text-center">Job Title: <?=$value['refDataName']?></h3>
							</div>
							<div class="card-body p-5" style="background-color:#ff91004a;">
								<p class="lead fw-bold" style="font-size:20px!important;text-decoration: underline;text-shadow: 1px 1px 0px red;">Job Summary:</p>
								<p class="fw-bold"><?=$value['jobSummary']?></p>

								<p class="lead fw-bold" style="font-size:20px!important;text-decoration: underline;text-shadow: 1px 1px 0px red;">No of Positions:</p>
								<p class="fw-bold"><?= sprintf("%02d", $value['noOfPositions']); ?></p>

								<p class="lead fw-bold" style="font-size:20px!important;text-decoration: underline;text-shadow: 1px 1px 0px red;">Responsibility and Duties:</p>

								<?=$value['jobResponsibilities'];?>



								<p class="lead fw-bold" style="font-size:20px!important;text-decoration: underline;text-shadow: 1px 1px 0px red;">Qualifications and Skills:</p>

								<?=$value['jobQualifications'];?>


								<p class="text-center text-dark mt-3" style="font-family: 'Pacifico'!important;font-size:18px!important">Interested candidates with valid work permit residing in Monroeville/Pittsburgh may send their resumes to <a href="mailto:<?=$value['mailOn'];?>?subject=Office/Resume" style="font-family:normal!important;text-decoration: underline;"><?=$value['mailOn'];?></a> with 'Office/Resume' in the subject line.</p>
							</div>
						</div>
					</div>
				<?php } } else { ?> 

						<h5 class="text-center">We will be posting more job opportunities till then keep checking our site.</h5>

				<?php } ?>
			</div>
		</div>

	</section>
	<!-- End Coming Soon -->


</main><!-- End #main -->


<?php $this->load->view('includes/footer') ?>
<?php $this->load->view('includes/script') ?>
