<?php session_start();
require_once 'admin/salt.php';
require_once 'admin/securesession.class.php';
$ss = new SecureSession();
$ss->check_browser = true;
$ss->check_ip_blocks = 2;
$ss->secure_word = $salt;
$ss->regenerate_id = true;
if (!$ss->Check() || !isset($_SESSION['logged_in']) || !$_SESSION['logged_in'])
{
header('Location: admin/signin.php');
die();
}
if (!$_SESSION['incsess'])
{
die();
}
include ('./classes/adodb/adodb.inc.php');
include ('admin/config.php');
$dbdriver = "mysql";
$ADODB_CACHE_DIR = '../db/ADODB_cache';
$conn = &ADONewConnection($dbdriver);
$conn->Connect($server,$user,$password,$database);
##############################
#$conn->debug = true;
#$recordSet = &$conn->CacheExecute(3600, 'SELECT optionid, nameopt, valueopt FROM abcoption');
##############################
error_reporting(E_ERROR | E_WARNING | E_PARSE);
$recordSet = &$conn->Execute('SELECT optionid, nameopt, valueopt FROM abcoption');
if(!$recordSet)
print $conn->ErrorMsg();
else
while(!$recordSet->EOF) {
$option[$recordSet->fields[0]] = $recordSet->fields[2];
$recordSet->MoveNext();
}
$sitetitle = $option[1];
$metadesc = $option[2];
$keywords = $option[3];
$sitepath = $option[4];
$language = $option[5];
$caching = $option[6];
$themes = $option[7];
$sitemail = $option[8];
$sitedisabled = $option[9];
$rewritemod = $option[10];
$toplinks = $option[11];
$frontext = $option[12];
$customheader = $option[13];
$signuprole = $option[14];
$signupapp = $option[15];
$newson = $option[16];
$newstext = $option[17];
$siteabout = $option[18];
$siteprivacy = $option[19];
$siteterms = $option[20];
$messaging = $option[21];
$maxposting = $option[22];
$editortrue = $option[23];
$smilestrue = $option[24];
$smilespath = $option[25];
$maxtopic = $option[26];
$hottopic = $option[27];
$adsoffon = $option[28];
$senseup = $option[29];
$sensedown = $option[30];
$stopspam = $option[31];
$incitem = $option[32];
$slider = $option[35];
$efslide = $option[36];
$payoffon = $option[37];
$payvalue = $option[38];
$timeline = $option[39];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" type="text/css" href="admin/style.css" />
</head>
<body>
<table width="850px" background="admin/images/header.jpg" height="35px" cellSpacing=2 cellPadding=5 align="center" border="0">
<tr>
<td align="right" width="180px">
<div id=stopnavy><strong>Control Panel</strong></div>
</td>
<td>
</td>
<td align="left" width="180px"><strong><font color=#FFFFFF><div id=topnavy><div id=stopnavy>PHP Enter</div></div></font></strong>
</td>
</tr>
</table>
<table cellSpacing=1 cellPadding=0 width="852px" align="center" border="0">
<tr>
<td width="180px" vAlign=top><div id="border">
<div id="headers"><img src="admin/images/home.png" width="16" height="16" border="0"> Home</div>
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/index.php">Admin</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="index.php">Main</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> Version: 4.1.6.<br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> Licence: GNU GPL<br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/signout.php">Log Out</a><br />
<div id="headers"><img src="admin/images/configuration.png" width="16" height="16" border="0"> Settings</div>
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/index.php">Configuration</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/pages.php">Pages</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/meta.php">Meta Desc & Keywords</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/announ.php">Announcements</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/protect.php">Spam Protection</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/caching.php">Cache</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/editing.php">Editing/Deleting Posts</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/posting.php">Posting</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/register.php">Registration Settings</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/optimize.php">Optimize Tables</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/frontpage.php">Front Page</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/cheader.php">Custom Header</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/modules.php">Modules</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/htprotect.php">Htpasswd Password</a><br />
<div id="headers"><img src="admin/images/news.png" width="16" height="16" border="0"> Listing</div>
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="addnews.php">Submit New Story</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/listsearch.php">Search News</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/menage.php">Manage News</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/reviews.php">News Comments</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/sponsored.php">Sponsored Listing</a><br />
<div id="headers"><img src="admin/images/categories.png" width="16" height="16" border="0"> Categories</div>
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/addcat.php">New Category</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/editcat.php">Manage Categories</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/addcsub.php">New SubCategories</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/editsub.php">Manage SubCategories</a><br />
<div id="headers"><img src="admin/images/videos.png" width="16" height="16" border="0"> Videos</div>
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/video_search.php">Search Videos</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/videos.php">Manage Videos</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/videom.php">Video Comments</a><br />
<div id="headers"><img src="admin/images/gallery.png" width="16" height="16" border="0"> Gallery</div>
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/gallery.php">Images</a><br />
<div id="headers"><img src="admin/images/users.png" width="16" height="16" border="0"> Members</div>
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/user.php">Members</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/usersearch.php">Search Members</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/messages.php">Messages</a><br />
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/newsletter.php">Newsletter</a><br />
<div id="headers"><img src="admin/images/banner.png" width="16" height="16" border="0"> Banners</div>
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="admin/ads.php">Banners</a><br />
<div id="headers"><img src="admin/images/support.png" width="16" height="16" border="0"> Support</div>
<img src="admin/images/bullet.gif" width="8" height="8" border="0"> <a href="http://forums.phpenter.net">Support Forum</a><br /><br />
</td>
<td align="left" valign="top"><div id="borders">