<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">		
		<title></title>
		<style type="text/css">
			* {
				font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
			}
			
			body {
				margin: 0;
				pading: 0;
				color: #fff;
				background: #666666;
				font-size: 14px;
				text-shadow: #050505 0 -1px 0;
				font-weight: bold;
			}
			
			li {
				list-style: none;
			}
			
			#dummy {
				position: absolute;
				top: 0;
				left: 0;
				border-bottom: solid 3px #777973;
				height: 200px;
				width: 100%;
				background: url('bg-login-top.png') repeat #fff;
				z-index: 1;
			}
			
			#dummy2 {
				position: absolute;
				top: 0;
				left: 0;
				border-bottom: solid 2px #545551;
				height: 202px;
				width: 100%;
				background: transparent;
				z-index: 2;
			}
			
			#login-wrapper {
				margin: 0 0 0 -160px;
				width: 300px;
				text-align: center;
				z-index: 99;
				position: absolute;
				top: 0;
				left: 50%;
			}
			
			#login-top {
				height: 150px;
				padding-top: 50px;
				text-align: center;
			}
			
			label {
				width: 70px;
				float: left;
				padding: 8px;
				line-height: 14px;
				margin-top: -4px;
			}
			
			input.text-input {
				width: 200px;
				float: right;
				-moz-border-radius: 4px;
                -webkit-border-radius: 4px;
				border-radius: 4px;
				background: #fff;
				border: solid 1px transparent;
				color: #555;
				padding: 8px;
				font-size: 13px;
			}
			
			input.button {
				padding: 6px 10px;
				color: #fff;
				font-size: 14px;
				background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#a4d04a), to(#459300));
				text-shadow: #050505 0 -1px 0;
				background-color:#006666;
				-moz-border-radius: 4px;
                -webkit-border-radius: 4px;
				border-radius: 4px;
				border: solid 1px transparent;
				font-weight: bold;
				cursor: pointer;
				letter-spacing: 1px;
			}
			
			input.button:hover {
				background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#a4d04a), to(#a4d04a), color-stop(80%, #76b226));
				text-shadow: #050505 0 -1px 2px;
				background-color: #99C0F0;
				color: #fff;
			}
			
			div.error {
				padding: 8px;
				background: rgba(52, 4, 0, 0.4);
				-moz-border-radius: 8px;
                -webkit-border-radius: 8px;
				border-radius: 8px;
				border: solid 1px transparent;
				margin: 6px 0;
			}
		</style>		
	</head>
  
	<body id="login">
		<div id="login-wrapper" class="png_bg">
			<div id="login-top"><img src="ivftech-startup.jpg"/><br /></div>
			<div align="center" style="font-size:22px;"><br />Kalyannagar<br />Andrology Department</div>
			<div align="center">
<?php
include 'dbcon.php';
$query  = "SELECT * FROM matcher_usermst where dept_x='3' order by nif_usr";
$result = mysqli_query($conn, $query);
$assodctrOptions = '';
while ($row = mysqli_fetch_array($result)) { 
    $assodctr = $row["nif_usr"];
    $assodctrSafe = htmlspecialchars($assodctr, ENT_QUOTES, 'UTF-8');
    $assodctrOptions .= "<option value=\"$assodctrSafe\">$assodctrSafe</option>";
}

?>

<form name="nif_login" id="nif_login" method="post" action="checkadm_login_andro.php" target="_parent">

<?php	
echo "<select name='cand_username' id='cand_username' style='font-size:30px;'>$assodctrOptions</select>";
?>
<br /><br />
<input name="cand_password" class="name" type="password" style="font-size:30px;"><br /><br />
<input value="Login" type="submit" class="btn-two blue small" style="font-size:30px;">
</form>
</div>
</div>
<div id="dummy"></div>
<div id="dummy2"></div>
</body></html>

