567 lines
22 KiB
PHP
567 lines
22 KiB
PHP
|
@extends(env("CLIENT_PATH").".welcome")
|
||
|
@section("content")
|
||
|
|
||
|
<header>
|
||
|
<div class="container">
|
||
|
<img src="<?php echo site_url(); ?>presidential/assets/images/office.jpg" alt="cover-image" class="img-fluid" />
|
||
|
</div>
|
||
|
</header>
|
||
|
|
||
|
<section class="main">
|
||
|
<div class="container">
|
||
|
<div class="form-box">
|
||
|
|
||
|
<form method="post" action="#" id="enquiry-form">
|
||
|
@csrf
|
||
|
<input type="hidden" name="sources_id" value="2" />
|
||
|
<input type="hidden" name="campaigns_id" value="2" />
|
||
|
<input type="hidden" name="countries_id" value="4" />
|
||
|
|
||
|
|
||
|
<div class="titlebox">
|
||
|
<h2>
|
||
|
PERSONAL INFORMATION
|
||
|
</h2>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12 col-md-12">
|
||
|
<div class="form-row">
|
||
|
|
||
|
<div class="col-lg-2 col-md-3"><label for="from-name">Name:</label><span class="required-input">*</span></div>
|
||
|
|
||
|
<div class="col-lg-10 col-md-9">
|
||
|
<div class="form-group">
|
||
|
<input class="form-control" type="text" id="from-name" name="name" required="">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-4 col-md-4">
|
||
|
<label for="from-dob">Date of Birth:<span class="required-input">*</span></label>
|
||
|
</div>
|
||
|
<div class="col-lg-8 col-md-8">
|
||
|
<div class="form-group">
|
||
|
<input class="form-control" type="text" id="from-dob" name="dob" required="">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-4"><label for="from-name">Gender:</label><span class="required-input">*</span></div>
|
||
|
<div class="col-lg-8">
|
||
|
<div class="form-check form-check-inline">
|
||
|
<input class="form-check-input" type="radio" id="inlineCheckbox1" name="gender" value="male">
|
||
|
<label class="form-check-label" for="inlineCheckbox1">Male</label>
|
||
|
</div>
|
||
|
<div class="form-check form-check-inline">
|
||
|
<input class="form-check-input" type="radio" id="inlineCheckbox2" name="gender" value="female">
|
||
|
<label class="form-check-label" for="inlineCheckbox2">Female</label>
|
||
|
</div>
|
||
|
<div class="form-check form-check-inline">
|
||
|
<input class="form-check-input" type="radio" id="inlineCheckbox3" name="gender" value="others">
|
||
|
<label class="form-check-label" for="inlineCheckbox3">Others</label>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-4"><label for="from-name">Marital Status:</label><span class="required-input">*</span></div>
|
||
|
<div class="col-lg-8">
|
||
|
<div class="form-check form-check-inline">
|
||
|
<input class="form-check-input" type="radio" id="married" name="marital_status" value="married">
|
||
|
<label class="form-check-label" for="married">Married</label>
|
||
|
</div>
|
||
|
<div class="form-check form-check-inline">
|
||
|
<input class="form-check-input" type="radio" id="unmarried" name="marital_status" value="unmarried">
|
||
|
<label class="form-check-label" for="unmarried">Unmarried</label>
|
||
|
</div>
|
||
|
<div class="form-check form-check-inline">
|
||
|
<input class="form-check-input" type="radio" id="divorced" name="marital_status" value="divorced">
|
||
|
<label class="form-check-label" for="divorced">Divorced</label>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-4">
|
||
|
<label for="from-mobile">Tel/Mob Number</label><span class="required-input">*</span>
|
||
|
</div>
|
||
|
<div class="col-lg-8">
|
||
|
<div class="form-group">
|
||
|
<div class="input-group">
|
||
|
<input class="form-control" type="text" id="from-mobile" name="mobile" required="">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-4"><label for="from-email">Email:</label><span class="required-input">*</span></div>
|
||
|
<div class="col-lg-8">
|
||
|
<div class="form-group">
|
||
|
<input class="form-control" type="email" id="from-email" name="email" required="">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-4 col-md-4"> <label for="from-address">Address</label><span class="required-input">*</span></div>
|
||
|
<div class="col-lg-8 col-md-8">
|
||
|
<div class="form-group">
|
||
|
<input class="form-control" type="text" id="from-address" name="address" required="">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-4 col-md-4"> <label for="from-phone">Guardian's name</label><span class="required-input">*</span></div>
|
||
|
<div class="col-lg-8 col-md-8">
|
||
|
<div class="form-group">
|
||
|
<input class="form-control" type="text" id="from-address" name="guardian_name" required="">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-4 col-md-4"> <label for="from-phone">Contact:</label><span class="required-input">*</span></div>
|
||
|
<div class="col-lg-8 col-md-8">
|
||
|
<div class="form-group">
|
||
|
<input class="form-control" type="text" id="from-phone" name="phone" required="">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-12 col-md-12">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-3 col-md-3"> <label for="from-phone">Have you applied any country?</label></div>
|
||
|
<div class="col-lg-9 col-md-9">
|
||
|
<div class="form-group">
|
||
|
<input class="form-control" type="text" id="from-address" name="applied_before">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
<div class="tabletitle">
|
||
|
<h2>
|
||
|
ACADEMIC DETAILS
|
||
|
</h2>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<table class="table table-bordered table-responsive">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th scope="col">Degree Obtained</th>
|
||
|
<th scope="col">Major</th>
|
||
|
<th scope="col">Institution</th>
|
||
|
<th scope="col">Score/GPA</th>
|
||
|
<th scope="col">Passed Year</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<th scope="row">SLC / SEE</th>
|
||
|
<td> </td>
|
||
|
<td> <input class="form-control" type="text" id="from-address" name="see_school"></td>
|
||
|
<td> <input class="form-control" type="text" id="from-address" name="see_grade"></td>
|
||
|
<td> <input class="form-control" type="text" id="from-address" name="see_year"></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th scope="row">10+2/CTEVT/PCT</th>
|
||
|
<td> <input class="form-control" type="text" id="from-address" name="plus2_stream"></td>
|
||
|
<td> <input class="form-control" type="text" id="from-address" name="plus2_college"></td>
|
||
|
<td> <input class="form-control" type="text" id="from-address" name="plus2_grade"></td>
|
||
|
<td> <input class="form-control" type="text" id="from-address" name="plus2_year"></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th scope="row">Bachelor</th>
|
||
|
<td> <input class="form-control" type="text" id="from-address" name="bachelors_stream"></td>
|
||
|
<td> <input class="form-control" type="text" id="from-address" name="bachelors_college"></td>
|
||
|
<td> <input class="form-control" type="text" id="from-address" name="bachelors_grade"></td>
|
||
|
<td> <input class="form-control" type="text" id="from-address" name="bachelors_year"></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th scope="row">Master</th>
|
||
|
<td> <input class="form-control" type="text" id="from-address" name="highest_stream"></td>
|
||
|
<td> <input class="form-control" type="text" id="from-address" name="highest_college"></td>
|
||
|
<td> <input class="form-control" type="text" id="from-address" name="highest_grade"></td>
|
||
|
<td> <input class="form-control" type="text" id="from-address" name="highest_year"></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
<div class="col-lg-12 col-md-12">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-3 col-md-4"> <label for="from-phone">Work Experience:</label></div>
|
||
|
<div class="col-lg-9 col-md-8">
|
||
|
<div class="form-group">
|
||
|
<input class="form-control" type="text" id="from-address" name="experience">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-12 col-md-12 mb20">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-3 col-md-4"> <label for="from-phone">Your Country of Interest:</label></div>
|
||
|
<div class="col-lg-9 col-md-8">
|
||
|
<div class="select-group">
|
||
|
<select name="preferred_destination" class="form-control field-info">
|
||
|
<option value="" selected="" disabled="">Preferred Study Destination</option>
|
||
|
@foreach(SITEVARS->Countries as $Country)
|
||
|
|
||
|
<option value="{{$Country->country_id}}">{{$Country->title}}</option>
|
||
|
@endforeach
|
||
|
</select>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-6 col-md-6"> <label for="from-test">Test Taken:</label></div>
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="form-group">
|
||
|
<input class="form-control" type="text" id="from-test" name="preparation_class">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-4 col-md-4"> <label for="from-score">Score:</label></div>
|
||
|
<div class="col-lg-8 col-md-8">
|
||
|
<div class="form-group">
|
||
|
<input class="form-control" type="text" id="from-score" name="preparation_score">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-6 col-md-6"> <label for="from-hdykau">How did you know about us?:</label></div>
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="form-group">
|
||
|
<input class="form-control" type="text" id="from-hdykau" name="how_you_know">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-4 col-md-4"> <label for="from-ref">Reference:</label></div>
|
||
|
<div class="col-lg-8 col-md-8">
|
||
|
<div class="form-group">
|
||
|
<input class="form-control" type="text" id="from-ref" name="reference">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-6 col-md-6"> <label for="from-other">Other:</label></div>
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
<div class="form-group">
|
||
|
<input class="form-control" type="text" id="from-other" name="other">
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="form-row">
|
||
|
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
|
||
|
<div class="form-group"><label for="from-calltime">FOR OFFICIAL USE</label><span class="required-input">*</span>
|
||
|
<textarea name="message" class="form-control" rows="5"></textarea>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group ">
|
||
|
<div class="form-row">
|
||
|
<input type="hidden" name="g-recaptcha-response" value="">
|
||
|
|
||
|
<div class="col-3"><button class="btn btn-primary btn-block" type="submit" id="submitButton">Submit </button></div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
|
||
|
<?php //pre(SITEVARS->Campaigns[0]);
|
||
|
?>
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
@endsection
|
||
|
|
||
|
@push("js")
|
||
|
<script>
|
||
|
$.registration_id = 0;
|
||
|
|
||
|
$(document).ready(function() {
|
||
|
$('#enquiry-form').submit(function(e) {
|
||
|
e.preventDefault();
|
||
|
var formData = $(this).serialize();
|
||
|
|
||
|
$.ajax({
|
||
|
type: 'POST',
|
||
|
url: '<?php echo route("registration.submit"); ?>',
|
||
|
data: formData,
|
||
|
success: function(response) {
|
||
|
if (response.status == true) {
|
||
|
Swal.fire({
|
||
|
title: 'Success!',
|
||
|
text: 'Registration is successful',
|
||
|
icon: 'success',
|
||
|
html: '<p>' + response.message + '</p>' +
|
||
|
'<p>Registration ID: ' + response.registration_id + '</p>'
|
||
|
// + '<img src="{{route('pass.generate')}}?id='+response.registration_id+'" alt="Registration Image" class="img-fluid" />'
|
||
|
|
||
|
});
|
||
|
} else {
|
||
|
Swal.fire({
|
||
|
title: 'Failed!',
|
||
|
text: 'Registration Can\'t Continue',
|
||
|
icon: 'error',
|
||
|
html: '<p>' + response.message + '</p>' +
|
||
|
'<p>Registration ID: ' + response.registration_id + '</p>'
|
||
|
});
|
||
|
}
|
||
|
|
||
|
}
|
||
|
});
|
||
|
});
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
@endpush
|
||
|
|
||
|
@push("css")
|
||
|
<style>
|
||
|
* {
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
.mb10 {
|
||
|
margin-bottom: 10px;
|
||
|
}
|
||
|
|
||
|
.mb20 {
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
|
||
|
background-image: url(<?php echo template("assets/images/bg.jpg"); ?>);
|
||
|
-webkit-background-size: cover;
|
||
|
-moz-background-size: cover;
|
||
|
-o-background-size: cover;
|
||
|
background-size: cover;
|
||
|
|
||
|
}
|
||
|
|
||
|
header {
|
||
|
background-color: #FFFFFF;
|
||
|
width: 100%;
|
||
|
padding-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.main {
|
||
|
background-color: #0e5ba9;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.table {
|
||
|
background-color: #FFFFFF;
|
||
|
}
|
||
|
|
||
|
.table thead {
|
||
|
background: rgb(2,65,111);
|
||
|
background: linear-gradient(90deg, rgba(2,65,111,1) 0%, rgba(0,102,177,1) 100%);
|
||
|
color: #fff;
|
||
|
}
|
||
|
|
||
|
.titlebox h2 {
|
||
|
background: rgb(2,65,111);
|
||
|
background: linear-gradient(90deg, rgba(2,65,111,1) 0%, rgba(0,102,177,1) 100%);
|
||
|
color: #fff;
|
||
|
text-align: left;
|
||
|
margin: 10px 0px 20px 0;
|
||
|
text-transform: capitalize;
|
||
|
padding: 10px 20px;
|
||
|
font-size: 24px;
|
||
|
font-weight: 600;
|
||
|
}
|
||
|
|
||
|
.tabletitle h2 {
|
||
|
background: rgb(2,65,111);
|
||
|
background: linear-gradient(90deg, rgba(2,65,111,1) 0%, rgba(0,102,177,1) 100%);
|
||
|
color: #fff;
|
||
|
text-align: left;
|
||
|
margin: 10px 0px 0px 0;
|
||
|
text-transform: capitalize;
|
||
|
padding: 10px 20px;
|
||
|
font-size: 20px;
|
||
|
font-weight: 600;
|
||
|
}
|
||
|
|
||
|
.form-box {
|
||
|
display: block;
|
||
|
margin: 0 auto;
|
||
|
/* margin-top: 5%; */
|
||
|
/* margin-bottom: 5%; */
|
||
|
background-color: #e4f4e4;
|
||
|
width: 98%;
|
||
|
/* border-radius: 5px;
|
||
|
box-shadow: 10px 10px 0 0 #9c1e5b; */
|
||
|
}
|
||
|
|
||
|
.boximage {
|
||
|
width: 100%;
|
||
|
height: auto;
|
||
|
|
||
|
background-size: cover;
|
||
|
border-radius: 5px 5px 0 0;
|
||
|
}
|
||
|
|
||
|
.infotext {
|
||
|
width: 100%;
|
||
|
padding: 3%;
|
||
|
text-align: center;
|
||
|
color: #162c38;
|
||
|
font-family: sans-serif;
|
||
|
}
|
||
|
|
||
|
h1 {
|
||
|
font-family: 'Roboto Slab', serif;
|
||
|
font-size: 1.1em;
|
||
|
color: #162c38;
|
||
|
text-transform: uppercase;
|
||
|
}
|
||
|
|
||
|
.infotext p {
|
||
|
line-height: 1.5em;
|
||
|
letter-spacing: 0.05em;
|
||
|
}
|
||
|
|
||
|
form {
|
||
|
width: 100%;
|
||
|
padding: 5%;
|
||
|
}
|
||
|
|
||
|
.required-input {
|
||
|
color: #f00;
|
||
|
}
|
||
|
|
||
|
input {
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
border: solid 1px #ec1f28;
|
||
|
border-radius: 5px;
|
||
|
/* margin-bottom: 15px; */
|
||
|
padding: 2%;
|
||
|
font-size: 0.8em;
|
||
|
font-family: sans-serif;
|
||
|
letter-spacing: 0.1em;
|
||
|
color: #888;
|
||
|
text-align: left;
|
||
|
}
|
||
|
|
||
|
input[type=submit] {
|
||
|
border: none;
|
||
|
border-radius: 5px;
|
||
|
background-color: #a82d2d;
|
||
|
color: #fff;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
input[type=submit]:hover {
|
||
|
background-color: #711616;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.form-control {
|
||
|
height: 30px;
|
||
|
background: #fff;
|
||
|
border: 1px #0066b1 solid;
|
||
|
padding: 0 15px;
|
||
|
font-size: 16px;
|
||
|
-webkit-transition: all 0.3s ease-in-out;
|
||
|
-moz-transition: all 0.3s ease-in-out;
|
||
|
-o-transition: all 0.3s ease-in-out;
|
||
|
transition: all 0.3s ease-in-out;
|
||
|
}
|
||
|
|
||
|
.form-control:focus {
|
||
|
border-color: #00bcd9;
|
||
|
-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||
|
-moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||
|
box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
|
||
|
}
|
||
|
|
||
|
textarea.form-control {
|
||
|
height: 160px;
|
||
|
padding-top: 15px;
|
||
|
resize: none;
|
||
|
}
|
||
|
|
||
|
|
||
|
.content-column ul li {
|
||
|
|
||
|
list-style-type: disc;
|
||
|
|
||
|
margin-left: 20px;
|
||
|
|
||
|
}
|
||
|
</style>
|
||
|
@endpush
|