| Current Path : /var/www/html/mmishra/indem/Parisarnews/ |
| Current File : /var/www/html/mmishra/indem/Parisarnews/inner.php |
<?php
require("config.inc.php");
require("functions.inc.php");
dbConnect();
$id = $_REQUEST['id'];
$tbl = 'webpages';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Parisar News</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="css/styles.css" rel="stylesheet" type="text/css" />
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Parisar News</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="css/styles.css" rel="stylesheet" type="text/css" />
<script type='text/javascript' src='js/mm.js'></script>
<script language='javascript' src='js/calendar.js'></script>
<?php
//include online editor api
require_once('classes/editor.php');
require_once('classes/tc_calendar.php');
?>
</head>
<body>
<form action='inner.php' method='POST' enctype='multipart/form-data'>
<div id="container">
<div align="center">
<a href="https://www.facebook.cem/parisarnews"><img src="images/facebook_1.gif"></a>
<a href="https://plus.google.com/parisarnews"><img src="images/google-plus.png"></a>
<a href="http://twitter.com/parisarnews"><img src="images/twitter_1.gif"></a>
</div>
<div id="intro">
<div id="pageHeader">
<h1><span>Parisar News</span></h1>
<h2><span> MY CAMPUS MY NEWS</span></h2>
</div>
<div id="lmenu">
<?php echo menu('online'); ?>
</div>
</div>
<div id="quickintro">
<div class="logo">
<img src="images/logo.jpg" width="300" height="170" />
</div>
<div class="imageMap" style="text-align: left;">
<?php
$rs = mysql_query("select * from $tbl where rowid=$id");
while ($o = mysql_fetch_object($rs)) {
echo "<h3><span>$o->title</span></h3><br>
<p class='content'><span>";
if ($o->imagetag) echo "<img src='images/$o->imagetag' width='150' height='140' align='left'>";
echo htmlunsafe($o->source) . "</span></p>
<div class='dated'>Updated: $o->dateupdation, Hits: $o->hits</div>";
//if ($user) {
echo "<div class='more'><a href='webedit.php?section=$o->section&id=$o->rowid'>Edit...</a></div>";
//}
}
mysql_query("update $tbl set hits=hits+1 where rowid=$id");
?>
</div>
</div>
</div>
<div class="eduAlert">
<b><u>Edu Alert</u></b><br><br>
<marquee direction="up" behavior="scroll" scrollamount="1" style="height: 400pt;">
<?php echo eduAlert('online'); ?>
</marquee>
</div>
<div class="jobAlert">
<b><u>Job Alert</u></b><br><br>
<marquee direction="up" behavior="scroll" scrollamount="1" style="height: 400pt;">
<?php echo jobAlert('online'); ?>
</marquee>
</div>
</form>
</body>
</html>