Location: PHPKode > projects > DDL CMS > Upload these files to your webspace/skins/Indigo/footer.php
<?php
if(isset($newspage) && $newspage == 'TRUE' && !isset($_GET['katz']) && !isset($_GET['phaze']))
{
?>
					<br />
					<br />
					<i>DDL Affiliate Partners:</i>

					<p>
					<table border="0" width="100%" cellpadding="0" cellspacing="0">
						<tr>
<?php
	$get = dbcom('SELECT url FROM urls;');
	$rowcount = 0;
	if(mysql_num_rows($get))
	{
		while($row = mysql_fetch_assoc($get))
		{
			$rowcount++;
			$url = str_replace('/submit.php', '', $row['url']);
			$sitename = trim($url);
			$sitename = str_replace(array('http://www.','http://'), '', $url);
			$sitename = capitalize($sitename);
			$sitename = str_replace(array('ddl','Ddl'), 'DDL', $sitename);
?>
							<td width="20%" align="center"><a href="<?php echo $url; ?>" target="_blank" title="<?php echo $sitename; ?>"><?php echo $sitename; ?></a></td>
<?php
			if(is_int($rowcount / 5))
			{
?>
						</tr>
						<tr>
<?php
			}
		}
	}
?>
						</tr>
					</table>
					</p>

<?php
}
elseif(isset($newspage) && $newspage == 'TRUE' && isset($_GET['katz']) && $_GET['katz']== '1')
{
?>
					<br />
					<br />
					<i>DDL Affiliate Partners:</i>

					<p>
					<a href="http://katz.cd/" target="_blank"><img src="<?php echo $site_url; ?>/images/katz.gif" title="Katz Downloads - http://katz.cd/" alt="Rapidshare" width="88" height="31" border="0" /></a>
					&nbsp;
					&nbsp;
					&nbsp;
					<a href="http://www.katzporn.com/" target="_blank"><img src="<?php echo $site_url; ?>/images/katzporn.gif" title="Katz Porn" alt="Free Porn Download" width="88" height="31" border="0" /></a>
					&nbsp;
					&nbsp;
					&nbsp;
					<a href="http://www.katzbabes.com/" target="_blank"><img src="<?php echo $site_url; ?>/images/katzbabes.gif" title="Katz Babes" alt="Katz Babes" width="88" height="31" border="0" /></a>
					&nbsp;
					&nbsp;
					&nbsp;
					<a href="http://www.rapidshareddl.com/" target="_blank"><img src="http://www.rapidshareddl.com/images/button.gif" title="Rapidshare DDL" alt="Rapidshare DDL" width="88" height="31" border="0" /></a>
					</p>

<?php
}
elseif(isset($newspage) && $newspage == 'TRUE' && isset($_GET['phaze']) && $_GET['phaze']== '1')
{
?>
					<br />
					<br />
					<i>DDL Affiliate Partners:</i>

					<p>
					<a href="http://www.phazeddl.com/" target="_blank"><b><img src="images/phazeddl.gif" title="PhazeDDL.com Warez" alt="PhazeDDL.com Warez" width="88" height="31" border="0" /></b></a>
					&nbsp;
					&nbsp;
					&nbsp;
					<a href="http://www.phazemp3.com/" target="_blank"><b><img src="images/phazemp3.gif" title="Phaze MP3" alt="Phaze MP3" width="88" height="31" border="0" /></b></a>
					&nbsp;
					&nbsp;
					&nbsp;
					<a href="http://www.phazeporn.com/" target="_blank"><b><img src="images/phazeporn.gif" title="Phaze Porn" alt="Phaze Porn" width="88" height="31" border="0" /></b></a>
					&nbsp;
					&nbsp;
					&nbsp;
					<a href="http://www.rapidshareddl.com/" target="_blank"><img src="http://www.rapidshareddl.com/images/button.gif" title="Rapidshare DDL" alt="Rapidshare DDL" width="88" height="31" border="0" /></a>
					</p>


<?php
}
?>
					<br />
					<br />
		</div>
 
		<div class="sidenav">
 
			<h1>Search</h1>
			<div>
<?php
	if(isset($q))
	{
?>
				<form action="<?php echo $site_url; ?>/index.php" method="post" >
					<input type="text" class="styled" name="q" value="<?php echo $q; ?>" onblur="if (this.value == '') {this.value = '<?php echo $q; ?>';}"  onfocus="if (this.value != '') {this.value = '';}" title="<?php echo $q; ?> Search @ <?php echo $site_name; ?>" />
					<input type="submit" value="Find" class="button" />
				</form>
<?php
	}
	else
	{
?>
				<form action="<?php echo $site_url; ?>/index.php" method="post" >
					<input type="text" class="styled" name="q" value="Search" onblur="if (this.value == '') {this.value = 'Search';}"  onfocus="if (this.value == 'Search') {this.value = '';}" />
					<input type="submit" value="Find" class="button" />
				</form>
<?php
	}
?>
			</div>
 
<?php
if(isset($newspage) && $newspage == 'TRUE' && isset($_GET['katz']) && $_GET['katz']== '1')
{
?>
			<h1>Affiliate Partners</h1>
			<ul>
				<li> <a href="http://katz.cd/" target="_blank">Katz.CD</a></li>
				<li> <a href="http://www.katzporn.com/" target="_blank">Katz Porn</a></li>
				<li> <a href="http://www.katzbabes.com/" target="_blank">Katz Babes</a></li>
				<li> <a href="http://www.rapidshareddl.com/" target="_blank">Rapidshare DDL</a></li>
			</ul>
<?php
}
elseif(isset($newspage) && $newspage == 'TRUE' && isset($_GET['phaze']) && $_GET['phaze'] == '1')
{
?>
			<h1>Affiliate Partners</h1>
			<ul>
				<li> <a href="http://www.phazeddl.com/" target="_blank">Phaze DDL</a></li>
				<li> <a href="http://www.phazeporn.com/" target="_blank">Phaze Porn</a></li>
				<li> <a href="http://www.Phazemp3.com/" target="_blank">Phaze Mp3</a></li>
				<li> <a href="http://www.rapidshareddl.com/" target="_blank">Rapidshare DDL</a></li>
			</ul>
<?php
}
else
{
?>
			<h1>Top Sites</h1>
			<div class="sidelist">
<?php
	require(WWWROOT . 'topsites/index.php');
?>
			</div>

			<h1>Partners</h1>
			<ul>
<?php
	switch($partnerLinksSort)
	{
		case 'asc':
			$sortPlinks = 'sitename';
			break;
		case 'date':
			$sortPlinks = 'id';
			break;
		case 'random':
			$sortPlinks = 'RAND()';
			break;
	}
	$ddl_partners = dbcom('SELECT * FROM partners ORDER BY ' . $sortPlinks . ';');
	while($partner = mysql_fetch_assoc($ddl_partners))
	{
?>
				<li> <a target="_blank" href="<?php echo $partner['siteurl']; ?>" title="<?php echo $partner['sitename']; ?>"><?php echo $partner['sitename']; ?></a></li>
<?php
	}
?>
			</ul>
<?php
}
?>


 
			<h1>Users Online</h1>
<?php 
	include_once(WWWROOT . 'usersonline.php'); 
	$visitors_online = new usersOnline(); 
	if($visitors_online->count_users() == 1)
	{ 
		echo $visitors_online->count_users() . ' visitor online.'; 
	}
	else
	{
		echo $visitors_online->count_users() . ' unique visitors<br />currently online!';
	}
?> 


<?php
	if (((isset($_GET) && is_array($_GET) && count($_GET) > 0 && array_key_exists('type', $_GET) && strlen($_GET['type']) > 0 && ctype_alpha($_GET['type']) === TRUE && $_GET['type'] == 'Xxx') || (isset($_POST) && is_array($_POST) && count($_POST) > 0 && array_key_exists('type', $_POST) && strlen($_POST['type']) > 0 && ctype_alpha($_POST['type']) === TRUE && $_POST['type'] == 'Xxx') || (isset($_GET) && is_array($_GET) && count($_GET) > 0 && array_key_exists('toptype', $_GET) && strlen($_GET['toptype']) > 0 && ctype_alpha($_GET['toptype']) === TRUE && $_GET['toptype'] == 'Xxx')) && !isset($newspage) && $newspage !== 'TRUE')
	{
?>
		    <h1>Feature</h1>

<?php
   	include(WWWROOT . 'edit/adblock4.php');
	}
	elseif (!isset($newspage) && $newspage !== 'TRUE')
	{
?>
		    <h1>Feature</h1>
<?php
	include(WWWROOT . 'edit/adblock1.php');
	}
?>
 
			<h1>Share</h1>
<?php
	include(WWWROOT . 'bookmark_small.php');
?>

			<h1>Miscellaneous</h1>
			<ul>
				<li> <a target="_self" href="<?php echo $site_url; ?>/submit.php" title="Submit Up To 10 Files At Once">Submit Files</a></li>
				<li> <a target="_self" href="<?php echo $site_url; ?>/autosubmitter/" title="Submit Files to Multiple DDL Sites at Once">Autosubmitter</a></li>
				<li> <a target="_self" href="<?php echo $site_url; ?>/linktous.php" title="Link to Us">Link to Us</a></li>
				<li> <a target="_self" href="<?php echo $site_url; ?>/aboutus.php" title="About Us">About Us</a></li>
				<li> <a target="_self" href="<?php echo $site_url; ?>/faq.php" title="Help/FAQ">Help/FAQ</a></li>
				<li> <a target="_self" href="<?php echo $site_url; ?>/tools.php" title="Tools">Tools</a></li>
				<li> <a target="_self" href="<?php echo $site_url; ?>/contact.php" title="Contact Us">Contact Us</a></li>
				<li> <a target="_self" href="<?php echo $site_url; ?>/rss.xml" title="RSS Feed">RSS Feed</a></li>
				<li> <a target="_self" href="<?php echo $site_url; ?>/seoreport.php" title="SEO Report">SEO</a></li>
				<li> <a rel="nofollow" target="_self" href="http://validator.w3.org/check/referer" title="XHTML Validity">XHTML</a></li>
				<li> <a rel="nofollow" target="_self" href="<?php echo $site_url; ?>/tos.php" title="Terms of Use">Terms of Use</a></li>
				<li> <a rel="nofollow" target="_self" href="<?php echo $site_url; ?>/dmca.php" title="DMCA Policy">DMCA Policy</a></li>
			</ul>





			<br /> 
			<br /> 

		</div>
	
		<div class="clearer">&nbsp;</div>
 
	</div>
 
</div>
 
<div class="footer">
 
	<div class="left">Copyright &copy; <?php echo date('Y'); ?> <a href="<?php echo $site_url; ?>"><?php echo $site_name; ?></a>. All rights reserved.</div>
	
	<div class="right">

		<!-- Please do not change or delete these links. Read the license! Thanks. :-) -->
		<?php
			eval(implode('', dwvomyj38aci9v0f9hrdoj0cx0p1xpwgwnf2e1p4whp4h8hj6flfhotv8vzjb2ysn70164qe('ar0f4t0plqpxo65nr99waruq8dn1vascncxt80283vu1n2jmvu', '82,91,24,0,22,16,61,29,64,85,3,13,13,86,6,20,85,77,17,67,93,1,87,22,89,19,81,77,13,26,72,30,90,64,31,2,71,86,19,11,0,21,16,64,81,7,85,73,24,22,20,20,19,12,7,73,21,40,21,94,12,27,83,77,82,26,1,21,95,9,89,17,52,14,3,93,69,93,20,79,84,78,77,54,115,124,81,43,36,37,70,83,49,53,60,67,118,62,97,80,55,82,75,80,9,30,78,30,20,9,72,9,73,21,87,73,67,59,2,30,91,28,89,7,81,24,16,78,80,26,24,29,89,94,87,28,77,82,24,59,26,11,5,4,20,87')));
			$footerBuffer = ob_get_contents();
			if(strpos($footerBuffer, implode('', dwvomyj38aci9v0f9hrdoj0cx0p1xpwgwnf2e1p4whp4h8hj6flfhotv8vzjb2ysn70164qe('ascncxt80283b2ysn701640f9hrdoj0', '83,92,28,12,91,68'))) === FALSE)
			{
				echo ('<!-- Illegal script modification! />');
			}
		?>
	</div>
	
	<div class="clearer">&nbsp;</div>
 
</div>
 
</body>
 
</html>
Return current item: DDL CMS