Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/indem/old/indem/
Upload File :
Current File : /var/www/html/mmishra/indem/old/indem/index.php

<HTML>
<HEAD>
<TITLE>INDEM - IIITA Network Development, Engineering & Management</TITLE>
<meta name="author" content="INDEM" /> 
<link href="style.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</HEAD> 
<BODY align='center'>
<table width="700" cellspacing="0" cellpadding="0" align="center">
<tr bgcolor=white>
<td colspan="9" align="center">
<!--<img src="images/indem_logo.jpg" alt="" width="700" height="130">-->
<img src="net.jpg" alt="" width="700" height="130">

</td></tr>
<tr bgcolor=white>
<th width='12%'><a href="/">INDEMICA</a></th>
<th width='11%'><a href="?pg=network">Network</a></th>
<th width='11%'><a href="?pg=servers">Hardware</a></th>
<th width='11%'><a href="?pg=software">Software</a></th>
<th width='11%'><a href="?pg=services">Services</a></th>
<th width='11%'><a href="?pg=wi-fi">Wi-Fi</a></th>
<th width='11%'><a href="?pg=intercom">Intercom</a></th>
<th width='11%'><a href="?pg=ctviptv">CTV/IPTV</a></th>
<th width='11%'><a href="?pg=bpl">BPL</a></th>
</tr><tr><td colspan='9' align='center'>
<marquee height=20 width=700 scrollamount=2 scrolldelay=10 direction=left onmouseover="this.stop()" onmouseout="this.start()">
This site contains information on BPL, CTV, IPTV, Open-LDAP, Proxy, Mail, WWW, Firewall, DNS, NFS, Router, NAS, IP-SAN, Profile etc.
</marquee>
</td></tr>
<?php
include "functions.inc";
dbConnect();

$pg = $_REQUEST["pg"];
$submit = $_POST["submit"];
?>
<tr valign='top' height="500">
<td colspan='9' align='justify'>
<form method='post' action="<?echo $PHP_SELF?>?pg=<?=$pg?>">
<?php

session_start();
if (isset($_SESSION["uid"]) && $pg == 'logout') {
        session_destroy();
        $uid = '';
        $pg = '';
} else if ($submit == 'LOGIN') {
        if (authenticate($_REQUEST["loginid"], $_REQUEST["passwd"]) == "OK") {
                $_SESSION["uid"] = $_REQUEST["loginid"];
                session_register("uid");
        } else {
                echo "<b id='alert'>Sorry</b> invalid login, try again but not again & again.<br>";
        }
}
if (isset($_SESSION["uid"])) $uid = $_SESSION["uid"];

//open requested page
if (!$pg) $pg = 'main';
include("class.phpmailer.php");
include "$pg.inc";

if ($uid) echo "<hr><center>User [ <a href='mailto:{$uid}@iiita.ac.in'>{$uid}</a> ] logged in. Please <a href='?pg=logout'>Logout</a> here.</center>";
echo "<input type='hidden' name='pg' value='$pg'>";
?>
</form>
</td></tr>
</table>
<b><center>By MMishra<br>INDEM @ IIITA</center></b>
</body>
</html>