
    <div class="usesection">
      <div class="container">
        
        <div class="row user-sub-menu-section">
          <div class="col-12">
            <?php 
            if($this->session->flashdata('error'))
            {
              echo $this->session->flashdata('error');
            }
            ?>
            <div class="tab-content" id="myTabContent">
              <div class="tab-pane fade show active" id="email" role="tabpanel" aria-labelledby="email-tab">
                <form class="m-5 col-md-8" method="post" action="register">
                  <h3>Registration with Asianet Web</h3>
                  <span class="text-danger"> <?php echo validation_errors(); ?></span>
                  <div class="form-group mt-3">
                    <label for="exampleFormControlInput1">Name</label>
                   <input type="text" name="name" required class="form-control"/>
                  </div>
					 <div class="form-group mt-3">
                    <label for="exampleFormControlInput1">Email</label>
                   <input type="text" name="email" required  class="form-control"/>
                  </div>
					 <div class="form-group mt-3">
                    <label for="exampleFormControlInput1">Phone Number</label>
                   <input type="text" name="Phone" required class="form-control"/>
                  </div>
                  <div class="form-group mt-3">
                    <label for="exampleFormControlInput1">Address</label>
                     <input type="text" name="address" placeholder="Building No./Flat No." class="form-control"/>
					</div>
					<div class="form-group mt-3">
					  <input type="text" name="street" placeholder="Lane/street" class="form-control"/>
                  </div>
					<div class="form-group mt-3">
					  <input type="text" name="city" placeholder="Town/City" class="form-control"/>
                  </div>
                  <div class="form-group">
                    <label for="exampleFormControlInput1">Pin Code</label><br>
                   	<input type="text" name="pin" class="form-control"/>
                  </div>
					 <div class="form-group">
                    <label for="exampleFormControlInput1">Country</label><br>
                    <select name="country" id="country" class="form-control">
                <option value="">Select Country</option>
               <?php 
               if(isset($country['0']))
               {
                 foreach($country as $cou)
                 {
                   ?>
                   <option value="<?php echo $cou->country_id?>"><?php echo $cou->country_name ?></option>
                   <?php
                 }
               }
               ?>
              </select>
                </div>
                <div class="form-group">
                    <label for="exampleFormControlInput1">State</label><br>
                   
                    <select name="state" id="state" class="form-control">
                    <option value="">Select State</option>
                   
                    </select>
                  </div>
					 <div class="form-group">
                    <label for="exampleFormControlInput1">Password</label><br>
                   	<input type="password" name="pwd" class="form-control"/>
                  </div>
					<div class="form-group">
                    <label for="exampleFormControlInput1">GST No.</label>(If you have GST No.)<br>
                   	<input type="test" name="gst" class="form-control"/>
                  </div>
					 
                  <div class="form-group">
                   <button type="submit" name="reg_user" class="btn btn-sm btn-success" value="Submit">Submit</button>
                  </div>
                </form>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="footer">
      <footer>
        <div class="container">
          <div class="row">
            <div class="col-sm-6 col-md-3 col-lg-3">
              <h4>DOMAINS</h4>
              <ul>
                <li>Register Domain Name</li>
                <li>View Domain Pricing</li>
                <li>Bulk Domain Register</li>
                <li>Bulk Domain Transfer</li>
                <li>Whois Lookup</li>
                <li>Name Suggestion Tool</li>
                <li>Free with Every Domain</li>
                <li>View Promos</li>
              </ul>
            </div>
            <div class="col-sm-6 col-md-3 col-lg-3">
              <h4>HOSTING & PRODUCTS</h4>
              <ul>
                <li>Linux Hosting</li>
                <li>Windows Hosting</li>
                <li>Wordpress Hosting</li>
                <li>Linux Reseller Hosting</li>
                <li>Windows Reseller Hosting</li>
                <li>Dedicated Servers</li>
                <li>Managed Servers</li>
                <li>Cloud Hosting</li>
              </ul>
            </div>
            <div class="col-sm-6 col-md-3 col-lg-3">
              <h4>INFRASTRUCTURE</h4>
              <ul>
                <li>Datacenter Details</li>
                <li>Hosting Security</li>
                <li>24 x 7 Servers Monitoring</li>
                <li>Backup and Recovery</li>
              </ul>
            </div>
            <div class="col-sm-6 col-md-3 col-lg-3 m-auto">
              <ul class="list-inline">
                <li class="list-inline-item"><a href="https://www.facebook.com/asianet.hosting"><h3><i class="fab fa-facebook-square"></i></h3></a></li>
                <li class="list-inline-item"><h3><i class="fab fa-youtube"></i></h3></li>
                <li class="list-inline-item"><h3><i class="fab fa-twitter-square"></i></h3></li>
              </ul>
            </div>
          </div>
        </div>
      </footer>
    </div>
    <script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
    <!-- <script src="https://threejs.org/examples/js/libs/stats.min.js"></script> -->
    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <!--<script src="js/jquery-3.3.1.slim.min.js"></script>-->
    <script src="<?php echo base_url()?>assets/js/popper.min.js"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="<?php echo base_url()?>assets/js/wow.js"></script>
    
    <script>
    new WOW().init();
    </script>
   <script type="text/javascript">
  $(document).ready(function(){
    $('#country').change(function(){
      var country_id=$('#country').val();
      if(country_id !='')
      {
        $.ajax({
          url: "<?php echo base_url();?>fetch_state",
          method:"post",
          data:{country_id:country_id},
          success:function(data)
          {
            $('#state').html(data);
          }
        });
      }
    });
  });
</script>
  </body>
</html>