<?
extract($_ENV);

extract($_GET);

extract($_POST);

extract($_COOKIE);

extract($_SERVER);


set_time_limit(0);
$db_host = 'localhost';
$db_user = "indmet_vinod";
$db_pass = "vinodbhaskar69*";
$db_name = "indmet_teachers";
$conn = mysqli_connect($db_host, $db_user, $db_pass, $db_name);

if ($conn) {
    //echo 'connected';
}

?>

<html>
<head>
<style type="text/css">
<!--
body{
margin: 0px;
background-image: url(crossword.jpg);
	background-repeat: repeat;
}
#wrapper {
    width: 100%;
    /* background-image: url(crossword.jpg); */
    /* background-repeat: repeat; */
    /* overflow: hidden; */
    background-image: url(images/img4.jpg);
    background-repeat: repeat-x;
    background-size: cover;
    /* height: auto; */
    /* background-position: center; */
}
#footer  {
	width: 100%;
	margin-top: 0px;
	text-align: center;
	overflow: hidden;
	padding-top: 15px;
	padding-bottom: 15px;
	background-color: #666666;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 21px;
	color: #FFFFFF;
	font-size: 14px;
	bottom: 0px;
}
#footer #footercontainer {
	width: 1010px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
#container {
    width: 250px;
    margin: 0 auto 0;
    min-height: 560px;
    /* margin-bottom: 10px; */
    -moz-box-shadow: 0 0 4px #888;
    /* -webkit-box-shadow: 0 0 4px#888; */
    /* box-shadow: 0 0 4px #888; */
    /* padding-top: 20px; */
    /* padding-bottom: 20px; */
}
#logo{
width: 1010px;
text-align:center;

}
#formdiv {
    argin-left: auto;
    */: ;
    width: 300px;
    font-family: 'Lato', sans-serif;
    color: #000000;
    font-size: 14px;
    line-height: 25px;
    margin-top: 40px;
    /* margin-right: auto; */
    /* margin-bottom: 50px; */
    /* overflow: hidden; */
    padding: 25px;
    height: 180px;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    display: -webkit-inline-box;
    margin: 0px auto; 
    margin-bottom: 28px;
    text-align: -webkit-center;
}
.title {
	padding: 3px;
	float: left;
	font-family: 'Lato', sans-serif;
	color: #000000;
	font-size: 14px;
	line-height: 22px;
	text-align:left;
	width: 100px;
	clear: left;
	margin-bottom: 5px;
	height: 25px;
}
.field {
    padding: 3px;
    font-family: 'Lato', sans-serif;
    color: #000000;
    font-size: 14px;
    line-height: 20px;
    /* width: 250px; */
    text-align: center;
    margin-bottom: 5px;
    height: 50px;
    clear: right;
}
.bbox {
	font-family: 'Lato', sans-serif;
	color: #000000;
	font-size: 14px;
	line-height: 22px;
	border: 1px solid #CCCCCC;
	border-radius: 5px;
	mz-border-radius: 5px;
	width: 220px;
}
.bbtn {
	font-family: 'Lato', sans-serif;
	color: #000000;
	font-size: 14px;
	line-height: 20px;
	border: 1px solid #CCCCCC;
	border-radius: 5px;
	mz-border-radius: 5px;
	width: 80px;
}
.img-responsive  {
      width: auto; 
      margin:0px auto;
      margin-bottom:50px;
      margin-top:60px;
         
}
.form-control {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    color: #a0a0a0;
    height: 44px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
    font-family: Raleway, Arial, sans-serif;
    line-height: 1.428571429;
    padding: 6px 12px 6px 12px;
    width: 300px;
}
.btn  { 
    padding:7px 25px;
    background:#666666;
    color:#fff;
    border:none;
    margin-top:20px;
    
}
</style>
<body>
<div id="wrapper">
<div id="container">
<img src="images/logo.png" class="img-responsive">
<div id="formdiv">


<form action="sess.php" method="post">
<div class="field">
<input type="text" name='userid' class='form-control' placeholder='Username: ' >
</div>
<div class="field">
<input type="password" name='password' class='form-control' placeholder='Password: ' >
</div>

<div class="field">
<input type="submit" class='btn' name='c' value="Login">
</div>


</form>
</div>
</div>
</div>
<div id="footer">
<div id="footercontainer">

<div style="">
Developed & Managed by <br>
<strong>Wintel Online<br>
Tel: 0422-2320187 | +91 94468 77347 | 94431 13809<br>
Mail: <a href="mailto:reachus@wintelonline.com" style="text-decoration:none; color:#FFFFFF;">reachus@wintelonline.com</a> Web: <a href="http://wintelonline.com" style="text-decoration:none; color:#FFFFFF;">www.wintelonline.com</a></strong>
</div>
</div>
</div>
</body>
</head>
</html>