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

$adminRes = get_site_email();
?>
<div class="page_breadcrumbs">

  <div class="container">

    <ul>

      <li><a href="<?= site_url(); ?>" title="Home">Home</a>

      </li>

      <li>Register</li>

    </ul>

  </div>

</div>

<section class="login_page bg-grey">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-lg-4 col-md-6">
                    <div class="panel-lite">
                        <div class="text-center title_style">
                            <h2>Register</h2>
                            <p class="text-muted">Create New Account</p>
                        </div>
                         <?php echo error_message(); ?>
                        <?php echo form_open('', 'name="login_frm" id="regisFrm" class="register-form"'); ?>
                            <div class="row">
                                <div class="col-lg-12 col-md-12">
                                    <div class="form-group">
                                        <label class="input_label">
                                            <input class="form_input" name="first_name" type="text" placeholder="User Name *" required="required" value="<?php echo set_value('first_name'); ?>">
                                        </label>
                                         <?php echo form_error('first_name'); ?>
                                    </div>

                                    <div class="form-group">
                                        <label class="input_label">
                                            <input class="form_input" name="email_address" type="text" placeholder="Email ID *" required="required" value="<?php echo set_value('email_address'); ?>">
                                        </label>
                                        <?php echo form_error('email_address'); ?>
                                    </div>

                                    <div class="form-group">
                                        <label class="input_label">
                                            <input class="form_input" type="tel" placeholder="Phone Number *" required="required" name="mobile_number" maxlength="10" minlength="10" onKeyPress="return isNumberKey(event)" required="" value="<?php echo set_value('mobile_number'); ?>">
                                        </label>
                                         <?php echo form_error('mobile_number'); ?>
                                    </div>

                                    <div class="form-group">
                                        <label class="input_label">
                                            <input class="form_input" name="password" type="password" placeholder="Password *" required="required" value="">
                                        </label>
                                            <?php echo form_error('password'); ?>
                                    </div>

                                    <div class="form-group">
                                        <label class="input_label">
                                            <input class="form_input" name="c_password" type="password" placeholder="Confirm Password *" required="required" value="">
                                        </label>
                                           <?php echo form_error('c_password'); ?>
                                    </div>

                                    <div class="form-group">
                                        <label><input type="checkbox" name="checkbox" checked=""> I agree to the <a class="terms_conditions" href="<?php echo site_url('terms-conditions'); ?>">Terms and Conditions</a>
                                        </label>
                                    </div>
                                    <input type="hidden" name="action" value="register" />
                                    <button type="submit" class="register_btn">Create a new account</button>
                                    <div class="text-center">
                                     <strong>You Already have an account <a href="<?php echo base_url();?>login">Sign in Here</a></strong>
                                 </div>


                             </div>

                         </div>
                  <?php echo form_close(); ?>
                 </div>
             </div>
         </div>
     </div>    
 </section>

<?php $this->load->view('bottom'); ?>

