<?php 
    include("../connection.php");
    include("../user.php");
    $cur_date=date('Y-m-d H:i:s');
    $user=$_SESSION['user'];
?>
<!doctype html>
<html class="no-js" lang=""> 
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><?php echo TITLE;?></title>
    <meta name="description" content="Ela Admin - HTML5 Admin Template">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="apple-touch-icon" href="../images/bluebase.png">
    <link rel="shortcut icon" href="../images/bluebase.png">
    <!-- <script type="text/javascript" src="https://cdn.jsdelivr.net/html5shiv/3.7.3/html5shiv.min.js"></script> -->
	<style>
        input[type=text] 
        {
        	text-transform:uppercase;
        }
    </style> 
</head>
<body>
	<div class="col-lg-8">
    	<div class="card">
	    	<div class="card-header">
		        <strong>New User</strong>
			    <a href="user_master.php"><button class="btn btn-primary" style="width:50px;margin-left:900px;"onclick=""><i class="fa fa-backward"></i></button></a>			
    		</div>
        	<div class="card-body card-block">
    	        <form  method="post" enctype="multipart/form-data" class="form-horizontal" action="user_submit.php">
    		        <div class="row form-group">
    		            <div class="col col-md-3"><label for="text-input" class=" form-control-label">Full Name</label><span style="color:red;">*</span></div>
    		            <div class="col-12 col-md-9"><input type="text" id="fullname" name="fullname" placeholder="Enter  your full name" class="form-control" autocomplete="off" required></div>
    		        </div>
    		        <div class="row form-group">
                		<div class="col col-md-3"><label for="text-input" class=" form-control-label">User Name</label><span style="color:red;">*</span></div>
                		<div class="col-12 col-md-9"><input type="text" id="username" name="username" onchange="user(this.value)" placeholder="Enter  your user name" class="form-control" autocomplete="off" required></div>
    		        </div>
            		<div class="row form-group">
                		<div class="col col-md-3"><label for="email-input" class=" form-control-label">Email </label></div>
                		<div class="col-12 col-md-9"><input type="email" id="email" onchange="user(this.value)" name="email" placeholder="Enter your  Email" class="form-control"autocomplete="off"></div>
            		</div>
            		<div class="row form-group">
                		<div class="col col-md-3"><label for="password-input" class=" form-control-label">Password</label><span style="color:red;">*</span></div>
                		<div class="col-12 col-md-9"><input type="password" id="password" name="password" placeholder=" Enter your Password" class="form-control" autocomplete="off">
                				<input type="checkbox" onclick="showhide()">Show Password
                		</div>
        		    </div>
            		<div class="row form-group">
                		<div class="col col-md-3"><label class=" form-control-label">Gender</label></div>
                		<div class="col col-md-9">
                    		<div class="form-check">
                        		<div class="radio">
                        			<label for="radio1" class="form-check-label ">
                        			<input type="radio" id="gender" name="gender" value="male" checked class="form-check-input">Male
                        			</label>
                        		</div>
                        		<div class="radio">
                        			<label for="radio2" class="form-check-label ">
                        			<input type="radio" id="gender" name="gender" value="female" class="form-check-input">Female
                        			</label>
                        		</div>
    		                </div>
                	    </div>
                	</div>
    		        <div style="">
    		            <button type="submit" name="submit" id="submit"  class="btn btn-success" ><i class="fa fa-dot-circle-o"></i>Submit</button>
    		        </div>
    	        </form>
    	    </div>
    	</div>
        <div class="clearfix"></div>
        <footer class="site-footer">
        </footer>
    </div><!-- /#right-panel -->
<!-- Right Panel -->
<!-- Scripts -->
</body>
</html>
<?php require("../mainjavascript.js");?>
