| Current Path : /var/www/html/mmishra/irp/irp/mcell/ |
| Current File : /var/www/html/mmishra/irp/irp/mcell/page_header.inc |
<?php
//db_connect.php
include "common_db.inc";
error_reporting(0);
$link_id = db_connect('mcell');
if(!$link_id) die(sql_error());
$action = $_REQUEST["action"];
if ($action == "logout") session_destroy();
?>
<html>
<head>
<title>Maintenance Cell</title>
<base href="http://172.31.1.99/"></base>
<link rel=stylesheet href='/php/mcell/mcell.css' type="text/css">
<style type='text/css'><!-- A {text-decoration:none}--></style>
</head>
<body>
<center>
<table cellpadding=0 cellspacing=0 width='96%' id='white_box'>
<tr valign='center' id='ttl'>
<td align='center' width='80%' background="/php/mcell/top.jpg" align=right valign=bottom style="padding: 0px; background-repeat: no-repeat;">
<font color='white'>MainCite Ver. 1.0</font>
<div align='right'><img src='/php/mcell/logo1.jpg' width='30' height='30'> </div><br>
</td></tr>
<tr><td bgcolor='black' align='right'><font color='white'>
<?php
if (!session_id()) echo "<a href='/php/mcell/left.php?action=login&user_id=&password=&submit=' target='left'>Login</a> | ";
else echo "<a href='/php/mcell/right.php?action=logout&user_id=&password=&submit=' target='right'>Logout</a> | ";
echo date("D, d-m-Y") . " ";
?>
</font></td></tr>
<tr><td colspan='1' id='id1'>