/
/
home
/
u523034047
/
domains
/
mehrapublicschool.com
/
public_html
Server: in-mum-web1112.main-hosting.eu (62.72.28.111)
You: 216.73.216.4
PHP 8.3.16
Dir:
/home/u523034047/domains/mehrapublicschool.com/public_html
Edit:
/home/u523034047/domains/mehrapublicschool.com/public_html/career.php
<?php include('admin/conn.php'); if(isset($_POST['sub'])) { $name = $_POST['name2']; $email = $_POST['email2']; $mobile = $_POST['mobile2']; $description = $_POST['description2']; $address = $_POST['address']; $image=$_FILES['file']['name']; $tm_dr=$_FILES['file']['tmp_name']; $allowedExts = array("pdf", "doc"); $temp = explode(".", $_FILES["file"]["name"]); $extension = end($temp); if (($_FILES["file"]["type"] == "application/pdf") || ($_FILES["file"]["type"] == "application/doc") && ($_FILES["file"]["size"] < 500000) && in_array($extension, $allowedExts)) { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br>"; } else { echo "Upload: " . $_FILES["file"]["name"] . "<br>"; echo "Type: " . $_FILES["file"]["type"] . "<br>"; echo "Size: " . ($_FILES["file"]["size"] / 1024) . " kB<br>"; echo "Temp file: " . $_FILES["file"]["tmp_name"] . "<br>"; move_uploaded_file($_FILES["file"]["tmp_name"], "admin/Career/" . $_FILES["file"]["name"]); echo "Stored in: " . "admin/Career/" . $_FILES["file"]["name"]; $sql="insert into send_resume (name,email,mobile,position,resume,address) values ('$name','$email','$mobile','$description','$image','$address')"; $query=mysqli_query($connection,$sql); header('location: thank-you.php'); } } else { echo "Invalid file"; } } ?> <!DOCTYPE html> <html lang="en" > <meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack --> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="keywords" content="Mehra Public Ramnagar, Mehra Public school Ramnagar, Mehra Public school in Ramnagar, Mehra Public, Mehra Public the global School, Best School In Ramnagar, Best School In Kumaon, Best School in Uttrakhand,Mehra Publicschool.com, Mehra Public School Ramnagar, Mehra Public school near nainital "/> <meta name="description" content="Mehra Public means gold, the valuable asset that glows and grows day by day. The Global stands for the plenary family of human beings and together we are ingrained and commend the ambience, heart and soul of our school. " /> <title>Career - Mehra Public School- ramnagar</title> <base /> <!--Favicon Icon--> <link href="images/logo.png" rel="shortcut icon" type="image/x-icon"> <meta name="msapplication-TileColor" content="#464646"> <meta name="theme-color" content="#464646" /> <!--stylesheet--> <link href="maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" > <link href="https://fonts.googleapis.com/css?family=Oswald:200,300,400,500,600,700|Ruda:400,700,900" rel="stylesheet"> <link rel="stylesheet" href="css/style.css" type="text/css"> <link rel="stylesheet" href="css/menu.css" type="text/css"> <link rel="stylesheet" href="css/form.css" type="text/css"> <link rel="stylesheet" href="css/responsive.css" type="text/css"> <link href="css/flickity.css" rel="stylesheet" type="text/css" /> <link href="scss/style.css" rel="stylesheet" type="text/css" /> <link href="css/blog-page.css" rel="stylesheet"> <!-- <script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.min.js"></script> --> <script src="js/js_slider/jquery-1.7.1.min.js" type="text/javascript"></script> <!--home page slider--> <link rel="stylesheet" href="css/iview.css" /> <script src="js/js_slider/jquery.magnific-popup.min.js" type="text/javascript"></script> <script type="text/javascript" src="js/js_slider/raphael-min.js"></script> <script type="text/javascript" src="js/js_slider/jquery.easing.js"></script> <script type="text/javascript" src="js/js_slider/iview.js"></script> <script type="text/javascript" src="js/js_slider/jquery.fullscreen.js"></script> <script type="text/javascript" src="cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.carousel.min.js"></script> <link rel="stylesheet" href="cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.carousel.min.css"> <script src="js/flickity.pkgd.min.js" type="text/javascript"></script> <script src="js/script.js"></script> <script src="js/slick.js"></script> <link href="css/slick.css" rel="stylesheet"> <link href="css/lightgallery.css" rel="stylesheet"> <link href="css/slick-theme.css" rel="stylesheet"> <link href="css/fee-structure.css" rel="stylesheet"> </head> <body> <?php include ('menu.php');?> <section> <div class="inner_container clr"> <h2 class="inner_main-heading"> Career At Mehra Public School - Apply For Jobs </h2> <div class="career_left"> <?php $sql="select * from post_vacancy"; $query=mysqli_query($connection,$sql); $count=1; while($res = mysqli_fetch_array($query)){ ?> <ul> <!-- --> <li> <h5><?php echo $res['Title'];?> </h5> <p class="large-text"><?php echo $res['Qualification'];?> </p> </li> <?php } ?> </ul></div> <div class="career_left"> <form action="#" method='post' enctype='multipart/form-data' class="sky-form"> <header>Application form</header> <fieldset> <div class="row"> <section class="col col-6"> <label class="input"> <i class="icon-prepend icon-user"></i> <input type="text" placeholder="Full name" class="fname" name="name2"> </label> </section> </div> <div class="row"> <section class="col col-6"> <label class="input"> <i class="icon-prepend icon-envelope-alt"></i> <input type="email" placeholder="E-mail" class="email" name="email2"> </label> </section> <section class="col col-6"> <label class="input"> <i class="icon-prepend icon-phone"></i> <input type="tel" placeholder="Phone" name="mobile2" class="phone" oninput="this.value=this.value.replace(/[^\d]/,'')" maxlength="10"> </label> </section> </div> </fieldset> <fieldset> <section> <label for="file" class="input"> <input type="text" placeholder="Address" class="address" name="address"> </label> </section> </fieldset> <fieldset> <section> <div class="inline-group"> <label class="checkbox"><input type="checkbox" name="radio-inline" class="experience"><i></i> Have Work Experience? </label> </div> </section> <section class="exp-div" style="margin-top: -10px"> <label class="input"> <input type="text" placeholder="Enter Experience Duration (Eg: 1 Year 6 Months)" class="wExp"> </label> </section> <section> <label class="select"> <select class="jobtype"> <option value="0">Select Job type</option> <option value="3">PRT</option> <option value="4">TGT</option> <option value="5">PGT</option> </select> <i></i> </label> </section> </fieldset> <fieldset> <section> <label for="file" class="input input-file"> <div> <input type="file" name="file" title="Upload Resume" text="Upload Resume"> <span class="upr_sta">Upload Resume</span> <ul> <li>Only (PDF, DOCS, JPG, JPEG, PNG) Format/Extension Are Acceptable.</li> <li>File Size Must Be Less Than 5MB.</li> </ul> </div> </label> </section> <section> <label class="textarea"> <textarea rows="3" title="Job Description" Placeholder="Job Description" class="jobDesc" name="description2"></textarea> </label> </section> </fieldset> <fieldset style="background: #d46161; color:#fff; display: none;" class="error-box"> <section> <div class="inline-group"> <strong>Error: Please Review The Error</strong> <p class="error">This Is The Error</p> </div> </section> </fieldset> <fieldset style="background: #49966f; color:#fff; display: none;" class="success-box"> <section> <div class="inline-group"> <strong>Thank You: Your Application Has Been Submitted.</strong> <p class="success-message"></p> </div> </section> </fieldset> <footer> <button type="submit" class="button apply" style="border-radius: 3px;" name="sub">Apply Now</button> <button class="button waitBtn" onclick="return false" style="opacity:0.5;display: none; cursor: no-drop;border-radius: 3px;">Processing <i class="fa fa-spin fa-circle-o-notch" aria-hidden="true"></i></button> <button class="button" style="background: green;display:none;border-radius: 3px;" onclick="return false">Success <i class="fa fa-check" aria-hidden="true"></i></button> </footer> </form> </div> <div class="career_right"> <img src="images/career_f.png" alt="" /> </div> <style type="text/css"> .pageLoaderDiv{ display: none; width: 100%; height: 100vh; position: fixed; top: 0; left: 0; z-index: 999999; background-color: #909090a6; animation-name: scaleZtO; animation-iteration-count: 1; } .inPageLoaderDiv{ position: absolute; height: fit-content; width: fit-content; top: 0; bottom: 0; left: 0; right:0; margin: auto; color: #f8a724; } </style> <div class="pageLoaderDiv"> <div class="inPageLoaderDiv"> <i class="fa fa-spinner fa-spin" style="font-size:30px"></i> </div> </div> <style type="text/css"> .msgBox{ width: 100%; height: 100vh; background-color: #000000c5; position: fixed; top: 0; left: 0; z-index: 9999999; display: none; } .msgBox2 { width: 100%; height: 100vh; background-color: #000000c5; position: fixed; top: 0; left: 0; z-index: 999999; display: none; } .msgBoxB , .msgBoxB2{ width: 40%; height: fit-content; max-height: 90%; overflow: scroll; margin:auto; padding: 20px 35px; box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.5); background-color: #fff; box-sizing: border-box; animation-name: scaleZtO; animation-duration: 0.2s; position: inherit; top: 0; left: 0; right: 0; bottom: 0; } .msgBoxB::-webkit-scrollbar { display: none; } .msgBoxB2::-webkit-scrollbar { display: none; } .msgBoxH , .msgBoxH2{ position: relative; width: 100%; margin-bottom: 10px; } .msgBoxH p{ margin-bottom: 0px; } .msgDHeadTxt h1, .msgDHeadTxt h2, .msgDHeadTxt h3, .msgDHeadTxt h4, .msgDHeadTxt h5, .msgDHeadTxt h6{ font-size: 25px; padding: 10px 0px; } .cmsgBox , .cmsgBox2{ position: absolute; right: 0; top: 0; z-index: 99999999999; background-color: #fff; outline: none; border:1px solid #d05f5f; transition: 0.2s ease-in-out; color: #d05f5f; cursor: pointer; padding:5px; } .cmsgBox:hover{ background-color: #d05f5f; color: #fff; } .cmsgBox2:hover{ background-color: #d05f5f; color: #fff; } .msgBoxC{ padding: 15px 0px; } .whatsAppBtn{ padding: 10px; font-size: 13px; text-align: center; text-decoration: none; color: #4fa54f; border:1px solid #4fa54f; transition: 0.2s ease-in-out; } .whatsAppBtn:hover{ color: #fff; background: #4fa54f; } @media screen and (max-width:768px) { .msgBoxB , .msgBoxB2{ width: 90%; } } </style> <div class="msgBox"> <div class="msgBoxB"> <div class="msgBoxH"> <p> <span class="msgDHeadTxt"></span> <button class="btn btn-xs btn-icon btn-danger cmsgBox" style="float: right;margin-top: 0px" onclick="hidePop()">X</button> </p> </div> <div class="msgBoxC"> <div style="width: 100%;text-align: center;line-height: 40vh"> <i class="fa fa-spinner fa-spin" style="font-size:24px"></i> </div> </div> </div> </div> <script type="text/javascript"> function hidePop(){ $('.msgBoxC').html('<div style="width: 100%;text-align: center;line-height: 40vh"><i class="fa fa-spinner fa-spin" style="font-size:24px"></i> </div>') $('.msgBox').fadeOut(); } </script> </div> </section> <script type="text/javascript"> $('.jobtype').on('change',function(){ shOthSec(); }) shOthSec(); function shOthSec(){ var jobtype = $('.jobtype').find(':selected').val(); if(jobtype == 'others' || jobtype == 'Others'){ $('.other-sec').slideDown(); }else{ $('.other-sec').slideUp(); } } $('.experience').on('click',function(){ shExpDiv(); }) shExpDiv(); function shExpDiv(){ if($('.experience').is(':checked')){ $('.exp-div').slideDown(); }else{ $('.exp-div').slideUp(); } } </script><section class="count-down"> <div class="container"> <div class="clr"></div> </div> </section> <!--footer--> <footer> <?php include ('footer.php');?> </footer> <!--Gallery---> <script src="js/gallery/lg-fullscreen.min.js"></script> <script src="js/gallery/lightgallery.js"></script> <script src="js/gallery/picturefill.min.js"></script> <!-- <script src="https://cdn.jsdelivr.net/picturefill/2.3.1/picturefill.min.js"></script> --> <script>lightGallery(document.getElementById('lightgallery'));</script> <!-- <link href="https://cdn.rawgit.com/sachinchoolur/lightgallery.js/master/dist/css/lightgallery.css" rel="stylesheet"> --> <!--aso file call---> <link href="aso/aos.css" rel="stylesheet" type="text/css" /> <script src="aso/aos.js" type="text/javascript"></script> <script> AOS.init({ easing: 'ease-in-out-sine' }); </script> </body> </html>
Ukuran: 14.0 KB