
<?
require_once('functions.php');


if(isset($_POST['submit'])){
$name=mysql_real_escape_string($_POST['name']);
$s="select * from users where user_name='$name'";
$sql=mysqli_query($dbc,$s);
if(mysqli_num_rows($sql)>0){


ob_end_clean();

header("location: user_pick.php?id=$name");




}
}
$type='BACK OFFICE';

Permission($_SESSION['department'],$type);
	
	 ?>
	 
	 <!DOCTYPE html>
<html dir="ltr" lang="en-US"><head><!-- Created by Artisteer v4.0.0.58475 -->
        <meta charset="utf-8">
        <title>User Z Report</title>
        <!--<meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width">-->
        <meta name="HandheldFriendly" content="True"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
        <meta name="HandheldFriendly" content="true" />
        <meta name="MobileOptimized" content="true" />

        <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
        <link rel="stylesheet" href="style.css" media="screen">
        <!--[if lte IE 7]><link rel="stylesheet" href="style.ie7.css" media="screen" /><![endif]-->
        <link rel="stylesheet" href="style.responsive.css" media="all">


        <script src="jquery.js"></script>
        <script src="script.js"></script>
        <script src="script.responsive.js"></script>
        <meta name="description" content="NEURO DATA">
        <meta name="keywords" content="EZ-SACCO">
 <nav class="art-nav clearfix">
                <?php headermenu($_SESSION['department'],'BACK OFFICE'); ?> 
            </nav>
	 
	 <style>
input[type='text'] { font-size: 15px; }
</style>
	 <style type="text/css">
    .fieldset-auto-width {
         display: inline-block;
    }
</style><div align="center"><fieldset class="fieldset-auto-width">
<form action="user_pickk.php" method="post">
<H3>User Name:</H3><br />
<input  type="text" name="name"  REQUIRED="REQUIRED" value="" size="50"/>

<br />



<input name="submit" type="submit" value="GET">
</form>
<div\>
