first commit

This commit is contained in:
2024-04-16 15:43:24 +05:45
commit b49e06fa93
4387 changed files with 543889 additions and 0 deletions

View File

@ -0,0 +1,203 @@
@extends(env("CLIENT_PATH").".welcome")
@section("content")
<div class="form-box">
<div class="infotext">
<h1> Visitor Confirmation</h1>
<h5>Welcome <?php echo $data->name; ?></h5>
</div>
<form>
@csrf
<div class="form-row">
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
<div class="form-group"><label for="from-name">Name</label><span class="required-input">*</span>
<input class="form-control" type="text" id="from-name" name="name" required="" disabled value="<?php echo $data->name; ?>">
</div>
</div>
</div>
<div class="form-row">
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
<div class="form-group"><label for="from-email">Email</label><span class="required-input">*</span>
<input class="form-control" type="email" value="<?php echo $data->email; ?>" id="from-email" name="email" required="" disabled>
</div>
</div>
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
<div class="form-group"><label for="from-phone">Mobile Number</label><span class="required-input">*</span>
<div class="input-group">
<input class="form-control" type="text" value="<?php echo $data->mobile; ?>" id="from-phone" name="mobile" required="" disabled>
</div>
</div>
</div>
</div>
<div class="form-row">
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
<div class="form-group"><label for="from-qualifications">Highest Qualification</label><span class="required-input">*</span>
<input class="form-control" type="text" value="<?php echo $data->highest_qualification; ?>" id="from-qualifications" name="from-qualifications" required="" disabled>
</div>
</div>
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
<div class="form-group"><label for="board">University / Board:</label><span class="required-input">*</span>
<div class="input-group">
<input class="form-control" type="text" value="<?php echo $data->highest_college; ?>" required="" disabled>
</div>
</div>
</div>
</div>
<div class="form-row">
<div class="col-md-12">
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label><span class="required-input">*</span>
<div class="select-group">
<input class="form-control" type="text" value="<?php echo $data->intrested_for_country; ?>" required="" disabled>
</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">Message / Enquiry</label><span class="required-input">*</span>
<input class="form-control" type="text" value="<?php echo $data->remarks; ?>" required="" disabled>
</div>
</div>
</div>
<div class="form-group">
<div class="form-row">
<input type="hidden" name="g-recaptcha-response" value="">
<div class="col"><a class="btn btn-success btn-block" href="<?php echo route("home"); ?>">Visitor Confirmed <i class="fa fa-chevron-circle-right"></i></a></div>
</div>
</div>
</div>
</form>
</div>
@endsection
@push("css")
<style>
* {
box-sizing: border-box;
}
body {
background-image: url(<?php echo site_url("lms/assets/images/bg.jpg"); ?>);
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.form-box {
display: block;
margin: 0 auto;
margin-top: 5%;
margin-bottom: 5%;
background-color: white;
width: 98%;
border-radius: 5px;
box-shadow: 10px 10px 0 0 #083079;
}
.boximage {
width: 100%;
height: auto;
background-size: cover;
border-radius: 5px 5px 0 0;
}
.infotext {
width: 100%;
padding: 3%;
text-align: center;
color: #fff;
font-family: sans-serif;
background: #1951b8;
}
h1 {
font-family: 'Roboto Slab', serif;
font-size: 1.8em;
color: #fff;
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 #bbb7b7;
border-radius: 5px;
margin-bottom: 15px;
padding: 2%;
font-size: .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: 50px;
background: #ecf0f4;
border-color: transparent;
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

View File

@ -0,0 +1,6 @@
<p>A new registration has been created:</p>
<ul>
<li>Name: {{ $registration->name }}</li>
<li>Email: {{ $registration->email }}</li>
<li>Mobile: {{ $registration->mobile }}</li>
</ul>

View File

@ -0,0 +1,34 @@
@extends('emails.email-template')
@section('content')
<h1>Registration Successful - Abroad Study Processing</h1>
<p>Dear {{ $formData['name'] }},,</p>
<p>Congratulations! Your registration for the Abroad Study Processing has been successfully received, and we are thrilled to welcome you to this exciting journey toward international education.</p>
<strong>Registration Details:</strong>
<ul>
<li><strong>Name:</strong> {{ $formData['name'] }}</li>
<li><strong>Email:</strong> {{ $formData['email'] }}</li>
<li><strong>Phone:</strong> {{ $formData['mobile'] }}</li>
</ul>
<p>Thank you for choosing to explore global opportunities with us. Our team is dedicated to providing you with the best support and guidance as you navigate the process of studying abroad.</p>
<strong>Next Steps:</strong>
<p>Our experienced team will now review your information and initiate the necessary steps for your abroad study processing. Be prepared for an enriching experience that goes beyond borders.</p>
<strong>Stay Connected:</strong>
<p>We will keep you updated on the progress of your application and provide any additional information or support you may need. Feel free to reach out to us at [Your Contact Information] for any queries or assistance.</p>
<strong>Exciting Opportunities Await:</strong>
<p>Get ready to embark on a transformative journey, where new horizons and endless possibilities await. Studying abroad opens doors to unique experiences, cultural enrichment, and academic excellence.</p>
<p>Once again, congratulations on taking this significant step toward your academic and personal growth. We are here to support you every step of the way.</p>
<p>Best regards,</p>
<p></p>
@endsection

View File

View File

@ -0,0 +1,340 @@
@extends(env("CLIENT_PATH").".welcome")
@section("content")
@if(session('registration_error'))
<script>window.alert('{{ session("registration_error") }}');</script>
@endif
<div class="form-box">
<div class="boximage">
<?php if (SITEVARS->Campaigns[0]->cover_photo!="") : ?>
<img src="<?php echo site_url(SITEVARS->Campaigns[0]->cover_photo); ?>" class="img-fluid" />
<?php else : ?>
<img src="{!! template('assets/images/banner.jpg')!!}" class="img-fluid" />
<?php endif; ?>
</div>
<!-- <div class="infotext">
<h1> <?php //echo SITEVARS->Campaigns[0]->title;
?></h1>
</div> -->
<form method="post" action="#" id="enquiry-form">
@csrf
<input type="hidden" name="sources_id" value="3" />
<input type="hidden" name="campaigns_id" value="<?php echo SITEVARS->Campaigns[0]->campaign_id; ?>" />
<div class="form-row">
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
<div class="form-group"><label for="from-name">Name</label><span class="required-input">*</span>
<input class="form-control" type="text" id="from-name" name="name" required="">
</div>
</div>
</div>
<div class="form-row">
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
<div class="form-group"><label for="from-email">Email</label><span class="required-input">*</span>
<input class="form-control" type="email" id="from-email" name="email" required="">
</div>
</div>
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
<div class="form-group"><label for="from-phone">Mobile Number</label><span class="required-input">*</span>
<div class="input-group">
<input class="form-control" type="text" id="from-phone" name="mobile" required="">
</div>
</div>
</div>
</div>
<div class="form-row">
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
<div class="form-group"><label for="from-qualifications">Highest Qualification</label><span class="required-input">*</span>
<select class="form-control" id="from-qualifications" type="text" name="qualification" required="">
<option value="">Select Qualification</option>
<option value="SEE/SLC">SEE/SLC</option>
<option value="A levels">A levels</option>
<option value="10+2/PCL">10+2/PCL</option>
<option value="Bachelors (3 years)">Bachelors (3 Years)</option>
<option value="Bachelors (4 years)">Bachelors (4 Years)</option>
<option value="Master's and Above">Master's and Above</option>
</select>
</div>
</div>
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
<div class="form-group"><label for="board">University / Board:</label><span class="required-input">*</span>
<div class="input-group">
<input class="form-control" type="text" id="board" name="board" required="" autocomplete="off">
</div>
</div>
</div>
</div>
<div class="form-row">
<div class="col-md-12">
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label><span class="required-input">*</span>
<div class="select-group">
<select name="preferred_destination" class="form-control field-info" required="">
<option value="" selected="" disabled="">Preferred Study Destination *</option>
<option value="study-in-australia">Study in Australia</option>
<option value="study-in-new-zealand">Study in New Zealand</option>
<option value="study-in-canada">Study in Canada</option>
<option value="study-in-uk">Study in UK</option>
<option value="study-in-usa">Study in USA</option>
<option value="other">Others</option>
</select>
</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">Message / Enquiry</label><span class="required-input">*</span>
<textarea name="message" class="form-control" rows="5" re></textarea>
</div>
</div>
</div>
<div class="form-group">
<div class="form-row">
<input type="hidden" name="g-recaptcha-response" value="">
<div class="col"><button class="btn btn-success btn-block" type="submit" id="submitButton">Get Admit Pass <i class="fa fa-chevron-circle-right"></i></button></div>
</div>
</div>
</div>
</form>
<?php //pre(SITEVARS->Campaigns[0]);
?>
<div class="modal fade" id="success-modal" tabindex="-1" role="dialog" aria-labelledby="success-modal-label" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header" style="display: none;">
<h5 class="modal-title" id="success-modal-label">Success</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div id="modal-text-area">
</div>
<div id="success-modal-qr">
</div>
<div id="canvas-area">
</div>
</div>
<div class="modal-footer">
<button type="button" id="downloadButton" class="btn btn-success full-width" style="width: 100%;">Download : Presidential Pass</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="error-modal" tabindex="-1" role="dialog" aria-labelledby="error-modal-label" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="error-modal-label">Form Validation Errors</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<!-- Error messages will be displayed here -->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
@endsection
@push("js")
<script>
$(document).ready(function() {
$('#enquiry-form').submit(function(e) {
e.preventDefault();
var formData = $(this).serialize();
var response = "";
$.ajax({
type: 'POST',
url: '<?php echo route("registration.submit"); ?>',
data: formData,
success: function(response) {
// fbq('trackCustom', 'EventRegistration', {promotion: 'astro_solutions'});
fbq('track', 'PageView');
if (response.status) {
$('#registration-id').text(response.registration_id);
$('#success-modal-label').text("Registration is successful");
$('#success-modal-qr').html("<p class='text-center' style=' text-align: center!important;background-color: #830404;color: white;padding: 10px;font-weight: 600;'>Please download/save this PRESIDENTIAL PASS. You must present this to participate in the event.</p><img src='" + response.qr_code + "' class='img-fluid' />");
var downloadLink = document.createElement('a');
downloadLink.href = response.qr_code;
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
// downloadLink.click();
$('#success-modal').modal('show');
$form[0].reset();
} else if (response.message == 'Mobile number already exists. Returning existing data.') {
var existingRegistrationData = response.registration;
//$('#modal-text-area').html(JSON.stringify(existingRegistrationData));
var downloadLink = document.createElement('a');
downloadLink.href = response.qr_code;
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
//downloadLink.click();
$('#success-modal-label').text(response.message);
$('#success-modal-qr').html("<img src='" + response.qr_code + "' class='img-fluid' />");
$('#success-modal').modal('show');
} else {
var errorMessages = '';
$.each(response.errors, function(field, errors) {
errorMessages += errors.join('<br>');
});
$('#error-modal .modal-body').html(errorMessages);
$('#error-modal').modal('show');
}
}
});
});
$('#success-modal').on('hidden.bs.modal', function() {
$('#enquiry-form')[0].reset(); // Reset the form
});
$('#downloadButton').on('click', function() {
// Trigger the download when the button is clicked
var downloadLink = document.createElement('a');
downloadLink.href = $('#success-modal-qr img').attr('src');
downloadLink.download = 'presidential_astro_solutions_qr_code.png';
downloadLink.click();
});
});
</script>
@endpush
@push("css")
<style>
* {
box-sizing: border-box;
}
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;
}
.form-box {
display: block;
margin: 0 auto;
margin-top: 5%;
margin-bottom: 5%;
background-color: white;
width: 98%;
border-radius: 5px;
box-shadow: 10px 10px 0 0 #083079;
}
.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 #bbb7b7;
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: 50px;
background: #ecf0f4;
border-color: transparent;
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

View File

@ -0,0 +1 @@
@include(env("CLIENT_PATH").".home")

View File

@ -0,0 +1,5 @@
@extends(env("CLIENT_PATH").".welcome")
@section("content")
THis is page loaded for office reception / staffs
@include(env("CLIENT_PATH").".form")
@endsection

View File

@ -0,0 +1,328 @@
@extends(env("CLIENT_PATH").".welcome")
@section("content")
<div class="form-box">
<div class="boximage">
<!-- <img src="<?php //echo site_url(SITEVARS->Campaigns[0]->cover_photo);?>" class="img-fluid" /> -->
<img src="<?php echo site_url();?>/presidential/fb_cover.png" alt="cover-image" class="img-fluid" />
</div>
<!-- <div class="infotext">
<h1> <?php //echo SITEVARS->Campaigns[0]->title;?></h1>
</div> -->
<form method="post" action="#" id="enquiry-form">
@csrf
<input type="hidden" name="sources_id" value="2" />
<input type="hidden" name="campaigns_id" value="<?php echo SITEVARS->Campaigns[0]->campaign_id; ?>" />
<div class="form-row">
<div class="col-12 col-sm-12 col-md-12 col-lg-12">
<div class="form-group"><label for="from-name">Name</label><span class="required-input">*</span>
<input class="form-control" type="text" id="from-name" name="name" required="">
</div>
</div>
</div>
<div class="form-row">
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
<div class="form-group"><label for="from-email">Email</label><span class="required-input">*</span>
<input class="form-control" type="email" id="from-email" name="email" required="">
</div>
</div>
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
<div class="form-group"><label for="from-phone">Mobile Number</label><span class="required-input">*</span>
<div class="input-group">
<input class="form-control" type="text" id="from-phone" name="mobile" required="">
</div>
</div>
</div>
</div>
<div class="form-row">
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
<div class="form-group"><label for="from-qualifications">Highest Qualification</label><span class="required-input">*</span>
<select class="form-control" id="from-qualifications" type="text" name="qualification" required="">
<option value="">Select Qualification</option>
<option value="SEE/SLC">SEE/SLC</option>
<option value="A levels">A levels</option>
<option value="10+2/PCL">10+2/PCL</option>
<option value="Bachelors (3 years)">Bachelors (3 Years)</option>
<option value="Bachelors (4 years)">Bachelors (4 Years)</option>
<option value="Master's and Above">Master's and Above</option>
</select>
</div>
</div>
<div class="col-12 col-sm-6 col-md-12 col-lg-6">
<div class="form-group"><label for="board">University / Board:</label><span class="required-input">*</span>
<div class="input-group">
<input class="form-control" type="text" id="board" name="board" required="" autocomplete="off">
</div>
</div>
</div>
</div>
<div class="form-row">
<div class="col-md-12">
<div class="form-group"><label for="preferred_destination">Preferred Study Destination:</label><span class="required-input">*</span>
<div class="select-group">
<select name="preferred_destination" class="form-control field-info" required="">
<option value="" selected="" disabled="">Preferred Study Destination *</option>
<option value="study-in-australia">Study in Australia</option>
<option value="study-in-new-zealand">Study in New Zealand</option>
<option value="study-in-canada">Study in Canada</option>
<option value="study-in-uk">Study in UK</option>
<option value="study-in-usa">Study in USA</option>
<option value="other">Others</option>
</select>
</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">Message / Enquiry</label><span class="required-input">*</span>
<textarea name="message" class="form-control" rows="5" re></textarea>
</div>
</div>
</div>
<div class="form-group">
<div class="form-row">
<input type="hidden" name="g-recaptcha-response" value="">
<div class="col"><button class="btn btn-success btn-block" type="submit" id="submitButton">Submit <i class="fa fa-chevron-circle-right"></i></button></div>
</div>
</div>
</div>
</form>
<?php //pre(SITEVARS->Campaigns[0]); ?>
<div class="modal fade" id="success-modal" tabindex="-1" role="dialog" aria-labelledby="success-modal-label" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header" style="display: none;">
<h5 class="modal-title" id="success-modal-label">Success</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div id="modal-text-area">
</div>
<div id="success-modal-qr">
</div>
<div id="canvas-area">
</div>
</div>
<div class="modal-footer">
<button type="button" id="downloadButton" class="btn btn-success full-width" style="width: 100%;">Download : Presidential Pass</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="error-modal" tabindex="-1" role="dialog" aria-labelledby="error-modal-label" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="error-modal-label">Form Validation Errors</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<!-- Error messages will be displayed here -->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
@endsection
@push("js")
<script>
$(document).ready(function() {
$('#enquiry-form').submit(function(e) {
e.preventDefault();
var formData = $(this).serialize();
var response = "";
$.ajax({
type: 'POST',
url: '<?php echo route("registration.submit"); ?>',
data: formData,
success: function(response) {
// fbq('trackCustom', 'EventRegistration', {promotion: 'astro_solutions'});
fbq('track', 'PageView');
if (response.status) {
$('#registration-id').text(response.registration_id);
$('#success-modal-label').text("Registration is successful");
$('#success-modal-qr').html("<p class='text-center' style=' text-align: center!important;background-color: #830404;color: white;padding: 10px;font-weight: 600;'>Please download/save this PRESIDENTIAL PASS. You must present this to participate in the event.</p><img src='" + response.qr_code + "' class='img-fluid' />");
var downloadLink = document.createElement('a');
downloadLink.href = response.qr_code;
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
// downloadLink.click();
$('#success-modal').modal('show');
$form[0].reset();
} else if (response.message == 'Mobile number already exists. Returning existing data.') {
var existingRegistrationData = response.registration;
//$('#modal-text-area').html(JSON.stringify(existingRegistrationData));
var downloadLink = document.createElement('a');
downloadLink.href = response.qr_code;
downloadLink.download = 'presidential_astro_solutions_qr_code.png'; // Set the desired file name
//downloadLink.click();
$('#success-modal-label').text(response.message);
$('#success-modal-qr').html("<img src='" + response.qr_code + "' class='img-fluid' />");
$('#success-modal').modal('show');
} else {
var errorMessages = '';
$.each(response.errors, function(field, errors) {
errorMessages += errors.join('<br>');
});
$('#error-modal .modal-body').html(errorMessages);
$('#error-modal').modal('show');
}
}
});
});
$('#success-modal').on('hidden.bs.modal', function() {
$('#enquiry-form')[0].reset(); // Reset the form
});
$('#downloadButton').on('click', function() {
// Trigger the download when the button is clicked
var downloadLink = document.createElement('a');
downloadLink.href = $('#success-modal-qr img').attr('src');
downloadLink.download = 'presidential_astro_solutions_qr_code.png';
downloadLink.click();
});
});
</script>
@endpush
@push("css")
<style>
* {
box-sizing: border-box;
}
body{
/* background-image: url(<?php //echo site_url("lms/assets/images/bg.jpg"); ?>);
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover; */
background: #055da8;
}
.form-box{
display: block;
margin: 0 auto;
margin-top: 5%;
margin-bottom: 5%;
background-color: white;
width: 98%;
border-radius: 5px;
box-shadow: 10px 10px 0 0 #083079;
}
.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 #bbb7b7;
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: 50px;
background: #ecf0f4;
border-color: transparent;
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

View File

@ -0,0 +1,57 @@
<?php // dd($data); ?>
<title>
<?php if (isset($data)) {
echo ($data->seo_title != "") ? $data->seo_title : $data->title;
echo " | " . SITEVARS->title;
} else {
echo SITEVARS->seo_title;
}
?>
</title>
<meta name="description" content="<?php
if (isset($data)) {
echo ($data->seo_descriptions != "") ? $data->seo_descriptions : SITEVARS->seo_description;
} else {
echo SITEVARS->seo_description;
}
?>">
<meta name="keywords" content="<?php
if (isset($data)) {
echo ($data->seo_keywords != "") ? $data->seo_keywords : SITEVARS->seo_keywords;
} else {
echo SITEVARS->seo_keywords;
}
?>">
<meta name="author" content="Bibhuti Solution Pvt. Ltd.">
<meta name="subject" content="<?php
if (isset($data)) {
echo ($data->seo_descriptions != "") ? $data->seo_descriptions : SITEVARS->seo_description;
} else {
echo SITEVARS->seo_description;
}
?>">
<meta property="og:title" content="<?php if (isset($data)) {
echo ($data->seo_title != "") ? $data->seo_title : $data->title;
echo " | " . SITEVARS->title;
} else {
echo SITEVARS->seo_title;
}
?>">
<meta property="og:description" content="<?php
if (isset($data)) {
echo ($data->seo_descriptions != "") ? $data->seo_descriptions : SITEVARS->seo_description;
} else {
echo SITEVARS->seo_description;
}
?>">
<meta property="og:image" content="<?php echo site_url(SITEVARS->og_image); ?>">
<meta property="og:url" content="<?php echo site_url(); ?>">
<meta property="og:site_name" content="<?php echo SITEVARS->title; ?>">
<?php if(isset($data))
{
echo $data->og_tags;
}
?>

View File

@ -0,0 +1,46 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo SITEVARS->Campaigns[0]->seo_title; ?> : {{env("APP_NAME")}}</title>
<link rel="icon" type="image/x-icon" href="<?php echo SITEVARS->icon; ?>">
@if (!View::hasSection('seo'))
@include(env("CLIENT_PATH").'.partials.seo')
@endif
@yield("seo")
<!-- Stylesheets -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&amp;display=swap" rel="stylesheet">
<!-- Responsive -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
@stack("css")
<?php echo SITEVARS->meta_pixel_code; ?>
</head>
<body class="hidden-bar-wrapper">
<!-- Main Header-->
@include(env("CLIENT_PATH").".partials.header")
<div class="container">
@yield("content")
</div>
<!-- End News Section -->
@include(env("CLIENT_PATH").".partials.footer")
<div class="scroll-to-top scroll-to-target" data-target="html"><span class="fa fa-arrow-up"></span></div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
@stack("js")
</body>
</html>