Location: PHPKode > projects > Modular Site Manager > htdocs/admin.php
<?
	ob_start();
	include "./inc/functions.inc.php";
	if(!isset($_COOKIE['mid']))
	{
		die("You must be logged in to view this page");
	}
	$group = getuserinfo("groups");
	if($group !== "1")
	{
		die("You do not have the correct permissions to view this page");
	}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Vouksh.info Admin</title>
<base href="<?=SITE_URL; ?>" />
<link href="style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/inc/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
	mode : "textareas",
	editor_selector : "wysiwyg",
	theme : "advanced",
	remove_linebreaks : false,
	entity_encoding : "raw",
	plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,contextmenu",
	theme_advanced_buttons1_add_before : "save,separator",
	theme_advanced_buttons1_add : "fontselect,fontsizeselect",
	theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor",
	theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
	theme_advanced_buttons3_add_before : "tablecontrols,separator",
	theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_path_location : "bottom",
	plugin_insertdate_dateFormat : "%Y-%m-%d",
	plugin_insertdate_timeFormat : "%H:%M:%S",
	extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
	external_link_list_url : "example_data/example_link_list.js",
	external_image_list_url : "example_data/example_image_list.js",
	flash_external_list_url : "example_data/example_flash_list.js"
});
</script>
</head>
<body>
<div style="width:100%; font-size:12px;">
	<div style="width:15%; overflow:auto; float:left; text-align:center; border-right:3px solid #000; height: 738px;">
		<a href="<?=SITE_URL; ?>">Back to main site</a><br />
	<div style="background-color:#333333; color:#FFFFFF;"> Tutorial Control</div>
	<div>
		<a href="admin.php?sect=tuts&amp;page=approve">Approve Tutorials</a><br />
		<a href="admin.php?sect=tuts&amp;page=edit">Edit Tutorials</a><br />
		<a href="admin.php?sect=tuts&amp;page=delete">Delete Tutorials</a><br />
		<a href="admin.php?sect=tuts&amp;page=cats">Manage Categories</a><br />
	</div>
	<div style="background-color:#333333; color:#FFFFFF;">Downloads Control</div>
	<div>
		<a href="admin.php?sect=dls&amp;page=edit">Edit Downloads</a><br />
		<a href="admin.php?sect=dls&amp;page=delete">Delete Downloads</a><br />
		<a href="admin.php?sect=dls&amp;page=cats">Manage Categories</a><br />
	</div>
	<div style="background-color:#333333; color:#FFFFFF;">Image Gallery Control</div>
	<div>
	<a href="admin.php?sect=imgal&amp;page=edit">Edit Images</a><br />
	<a href="admin.php?sect=imgal&amp;page=delete">Delete Images</a><br />
	<a href="admin.php?sect=imgal&amp;page=cats">Manage Categories</a><br />
	</div>
	<div style="background-color:#333333; color:#FFFFFF;">Member Control</div>
	<div>
		<a href="admin.php?sect=members&amp;page=edit">Edit Members</a><br />
		<a href="admin.php?sect=members&amp;page=ban">Ban Members</a><br />
		<a href="admin.php?sect=members&amp;page=newsletter">Send Newsletter</a><br />
	</div>
	<div style="background-color:#333333; color:#FFFFFF;">News Control</div>
	<div>
		<a href="admin.php?sect=news&amp;page=new">Post News</a><br />
		<a href="admin.php?sect=news&amp;page=edit">Edit News</a><br />
		<a href="admin.php?sect=news&amp;page=delete">Delete News</a><br />
	</div>
	<div style="background-color:#333333; color:#FFFFFF;">Content Control</div>
	<div>
		<a href="admin.php?sect=content&amp;page=new">Add a page</a><br />
		<a href="admin.php?sect=content&amp;page=edit">Edit a page</a><br />
		<a href="admin.php?sect=content&amp;page=delete">Delete a page</a><br />
		<a href="admin.php?sect=content&amp;page=addmainnav">Add to the main navigation</a><br />
		<a href="admin.php?sect=content&amp;page=addtopnav">Add to the top navigation</a><br />
		<a href="admin.php?sect=affs">Affiliate Control</a><br />
	</div>
	</div>
</div>
<div style="width: 84%; overflow: auto; float: right; text-align:left; height:738px;">
<?php
include("lk/admin.inc.php");
$mysql->close();
?>
</div>
</body>
</html>
Return current item: Modular Site Manager