489495df
Path : /home3/mandnweb/mariananjie.co.uk/ |
Current < : /home3/mandnweb/mariananjie.co.uk/job-vacancy.php |
<?php $page_title = "Job Vacancy - Find Job - Apply for a Job"; $keywords = 'Find a job as personal coaching, Coaching Job, Business Coaching Job '; $meta_description = 'Mariana Njie Job Vacancy & Career - We are looking of a Coaching and Trainer position for overcoming business issues and how to handle your business.'; $active = 3; require 'partials/head.php' ?> <style type="text/css"> .hero{ height: 400px; } .job__listing span, .job__listing p, .job__listing div{ font-family: inherit !important; } .widget-footer{ background-color: #fafafa !important; } </style> </head> <body> <?php require 'partials/header.php'; ?> <div class="main-content"> <div class="page-header-section"> <div class="about-inner" style="background-image: url('/images/blue-header-bg.jpg');"> <div class="overlay-primary-bg1 d-none"></div> <div class="container z-index-3 is-relative"> <div class="col-sm-12 "> <div class="inner d-flex justify-content-center flex-column is-light-transparent animation-element slide-left"> <h1 class="mb-1 slider-title height-auto text-white">Job Vacancy</h1> </div> </div> </div> </div> </div> <div class="inner-content relative" style="z-index: 10;"> <section class="section-row article-desc"> <div class="container"> <div class="job__listing"> <?php $job_term = array( 0 => 'Undefined', 1 => 'Permanent', 2 => 'Temporary', 3 => 'Contract' ); $url = "https://app.mariananjie.com/job/post/fetch-active-jobs"; try{ //enter code to catch $context = stream_context_create(array( 'http' => array( 'ignore_errors'=>true, 'method'=>'GET' ) )); $isAvailable = @file_get_contents($url); if($isAvailable === FALSE) { ?> <div class="job__item" style="border-bottom: 1px solid #ddd;"> <p>There are no Job Post for now. Please try again later.</p> </div> <?php }else{ $response = file_get_contents($url); $job_list = json_decode($response, true); if($job_list){ $count = 0; echo '<p><span class="color-primary font-weight-bold">Mariana Njie</span> is looking of the following positions.</p>'; foreach($job_list as $job => $value){ $count++; ?> <div class="job__item" style="border-bottom: 1px solid #ddd;"> <input type="hidden" class="jobpost_title" value="<?php echo $value['job_title']; ?>"> <input type="hidden" class="jobpost_id" value="<?php echo $value['id'] ?? 0; ?>"> <div class="sub-list"> <h4 style="margin-bottom: 0;text-transform: capitalize;"><?php echo $count; ?>. <b><?php echo $value['job_title']; ?></b></h4> </div> <div style="margin-left: 15px;"> <div class="sub-list"> <p style="margin-bottom: 15px;">Job Description:</p> <div style="margin-left: 40px;"> <?php echo $value['job_description']; ?> </div> </div> <div class="hide-collapse-job"> <div class="sub-list"> <p style="margin-bottom: 15px;">Job Roles:</p> <div style="margin-left: 40px;"> <?php echo $value['job_roles']; ?> </div> </div> <div class="sub-list"> <p style="margin-bottom: 15px;">Job Responsibilities:</p> <div style="margin-left: 40px;"> <?php echo $value['job_responsibilities']; ?> </div> </div> <div class="sub-list"> <p style="margin-bottom: 15px;">Benefits:</p> <div style="margin-left: 40px;"> <?php echo $value['benefits']; ?> </div> </div> <div class="sub-list"> <p>Job Term: <b><?php echo strip_tags($job_term[$value['job_term']]); ?></b></p> </div> <div class="sub-list"> <p>Location: <b><?php echo strip_tags($value['location']); ?></b></p> </div> <div class="sub-list"> <p>Company: <b><?php echo strip_tags($value['company']); ?></b></p> </div> <div> <p>Staff Required:</p> <?php // $toInt = preg_replace('/[^0-9,.]+/', '', $value['staff_required']); // $toArr = array_map('intval', explode(',', $toInt)); $arr_val = str_replace('[', '', $value['staff_required']); $arr_val = str_replace(']', '', $arr_val); $arr_val = str_replace('"', '', $arr_val); $toArr = array_map(null, explode(',', $arr_val)); $selectedServices = $toArr; ?> <ul style="margin-left: 40px;"> <?php foreach($toArr as $arr){ ?> <li><?php echo strip_tags($arr); ?></li> <?php } ?> </ul> </div> </div> <a href="javascript:;" class="see-more"> Click to see more details </a> </div> <div style="text-align: right;padding-top: 1rem;"> <button class="primary-btn applybtn force-btn" >Apply on this Job Post</button> </div> </div> <?php } }else{ ?> <div class="job__item" > <p>There are no Job Post for now. Please try again later.</p> </div> <?php } //endif } }catch(Exception $ex){ echo $ex; } ?> </div> </div> </section> <section class="section-row bg-semi-light"> <div class="container"> <div class="col-sm-12 mb-4"> <div class="row"> <div class="col-12 col-sm-6 mobile-mb-4"> <img loading="lazy" src="images/work-with-us.jpg" alt="Work with us" class="mobile-mb-4 w-100 animation-element slide-left" /> </div> <div class="col-12 col-sm-6"> <h2 class="title-mb-custom section-title heading">Work with Us</h2> <p>If you are specialised in business and a proactive in your field and always want to help who is in need, Mariana Njie Business Network is a perfect place for you. We have the best environment for every professional who is eager to learn and share thier knowledge. </p> <p>We are a result oriented company who always aim to for success of our clients. We are not only make our clients life easier but also to make them happy and successful.</p> </div> </div> </div> <div class="separated" style="background-image: url(images/border-dark.png);"></div> <div class="text-center"> <h3>Want to become part of our company? Send us a message - Fill up the form below and we will get back to you as soon as we can.</h3> <p class="title-mb-custom "></p> <a href="#footer-section" id="scrollToSection" class="primary-btn">Contact Us</a> </div> </div> </section> <!-- The Modal --> <div id="apply_modal" class="modal"> <!-- Modal content --> <div class="modal-content"> <span class="close">×</span> <h4 style="margin-bottom: 10px;">Fill up this application form</h4> <p>Job Post: <span id="myjobpost" style="font-weight: 600;text-transform: capitalize;"></span></p> <div> <div class="mt-4 mb-4 text-center loader hidden"><img loading="lazy" width="149" height="96" src="images/loader.gif" alt="loading" /></div> <div class="notif-message"></div> <form method="post" class="dmRespDesignRow apply-job" action="sendmail.php" id="applyJob" enctype="multipart/form-data"> <input type="hidden" name="form_type" value="4"> <input type="hidden" name="jobpost_title" id="jobpost_title"> <input type="hidden" name="jobpost_id" id="jobpost_id"> <div class="dmforminput required small-12 dmRespDesignCol medium-12 large-12 form-group" id="1360021435"> <label for="name" id="1936249746">Name</label> <input type="text" class="form-control" name="name" id="name"> </div> <div class="dmforminput required small-12 dmRespDesignCol medium-12 large-12 form-group" id="1416417294"> <label for="email" id="1251346466">Email</label> <input type="email" class="form-control" name="email" id="1357919088"> </div> <div class="dmforminput required small-12 dmRespDesignCol medium-12 large-12 form-group" id="1565855466"> <label for="phone" id="1316233145">Phone</label> <input type="text" class="form-control" name="phone" id="1881009253"> </div> <div class="dmforminput small-12 dmRespDesignCol required medium-12 large-12 form-group" id="1912788467"> <label for="birthday" id="1300622440">Date Of Birth</label> <input type="date" class="dmDatePicker form-control" lang="undefined" placeholder="" date_format="mmddyyyy" name="birthday" id="1472601385"> </div> <div class="dmforminput small-12 dmRespDesignCol required medium-12 large-12 form-group" id="1875795537"> <label for="message" id="1425445523">Message</label> <textarea name="message" id="1875580109" class="form-control"></textarea> </div> <div class="dmforminput small-12 dmRespDesignCol required medium-2 large-2 form-group" id="1638267983" > <label for="dmform-7" id="1123091369">Upload CV</label> <div class="filewrapper" id="1763702328" > <input type="file" name="uploadcv" id="1281622793" class="form-control"> <span class="fileLabel" id="1802771933"></span> </div> </div> <div class="dmformsubmit dmWidget form-group" preserve_css="true" id="1298341967" style="float: left;"> <input class="btn btn-primary" name="submit" type="submit" value="Submit Application" id="1954181977"> </div> </form> </div> <div class="dmform-success" style="display:none" preserve_css="true" id="1197400218" data-success-page="home">Thank you for contacting us.<br id="1846877136">We will get back to you as soon as possible</div> <div class="dmform-error" style="display:none" preserve_css="true" id="1499796971">Oops, there was an error sending your message.<br id="1794822538">Please try again later</div> </div> </div> </div> </div> <?php require 'partials/widgets.php'; ?> <?php require 'partials/footer.php'; ?> <?php require 'partials/foot.php'; ?> <script type="text/javascript"> $(".see-more").click(function () { $header = $(this); //getting the next element // $content = $header.next(); // $('.hide-collapse-job').hide(); $content = $(this).siblings('.hide-collapse-job'); //open up the content needed - toggle the slide- if visible, slide up, if not slidedown. $content.slideToggle(500, function () { //execute this after slideToggle is done //change text of header based on visibility of content div $header.text(function () { //change text based on condition return $content.is(":visible") ? "See less details" : "Click to see more details"; }); }); }); $('.applybtn').click(function(){ // modal.style.display = "block"; $('#apply_modal').show(); var job_title = $(this).closest('.job__item').find('.jobpost_title').val(); var job_id = $(this).closest('.job__item').find('.jobpost_id').val(); $('#myjobpost').text(job_title); $('#jobpost_title').val(job_title); $('#jobpost_id').val(job_id); }); $('#apply_modal .close').click(function(){ $('#apply_modal').hide(); $('#myjobpost').text(''); $('#jobpost_title').val(''); $('#jobpost_id').val(''); }); var modal = document.getElementById("apply_modal"); window.onclick = function(event) { if (event.target == modal) { modal.style.display = "none"; $('#myjobpost').text(''); $('#jobpost_title').val(''); $('#jobpost_id').val(''); } } $("#applyJob").submit(function(e) { e.preventDefault(); // avoid to execute the actual submit of the form. var form = $(this); var url = form.attr('action'); form.siblings('.notif-message').empty(); form.siblings('.loader').show(); form.hide(); $.ajax({ type: "POST", url: url, data: new FormData(this), processData:false, contentType:false, cache:false, dataType: 'json', success: function(data){ form.siblings('.loader').hide(); // reset the form form.siblings('.notif-message').append('<div class="success-notif notif text-center">Thank you for contacting us. We will get back to you as soon as possible.</div>'); form[0].reset(); // location.reload(); }, error:function(data){ form.siblings('.loader').hide(); form.siblings('.notif-message').append('<div class="error-notif text-center">Something went wrong. ' + data.message + '</div>'); form.show(); } }) }); </script> </body> </html>