<?php $this->load->view('top');
$adminRes = get_site_email(); ?>

<link href="<?php echo theme_url();?>css/login.min.css" rel="stylesheet">  

  <div class="clearfix"></div>
  <section class="banner_category" style="background-image: url('<?php echo theme_url();?>images/listing-banner.jpg');">
    <div class="container">
     
      <h1 class="banner_title">Login</h1>
    </div>
  </section>
	<div class="page_breadcrumbs">
		<div class="container">
	 		<ul>
             <li><a href="<?=site_url();?>" title="Home">Home</a>
            </li>
             <li>Login</li>
			</ul>
		</div>
	</div>
<!-- New code start from here  -->

<div class="clearfix"></div>
  <div class="container">
    <div class="row justify-content-md-center innerRegter registerform-style">      
      <div class="col p-4 p-lg-5 login-form">
        <div class="col-lg-4 col-md-4">
          <div class="panel-lite">
          <div class="thumbur">
          <i class="fa fa-user"></i>
          </div>
          <h4>Login</h4>
          <?php echo validation_message(); ?>
                 <?php echo error_message(); ?>
         <div class="dig_lrf_box dig_ma-box dig_pgmdl_2">
        <div class="dig_clg_bx">
            <div class="digloginpage">   
           <form action="#" method="post">
          <div class="form-group">
              <div class="digits_fields_wrapper digits_login_fields">
                        <div class="minput">
                            <div class="minput_inner">
                                <div class="countrycodecontainer logincountrycodecontainer"
                                    style="display: inline-block;">
                                    <input type="text" class="input-text logincountrycode dark" value="+91" name="mobmail" placeholder="Email/Mobile Number">
                                </div>
                                <div class="digits-input-wrapper not-empty">
                                    <input type="text" class="mobile_field mobile_format dig-mobmail not-empty" name="login_mobile" type="text" required="" value="<?php echo set_value('login_mobile'); ?>" autocomplete="off" placeholder="Email/Mobile Number">
                                </div>
                                <label>Email/Mobile Number</label>
                                <span class="bgdark"></span>
                            </div>
                        </div>
                    </div>
<!--          <label>Email Id/Mobile Number</label>-->
<!--          <input class="form-control" name="login_mobile" type="text" required="" value="<?php echo set_value('login_mobile'); ?>" autocomplete="off">-->
          </div>
          
          <div class="form-group">
            <input class="form-control" name="login_password" type="password" required="" autocomplete="new-password" placeholder="Password">
          </div>
          <button type="submit" class="login_btn_1">Sign In</button>
         <p class="mt-2 mb-2 text-center"> <a href="<?=base_url('forgot-password');?>" title="Forgot Password ">Forgot Password ?</a> </p>
         <div class="form-group mb-0">
         <a href="<?php echo base_url('otp_login'); ?>" class="login_btn_1 mb-0">LOGIN WITH OTP</a>
          </div>

          <div class="creadential text-center">
          
              
          <p class="label-m">Don't have an account?</p>
          <a class="btn btn-outline-100" href="<?=base_url('register');?>">SignUp</a>
          </div>
          </form>
            </div></div></div>
          </div>
          </div>

      
      </div>  
    </div>
  </div>
  <div class="clearfix"></div>
 <script>
        var dig_log_obj = {
            "direction": "ltr",
            "dig_mobile_no_formatting": "1",
            "dig_hide_ccode": "0",
            "dig_sortorder": "",
            "dig_dsb": "-1",
            "show_asterisk": "1",
            "login_mobile_accept": "1",
            "login_mail_accept": "1",
            "login_otp_accept": "1",
            "captcha_accept": "0",
            "Passwordsdonotmatch": "Passwords do not match!",
            "fillAllDetails": "Please fill all the required details.",
            "accepttac": "Please accept terms & conditions.",
            "resendOtpTime": "30",
            "useStrongPasswordString": "Please enter a stronger password.",
            "strong_pass": "0",
            "firebase": "1",
            "mail_accept": "2",
            "pass_accept": "2",
            "mobile_accept": "2",
            "username_accept": "0",
            //"ajax_url": "admin-ajax.php",
            "appId": "",
            //"uri": "my-account\/?&back=home&page=1",
            "state": "25bbfdc471",
            "left": "0",
            "verify_mobile": "0",
            "Registrationisdisabled": "Registration is disabled",
            "forgotPasswordisdisabled": "Forgot Password is disabled",
            "invalidlogindetails": "Invalid login credentials!",
            "invalidapicredentials": "Invalid API credentials!",
            "pleasesignupbeforelogginin": "Please signup before logging in.",
            "pleasetryagain": "Please try again!",
            "invalidcountrycode": "At the moment, we do not allow users from your country",
            "Mobilenumbernotfound": "Mobile number not found!",
            "MobileNumberalreadyinuse": "Mobile Number already in use!",
            "Error": "Error",
            "Thisfeaturesonlyworkswithmobilenumber": "This features only works with mobile number",
            "InvalidOTP": "Invalid OTP!",
            "ErrorPleasetryagainlater": "Error! Please try again later",
            "Passworddoesnotmatchtheconfirmpassword": "Password does not match the confirm password!",
            "Invaliddetails": "Invalid details!",
            "InvalidEmail": "Invalid Email!",
            "InvalidMobileNumber": "Invalid Mobile Number!",
            "eitherenterpassormob": "Either enter your mobile number or click on sign up with password",
            "login": "Log In",
            "signup": "Sign Up",
            "ForgotPassword": "Forgot Password",
            "Email": "Email",
            "Mobileno": "Mobile Number",
            "ohsnap": "Oh Snap!",
            "yay": "Yay!",
            "notice": "Notice!",
            "submit": "Submit",
            "SubmitOTP": "Submit OTP",
            "required": "Required",
            "select": "(select)",
            "login_success": "Login Successful, Redirecting..",
            "login_reg_success_msg": "1",
            "nonce": "eb790114e0"
        };
    </script>
<?php $this->load->view('bottom'); ?>
<script src="<?php echo theme_url(); ?>js/login.min.js" crossorigin="anonymous"></script>

