Location: PHPKode > projects > DDL CMS > Upload these files to your webspace/blacklist.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.            *
*                                                         *
**********************************************************/

	define('WWWROOT', dirname(__FILE__) . '/');
	define('BASEDIR', substr(WWWROOT, 0, ##BASEDIR##));
	require(BASEDIR . 'funcs.inc');
	require(BASEDIR . 'config.php');
	require(WWWROOT . 'skins/' . $skin . '/header.php');
?>
<!-- BEGIN BODY -->
	<table border="0" width="90%">
		<tr>
			<td align="left">
				<h2><?php echo $site_name; ?> Blacklist</h2>
				<p>
The following URLs are on <?php echo $site_name; ?>'s blacklist.  If your website appears below,
it's because you broke one of the Rules on our <a href="<?php echo $site_url; ?>/submit.php"><b>Submit page</b></a>.<br />
<br />
Blacklisted sites are banned and automatically blocked from further submissions to <?php echo $site_name; ?>.<br />
<br />
To get off this list, read the rules on our <a href="<?php echo $site_url; ?>/submit.php"><b>Submit page</b></a>,
change your website/submit pages so they comply with our rules, then <a href="<?php echo $site_url; ?>/contact.php"><b>email us</b></a> us some example
links requesting to be removed.
				</p>
				<br />
				<table width="100%" cellpadding="0" cellspacing="0" border="0">
					<tr>
<?php
	$blacklist = dbcom('SELECT * FROM blacklist ORDER BY url;');
	while($blacklisted = mysql_fetch_assoc($blacklist))
	{
		$i++;
		echo '<td width="33%" style="color: #ff0000;"><img src="' . $site_url . '/skins/' . $skin . '/arrow.gif" height="8" width="4" /> ' . $blacklisted['url'] . '</td>' . "\n";
		if(is_int($i/3))
		{
			echo '</tr>' . "\n";
			echo '<tr>' . "\n";
		}
	}
?>
					</tr>
				</table>
			</td>
		</tr>
	</table>
<!-- END BODY -->
<?php
	require(WWWROOT . 'skins/' . $skin . '/footer.php');
?>
Return current item: DDL CMS