%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<div class="main-home" style="background:url(<?=base_url('assests/imgs')?>/12124.jpg) no-repeat center top fixed;"> <div class="container"> <div class="row"> <div class="col col-lg-12"> <div class="login-header"> <!-- <p>Already a Member?</p> <button type="button" class="btn btn-primary header-btn" onclick="window.location.href = 'login.html';">Login </button>--> </div> </div> </div> </div> <div class="container"> <div class="row"> <div class=" col-lg-3"></div> <div class=" col-lg-6"> <div class="login-rectangle"> <div class="login-logo"> <img src="https://shardahospital.org/assests/images/logo_new.png"> </div> <form method="post" action="<?=base_url('login')?>"> <?php if ($this->session->flashdata('success')) { ?> <p style="color:green; font-size:18px;"><?php echo $this->session->flashdata('success'); ?></p> <?php } if($testCount=='') { ?> <p style="color:red; font-size:18px;text-align:center;">No Vaccination Slots Available.</p> <?php } ?> <div class="login-sec"> <h2>Register or SignIn for Vaccination</h2> <p>We will send you a One Time Password on your phone number</p> <div class="sent-div"> <input type="number" placeholder="Mobile Number" id="mob" name="mob" onkeyup="this.value=this.value.replace(/[^\d]/,'')" autocomplete="off" value="<?=$_POST['mob']?>" maxlength="10" required/> <button type="button" class="btn btn-primary sent-otp" onclick="sendverificationotp()" id="resend_otp">Send OTP </button> </div> <input type="number" id="otp" name="otp" maxlength="6" onkeyup="this.value=this.value.replace(/[^\d]/,'')" placeholder="Enter OTP" required> <button type="submit" class="btn btn-primary login-btn submit_info">Sign Up </button> <!---- Error Message ----> <?php if ($this->session->flashdata('error')) { ?> <p style="color:red; font-size:18px;"><?php echo $this->session->flashdata('error');?></p> <?php } ?> </div> </form> <div class="login-pin"></div> </div> </div> <div class=" col-lg-3"></div> </div> </div> </div> <script> function sendverificationotp(){ var mobile = $("#mob").val(); if (typeof mobile == 'undefined') { mobile = ''; } var emailReg = /^[a-z0-9]+([-._][a-z0-9]+)*@([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,4}$/; $("#mob").parent().removeClass('has-error'); $("#user_otp").parent().removeClass('has-error'); var error_flag = 'N'; if (mobile == '') { $("#mob").parent().addClass("has-error"); error_flag = 'Y'; } else if (!mobile.match('[0-9]{10}')) { $("#mob").parent().addClass("has-error"); error_flag = 'Y'; } if (error_flag == 'N') { // Send OTP request to api to save the data $.ajax({ url: $('body').attr('data-base-url') + 'home/sendVerificationSMS', method: 'post', data: { mob: mobile } }).done(function (response) { if(response) { $('#resend_otp').html(''); $('#resend_otp').html('<span id="resend_otp">Resend OTP</span>'); $("<p style='color:green;' id='msg_div'>"+response+" OTP send successfully</p>").insertAfter(".submit_info"); setTimeout(function () { $('#msg_div').slideUp("slow"); }, 4000); return false; } }); } return false; } </script> <style> .main-home { background-size:cover !important; height:100vh; width:100%; } </style>