Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/mm/uprtou1/
Upload File :
Current File : /var/www/html/mmishra/mm/uprtou1/admin.php

<?php
//include library functions
require("config.inc.php");


?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\'>
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<title><?php echo "[$webid] $title"; ?></title>
<meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1' />
<meta name='author' content='<?php echo $author; ?>' />
<meta name='keywords' content='<?php echo $keywords; ?>' />
<meta name='description' content='<?php echo strip_tags($description); ?>' />
<?php
echo ajax();
echo "<style type='text/css'>";
include "jquerycssmenu.css.inc";
echo "</style>";
?>
<link rel='stylesheet' type='text/css' href='css/style.css' media='screen' />
<link rel='stylesheet' type='text/css' href='css/calendar.css' media='screen' />
<link rel='SHORTCUT ICON' href='images/uprtou.ico'>

<!--[if lte IE 7]>
<style type='text/css'>
html .jquerycssmenu{height: 1%;} /*for IE7 and below*/
</style>
<![endif]-->

<script type='text/javascript' src='js/white/jquery.min.js'></script>
<script type='text/javascript' src='js/white/jquerycssmenu.js'></script>
<script language='javascript' src='js/calendar.js'></script>
<script language='javascript' src='js/mm.js'></script>
<script language='javascript' src='js/fontsizer.js'></script>
<?php
//include online editor api
include "classes/editor.php";
?>
</head>
<body id='b'>
<center>
<form name='form' action='admin.php?conf=<?php echo $conf;?>' method='post' enctype='multipart/form-data'>
<?php
echo "<img src='$webid/images/$banner' height='90' width='80%' class='banner'>";
echo "<div id='myjquerymenu' class='jquerycssmenu'>";
echo hmenus($webid, $user, $role, 0);
echo "</div>
<div id='ajax' class='ajaxpage'></div>
<table id='t2' class='watermark' width='80%' height='500' border='0'>
<tr valign='top'><td width='100%' class='content'>
<div class='datehit'>
<a href=\"javascript:decreaseFontSize();\"><img src='images/font-dec.gif' border='0'></a>  
<a href=\"javascript:increaseFontSize();\"><img src='images/font-inc.gif' border='0'></a>
</div><p>";
//show content
if ($conf && $pagetitle) {
        
        echo "$familytree $sibling<br>";
	if ($static == 1)
		echo "<b>Page Title</b><br><input type='text' name='pagetitle' size='100' value='$pagetitle'>";
	else
		echo "<span class='heading'>$pagetitle</span>";
	echo "<div class='datetime'>[ $hits times, dated $datecreation, updated $dateupdation, accessed $dateaccess ]</div>";
	switch ($static) {
	case 0:
                if (file_exists($pagecontent)) include($pagecontent);
		break;	
	case 1:
		echo "<b>Page Content</b><br><textarea name='pagecontent' style='width: 100%'>$pagecontent</textarea>";
		break;
	default:
		echo "<b>Page Link</b><br><input type='text' name='pagecontent' size='140' value='$pagecontent'>";
		break;
	}
	
        if ($role == 'admin' && $userid == $user && $static > 0) echo "<br><input type='submit' name='submit' value='UPDATE' style='width: 80px'>";
} else {
        echo "<b>Oops!</b><br><dir>The page is under construction, Please visit later. Thanks.</dir>";
}

echo "</p></td></tr><tr><td class='footer'>";
echo features($webid) . '<br>';
echo signin($webid, $user) . '<br>';
echo footer($webid);
echo "</td></tr></table>";

?>
</form>
</center>
</body>
</html>