Location: PHPKode > projects > DDL CMS > Upload these files to your webspace/whitelist.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; ?> Whitelist</h2>
				<p>
The following URLs are on <?php echo $site_name; ?>'s "Allowed Sites" list, or whitelist.<br />
					<br />
A website automatically gets on our whitelist if <b><?php echo $whitelist_threshold; ?> or more files are submitted and accepted</b> to our database.<br />
					<br />
Sites in the whitelist list <b>are <?php if($auto_allow == 0){ echo 'NOT'; } ?></b> automatically added to the main DDL list.<br />
					<br />
<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/vip.gif" alt="VIP Site" /> VIP sites are <b>always automatically accepted</b> to the DDL list.<br />
<br />
Note: If your website breaks the rules, <i>even if it's on the whitelist</i>, it can still be banned, where all your downloads will be deleted instantly, so please follow <a href="<?php echo $site_url; ?>/submit.php"><b>the Rules</b></a>!<br />
				</p>
				<table width="100%" cellpadding="0" cellspacing="0" border="0">
					<tr>
<?php
	$whitelist = dbcom('SELECT * FROM whitelist ORDER BY url;');
	while($whitelisted = mysql_fetch_array($whitelist))
	{
		$i++;
		echo '<td width="33%" style="color: #008000"><img src="' . $site_url . '/skins/' . $skin . '/arrow.gif" height="8" width="4"> ' . $whitelisted['url'];
		if($whitelisted['vip'] == 1)
		{
			echo ' <img src="' . $site_url . '/skins/' . $skin . '/vip.gif" alt="VIP Site" />' . "\n";
		}
		echo '</td>' . "\n";
    	if(is_int($i/3))
		{
			echo '</tr><tr>' . "\n";
		}
	}
?>
					</tr>
				</table>
			</td>
		</tr>
	</table>
<!-- END BODY -->
<?php
	require(WWWROOT . 'skins/' . $skin . '/footer.php');
?>
Return current item: DDL CMS