Location: PHPKode > projects > DDL CMS > Upload these files to your webspace/admin/ddl.php
<?php

/**********************************************************
*  ______   ______   ___      _______  ___ ___  _______   *
* |   _  \ |   _  \ |   |    |   _   ||   Y   ||   _   |  *
* |.  |   \|.  |   \|.  |    |.  1___||.      ||   1___|  *
* |.  |    |.  |    |.  |___ |.  |___ |. \_/  ||____   |  *
* |:  1    |:  1    |:  1   ||:  1   ||:  |   ||:  1   |  *
* |::.. . /|::.. . /|::.. . ||::.. . ||::.|:. ||::.. . |  *
* `------' `------' `-------'`-------'`--- ---'`-------'  *
*                                _______        _______   *
*                    .--.--.    |   _   |      |       |  *
*                    |  |  |    |___|   |  __  |___|   |  *
*                     \___/      _(__   | |__|  /  ___/   *
*                               |:  1   |      |:  1  \   *
*                               |::.. . |      |::.. . |  *
*                               `-------'      `-------'  *
*                                                         *
*                                   Script: DDLCMS v3.2   *
*                                 Author: Little Dragon   *
*                              Email: hide@address.com   *
*                        Website: http://www.ddlcms.com   *
*                                                         *
*    Please direct bug reports, suggestions or feedback   *
*                                 to the DDLCMS forums:   *
*                                                         *
*                          http://www.ddlcms.com/forums   *
*                                                         *
*    DDLCMS is a commercial grade content management      *
*    system for DDL site owners. It is provided free      *
*    of charge, provided:                                 *
*                                                         *
*    1. You keep the linkback to http://www.ddlcms.com    *
*       in the footer.                                    *
*                                                         *
*    2. You keep the sponsored links to Sharingzone.net   *
*       on your site.                                     *
*                                                         *
*    By using this script, you agree that you will not    *
*    modify, remove, or replace any encoded parts of      *
*    this script. All encoded parts MUST remain intact    *
*    for your site to remain in good standing.            *
*                                                         *
**********************************************************/

	session_start();
	if(!isset($_SESSION) || !is_array($_SESSION) || !array_key_exists('authuser', $_SESSION))
	{
		$_SESSION = NULL;
		session_destroy();
		header('Location: ' . $site_url . '/admin/');
	}
	define('ADMINDIR', dirname(__FILE__) . '/');
	define('WWWROOT', substr(ADMINDIR, 0, -6));
	define('BASEDIR', substr(WWWROOT, 0, ##BASEDIR##));
	require(BASEDIR . 'funcs.inc');
	require(BASEDIR . 'config.php');
	require(ADMINDIR . 'adminheader.php');
?>
						<tr>
							<td width="180" style="margin: 0; padding: 0">
<?php
		$e->leftmenu();
?>
							</td>
<!-- END LEFT SIDE -->

<!-- BEGIN RIGHT SIDE -->
							<td width="*" align="left" valign="top" class="mainbox">

<?php
	if(isset($_GET) && is_array($_GET) && count($_GET) > 0 && array_key_exists('go', $_GET))
	{
		switch($_GET['go'])
		{
			case 'report': 
				if(isset($_POST) && is_array($_POST) && count($_POST) > 0 && array_key_exists('bsub', $_POST))
				{
					$e->reported($_POST['bsub']); 
				}
				else
				{
					$e->reported();
				}
				break;
			case 'add': 
				$e->add($site_url . '/admin/ddl.php?go=add', 1); 
				break;
			case 'added': 
				if(isset($_POST) && is_array($_POST) && count($_POST) > 0 && array_key_exists('bsub', $_POST))
				{
					$e->que($_POST['bsub']); 
				}
				else
				{
					$e->que();
				}
				break;
			case 'stats': 
				if(isset($_GET) && is_array($_GET) && count($_GET) > 0 && array_key_exists('id', $_GET))
				{
					$e->stats($_GET['id']); 
				}
				else
				{
					$e->stats();
				}
				break;
			case 'blacklist': 
				$e->edit_blacklist(); 
				break;
			case 'bannedips':
				$e->viewSubmitterBannedIPs();
				break;
			case 'whitelist': 
				$e->edit_whitelist(); 
				break;
			case 'bannedwords': 
				$e->edit_bannedwords(); 
				break;
			case 'spamwords': 
				$e->edit_spamwords(); 
				break;
			case 'mailinglist': 
				require(ADMINDIR . 'email.php'); 
				$mail = new email(); 
				$mail->listemails(); 
				break;
			case 'email': 
				require(ADMINDIR . 'email.php');
				$mail = new email(); 
				$mail->send(); 
				break;
			case 'optimtables':
				require(ADMINDIR . 'optimtables.inc');
				break;
			case 'editpages':
				require(ADMINDIR . 'editpages.inc');
				break;
			case 'editplinks':
				require(ADMINDIR . 'editplinks.inc');
				break;
			case 'editsuff':
				require(ADMINDIR . 'editsuff.inc');
				break;
			case 'adminbannedips':
				require(ADMINDIR . 'adminbannedips.inc');
				break;
			case 'updatedic':
				require(ADMINDIR . 'updatedic.inc');
				break;
			case 'adminpass':
				require(ADMINDIR . 'adminpass.inc');
				break;
			case 'backupdb':
				require(ADMINDIR . 'backupdb.inc');
				break;
			case 'accesslog':
				require(ADMINDIR . 'accesslog.inc');
				break;
			case 'restoredb':
				require(ADMINDIR . 'restoredb.inc');
				break;
			case 'editrecents':
				require(ADMINDIR . 'editrecents.inc');
				break;
			case 'editsearches':
				require(ADMINDIR . 'editsearches.inc');
				break;
			default: 
				$e->main();
				break;
		}
	}
	else
	{
		$e->main();
	}
?>
							</td>
						</tr>
<!-- END RIGHT SIDE -->
<?php
	require(ADMINDIR . 'adminfooter.php');
?>
Return current item: DDL CMS