X7ROOT File Manager
Current Path:
/home/bmglobalcareers/public_html
home
/
bmglobalcareers
/
public_html
/
π
..
π
.htaccess
(243 B)
π
7e8fcfa2f51affa33b3fa699f35ec4ad.html
(51 B)
π
Emails
π
_errorpages
π
about.php
(4.23 KB)
π
admin.php
(4.23 KB)
π
appointment.php
(26.94 KB)
π
appointment_old.php
(29.26 KB)
π
bmglobalcareers_bm.sql
(859.73 KB)
π
check
π
commentsos
π
contact.php
(2.72 KB)
π
contact_mail.php
(18.97 KB)
π
css
π
education_loan.php
(12.32 KB)
π
filters.php
(824 B)
π
fonts
π
footer.php
(9.94 KB)
π
gfherhfghre
π
header.php
(10.44 KB)
π
images
π
index.html
(181 B)
π
index.php
(15.17 KB)
π
join_our_community.php
(8.37 KB)
π
js
π
ktgadmin
π
l0ldae.php
(3.89 KB)
π
net
π
ob.php
(0 B)
π
p0nj7l.php
(3.89 KB)
π
process.php
(2.96 KB)
π
rmxt5d.php
(1.4 KB)
π
robots.txt
(978 B)
π
route_map.php
(5.68 KB)
π
services.php
(2.61 KB)
π
test.html
(1.37 KB)
π
test_mail.php
(824 B)
π
uploads
π
utchihaWSo_wEq2w.php
(0 B)
π
utchiha_1ldSxK1Y.php
(8 KB)
π
utchiha_3ovmPINW.txt
(9 B)
π
utchiha_8JYmBVa0.php
(0 B)
π
utchiha_9AwhI32Q.php
(0 B)
π
utchiha_DmF3lPsM.php
(8 KB)
π
utchiha_EDirtMq6.php
(8 KB)
π
utchiha_HGax88RT.txt
(10 B)
π
utchiha_Js0AkoBP.php
(8 KB)
π
utchiha_MZpQ5gcI.php
(0 B)
π
utchiha_RW54Vwo0.php
(0 B)
π
utchiha_ZXckxdr2.php
(0 B)
π
utchiha_gGs7o5Gx.php
(0 B)
π
utchiha_hhjIolpM.php
(8 KB)
π
utchiha_wfJINYGr.php
(214.79 KB)
π
utchiha_z5d2rSoQ.php
(0 B)
π
vendors
π
videos.php
(7.56 KB)
Editing: appointment.php
<?php include('header.php'); ?> <style> .banner-carousel .slide-item .image-layer { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 1; z-index: 0; background-repeat: no-repeat; background-position: center center; background-size: cover; -webkit-filter: unset; -ms-filter: grayscale(100%); -moz-filter: grayscale(100%); transform: scale(1); } .banner-carousel .slide-item:before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: unset; opacity: 0.6; z-index: 1; } .modal { display: none; /* Hidden by default */ position: fixed; /* Stay in place */ z-index:9999; /* Sit on top */ padding-top: 50px; /* Location of the box */ left: 0; top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ overflow: auto; /* Enable scroll if needed */ background-color: rgb(0,0,0); /* Fallback color */ background-color: rgba(0,0,0,0.9); /* Black w/ opacity */ } /* Modal Content (image) */ .modal-content { margin: auto; display: block; width: 80%; max-width: 550px; } /* Caption of Modal Image */ #caption { margin: auto; display: block; width: 80%; max-width: 700px; text-align: center; color: #ccc; padding: 10px 0; height: 150px; } /* Add Animation */ .modal-content, #caption { -webkit-animation-name: zoom; -webkit-animation-duration: 0.6s; animation-name: zoom; animation-duration: 0.6s; } .close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; } .close:hover, .close:focus { color: #bbb; text-decoration: none; cursor: pointer; } </style> <button id="openModalBtn" style="display: none;">Open Modal</button> <div id="myModal" class="modal" style="display: none;"> <span id="closeModalBtn" class="close">×</span> <img class="modal-content" src="images/Picture1.png"> <!--<img class="modal-content" src="img_snow.jpg">--> <h1 style="font-size:18px;color: white; text-align: center;padding-top: 10px;">BMGC Scholarships! βONLY FOR BMGC STUDENTSβ</br> Deadline to Register β 31st March 2024.</h1> <div class="link-box" style="text-align: center;"> <a class="theme-btn btn-style-one" href="https://bmglobalcareerscrm.eduabroadcrm.com/forms/Enquiry-Form-vGk1726210863vw" target="_blank"> <i class="btn-curve"></i> <span class="btn-title">Appointment Now</span> </a> </div> </div> <section class="page-banner"> <div class="image-layer" style="background-image:url(images/background/image-7.jpg);"></div> <div class="shape-1"></div> <div class="shape-2"></div> <div class="banner-inner"> <div class="auto-container"> <div class="inner-container clearfix"> <h1 style="font-size: 60px;"> APPOINTMENT</h1> <div class="page-nav"> <ul class="bread-crumb clearfix"> <li><a href="index.php">Home</a></li> <li class="active"> APPOINTMENT</li> </ul> </div> </div> </div> </div> </section> <section class="container" style="padding: 19px;background-image: url(images/background/pattern-1.png); "> <!-- Demo header--> <section class="py-5 header"> <div class="row"> <div class="col-sm-4"> <?php $sql_video="SELECT * FROM `tbl_appointment_link` where `id`='1'"; $exc_query_video=mysqli_query($conn,$sql_video); $fetch_video=mysqli_fetch_array($exc_query_video); $url_link = $fetch_video['link']; ?> <div class="auto-container"> <div class="row clearfix"> <!--Image Column--> <div class="image-column"> <div class="inner"> <div class="image-block wow fadeInLeft animated animated animated" data-wow-delay="0ms" data-wow-duration="1500ms" style="visibility: visible; animation-duration: 1500ms; animation-delay: 0ms; animation-name: fadeInLeft;"> <div class="news-block-two"> <div class="inner-box"> <div class="image-box"> <a href="#"><img src="http://img.youtube.com/vi/<?php echo $url_link?>/sddefault.jpg" alt=""></a> <a href="https://www.youtube.com/watch?v=<?php echo $url_link?>" class="vid-link lightbox-image"> <div class="icon"><span class="flaticon-play-button-1"></span></div> </a> </div> </div> </div> </div> </div> </div> <!--Text Column--> <div class="text-column"> <div class="inner"> <div class="sec-title"> <div class="lower-text" style="margin-bottom: 0px; color: white;">Welcome to our BMGC Community!</div> </div> <div class="text" style="color: white;line-height: 26px;"> <?php echo $fetch_video['description'];?> </div> </div> </div> </div> </div> </div> <div class="col-sm-8"> <div class="container py-4"> <form id="mainform" method="POST" action="" enctype="multipart/form-data"> <div class="row"> <p class="font-italic mb-4">Please enter your details</p> <p class="font-italic text-muted mb-2"></p> <div class="col-sm-12"> <div class="row"> <div class="col-sm-6"> <div class="row form-group"> <label class="control-label col-sm-6" for="name">Name *:</label> <div class="col-sm-6"> <input type="text" class="form-control" id="person_name" placeholder="Enter Name" name="person_name" required> </div> </div> <div class="row form-group"> <label class="control-label col-sm-6" for="surname"> Sur Name *:</label> <div class="col-sm-6"> <input type="text" class="form-control" id="sur_name" placeholder="Enter Name" name="sur_name" required> </div> </div> <div class="row form-group"> <label class="control-label col-sm-6" for="email">Email *:</label> <div class="col-sm-6"> <input type="email" class="form-control" id="person_email" placeholder="Enter Email" name="person_email" required> </div> </div> <div class="row form-group"> <label class="control-label col-sm-6" for="person_phone">Phone *:</label> <div class="col-sm-6"> <input type="text" class="form-control" id="person_phone" placeholder="Enter Phone" name="person_phone"> </div> </div> <div class="row form-group"> <label class="control-label col-sm-6" for="person_dob">DOB *: </label> <div class="col-sm-6"> <input type="date" class="form-control" id="dob" name="person_dob" placeholder="Enter Date"> <input type="hidden" id="person_dob"> </div> </div> <div class="row form-group"> <label class="control-label col-sm-6">10th % *:</label> <div class="col-sm-6"> <input type="text" class="form-control" id="tenth_percentage" placeholder="Enter 10th %" name="tenth_percentage"> </div> </div> <div class="row form-group"> <label class="control-label col-sm-6" for="twelfth_percentage">12th % :</label> <div class="col-sm-6"> <input type="text" class="form-control" id="twelfth_percentage" placeholder="Enter 12th %" name="twelfth_percentage"> </div> </div> <div class="row form-group"> <label class="control-label col-sm-6" for="diploma">Diploma: </label> <div class="col-sm-6"> <input type="text" class="form-control" id="diploma" placeholder="Enter Diploma %" name="diploma"> </div> </div> <div class="row form-group"> <label class="control-label col-sm-6" for="twelfth_english_percentage">12th English %:</label> <div class="col-sm-6"> <input type="text" class="form-control" id="twelfth_english_percentage" placeholder="Enter 12th English %" name="twelfth_english_percentage"> </div> </div> <div class="row form-group"> <label class="control-label col-sm-6" for="ug_percentage">UG %/CGPA(if applicable):</label> <div class="col-sm-6"> <input type="text" class="form-control" id="ug_percentage" placeholder="Enter UG percentage/CGPA" name="ug_percentage"> </div> </div> </div> <div class="col-sm-6"> <div class="row form-group"> <label class="control-label col-sm-6" for="pg_percentage">PG %/CGPA(if applicable):</label> <div class="col-sm-6"> <input type="text" class="form-control" id="pg_percentage" placeholder="Enter PG percentage/CGPA" name="pg_percentage"> </div> </div> <!--div class="row form-group"> <label class="control-label col-sm-6" for="country">Chosen country*? </label> <div class="col-sm-6"> <select name="country_id" id="country_id" class="form-control"></select> </div> </div--> <div class="row form-group"> <label class="control-label col-sm-6" for="country">Chosen country*? </label> <div class="col-sm-6"> <select name="country_id" id="country_id" class="form-control"> <option value="UNITED KINGDOM (UK)" selected>UNITED KINGDOM (UK)</option> </select> </div> </div> <div class="row form-group"> <label class="control-label col-sm-6" for="ielts_score">IELTS Score: </label> <div class="col-sm-6"> <input type="text" class="form-control" id="ielts_score" placeholder="IELTS Score:" name="ielts_score"> </div> </div> <div class="row form-group"> <label class="control-label col-sm-6" for="year">Intake Year?* </label> <div class="col-sm-6"> <select name="intake_year_id" id="intake_year_id" class="form-control"> <?php $cur_year = date('Y'); for($year =$cur_year; $year <= ($cur_year+4); $year++) { if ($year == $cur_year) { echo '<option value="'.$year.'" selected="selected">'.$year.'</option>'; } else { echo '<option value="'.$year.'">'.$year.'</option>'; } }?> </select> </div> </div> <div class="row form-group"> <label class="control-label col-sm-6" for="year">Intake Month?* </label> <div class="col-sm-6"> <textarea name="intake month" id="intake_month" class="form-control"></textarea> </div> </div> <div class="row form-group"> <label class="control-label col-sm-6" for="intented_study">Course(s) intented to study*: </label> <div class="col-sm-6"> <textarea name="intented_study" id="intented_study" class="form-control"></textarea> </div> </div> <div class="row form-group"> <label class="control-label col-sm-6" for="additional_comment">Additional Comments: </label> <div class="col-sm-6"> <textarea name="additional_comment" id="additional_comment" class="form-control"></textarea> </div> </div> <div class="row form-group"> <label class="control-label col-sm-6" for="appointment_date">Appointment Date *: </label> <div class="col-sm-6"> <input type="text" class="form-control" id="appointment_date" name="appoint-date-picker" placeholder="Enter Appoinment Date"> <input type="hidden" name="appoint_date" id="appoint_date"> <input type="hidden" name="appoint_date_valid" id="appoint_date_valid"> <span id="msg1" style="text-align: center;font-weight:bold;float:right;font-size: 12px;"></span> </div> </div> <span id="msg" style="text-align: center;font-weight:bold;float:right;margin-top:7px;"></span> </p> <input type="hidden" id="req" name="req"> </div> <div class="col-sm-12" style="text-align: center;"> <button type="button" name="submit" id="submit" class="btn btn-danger">Schedule Appointment</button> </div> </div> </div> </div> </form> </div> </div> </div> </section> <style> label { color: #f1c852; } input { background: #f1db9c !important; } textarea { background: #f1db9c !important; } </style> <?php include('footer.php') ?> <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script> <script type="text/javascript"> //$("#dob").datepicker(); $("#dob").change(function() { var datefullvalue = $("#dob").val(); var datevalue = datefullvalue.split('-')[1]; var monthvalue = datefullvalue.split('-')[0]; var yearvalue = datefullvalue.split('-')[2]; $("#person_dob").val(datevalue + '/' + monthvalue + '/' + yearvalue); }); $("#appointment_date").change(function() { var datefullvalue = $("#appointment_date").val(); var datevalue = datefullvalue.split('/')[0]; var monthvalue = datefullvalue.split('/')[1]; var yearvalue = datefullvalue.split('/')[2]; $("#appoint_date").val(datevalue + '/' + monthvalue + '/' + yearvalue); }); setTimeout(function() { var datefullvalue = $("#dob").val(); var datevalue = datefullvalue.split('-')[1]; var monthvalue = datefullvalue.split('-')[0]; var yearvalue = datefullvalue.split('-')[2]; $("#person_dob").val(datevalue + '/' + monthvalue + '/' + yearvalue); }, 500); setTimeout(function() { var datefullvalue = $("#appointment_date").val(); var datevalue = datefullvalue.split('/')[0]; var monthvalue = datefullvalue.split('/')[1]; var yearvalue = datefullvalue.split('/')[2]; $("#appoint_date").val(datevalue + '/' + monthvalue + '/' + yearvalue); }, 500); //starting - disable specific date $(function() { $("#appointment_date").datepicker({ minDate: 0, // Disable past dates beforeShowDay: function(date) { var currentDate = new Date(); currentDate.setHours(0, 0, 0, 0); return [date.getTime() > currentDate.getTime()]; // Disable today's date } }); }); $("#appointment_date").change(function() { var datefullvalue = $("#appointment_date").val(); var datevalue = datefullvalue.split('/')[0]; var monthvalue = datefullvalue.split('/')[1]; var yearvalue = datefullvalue.split('/')[2]; $("#appoint_date").val(datevalue + '/' + monthvalue + '/' + yearvalue); $.ajax({ type: "POST", url: "ktgadmin/phpservices/appointment_date_checker.php", dataType: 'json', data: {appoint_date : $("#appoint_date").val()}, success: function(result) { //console.log(result); if (result.op.appoint_date_valid == false) { $("#msg1").css("color", "red").html(result.op.description); $("#appoint_date_valid").val(result.op.appoint_date_valid) } else { $("#msg1").css("color", "red").html(''); $("#appoint_date_valid").val(result.op.appoint_date_valid) } }, error: function(xhr, status, error) { console.log(JSON.stringify(xhr, status, error)); } }); }); // var disabledDates = ["2024-02-06","2024-02-07","2024-02-08","2024-02-09","2024-02-10","2024-02-11","2024-02-12"] // $('#appointment_date').datepicker({ // beforeShowDay: function(date){ // var string = jQuery.datepicker.formatDate('yy-mm-dd', date); // return [ disabledDates.indexOf(string) == -1 ] // } // }); // $(function() { // var disabledDates = ["2024-02-09","2024-02-10","2024-02-11","2024-02-12"]; // $("#appointment_date").datepicker({ // minDate: 0, // Disable past dates // beforeShowDay: function(date) { // var currentDate = new Date(); // currentDate.setHours(0, 0, 0, 0); // var dateString = $.datepicker.formatDate('yy-mm-dd', date); // var isDisabled = disabledDates.indexOf(dateString) != -1; // return [date.getTime() > currentDate.getTime() && !isDisabled]; // Disable today's date and specific dates // } // }); // }); // disable specific date - end //country_dropdown(); /*function country_dropdown() { $.ajax({ type: "POST", url: "ktgadmin/phpservices/country_dropdown.php", success: function(result) { var d_length = result.length; var d_data = '<option value="">Select Country</option>'; for (var i = 0; i <= d_length - 1; i++) { d_data += '<option value="' + result[i]['ban_id'] + '">' + result[i][ 'title' ] + '</option>'; } $("#country_id").removeAttr("disabled"); $("#country_id").append(d_data); $("#grid-loader").hide(); } }); }*/ $("#submit").click(function(e) { e.preventDefault(); if ($("#person_name").val() == "") { $("#msg").css("color", "red").html("* Enter Name"); setTimeout(function() { $("#msg").html('') }, 3000); return false; } else if($("#sur_name").val()==""){ $("#msg").css("color","red").html("* Enter Surname"); setTimeout(function(){$("#msg").html('')},3000); return false; } else if($("#email").val()==""){ $("#msg").css("color","red").html("* Enter Email"); setTimeout(function(){$("#msg").html('')},3000); return false; } else if($("#person_phone").val()==''){ $("#msg").css("color","red").html('* Enter phone'); setTimeout(function(){$("#msg").html('')},3000); return false; } else if($("#dob").val()==''){ $("#msg").css("color","red").html('* Enter DOB'); setTimeout(function(){$("#msg").html('')},3000); return false; } else if($("#tenth_percentage").val()==''){ $("#msg").css("color","red").html('* Enter Tenth %'); setTimeout(function(){$("#msg").html('')},3000); return false; } else if($("#tenth_percentage").val()==''){ $("#msg").css("color","red").html('* Enter Tenth %'); setTimeout(function(){$("#msg").html('')},3000); return false; } else if($("#tenth_percentage").val()==''){ $("#msg").css("color","red").html('* Enter Tenth %'); setTimeout(function(){$("#msg").html('')},3000); return false; } // else if($("#twelfth_percentage").val()==''){ // $("#msg").css("color","red").html('* Enter 12th %'); // setTimeout(function(){$("#msg").html('')},3000); // return false; // } // else if($("#country_id").val()==''){ // $("#msg").css("color","red").html('* Enter Country'); // setTimeout(function(){$("#msg").html('')},3000); // return false; // } else if($("#intake_year_id").val()==''){ $("#msg").css("color","red").html('* Enter Intake Year'); setTimeout(function(){$("#msg").html('')},3000); return false; } else if($("#intake_month").val()==''){ $("#msg").css("color","red").html('* Enter Intake Month'); setTimeout(function(){$("#msg").html('')},3000); return false; } else if($("#intented_study").val()==''){ $("#msg").css("color","red").html('* Enter Intented study'); setTimeout(function(){$("#msg").html('')},3000); return false; } else if($("#appoint_date_valid").val()=='false'){ $("#msg").css("color","red").html('* Enter Valid date'); setTimeout(function(){$("#msg").html('')},3000); return false; } else { $("#req").val('INS'); $("#msg").css("color", "#fff").html("Processing . . ."); $.ajax({ type: "POST", url: "ktgadmin/phpservices/appointment_service.php", dataType: 'json', data: $("#mainform").serialize(), success: function(result) { console.log(result.op); if (result.op == 1) { //$("#msg").css("color", "#fff").html("Success... Thanks for Booking !"); // setTimeout(function(){ // window.location.href='appointment.php'; // },1500); $.ajax({ type: "POST", url: "contact_mail.php", dataType: 'json', data: $("#mainform").serialize(), success: function(result) { //console.log(result); if (result.op == true) { $("#msg").css("color", "red").html( "Success... Thanks for Booking !"); setTimeout(function() { window.location.href = "appointment.php"; }, 2000); } else { alert($("#msg").html(result.op)); } }, error: function(xhr, status, error) { console.log(JSON.stringify(xhr, status, error)); } }); } }, error: function(xhr, status, error) { console.log(JSON.stringify(xhr, status, error)); } }); } }); </script> <script type="text/javascript"> let openModalBtn = document.getElementById("openModalBtn"); let modal = document.getElementById("myModal"); let closeModalBtn = document.getElementById("closeModalBtn"); // Check if the modal has been shown before let modalShownBefore = localStorage.getItem("modalShownBefore"); if (!modalShownBefore) { modal.style.display = "block"; // Show the modal } openModalBtn.addEventListener("click", function() { modal.style.display = "block"; }); closeModalBtn.addEventListener("click", function() { modal.style.display = "none"; localStorage.setItem("modalShownBefore", true); // Set flag indicating the modal has been shown }); window.addEventListener("click", function(event) { if (event.target === modal) { modal.style.display = "none"; } }); </script>
Upload File
Create Folder