| Current Path : /var/www/html/mmishra/mm/air/ |
| Current File : /var/www/html/mmishra/mm/air/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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo "[$webid] $title";?></title>
<meta name='author' content='<?php echo $author; ?>' />
<meta name='keywords' content='<?php echo $keywords; ?>' />
<meta name='description' content='<?php echo strip_tags($description); ?>' />
<!--link rel='stylesheet' type='text/css' href='css/style1.css' media='screen' /-->
<link rel='stylesheet' type='text/css' href='css/white/jquerycssmenu.css' />
<link rel="stylesheet" type="text/css" href="css/templatemo_style.css" />
<!--[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 type='text/javascript' src='js/mm.js'></script>
<script language='javascript' src='js/calendar.js'></script>
<?php
echo ajax();
//include online editor api
require_once('classes/editor.php');
require_once('classes/tc_calendar.php');
?>
</head>
<body>
<form action='admin.php?conf=<?php echo $conf; ?>' method='post' enctype='multipart/form-data'>
<div id="templatemo_wrapper_outer">
<div id="templatemo_wrapper">
<div id="templatemo_header">
<div id="site_title">
<h1>All India Radio Allahabad</h1>
</div> <!-- end of site_title -->
<div id="templatemo_menu">
<div id='myjquerymenu' class='jquerycssmenu'>
<?php
echo hmenus($webid, $user, $role, 0);
?>
</div>
<div class="cleaner"></div>
</div>
</div> <!-- end of header -->
<div id='ajax'></div>
<div id="templatemo_main_wrapper">
<div id="templatemo_main">
<div id="content">
<div class="post">
<div class="post_meta">
<p><span><img src='<?php echo $webid; ?>/images/logo.jpg' width='80' height='80' /></span></p>
<p>Contact<span><?php echo $contact; ?></span></p>
<p>Date<span><?php echo date("d M, Y"); ?></span></p>
<p>User<span><?php echo signin($webid, $user); ?></span></p>
</div>
<div class="post_content">
<h2><?php echo $pagetitle; ?></h2>
<p>
<?php
//show content
if ($conf) {
if ($static == 1)
echo "Page Title<br><input type='text' name='pagetitle' size='50' value='$pagetitle'><br>";
if ($static == 1)
echo "Page Content<br><textarea name='pagecontent' style='width: 100%'>$pagecontent</textarea><br>";
else if ($static == 0)
if (file_exists("$pagecontent")) include("$pagecontent");
else
echo "Page Link<br><input type='text' name='pagecontent' size='50' value='$pagecontent'><br>";
if ($role == 'admin' && $static > 0)
echo "<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>";
}
?>
</p>
<div class="btn_more">
<?php
echo "Dated $datecreation, Updated $dateupdation, Accessed $dateaccess, Hits $hits<br>";
echo $sibling;
?>
</div>
</div>
<div class="cleaner"></div>
</div> <!-- end of a post -->
<div class="cleaner"></div>
</div> <!-- end of content -->
<div id="sidebar">
<div class="rss">
<?php
if ($conf) echo $familytree;
?>
</div>
<div class="sidebar_box">
<h3>Announcements</h3>
<span class="tmo_list">
<?php
echo announcements($webid);
?>
</span>
</div>
</div> <!-- end of sidebar -->
<div class="cleaner"></div>
</div>
</div> <!-- end of main wrapper -->
</div> <!-- end of wrapper -->
<div id="templatemo_footer">
<div class="footer_col_w200">
<h3>Links</h3>
<?php
echo features($webid);
?>
</div>
<div class="footer_col_w400">
<h3>Updations</h3>
<?php
echo latestUpdations($webid);
?>
</div>
<div class="footer_col_w300">
</div>
<div class="cleaner"></div>
<?php
echo footer($webid);
?>
</div>
</div>
</form>
</body>
</html>