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

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

<?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">
<?php
	include(WWWROOT . 'bookmark_small.php');
?>
						</div>
					</div>

					<div class="box">
						<div class="box_title">Users Online</div>
						<div class="box_content">
<?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">

<?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">
<?php
	include(WWWROOT . 'edit/adblock1.php');
?>
						</div>
					</div>
<?php
	}
?>

				</div>
			</div>

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

		</div>

		if(($showInstantLE == 1 && !isset($q) && empty($type) && !isset($toptype)) || ($showInstantLE == 1 && isset($q) && empty($type) && !isset($toptype) && $spamSearch !== TRUE))
		{
?>
		<div id="dashboard">
			<div id="dashboard_inner">
				<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');
?>

			</div>
		</div>


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

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

						<div class="col_title">Recent Searches</div>
<?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
			}
?>

					</div>
				</div>

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

						<div class="col_title">Recent Downloads</div>
<?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
				}
			}
?>
					</div>
				</div>

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

						<div class="col_title">Praesent</div>
						<ul>
							<li><a href="#">Semper lobortis</a></li>
							<li><a href="#">Consequat molestie</a></li>
							<li><a href="#">Magna sed purus</a></li>
							<li><a href="#">Sem morbi</a></li>
							<li><a href="#">Tincidunt sed</a></li>
						</ul>

					</div>
				</div>

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

			</div>
		</div>

	</div>
	</div>

	<div id="footer">

		<div class="left">
			&copy; 2009 Website.com - Your Website Slogan
		</div>
		<div class="right">
			<a href="http://templates.arcsin.se/">Website template</a> by <a href="http://arcsin.se/">Arcsin</a> 
		</div>
		
		<div class="clearer">&nbsp;</div>

	</div>

</div>
</div>

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