Location: PHPKode > projects > DDL CMS > Upload these files to your webspace/skins/default/footer.php
								</td>
<!-- END RIGHT SIDE -->
					</tr>
					<tr>
						<td colspan="2" align="center">
<?php
	if(isset($newspage) && $newspage == 'TRUE' && !isset($_GET['katz']) && !isset($_GET['phaze']))
	{
?>

							<table class="footerbox">
								<tr>
									<td style="padding-left: 70px; padding-right: 70px;" align="center">
										<b>DDL Affiliate Partners:</b>
										<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>
									</td>
								</tr>
							</table>


<?php
	}
	elseif(isset($newspage) && $newspage == 'TRUE' && isset($_GET['katz']) && $_GET['katz']== '1')
	{
?>
							<table class="footerbox">
								<tr>
									<td style="padding-left: 70px; padding-right: 70px;" align="center">
										<b>DDL Affiliate Partners:</b>
										<p>
											<table border="0" width="100%" cellpadding="0" cellspacing="0">
												<tr height="60">
													<td colspan="5" align="center">
														<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>
													</td>
												</tr>
											</table>
										</p>
									</td>
								</tr>
							</table>


<?php
	}
	elseif(isset($newspage) && $newspage == 'TRUE' && isset($_GET['phaze']) && $_GET['phaze'] == '1')
	{
?>


							<table class="footerbox">
								<tr>
									<td style="padding-left: 70px; padding-right: 70px;" align="center">
										<b>DDL Affiliate Partners:</b>
										<p>
											<table border="0" width="100%" cellpadding="0" cellspacing="0">
												<tr height="60">
													<td colspan="5" align="center">
														<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>
													</td>
												</tr>
											</table>
										</p>
									</td>
								</tr>
							</table>
<?php
	}
	elseif(isset($q) && $spamSearch !== TRUE)
	{
?>
							<table class="footerbox">
								<tr>
									<td style="padding-left: 70px; padding-right: 70px;" align="center">
										<b>Related Searches:</b>
										<p>
											<table border="0" width="100%" cellpadding="0" cellspacing="0">
												<tr>
													<td align="justify">
<?php
		$get = dbcom('SELECT suffix FROM suffixes ORDER BY RAND();');
		if(mysql_num_rows($get))
		{
			while($row = mysql_fetch_assoc($get))
			{
?>
														<a href="<?php echo $siteurl; ?>/free-download-<?php echo $q; ?>-<?php echo $row['suffix']; ?>.htm" target="_blank" title="<?php echo $q . ' ' . $row['suffix']; ?>"><?php echo Capitalize($q); ?> <?php echo $row['suffix']; ?></a>, 
<?php
			}
		}
?>
													</td>
												</tr>
											</table>
										</p>
									</td>
								</tr>
							</table>
<?php
	}
	else
	{
		if(($showInstantLE == 1 && !isset($q) && empty($type) && !isset($toptype)) || ($showInstantLE == 1 && isset($q) && empty($type) && !isset($toptype) && $spamSearch !== TRUE))
		{
?>
							<table class="footerbox">
								<tr>
									<td style="padding-left: 70px; padding-right: 70px;" align="center">
										<b>Instant Link Partners:</b> 
										<a href="<?php echo $site_url; ?>/instantle/form.php">(Add Link)</a>
										<br /><br />
<?php
				require(WWWROOT . 'instantle/links.inc');
?>
									</td>
								</tr>
							</table>
<?php
		}
		if($showTopSearches == 1)
		{
?>
							<table class="footerbox">
								<tr>
									<td style="padding-left: 70px; padding-right: 70px;" align="center">
										<b>Top <?php echo $topsearches; ?> Searches:</b>
										<p align="justify">
<?php
			$ddl_top = dbcom("SELECT query FROM searches ORDER BY views DESC LIMIT $topsearches;");
			while($ddl = mysql_fetch_assoc($ddl_top))
			{
?>
											<a href="<?php echo $site_url; ?>/free-download-<?php echo $ddl['query']; ?>.htm" target="_top"><?php echo $ddl['query']; ?></a>, 
<?php
			}
?>
										</p>
									</td>
								</tr>
							</table>
<?php
		}
		if($showRecentSearches == 1)
		{
?>
							<table class="footerbox">
								<tr>
									<td style="padding-left: 70px; padding-right: 70px;" align="center">
										<b>Recent <?php echo $recentsearches; ?> Searches:</b>
										<p align="justify">
<?php
			$ddl_recents = dbcom("SELECT query FROM searches ORDER BY timestamp DESC LIMIT 0, $recentsearches;");
			while($ddl = mysql_fetch_assoc($ddl_recents))
			{
?>
											<a href="<?php echo $site_url; ?>/free-download-<?php echo $ddl['query']; ?>.htm" target="_top"><?php echo $ddl['query']; ?></a>, 
<?php
			}
?>
										</p>
									</td>
								</tr>
							</table>
<?php
		}
		if($showRecentDownloads == 1)
		{
?>
							<table class="footerbox">
								<tr>
									<td style="padding-left: 70px; padding-right: 70px;" align="center">
										<b>Recent <?php echo $recentdownloads; ?> Downloads:</b>
										<p align="justify">
<?php
			$ddl_recents = dbcom("SELECT * FROM recents ORDER BY recentid DESC LIMIT 0, $recentdownloads;");
			while($ddl = mysql_fetch_assoc($ddl_recents))
			{
				if(strtoupper($ddl['type']) == 'XXX')
				{
?>
											<a href="<?php echo $site_url; ?>/free-xxx-direct-download-<?php echo $ddl['id']; ?>-<?php echo str_replace(' ', '.', $ddl['title']); ?>.htm" target="_blank"><?php echo $ddl['title']; ?></a>, 
<?php
				}
				else
				{
?>
											<a href="<?php echo $site_url; ?>/free-direct-download-<?php echo $ddl['id']; ?>-<?php echo str_replace(' ', '.', $ddl['title']); ?>.htm" target="_blank"><?php echo $ddl['title']; ?></a>, 
<?php
				}
			}
?>
										</p>
									</td>
								</tr>
							</table>
<?php
		}
		if($showSponsoredLinks == 1)
		{
?>
	        				<table class="footerbox">
	        					<tr>
		    						<td style="padding-left: 70px; padding-right: 70px;" align="center">
	        							<b>Sponsored Links:</b>
										<p align="justify">
<?php
			$ddl_top = dbcom("SELECT query FROM searches ORDER BY views DESC LIMIT $topsearches;");
			while($ddl = mysql_fetch_assoc($ddl_top))
			{
?>
											<a href="http://<?php echo $cbusername; ?>.sharingzone.net/?q=<?php echo Capitalize($ddl['query']); ?>" target="_top"><?php echo Capitalize($ddl['query']); ?></a>, 
<?php
			}
?>
										</p>
	        						</td>
	        					</tr>
	        				</table>
<?php
    	}
	}
?>
							<p>
								<a target="_self" href="<?php echo $site_url; ?>/topsites/accounts.php" title="Join Our TopSites Listing">Join TopSites</a> |
								<a target="_self" href="<?php echo $site_url; ?>/topsites/accounts.php?login" title="Edit Your TopSites Account">Edit TopSites</a> |
<?php
	if($showInstantLE == 1)
	{
?>
		 						<a target="_self" href="<?php echo $site_url; ?>/instantle/form.php" title="Join Our Instant Link Exchange">Instant LE</a> |
<?php
	}
?>
								<a target="_self" href="<?php echo $site_url; ?>/submit.php" title="Submit Up To 10 Files At Once">Submit Files</a> |
								<a target="_self" href="<?php echo $site_url; ?>/autosubmitter/" title="Submit Files to Multiple DDL Sites at Once">Autosubmitter</a> |
								<a target="_self" href="<?php echo $site_url; ?>/linktous.php" title="Link to Us">Link to Us</a>
							</p>
							<p>
								<a target="_self" href="<?php echo $site_url; ?>/aboutus.php" title="About Us">About Us</a> |
								<a target="_self" href="<?php echo $site_url; ?>/faq.php" title="Help/FAQ">Help/FAQ</a> |
								<a target="_self" href="<?php echo $site_url; ?>/tools.php" title="Tools">Tools</a> |
								<a target="_self" href="<?php echo $site_url; ?>/contact.php" title="Contact Us">Contact Us</a> |
								<a target="_self" href="<?php echo $site_url; ?>/rss.xml" title="RSS Feed">RSS Feed</a> |
								<a target="_self" href="<?php echo $site_url; ?>/seoreport.php" title="SEO Report">SEO</a> |
								<a rel="nofollow" target="_self" href="http://jigsaw.w3.org/css-validator/validator?uri=<?php echo $site_url; ?>" title="CSS Validity">CSS</a> |
								<a rel="nofollow" target="_self" href="http://validator.w3.org/check/referer" title="XHTML Validity">XHTML</a> |
								<a rel="nofollow" target="_self" href="<?php echo $site_url; ?>/tos.php" title="Terms of Use">Terms of Use</a> |
								<a rel="nofollow" target="_self" href="<?php echo $site_url; ?>/dmca.php" title="DMCA Policy">DMCA Policy</a>
							</p>
							<p>
Copyright &copy; <?php echo date('Y'); ?> <a href="<?php echo $site_url; ?>"><?php echo $site_name; ?></a>. All rights reserved.<br />
<?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! />');
	}
?>
							</p>

						</td>
					</tr>
				</tbody>
			</table>
		</center>
	</body>
</html>
Return current item: DDL CMS