This commit is contained in:
2022-03-19 11:36:43 -04:00
parent b67f736f04
commit 0ba0794197
3 changed files with 156 additions and 7 deletions
+4 -7
View File
@@ -8,7 +8,7 @@ class Vemail extends CI_Controller {
$vlnk = NULL;
$data['title'] = "Verify Email"; // Capitalize the first letter
$data['page_title'] = "About WrenchBoard";
$data['page_title'] = "Verify Signup";
$data['email'] = "ameye@chiefsoft.com";
extract($_GET);
@@ -28,12 +28,9 @@ class Vemail extends CI_Controller {
$data['username'] = $ret->username;
$res1 = $this->backend_model->wrenchboard_api($data, $out);
if ($res1 > 0) {
$this->load->view('users/view_vemail', $data);
$this->load->view('site3/external/view_vemail', $data);
exit;
}
// make sure status is set to 5 : complete
}
// call backend to create the account now
@@ -44,7 +41,7 @@ class Vemail extends CI_Controller {
}
// IF YOU GET HERE - ERROR PAGE
// $this->load->view('templates/header_boxed', $data);
$this->load->view('users/view_error', $data);
$this->load->view('site3/external/view_error', $data);
// $this->load->view('templates/footer_boxed', $data);
}
+64
View File
@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html lang="en">
<!--begin::Head-->
<head>
<meta name="title" content="WrenchBoard: Find a Freelancer | Sell Professional Services" />
<?php include("header_contents.php");?>
</head>
<!--end::Head-->
<!--begin::Body-->
<body id="kt_body" class="bg-body">
<!--begin::Main-->
<!--begin::Root-->
<div class="d-flex flex-column flex-root">
<!--begin::Authentication - Password reset -->
<div class="d-flex flex-column flex-column-fluid bgi-position-y-bottom position-x-center bgi-no-repeat bgi-size-contain bgi-attachment-fixed" style="background-image: url(site3/assets/media/background/home.jpg">
<!--begin::Content-->
<div class="d-flex flex-center flex-column flex-column-fluid p-10 pb-lg-20">
<!--begin::Logo-->
<a href="/" class="mb-12">
<img alt="WrenchBoard" src="/assets/ext/images/wrenchboard.png" class="h-40px" />
</a>
<!--end::Logo-->
<!--begin::Wrapper-->
<div class="w-lg-500px bg-body rounded shadow-sm p-10 p-lg-15 mx-auto">
<!--begin::Form-->
<form class="form w-100" novalidate="novalidate" action="/" method="POST">
<!--begin::Heading-->
<div class="text-center mb-10">
<!--begin::Title-->
<h1 class="text-dark mb-3"> Invalid verification link </h1>
<!--end::Title-->
<!--begin::Link-->
<div class="text-gray-400 fw-bold fs-4"> <hr size="1"></div>
<!--end::Link-->
</div>
<!--begin::Heading-->
<!--begin::Input group-->
<div class="fv-row mb-10">
<label class="form-label fw-bolder text-gray-900 fs-6"><? echo $page_title; ?></label>
<hr size="1">
This error occurs because you have already verified this link or the link has expired. Try login or reset password. If none worked, try to create the account from the start.
</div>
<div class="d-flex flex-wrap justify-content-center pb-lg-0">
<a href="/" class="btn btn-lg btn-light-primary fw-bolder">Return Home</a>
</div>
</form>
<!--end::Form-->
</div>
<!--end::Wrapper-->
</div>
<!--end::Content-->
<?php include("footer_links.php");?>
</div>
</div>
<script src="/site3/assets/plugins/global/plugins.bundle.js"></script>
<script src="/site3/assets/js/scripts.bundle.js"></script>
<script src="assets/js/custom/authentication/password-reset/password-reset.js"></script>
</body>
<!--end::Body-->
</html>
+88
View File
@@ -0,0 +1,88 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="title" content="WrenchBoard: Find a Freelancer | Sell Professional Services" />
<?php include("header_contents.php");?>
</head>
<body id="kt_body" class="bg-body">
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-54829827-4', 'auto');
ga('send', 'pageview');
</script>
<div class="d-flex flex-column flex-root">
<div class="d-flex flex-column flex-column-fluid bgi-position-y-bottom position-x-center bgi-no-repeat bgi-size-contain bgi-attachment-fixed" style="background-image: url(site3/assets/media/background/home.jpg">
<div class="d-flex flex-center flex-column flex-column-fluid p-10 pb-lg-20">
<a href="#" class="mb-12">
<img alt="WrenchBoard" src="/assets/ext/images/wrenchboard.png" class="h-40px" />
</a>
<div class="w-lg-500px bg-body rounded shadow-sm p-10 p-lg-15 mx-auto">
<form class="form w-100" action="/login" method="POST">
<div class="text-center mb-10">
<h1 class="text-dark mb-3">Sign In to WrenchBoard</h1>
<div class="text-gray-400 fw-bold fs-4">New Here?
<a href="/signup" class="link-primary fw-bolder">Create an Account</a></div>
</div>
<div class="fv-row mb-10">
<label class="form-label fs-6 fw-bolder text-dark">Email</label>
<input class="form-control form-control-lg form-control-solid" type="text" placeholder="Username" value='<?php echo $email; ?>' required="required" readonly autocomplete="off" />
</div>
<div class="fv-row mb-10">
<div class="d-flex flex-stack mb-2">
<label class="form-label fw-bolder text-dark fs-6 mb-0">Password</label>
<a href="/password_recovery" class="link-primary fs-6 fw-bolder">Forgot Password ?</a>
</div>
<input class="form-control form-control-lg form-control-solid" type="password" placeholder="Password" name="password" required="required" autocomplete="off" />
</div>
<?php
if ( isset($login_message) && $login_message !=''){
?>
<div class="fv-row mb-10">
<?php echo isset($login_message)?$login_message:''; ?>
<div class="d-flex flex-stack mb-2"></div>
</div>
<?php
}
?>
<div class="text-center">
<button type="submit" id="kt_sign_in_submit" class="btn btn-lg btn-primary w-100 mb-5">
<span class="indicator-label">Continue</span>
<span class="indicator-progress">Please wait...
<span class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
</button>
<div class="text-center text-muted text-uppercase fw-bolder mb-5">or</div>
<?php echo isset($login_links) ? $login_links :''; ?>
</div>
<!--end::Actions-->
</form>
<!--end::Form-->
</div>
<!--end::Wrapper-->
</div>
<!--end::Content-->
<!--begin::Footer-->
<?php include("footer_links.php");?>
</div>
</div>
<script src="/site3/assets/plugins/global/plugins.bundle.js"></script>
<script src="/site3/assets/js/scripts.bundle.js"></script>
<script src="/site3/assets/js/custom/home/general.js"></script>
</body>
<!--end::Body-->
</html>