File: /var/www/html/shootinschool/wp-content/themes/splash-child/page-trainer.php
<?php
/**
* Template Name: Trainer Login Page
*
* A blank custom page template.
*
* The "Template Name:" bit above allows this to be selectable
* from a dropdown menu on the edit page screen.
*
*/
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Shootin School Basketball</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<link rel="stylesheet" href="https://shootin-stage.spericorn.com/wp-content/plugins/shootin-school-plugin/includes/custom/css/login.css">
</head>
<body>
<section class="login-wrapper">
<div class="custom-wrp container">
<div class="login-left-col">
<div class="content-area-wrp">
<h2 class="title-main">Lorem <span>ipusm</span></h2>
<p class="content">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled</p>
</div>
</div>
<div class="login-right-col">
<div class="logo-wrp">
<img src="https://shootin-stage.spericorn.com/wp-content/plugins/shootin-school-plugin/includes/custom/img/logo.png" alt="logo">
</div>
<?php
$entered_username = isset($_GET['entered_username']) ? sanitize_user($_GET['entered_username']) : '';
$user_friendly_error = isset($_GET['user_friendly_error']) ? urldecode($_GET['user_friendly_error']) : '';
?>
<div class="login-form-blk">
<h2 class="form-title">Welcome <span>Back!</span></h2>
<form action="<?php echo esc_url(admin_url('admin-post.php')); ?>" method="post">
<?php wp_nonce_field('custom-login-nonce', 'security'); ?>
<div class="form-group">
<label class="form-label" for="">Email Address/ Phone Number</label>
<div class="input-group">
<span class="icon"><img src="https://shootin-stage.spericorn.com/wp-content/plugins/shootin-school-plugin/includes/custom/img/login-mail-icon.svg"></span>
<input type="text" name="username" id="user_login" class="input form-control" value="<?php echo esc_attr($entered_username); ?>" size="20" autocapitalize="off" autocomplete="username" required="required" spellcheck="false" data-ms-editor="true">
</div>
</div>
<div class="form-group">
<label class="form-label" for="">Password</label>
<div class="input-group">
<span class="icon"><img src="https://shootin-stage.spericorn.com/wp-content/plugins/shootin-school-plugin/includes/custom/img/login-password-icon.svg"></span>
<input type="password" name="password" id="user_pass" class="input password-input form-control" value="" size="20" autocomplete="current-password" spellcheck="false" required="required">
</div>
</div>
<input type="hidden" name="action" value="custom_login">
<!-- <div id="g-recaptcha-1" class="g-recaptcha" data-sitekey="6LeiBYEUAAAAAK43iBdUZObb9f3Fx4OvwXIIq02_" data-theme="light"></div><noscript>Please enable JavaScript to submit this form.<br></noscript> -->
<input type="submit" name="submit" id="wp-submit" class="btn form-btn-cta" value="Log In">
<?php if (!empty($user_friendly_error)) : ?>
<p class="error-message" style="color: red;"><?php echo esc_html($user_friendly_error); ?></p>
<?php endif; ?>
<!-- <form action="<?php echo esc_url(admin_url('admin-post.php')); ?>" method="post">
<input type="hidden" name="action" value="custom_login">
<label for="username">Username:</label>
<input type="text" name="username" id="username" required>
<label for="password">Password:</label>
<input type="password" name="password" id="password" required>
<label for="rememberme">
<input type="checkbox" name="rememberme" id="rememberme"> Remember Me
</label>
<input type="submit" value="Login">
</form> -->
</div>
<div class="usr-action-blk">
<div class="chk-blk">
<label class="custom-chk-box">
<input name="rememberme" type="checkbox" id="rememberme" value="forever">
<span class="checkmark"></span>
Remember me
</label>
</div>
<input type="hidden" name="redirect_to" value="https://shootin-stage.spericorn.com/trainer-login/" />
<div class="forgot-blk">
<a href="https://shootin-stage.spericorn.com/my-account/lost-password/" class="link">Forgot Password?</a>
</div>
</div>
</form>
<!-- <ul class="login-blk-ftr">
<li><a class="links">Terms and Conditions</a></li>
<li><a class="links">Privacy and Policy</a></li>
</ul> -->
</div>
</div>
<footer class="login-footer">
<div class="container custom-wrp">
<div class="ftr-txt">© Copyright 2023 Shootin school</div>
</div>
</footer>
</section>
</body>
<!-- BEGIN recaptcha, injected by plugin wp-recaptcha-integration
<script type="text/javascript">
var recaptcha_widgets={};
function wp_recaptchaLoadCallback(){
try {
grecaptcha;
} catch(err){
return;
}
var e = document.querySelectorAll ? document.querySelectorAll('.g-recaptcha:not(.wpcf7-form-control)') : document.getElementsByClassName('g-recaptcha'),
form_submits;
for (var i=0;i<e.length;i++) {
(function(el){
var wid;
// check if captcha element is unrendered
if ( ! el.childNodes.length) {
wid = grecaptcha.render(el,{
'sitekey':'6LeiBYEUAAAAAK43iBdUZObb9f3Fx4OvwXIIq02_',
'theme':el.getAttribute('data-theme') || 'light'
});
el.setAttribute('data-widget-id',wid);
} else {
wid = el.getAttribute('data-widget-id');
grecaptcha.reset(wid);
}
})(e[i]);
}
}
// if jquery present re-render jquery/ajax loaded captcha elements
if ( typeof jQuery !== 'undefined' )
jQuery(document).ajaxComplete( function(evt,xhr,set){
if( xhr.responseText && xhr.responseText.indexOf('6LeiBYEUAAAAAK43iBdUZObb9f3Fx4OvwXIIq02_') !== -1)
wp_recaptchaLoadCallback();
} );
</script><script src="https://www.google.com/recaptcha/api.js?onload=wp_recaptchaLoadCallback&render=explicit" async defer></script>
<script type='text/javascript' src='https://www.google.com/recaptcha/api.js?render=6LeiBYEUAAAAAK43iBdUZObb9f3Fx4OvwXIIq02_&ver=3.0' id='google-recaptcha-js'></script>
<script type='text/javascript' id='wpcf7-recaptcha-js-extra'>
/* <![CDATA[ */
var wpcf7_recaptcha = {"sitekey":"6LeiBYEUAAAAAK43iBdUZObb9f3Fx4OvwXIIq02_","actions":{"homepage":"homepage","contactform":"contactform"}};
/* ]]> */
</script>
<script type='text/javascript' src='https://shootinschool.com/wp-content/plugins/contact-form-7/modules/recaptcha/index.js?ver=5.6.2' id='wpcf7-recaptcha-js'></script> -->
</html>