Location: PHPKode > projects > DDL CMS > Upload these files to your webspace/skins/Cerulean/footer.php
									
				</div>
			</div>

			<div class="right" id="sidebar_outer">
				<div id="sidebar">

					<div class="box">
						<div class="box_title">Search</div>
						<div class="box_content">
							<form action="<?php echo $site_url; ?>/index.php" method="post">
									<input type="text" name="q" class="searchbox" value="<?php echo $q; ?>" />
									<input type="hidden" name="log" value="1" /> 
									<input type="submit" value="Go" name="submit" />
							</form> 

					    </div>
				    </div>

<?php
if(isset($newspage) && $newspage == 'TRUE' && isset($_GET['katz']) && $_GET['katz']== '1')
{
?>
					<div class="box">
						<div class="box_title">Affiliate Partners</div>
						<div class="box_content">
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $keywords; ?>"> 
							<a href="http://katz.cd/" target="_blank">Katz.CD</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $keywords; ?>"> 
							<a href="http://www.katzporn.com/" target="_blank">Katz Porn</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $keywords; ?>"> 
							<a href="http://www.katzbabes.com/" target="_blank">Katz Babes</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $keywords; ?>"> 
							<a href="http://www.rapidshareddl.com/" target="_blank">Rapidshare DDL</a><br />
					    </div>
				    </div>
<?php
}
elseif(isset($newspage) && $newspage == 'TRUE' && isset($_GET['phaze']) && $_GET['phaze'] == '1')
{
?>
					<div class="box">
						<div class="box_title">Affiliate Partners</div>
						<div class="box_content">
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $keywords; ?>"> 
							<a href="http://www.phazeddl.com/" target="_blank">Phaze DDL</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $keywords; ?>"> 
							<a href="http://www.phazeporn.com/" target="_blank">Phaze Porn</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $keywords; ?>"> 
							<a href="http://www.Phazemp3.com/" target="_blank">Phaze Mp3</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $keywords; ?>"> 
							<a href="http://www.rapidshareddl.com/" target="_blank">Rapidshare DDL</a><br />
					    </div>
				    </div>
<?php
}
else
{
?>
					<div class="box">
						<div class="box_title">Top Sites</div>
						<div class="box_content">
<?php
	require(WWWROOT . 'topsites/index.php');
?>
					    </div>
				    </div>

					<div class="box">
						<div class="box_title">Partners</div>
						<div class="box_content">
<?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))
	{
?>
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a target="_blank" href="<?php echo $partner['siteurl']; ?>" title="<?php echo $partner['sitename']; ?>"><?php echo $partner['sitename']; ?></a><br />
<?php
		}
?>
					    </div>
				    </div>
<?php
}
?>


					<div class="box">
						<div class="box_title">Bookmark &amp; Share</div>
						<div class="box_content" align="center">
<?php
	include(WWWROOT . 'bookmark_small.php');
?>
						</div>
					</div>

					<div class="box">
						<div class="box_title">Users Online</div>
						<div class="box_content" align="center">
<?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!';
	}
?> 
						</div>
					</div>

<?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')
{
?>
					<div class="box">
						<div class="box_title">Feature</div>
						<div class="box_content" align="center">

<?php
   	include(WWWROOT . 'edit/adblock4.php');
?>
						</div>
					</div>
<?php
}
elseif (!isset($newspage) && $newspage !== 'TRUE')
{
?>
					<div class="box">
						<div class="box_title">Feature</div>
						<div class="box_content" align="center">
<?php
	include(WWWROOT . 'edit/adblock1.php');
?>
						</div>
					</div>
<?php
}
?>

					<div class="box">
						<div class="box_title">Other</div>
						<div class="box_content">
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/topsites/accounts.php" title="Join Our TopSites Listing">Join TopSites</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/topsites/accounts.php?login" title="Edit Your TopSites Account">Edit TopSites</a><br />
<?php
	if($showInstantLE == 1)
	{
?>
		 					<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/instantle/form.php" title="Join Our Instant Link Exchange">Instant LE</a><br />
<?php
	}
?>
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/submit.php" title="Submit Up To 10 Files At Once">Submit Files</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/linktous.php" title="Link to Us">Link to Us</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/aboutus.php" title="About Us">About Us</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/faq.php" title="Help/FAQ">Help/FAQ</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/tools.php" title="Tools">Tools</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/contact.php" title="Contact Us">Contact Us</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/rss.xml" title="RSS Feed">RSS Feed</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/seoreport.php" title="SEO Report">SEO</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a rel="nofollow" target="_self" href="http://jigsaw.w3.org/css-validator/validator?uri=<?php echo $site_url; ?>" title="CSS Validity">CSS</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a rel="nofollow" target="_self" href="http://validator.w3.org/check/referer" title="XHTML Validity">XHTML</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a rel="nofollow" target="_self" href="<?php echo $site_url; ?>/tos.php" title="Terms of Use">Terms of Use</a><br />
							<img src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/arrow.gif" height="8" width="4" alt="<?php echo $partner['sitename']; ?>" /> <a rel="nofollow" target="_self" href="<?php echo $site_url; ?>/dmca.php" title="DMCA Policy">DMCA Policy</a>
						</div>
					</div>


				</div>
			</div>

			<div class="clearer">&nbsp;</div>

		</div>

		<div id="dashboard">
			<div id="dashboard_inner">

				<div class="col3 left">
					<div class="col3_content">

						<div class="col_title">Recent Searches</div>
						<ul>
<?php
	$ddl_recents = dbcom("SELECT query FROM searches ORDER BY timestamp DESC LIMIT 0, $recentsearches;");
	while($ddl = mysql_fetch_assoc($ddl_recents))
	{
?>
							<li><a href="<?php echo $site_url; ?>/free-download-<?php echo $ddl['query']; ?>.htm" target="_top"><?php echo $ddl['query']; ?></a></li>
<?php
	}
?>
						</ul>
					</div>
				</div>

<?php
if((($showInstantLE == 1 && !isset($q) && empty($type) && !isset($toptype)) || ($showInstantLE == 1 && isset($q) && empty($type) && !isset($toptype) && $spamSearch !== TRUE)) && (isset($newspage) && $newspage == 'TRUE' && isset($_GET['katz']) && $_GET['katz']== '1'))
{
?>
				<div class="col3mid left">
					<div class="col3_content">
						<div class="col_title">Affiliate Buttons</div>
						<ul>
							<li><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></li>
							<li><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></li>
							<li><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></li>
							<li><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></li>
						</ul>
					</div>
				</div>
<?php
}
elseif((($showInstantLE == 1 && !isset($q) && empty($type) && !isset($toptype)) || ($showInstantLE == 1 && isset($q) && empty($type) && !isset($toptype) && $spamSearch !== TRUE)) && (isset($newspage) && $newspage == 'TRUE' && isset($_GET['phaze']) && $_GET['phaze']== '1'))
{
?>
				<div class="col3mid left">
					<div class="col3_content">
						<div class="col_title">Affiliate Buttons</div>
						<ul>
							<li><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></li>
							<li><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></li>
							<li><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></li>
							<li><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></li>
						</ul>
					</div>
				</div>
<?php
}
elseif((($showInstantLE == 1 && !isset($q) && empty($type) && !isset($toptype)) || ($showInstantLE == 1 && isset($q) && empty($type) && !isset($toptype) && $spamSearch !== TRUE)) && (isset($newspage) && $newspage == 'TRUE'))
{
?>
				<div class="col3mid left">
					<div class="col3_content">
						<div class="col_title">Affiliate Links</div>
						<ul>
<?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);
			echo'							<li><a href="' . $url . '" target="_blank" title="' . $sitename . '">' . $sitename . '</a></li>';

		}
	}
?>
						</ul>
					</div>
				</div>
<?php
}
else
{
?>
				<div class="col3mid left">
					<div class="col3_content">

						<div class="col_title">Instant Link Exchange</div>
						<ul>
<?php
	switch($instantLEsort)
	{
		case 'asc':
			$sortLinks = 'sitename';
			break;
		case 'date':
			$sortLinks = 'id';
			break;
		case 'random':
			$sortLinks = 'RAND()';
			break;
	}
	$linkQuery = dbcom("SELECT * FROM instantle ORDER BY $sortLinks LIMIT $instantLEmaxLinks;");
	if(mysql_num_rows($linkQuery) > 0)
	{
		$links = 1;
		while($linkArray = mysql_fetch_assoc($linkQuery))
		{
			$url = $linkArray['siteurl'];
	    	if($instantLEclean != 1)
			{
				$url = $site_url . '/fwd.php?url=' . $url;
			}
			$description = $linkArray['description'];
			$title = $linkArray['sitename'];
			echo '<li> <a href="' . $url . '" target="_blank" title="' . $description . '">' . $title . '</a></li>';
			if($links == 5)
			{
				$links = 1;
			}
			else
			{
				$links++;
			}
		}
    }
?>
							<li><a target="_self" href="<?php echo $site_url; ?>/instantle/form.php" title="Join Our Instant Link Exchange"><small>+ Add Your Link Here</small></a></li>

						</ul>
						</div>
					</div>
	
<?php
}

if(($showInstantLE == 1 && !isset($q) && empty($type) && !isset($toptype)) || ($showInstantLE == 1 && isset($q) && empty($type) && !isset($toptype) && $spamSearch !== TRUE))
{
?>
				<div class="col3 right">
					<div class="col3_content">

						<div class="col_title">Recent Downloads</div>
						<ul>
<?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')
				{
?>
							<li><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></li>
<?php
				}
				else
				{
?>
							<li><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></li>
<?php
				}
			}
?>
						</ul>
					</div>
				</div>

<?php
}
?>

				<div class="clearer">&nbsp;</div>
			</div>
		</div>


	</div>
	</div>

	<div id="footer">

		<div class="left">
			Copyright &copy; <?php echo date('Y'); ?> <a href="<?php echo $site_url; ?>"><?php echo $site_name; ?></a>. All rights reserved.<br />
		</div>
		<div class="right">
<?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>

</div>
</div>

</body>
</html>
Return current item: DDL CMS