<?php 
        include_once("header-footer/header.php");
?>

<script>
        $(document).ready(function()
        {   
              //if( ($(window).width()) > 599) 
            /// window.location.href  = URL+'/error/default.php';
          
        	$("#_frm").validate({
        		
        		errorElement:'div',
        		rules:{ 
        		 
        			ph_no:{
        				required:true,
        				maxlength:10,
        				minlength:10,
        				number:true
        			},
        			passwprd:{
        				required:true 
        			}  
        		},
        		messages:{
                   
        			ph_no:{
        				required:"Enter your phone no",
        				maxlength:"Maximum  10 digits allow",
        				minlength:"Minimum 10 digits required",
        				number: "Enter numbers only"
        			},
        			passwprd:{
        				required:"Enter password"
        			}   
        			 
        		}
        	}); 
        }); 
        </script>

        
    	<link href="<?php echo ROOTPATH;?>/view/css/screen-600.css" rel="stylesheet" type="text/css">
               <?php 
	    include_once(ABS_PATH."/menu.php");
	?> 
               
                <div class="container mt-35">
                    <div class="row justify-content-center FormRegister">
                            <div class="col-12 p-3 text-center"> 
                                    <h3 class="card-title"> LOGIN </h3>
                            </div>    
                                  <form method="post" autocomplete="off" id="_frm">   
                                            <div class="row"> 
                                                    
                                                    <div class="col-md-12 mb-2"> 
                                                        <input type="number" class="form-control" id="PhoneNo" name="ph_no" placeholder="Enter Your Phone No">
                                                    </div>
                                                    <div class="col-md-12 mb-3"> 
                                                        <input type="password" class="form-control"   name="passwprd" placeholder="Password">
                                                    </div>
                                                    <div class="col-md-6 text-center">
        										    	<input  type="submit" class="btn btn-primary mb-3" name="submitLogin" value="Login">   <a href="register.php" class="float-right btn btn-primary mb-3"> Register?</a>
        										    </div>
        										    
        										    <div class="col-md-6 text-center">
        										      <a href="<?php echo ROOTPATH;?>/forgetpassword.php">Forget Password?</a>  
        										    </div>
                                            </div>  
                            </form>  
                    </div>
                </div>
                
 
              
       
<?php 
include_once("header-footer/footer.php")
?> 