first commit
This commit is contained in:
203
resources/views/bibform/confirmation.blade.php
Normal file
203
resources/views/bibform/confirmation.blade.php
Normal 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
|
@@ -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>
|
0
resources/views/bibform/form.blade.php
Normal file
0
resources/views/bibform/form.blade.php
Normal file
272
resources/views/bibform/home.blade.php
Normal file
272
resources/views/bibform/home.blade.php
Normal file
@@ -0,0 +1,272 @@
|
||||
@extends(env("CLIENT_PATH").".welcome")
|
||||
@section("content")
|
||||
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 offset-lg-2 col-md-10 offset-md-1">
|
||||
<div class="from-section-full">
|
||||
<div class="top-section">
|
||||
<img src="<?php echo site_url(SITEVARS->Campaigns[0]->cover_photo);?>" class="img-fluid" />
|
||||
</div>
|
||||
<div id="wizard_container">
|
||||
<div id="top-wizard">
|
||||
<div id="progressbar"></div>
|
||||
</div>
|
||||
<!-- /top-wizard -->
|
||||
<form method="POST">
|
||||
<input id="website" name="website" type="text" value="">
|
||||
<!-- Leave for security protection, read docs for details -->
|
||||
<div id="middle-wizard">
|
||||
<div class="step">
|
||||
<h3 class="main_question"><strong>1/4</strong>Please fill with your details</h3>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="firstname" class="form-control required" placeholder="First Name">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="lastname" class="form-control required" placeholder="Last Name">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="email" name="email" class="form-control required" placeholder="Your Email">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="mobile" class="form-control " placeholder="Mobile Number">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<select class="wide required" name="country">
|
||||
<option value="">Your Country</option>
|
||||
<option value="Europe">Europe</option>
|
||||
<option value="Asia">Asia</option>
|
||||
<option value="North America">North America</option>
|
||||
<option value="South America">South America</option>
|
||||
<option value="Oceania">Oceania</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<select class="wide required" name="city">
|
||||
<option value="">Your City</option>
|
||||
<option value="city_1">City 1</option>
|
||||
<option value="city_2">City 2</option>
|
||||
<option value="city_3">City 3</option>
|
||||
<option value="city_4">City 4</option>
|
||||
<option value="city_5">City 5</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="address" class="form-control required" placeholder="Your Address">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-group">
|
||||
<input type="text" name="age" class="form-control" placeholder="Age">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-group radio_input">
|
||||
<label class="container_radio">Male
|
||||
<input type="radio" name="gender" value="Male" class="required">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
<label class="container_radio">Female
|
||||
<input type="radio" name="gender" value="Female" class="required">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /row -->
|
||||
<div class="form-group terms">
|
||||
<label class="container_check">Please accept our <a href="#" data-bs-toggle="modal" data-bs-target="#terms-txt">Terms and conditions</a>
|
||||
<input type="checkbox" name="terms" value="Yes" class="required">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /step-->
|
||||
<div class="step">
|
||||
<h3 class="main_question"><strong>2/4</strong>Make a Multiple Choice Test Template Using Excel</h3>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Activate Developer Tab
|
||||
<input type="radio" name="question_1" value="Activate Developer Tab" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Providing a Lecturer
|
||||
<input type="radio" name="question_1" value="Providing a Lecturer" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Personally Quizzes
|
||||
<input type="radio" name="question_1" value="Personally Quizzes" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Massive Batches
|
||||
<input type="radio" name="question_1" value="Massive Batches" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Extremely Satisfied
|
||||
<input type="radio" name="question_1" value="Extremely Satisfied" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /step-->
|
||||
<div class="step">
|
||||
<h3 class="main_question"><strong>3/4</strong>Select What Suits you Best and Help us Improve Our Services.</h3>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Fronted Developer
|
||||
<input type="checkbox" name="question_2[]" value="Fronted Developer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Web Designer
|
||||
<input type="checkbox" name="question_2[]" value="Web Designer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Full Stack Developer
|
||||
<input type="checkbox" name="question_2[]" value="Full Stack Developer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Backend Developer
|
||||
<input type="checkbox" name="question_2[]" value="Backend Developer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Other
|
||||
<input type="checkbox" name="question_2[]" value="Other" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>In no, please describe with few words why</label>
|
||||
<textarea name="additional_message" class="form-control" style="height:100px;" placeholder="Type here additional info..." onkeyup="getVals(this, 'additional_message');"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /step-->
|
||||
<div class="submit step result-before-submit">
|
||||
<h3 class="main_question"><strong>4/4</strong>Summary</h3>
|
||||
<div class="summary">
|
||||
<ul>
|
||||
<li><strong>1</strong>
|
||||
<h5>Make a Multiple Choice Test Template Using Excel</h5>
|
||||
<p id="question_1"></p>
|
||||
</li>
|
||||
<li><strong>2</strong>
|
||||
<h5>Select What Suits you Best and Help us Improve Our Services.</h5>
|
||||
<p id="question_2"></p>
|
||||
<p id="additional_message"></p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /step-->
|
||||
</div>
|
||||
<!-- /middle-wizard -->
|
||||
<div id="bottom-wizard">
|
||||
<button type="button" name="backward" class="backward">Prev</button>
|
||||
<button type="button" name="forward" class="forward">Next</button>
|
||||
<button type="submit" name="process" class="submit">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
</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 Nirvana Australian Education Fest 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 = 'nirvana_australian_edcation_fest_qrcode.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 = 'nirvana_australian_edcation_fest_qrcode.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 = 'nirvana_australian_edcation_fest_qrcode.png';
|
||||
downloadLink.click();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
249
resources/views/bibform/index2.html
Normal file
249
resources/views/bibform/index2.html
Normal file
@@ -0,0 +1,249 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="no-js" lang="en">
|
||||
|
||||
<!-- Mirrored from preetheme.com/html/multitier/demo/index2.html by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 13 Oct 2023 03:12:08 GMT -->
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>MultiTier - MultiStep Multipurpose HTML5 Form</title>
|
||||
<link rel="icon" href="img/icon.png" type="image/gif" sizes="16x16">
|
||||
<link rel="icon" href="img/icon.png" type="image/gif" sizes="18x18">
|
||||
<link rel="icon" href="img/icon.png" type="image/gif" sizes="20x20">
|
||||
|
||||
<link rel="stylesheet" href="css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="css/bootstrap-icons.css">
|
||||
<link rel="stylesheet" href="css/normalize.css">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<main class="main-section style-2">
|
||||
<!-- Left Area -->
|
||||
<div class="left-sidebar-area" style="background-image: url('img/left-bg.jpg');">
|
||||
<div class="left-sidebar-area-full">
|
||||
<div class="logo">
|
||||
<a href="index2.html">
|
||||
<img src="img/logo-w.png" alt="logo">
|
||||
</a>
|
||||
</div>
|
||||
<div class="content">
|
||||
<h2>Easy-to-use ready HTML forms for every business.</h2>
|
||||
<p>Lorem ipsum, dolor sit, amet consectetur adipisicing elit. Quia quisquam nobis at dolorem fugiat minima veniam amet dolores iusto illum non in molestiae necessitatibus doloribus voluptate aliquam praesentium corrupti, magnam.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Right Area -->
|
||||
<div class="right-wrapper-area">
|
||||
<div class="right-wrapper-area-full">
|
||||
<div class="from-section-full">
|
||||
<div id="wizard_container">
|
||||
<div id="top-wizard">
|
||||
<div id="progressbar"></div>
|
||||
</div>
|
||||
<!-- /top-wizard -->
|
||||
<form method="POST">
|
||||
<input id="website" name="website" type="text" value="">
|
||||
<!-- Leave for security protection, read docs for details -->
|
||||
<div id="middle-wizard">
|
||||
<div class="step">
|
||||
<h3 class="main_question"><strong>1/4</strong>Please fill with your details</h3>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="firstname" class="form-control required" placeholder="First Name">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="lastname" class="form-control required" placeholder="Last Name">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="email" name="email" class="form-control required" placeholder="Your Email">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="mobile" class="form-control " placeholder="Mobile Number">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<select class="wide required" name="country">
|
||||
<option value="">Your Country</option>
|
||||
<option value="Europe">Europe</option>
|
||||
<option value="Asia">Asia</option>
|
||||
<option value="North America">North America</option>
|
||||
<option value="South America">South America</option>
|
||||
<option value="Oceania">Oceania</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<select class="wide required" name="city">
|
||||
<option value="">Your City</option>
|
||||
<option value="city_1">City 1</option>
|
||||
<option value="city_2">City 2</option>
|
||||
<option value="city_3">City 3</option>
|
||||
<option value="city_4">City 4</option>
|
||||
<option value="city_5">City 5</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<input type="text" name="address" class="form-control required" placeholder="Your Address">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-group">
|
||||
<input type="text" name="age" class="form-control" placeholder="Age">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-group radio_input">
|
||||
<label class="container_radio">Male
|
||||
<input type="radio" name="gender" value="Male" class="required">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
<label class="container_radio">Female
|
||||
<input type="radio" name="gender" value="Female" class="required">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /row -->
|
||||
<div class="form-group terms">
|
||||
<label class="container_check">Please accept our <a href="#" data-bs-toggle="modal" data-bs-target="#terms-txt">Terms and conditions</a>
|
||||
<input type="checkbox" name="terms" value="Yes" class="required">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /step-->
|
||||
<div class="step">
|
||||
<h3 class="main_question"><strong>2/4</strong>Make a Multiple Choice Test Template Using Excel</h3>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Activate Developer Tab
|
||||
<input type="radio" name="question_1" value="Activate Developer Tab" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Providing a Lecturer
|
||||
<input type="radio" name="question_1" value="Providing a Lecturer" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Personally Quizzes
|
||||
<input type="radio" name="question_1" value="Personally Quizzes" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Massive Batches
|
||||
<input type="radio" name="question_1" value="Massive Batches" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="container_radio version_2">Extremely Satisfied
|
||||
<input type="radio" name="question_1" value="Extremely Satisfied" class="required" onchange="getVals(this, 'question_1');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /step-->
|
||||
<div class="step">
|
||||
<h3 class="main_question"><strong>3/4</strong>Select What Suits you Best and Help us Improve Our Services.</h3>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Fronted Developer
|
||||
<input type="checkbox" name="question_2[]" value="Fronted Developer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Web Designer
|
||||
<input type="checkbox" name="question_2[]" value="Web Designer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Full Stack Developer
|
||||
<input type="checkbox" name="question_2[]" value="Full Stack Developer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Backend Developer
|
||||
<input type="checkbox" name="question_2[]" value="Backend Developer" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="container_check version_2">Other
|
||||
<input type="checkbox" name="question_2[]" value="Other" class="required" onchange="getVals(this, 'question_2');">
|
||||
<span class="checkmark"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>In no, please describe with few words why</label>
|
||||
<textarea name="additional_message" class="form-control" style="height:100px;" placeholder="Type here additional info..." onkeyup="getVals(this, 'additional_message');"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /step-->
|
||||
<div class="submit step result-before-submit">
|
||||
<h3 class="main_question"><strong>4/4</strong>Summary</h3>
|
||||
<div class="summary">
|
||||
<ul>
|
||||
<li><strong>1</strong>
|
||||
<h5>Make a Multiple Choice Test Template Using Excel</h5>
|
||||
<p id="question_1"></p>
|
||||
</li>
|
||||
<li><strong>2</strong>
|
||||
<h5>Select What Suits you Best and Help us Improve Our Services.</h5>
|
||||
<p id="question_2"></p>
|
||||
<p id="additional_message"></p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /step-->
|
||||
</div>
|
||||
<!-- /middle-wizard -->
|
||||
<div id="bottom-wizard">
|
||||
<button type="button" name="backward" class="backward">Prev</button>
|
||||
<button type="button" name="forward" class="forward">Next</button>
|
||||
<button type="submit" name="process" class="submit">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</main>
|
||||
|
||||
|
||||
<!-- Js File -->
|
||||
<script src="js/jquery-3.6.3.min.js"></script>
|
||||
<script src="js/all.scripts.js"></script>
|
||||
<script src="js/survey.js"></script>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
<!-- Mirrored from preetheme.com/html/multitier/demo/index2.html by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 13 Oct 2023 03:12:12 GMT -->
|
||||
</html>
|
320
resources/views/bibform/office-reception.blade.php
Normal file
320
resources/views/bibform/office-reception.blade.php
Normal file
@@ -0,0 +1,320 @@
|
||||
@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" />
|
||||
</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">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">×</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">×</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{
|
||||
|
||||
|
||||
}
|
||||
|
||||
.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
|
319
resources/views/bibform/office-visits.blade.php
Normal file
319
resources/views/bibform/office-visits.blade.php
Normal file
@@ -0,0 +1,319 @@
|
||||
@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" />
|
||||
</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-usa">Study in USA</option>
|
||||
<option value="study-in-canada">Study in Canada</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-primary 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">×</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">×</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: #3e2c75;
|
||||
}
|
||||
|
||||
.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 #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 #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
|
4
resources/views/bibform/partials/footer.blade.php
Normal file
4
resources/views/bibform/partials/footer.blade.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<!-- Js File -->
|
||||
<script src="{!! template('js/jquery-3.6.3.min.js')!!}"></script>
|
||||
<script src="{!! template('js/all.scripts.js')!!}"></script>
|
||||
<script src="{!! template('js/survey.js')!!}"></script>
|
0
resources/views/bibform/partials/header.blade.php
Normal file
0
resources/views/bibform/partials/header.blade.php
Normal file
57
resources/views/bibform/partials/seo.blade.php
Normal file
57
resources/views/bibform/partials/seo.blade.php
Normal 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;
|
||||
}
|
||||
?>
|
54
resources/views/bibform/welcome.blade.php
Normal file
54
resources/views/bibform/welcome.blade.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<!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 -->
|
||||
|
||||
<!-- 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">
|
||||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="{!! template('css/bootstrap.min.css')!!}">
|
||||
<link rel="stylesheet" href="{!! template('css/bootstrap-icons.css')!!}">
|
||||
<link rel="stylesheet" href="css/normalize.css')!!}">
|
||||
<link rel="stylesheet" href="{!! template('style.css')!!}">
|
||||
</head>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@stack("css")
|
||||
<?php echo SITEVARS->meta_pixel_code; ?>
|
||||
</head>
|
||||
|
||||
|
||||
<body class="hidden-bar-wrapper">
|
||||
|
||||
|
||||
|
||||
<!-- Main Header-->
|
||||
@include(env("CLIENT_PATH").".partials.header")
|
||||
<main class="main-section" style="background-image: url('{{template('img/bg.jpg')}}');">
|
||||
|
||||
@yield("content")
|
||||
</main>
|
||||
<!-- End News Section -->
|
||||
@include(env("CLIENT_PATH").".partials.footer")
|
||||
|
||||
@stack("js")
|
||||
</body>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user