| Current Path : /var/www/html/mmishra/iws8/html/indem/webkriti/iiita3/ |
| Current File : /var/www/html/mmishra/iws8/html/indem/webkriti/iiita3/login.php |
<?php
session_start();
if(isset($_SESSION['name']))
{
header("Location:profile.php");
//unset($_SESSION['name']);
}
?>
<!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" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="Your description goes here" />
<meta name="keywords" content="your,keywords,goes,here" />
<meta name="author" content="Your Name" />
<link rel="stylesheet" type="text/css" href="iiitaa.css" media="screen,projection" />
<link href="css/dropdown.css" media="all" rel="stylesheet" type="text/css" />
<link href="css/dropdown.vertical.css" media="all" rel="stylesheet" type="text/css" />
<link href="css/default.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="print.css" media="print" />
<script language="JavaScript" type="text/JavaScript">
var im= new Array()//set your pictures here as an array
im[0] = 'img/iiitnight.jpg';
im[1] = 'img/iiitentry.jpg';
im[2] = 'img/iiitsunset.jpg';
//add as many as you want, ie: im[3] = '03.jpg'; and so on
var time = 2000; // set delay in miliseconds
var q=1;
function slideI(){
document.getElementById('ima').setAttribute('src',im[q]);
q++;
if(q==im.length){q=0}
setTimeout('slideI()',time);
}
onload=function(){setTimeout('slideI()',time)}
</script>
<title>Indian Institute of Information Technology-Allahabad</title>
</head>
<body>
<div id="wrap" style="height:100px; ">
<div id="header" style="height:inherit; ">
<table border="0" width="100%">
<tr>
<td>
<table>
<tr>
<td width=60% valign="top">
<a href="home.php"></a><img src="img/iiita_header.jpeg" width=510px/></img></a>
</td>
<td valign="top" style="padding-left:30px;" width="30%">
Search Profile:
<form method="get" action="search.php">
<input type="text" name="keywords" />
<input type="submit" value="search"/>
</form>
</td>
<td valign="middle" width="10%">
<?php
if (isset($_SESSION['id'])){
echo '<a href="logout.php">Logout</a>';
} else {
echo '<a href="login.php">Login</a>';
}
?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<img id="ima" src="img/iiitentry.jpg" width="760" height="175" alt="" />
<div id="leftside">
<h2 class="hide">Menu:</h2>
<ul class="avmenu">
<div class="dropdown dropdown-vertical"">
</div>
<li><a href="home.php">Home</a></li>
<li>
<a href="#">
INSTITUTE</a>
<ul>
<li><a href="http://iiita.ac.in/inner.php?conf=abti">
About Us</a></li>
<li><a href="">
Campus</a></li>
<li><a href="">
Facilities</a></li>
<li><a href="">
Director's Message</a></li>
<li><a href="">
IIITA Ranking </a></li>
<li><a href="">
Reaching IIITA</a></li>
<li><a href="">
Right To Information</a></li>
</ul>
</li>
<li>
<a href="#">
Administration</a>
<ul>
<li><a href="">
Over View</a></li>
<li><a href="http://iiita.ac.in/inner.php?conf=camp">
Board Of Governers</a></li>
<li><a href="http://iiita.ac.in/inner.php?conf=facil">
Senate</a></li>
<li><a href="Default.aspx">
Finance Committee</a></li>
<li><a href="Default.aspx">
Building & Works Committee </a></li>
</ul>
</li>
<li><a href="index3.html">Students</a></li>
<li><a href="#">Academics</a>
<li><a href="#">Library</a></li>
</ul>
<div class="announce">
<h2>Updates:</h2>
<marquee direction="down" onmouseover="this.stop();" onmouseout="this.start();">
<p><strong>Apr 24, 2008:</strong><br />Refreshed: v3.0!</p>
<p><strong>Jan 11, 2007:</strong><br />Improved: v2.5!</p>
<p><strong>June 25, 2006:</strong><br />Major upgrade: v2.0.</p>
<p><strong>June 25, 2005:</strong><br />First release: v1.0.</p>
<p class="textright"><a href="#">Sample link »</a></p>
</marquee>
</div>
</div>
<div id="contentwide">
<?php
if ($_SESSION['mcode'] == "l1"){
echo $_SESSION['messgae'];
$_SESSION['mcode'] = "l0";
}
?>
<form action="validate_user.php" method="post">
<br />
<br />
<br />
<div style="padding-left:200px ">
<p><font face="Arial" size=3>
<i>USERNAME:</i>
<input type="text" name="username" />
</div>
<div style="padding-left:200px ">
<i>PASSWORD:</i>
<input type="password" name="password" />
</div>
<br/></br>
<div style="padding-left:300px ">
<input type="submit" value="Sign In" />
</div>
<br />
<br />
</form>
</div>
<div id="footer">
<div align="center">
<table border=0 width="80%">
<tr>
<td align="center">
<a href="imagegallery.php">Image Gallery</a>
</td>
<td align="center">
<a href="#">More Links</a>
</td>
<td align="center">
<a href="#">Developers</a>
</td>
<td align="center">
<a href="#">Maps</a>
</td>
</tr>
</table>
</div>
</div>
</div>
</body>
</html>