Viewing file: leadership.php (20.57 KB) -rw-rw-r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php include 'header.php';
$uname=$email=$phone='';
if($u_id!=''){
$query = "SELECT * FROM user_details where user_id=$u_id";
$Result = $con->query($query);
while ($tech = $Result->fetch_assoc()) {
$uname=$tech['name'];
$email=$tech['email'];
$phone=$tech['phone'];
}}
?>
<style>
.pageloader
{
display: none !important;
}
.modal-header .close {
padding: 1rem !important;
margin: -1rem -1rem -1rem auto !important;
}
</style>
<section class="project-banner">
<div class="container">
<div class="row">
<div class="col-12">
<div class="banner-sec">
<div class="projectheading">
<h1 style="text-transform: uppercase;">Leadership</h1>
</div>
</div>
</div>
</div>
</div>
</section>
<section>
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="why">
<h3><span>Leadership</span></h3>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-4 col-md-5 col-sm-12 col-xs-12" style="text-align: center;">
<div>
<img src="images/Aarthi_2.jpg" style="border-radius: 0%;height: 250px;width: auto;" alt="Srishti Campus internship trivandrum" title="Srishti Campus internship">
</div>
<p class="about-selection">Aarthi Asok</p>
<p class="about-selection">Designation</p>
</div>
<div class="col-lg-4 col-md-5 col-sm-12 col-xs-12" style="text-align: center;">
<div>
<img src="images/Aarthi_22.JPG" style="border-radius: 0%;height: 250px;width: auto;" alt="Srishti Campus internship trivandrum" title="Srishti Campus internship">
</div>
<p class="about-selection">Haritha H</p>
<p class="about-selection">Designation</p>
</div>
<div class="col-lg-4 col-md-5 col-sm-12 col-xs-12" style="text-align: center;">
<div>
<img src="images/Aarthi_21.png" style="border-radius: 0%;height: 250px;width: auto;" alt="Srishti Campus internship trivandrum" title="Srishti Campus internship">
</div>
<p class="about-selection">Soumya Krishnan R</p>
<p class="about-selection">Designation</p>
</div>
<div class="col-lg-2 col-md-5 col-sm-12 col-xs-12" style="text-align: center;">
</div>
<div class="col-lg-4 col-md-5 col-sm-12 col-xs-12" style="text-align: center;">
<div>
<img src="images/Aarthi_24.jpg" style="border-radius: 0%;height: 250px;width: auto;" alt="Srishti Campus internship trivandrum" title="Srishti Campus internship">
</div>
<p class="about-selection">Jithin James</p>
<p class="about-selection">Designation</p>
</div>
<div class="col-lg-4 col-md-5 col-sm-12 col-xs-12" style="text-align: center;">
<div>
<img src="images/Aarthi_23.JPG" style="border-radius: 0%;height: 250px;width: auto;" alt="Srishti Campus internship trivandrum" title="Srishti Campus internship">
</div>
<p class="about-selection">Adarsh M</p>
<p class="about-selection">Designation</p>
</div>
<div class="col-lg-2 col-md-5 col-sm-12 col-xs-12" style="text-align: center;">
</div>
</div>
<div class="eroll">
<!-- <a class="view-training entroll-training" href="online-training.php">ENROLL NOW</a> -->
</div>
</div>
</section>
<section>
</section>
<div class="modal fade" id="modalRegisterForm" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<h4 class="modal-title w-100 font-weight-bold">REQUEST FORM</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body mx-3">
<form id="demoform" method="post">
<div class="demo-upbox">
<div class="md-form mb-3">
<label for="democourse">Course</label>
<select class="form-control" id="democourse" name="democourse">
<option value="ANDROID">ANDROID</option>
<option value="PHP">PHP</option>
<option value="IOS">IOS</option>
<option value="HYBRID">HYBRID</option>
<option value="PYTHON">PYTHON</option>
<option value=".NET">.NET</option>
</select>
</div>
<div class="md-form mb-3">
<i class="fas fa-user prefix grey-text"></i> <label style="margin-left: 7px;
">Enter your name</label>
<input type="text" id="demoname" name="demoname" class="form-control" value="<?php echo $uname; ?>">
</div>
<div class="md-form mb-3">
<i class="fas fa-envelope prefix grey-text"></i><label style="margin-left: 7px;
">Enter your email</label>
<input type="email" id="demoemail" class="form-control" name="demoemail" value="<?php echo $email; ?>">
</div>
<div class="md-form mb-3">
<i class="fas fa-phone-alt prefix grey-text"></i> <label style="margin-left: 7px;
">Enter your phone number</label>
<input type="text" id="demophone" class="form-control" maxlength="10" pattern="[0-9]+" name="demophone" value="<?php echo $phone; ?>">
</div>
<div class="md-form mb-3" style="text-align: center;">
<label style="display:none;color:red;" class="demoshow-label"> You have already registerd with our website. Please login directly </label>
<input type="submit" class="get-started sign-inbtn" name="demo_submit" value="SUBMIT" style="cursor: pointer;width: 200px;">
</div>
</div>
</form>
<form id="demootpform" method="post">
<div class="demootp-enter" style="display:none;">
<div class="fields">
<div class="inputfields">
<label style="display:none;color:red;" class="demootp-label"> An OTP has been send to your mobile number. Please enter it here. </label>
<div class="form-group">
<div class="input-image"> <img src="images/icons/otp.png" alt="image"> </div>
<input type="text" name="demootp" id="demootp" class="form-control mailbox" placeholder="Enter OTP">
<label style="display:none;color:red;" class="invalid-demootp"> Please enter the correct OTP </label>
</div>
</div>
</div>
<input type="submit" class="get-started sign-inbtn" name="demootp_submit" value="VERIFY" style="cursor: pointer;">
</div>
</form>
</div>
</div>
</div>
</div>
<div class="modal fade" id="modalRegisterForm1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header text-center">
<h4 class="modal-title w-100 font-weight-bold">REQUEST FORM</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body mx-3">
<form id="internform" method="post">
<div class="intern-upbox">
<div class="md-form mb-3">
<label for="exampleFormControlSelect1">Course</label>
<select class="form-control" id="interncourse" name="interncourse">
<option value="One Week Internship(FREE)">One Week Internship(FREE)</option>
<option value="Two Week Internship(NOVICE)">Two Week Internship(NOVICE)</option>
<option value="1-2 months Internship(MASTER)">1-2 months Internship(MASTER)</option>
<option value="5 day package(PREMIUM)">5 day package(PREMIUM)</option>
</select>
</div>
<div class="md-form mb-3">
<i class="fas fa-user prefix grey-text"></i> <label style="margin-left: 7px;
">Enter your name</label>
<input type="text" id="internname" name="internname" class="form-control" value="<?php echo $uname; ?>">
</div>
<div class="md-form mb-3">
<i class="fas fa-envelope prefix grey-text"></i><label style="margin-left: 7px;
">Enter your email</label>
<input type="email" id="internemail" class="form-control" name="internemail" value="<?php echo $email; ?>">
</div>
<div class="md-form mb-3">
<i class="fas fa-phone-alt prefix grey-text"></i> <label style="margin-left: 7px;
">Enter your phone number</label>
<input type="number" maxlength="10" pattern="[0-9]+" id="internphone" class="form-control" name="internphone" value="<?php echo $phone; ?>">
</div>
<div class="md-form mb-3" style="text-align: center;">
<label style="display:none;color:red;" class="internshow-label"> You have already registerd with our website. Please login directly </label>
<input type="submit" class="get-started sign-inbtn" name="intern_submit" value="SUBMIT" style="cursor: pointer;width: 200px;">
</div>
</div>
</form>
<form id="internotpform" method="post">
<div class="internotp-enter" style="display:none;">
<div class="fields">
<div class="inputfields">
<label style="display:none;color:red;" class="internotp-label"> An OTP has been send to your mobile number. Please enter it here. </label>
<div class="form-group">
<div class="input-image"> <img src="images/icons/otp.png" alt="image"> </div>
<input type="text" name="internotp" id="internotp" class="form-control mailbox" placeholder="Enter OTP">
<label style="display:none;color:red;" class="invalid-internotp"> Please enter the correct OTP </label>
</div>
</div>
</div>
<input type="submit" class="get-started sign-inbtn" name="internotp_submit" value="VERIFY" style="cursor: pointer;">
</div>
</form>
</div>
</div>
</div>
</div>
<?php include 'footer.php'; ?>
<script type="text/javascript">
$(document).ready(function () {
$(".pageloader").hide();
$(".btn1").click(function () {
//this is change select value 1
$('#interncourse').val('One Week Internship(FREE)').trigger('change');
});
$(".btn2").click(function () {
//
//this is change select value 1
$('#interncourse').val('Two Week Internship(NOVICE)').trigger('change');
});
$(".btn3").click(function () {
//
//this is change select value 1
$('#interncourse').val('1-2 months Internship(MASTER)').trigger('change');
});
$(".btn4").click(function () {
//
//this is change select value 1
$('#interncourse').val('5 day package(PREMIUM)').trigger('change');
});
$("#demoform").validate({
onkeyup: function (el, e) {
$(el).valid();
},
rules: {
"demoname": {
required: true
},
"demophone": {
required: true,
validate_phone: true
},
"demoemail": {
required: true,
validate_email: true
}
},
submitHandler: function (form, e) {
$('#pageloaddiv').show();
var data = {
name: $("#demoname").val(),
phone: $("#demophone").val(),
email: $("#demoemail").val(),
course : $("#democourse").val(),
type :'demo'
}
$.ajax({
url: 'save_request.php',
type: "POST",
data: data,
success: function (response) {
$('#pageloaddiv').hide();
if (response == 1) {
$(".demo-upbox").hide();
$(".demootp-enter").show();
$(".demootp-label").show();
}
if (response == 0) {
$(".demo-upbox").show();
$(".demoshow-label").show();
}
if (response == 3) {
$('#modalRegisterForm').modal('hide');
swal({title: "",
type: "success",
text: "Your request submitted successfully! Thank you for contacting us. Our team will be in touch with you soon!"});
}
if (response == 2) {
alert('Something went wrong');
}
}
});
}
});
$("#demootpform").validate({
rules: {
"demootp": {
required: true
}
},
submitHandler: function (form, e) {
$('#pageloaddiv').show();
var data = {
otp: $("#demootp").val()
}
$.ajax({
url: 'save_request.php',
type: "POST",
data: data,
success: function (response) {
if (response == 1 || response == 2) {
$('#modalRegisterForm').modal('hide');
swal({
title: "",
type: "success",
text: "Your request submitted successfully! Thank you for contacting us. Our team will be in touch with you soon!",
confirmButtonColor: "#00B4B4"
},function() {
window.location.href = "internship.php";
});
}
if (response == 0) {
$('#pageloaddiv').hide();
$(".demootp-enter").show();
$(".invalid-demootp").show();
}
}
});
}
});
$("#internform").validate({
onkeyup: function (el, e) {
$(el).valid();
},
rules: {
"internname": {
required: true
},
"internphone": {
required: true,
validate_phone: true
},
"internemail": {
required: true,
validate_email: true
}
},
submitHandler: function (form, e) {
$('#pageloaddiv').show();
var data = {
name: $("#internname").val(),
phone: $("#internphone").val(),
email: $("#internemail").val(),
course : $("#interncourse").val(),
type :'intern'
}
$.ajax({
url: 'save_request.php',
type: "POST",
data: data,
success: function (response) {
$('#pageloaddiv').hide();
if (response == 1) {
$(".intern-upbox").hide();
$(".internotp-enter").show();
$(".internotp-label").show();
}
if (response == 0) {
$(".intern-upbox").show();
$(".internshow-label").show();
}
if (response == 3) {
$('#modalRegisterForm').modal('hide');
swal({title: "",
type: "success",
text: "Your request submitted successfully! Thank you for contacting us. Our team will be in touch with you soon!"});
}
if (response == 2) {
alert('Something went wrong');
}
}
});
}
});
$("#internotpform").validate({
rules: {
"internotp": {
required: true
}
},
submitHandler: function (form, e) {
$('#pageloaddiv').show();
var data = {
otp: $("#internotp").val()
}
$.ajax({
url: 'save_request.php',
type: "POST",
data: data,
success: function (response) {
if (response == 1 || response == 2) {
$('#modalRegisterForm').modal('hide');
swal({
title: "",
type: "success",
text: "Your request submitted successfully! Thank you for contacting us. Our team will be in touch with you soon!",
confirmButtonColor: "#00B4B4"
},function() {
window.location.href = "internship.php";
});
}
if (response == 0) {
$('#pageloaddiv').hide();
$(".internotp-enter").show();
$(".invalid-internotp").show();
}
}
});
}
});
});
</script>
|