Location: PHPKode > projects > DDL CMS > Upload these files to your webspace/skins/magazeen/header.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="Content-Language" content="en-us" />
<?php
	# Kill any security threats:
	include(WWWROOT . 'killthreat.php');
	# clean up search query here:
	if(!isset($threat) && isset($_POST) && is_array($_POST) && count($_POST) > 0 && checkPostForm('mainSearch', $_POST) === TRUE && $spamSearch !== TRUE)
	{
		$q = $_POST['q'];
		$type = $_POST['type'];
	}
	elseif(!isset($threat) && isset($_POST) && is_array($_POST) && count($_POST) > 0 && checkPostForm('sideSearch', $_POST) === TRUE && $spamSearch !== TRUE)
	{
		$q = $_POST['q'];
	}
	elseif(!isset($threat) && isset($_GET) && is_array($_GET) && count($_GET) > 0 && checkURLQuery('index.php_pageFilter', $_GET) === TRUE && $spamSearch !== TRUE)
	{
		$filterURL = $_GET['filterURL'];
		$page = $_GET['page'];
	}
	elseif(!isset($threat) && isset($_GET) && is_array($_GET) && count($_GET) > 0 && checkURLQuery('index.php_searchResults', $_GET) === TRUE && $spamSearch !== TRUE)
	{
		$q = $_GET['q'];
	}
	elseif(!isset($threat) && isset($_GET) && is_array($_GET) && count($_GET) > 0 && checkURLQuery('index.php', $_GET) === TRUE && $spamSearch !== TRUE)
	{
		$type = $_GET['type'];
	}
	else
	{
		unset($q);
		unset($type);
	}
	if(empty($type) === TRUE)
	{
		unset($type);
	}
	require(WWWROOT . 'main.php');
	$ddl = new ddl();
	$ddl->open();
	if(isset($q))
	{
		$ddl->get($q, $types);
	}
	else
	{
		$ddl->get('', $types);
	}
	if(isset($q) && $spamSearch !== TRUE)
	{
		$keywords_list = str_replace(',', ' ' . $q . ', ', $keywords) . ' ' . $q;
?>
		<title><?php echo capitalize($q); ?> @ <?php echo $site_name; ?> - Download <?php echo $q; ?> here.</title>
		<meta name="description" content="Download <?php echo $q; ?> here. <?php echo $description; ?>" />
		<meta name="keywords" content="<?php echo $keywords_list; ?>" />
<?php
	}
	elseif(isset($type))
	{
?>
		<title><?php echo $type; ?> Downloads @ <?php echo $site_name; ?> : <?php echo $description; ?></title>
		<meta name="description" content="<?php echo $description; ?>" />
		<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php
	}
	elseif(isset($toptype))
	{
?>
		<title>Top <?php echo $topdownloads; ?> <?php echo $toptype; ?> Downloads @ <?php echo $site_name; ?>: <?php echo $description; ?></title>
		<meta name="description" content="<?php echo $description; ?>" />
		<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php
	}
	elseif(isset($newspage))
	{
?>
		<title><?php echo str_replace('.' , ' ' , $title); ?> @ <?php echo $site_name; ?></title>
		<meta name="description" content="Download <?php echo $title; ?>" />
		<meta name="keywords" content="<?php echo $title; ?> <?php echo $keywords; ?>" />
<?php
	}
	else
	{
?>
		<title><?php echo $site_name; ?>: <?php echo $description; ?></title>
		<meta name="description" content="<?php echo $description; ?>" />
		<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php
	}
?>
		<link rel="stylesheet" href="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/stylesheet.css" type="text/css" />
		<link rel="icon" href="favicon.ico" />
		<link rel="shortcut icon" href="favicon.ico" />
		<script type="text/javascript" src="<?php echo $site_url; ?>/ddlcms.js"></script>
	</head>
<body>
 
	<div id="header">
		
		<div class="container clearfix">
		
			<div id="logo">
		
				<h2><?php echo $description; ?></h2>
				<h1><span></span><a href="<?php echo $site_url; ?>" target="_top" title="<?php echo $site_name; ?>: <?php echo $description; ?>"><?php echo $site_name; ?></a></h1>
				
			</div>
			
<?php
	if(isset($q))
	{
?>
			<form id="searchform-header" action="<?php echo $site_url; ?>/index.php" method="post" class="clearfix" >
				<input type="text" id="s" 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="image" src="<? echo $site_url;?>/skins/<? echo $skin; ?>/search.gif" id="go" alt="Search" title="Search" />
			</form>
<?php
	}
	else
	{
?>
			<form id="searchform-header" action="<?php echo $site_url; ?>/index.php" method="post" class="clearfix" >
				<input type="text" id="s" name="q" value="Search" onblur="if (this.value == '') {this.value = 'Search';}"  onfocus="if (this.value == 'Search') {this.value = '';}" />
				<input type="image" src="<? echo $site_url;?>/skins/<? echo $skin; ?>/search.gif" id="go" alt="Search" title="Search" />
			</form>
<?php
	}
?>	
		</div><!-- End Container -->
		
	</div><!-- End header -->
	
	<div id="navigation">
	
		<div class="container clearfix">
	
			<ul class="pagez">
				<li class="<? if (!$_GET['type']) echo "current_"; ?>page_item"><a target="_self" href="<?php echo $site_url; ?>/" class="topmenulink" title="All Files">Home</a></li>
<?php
	for($i = 0; $i < count($categories); $i++)
	{
		if($categories[$i] == 'Xxx')
		{
?>
				<li class="<? if ($type == $categories[$i]) echo "current_"; ?>page_item"><a target="_self" href="<?php echo $site_url; ?>/porno-<?php echo $categories[$i]; ?>.htm" class="topmenulink" title="<?php echo $categories[$i]; ?> Downloads"><?php echo $categories[$i]; ?></a></li>
<?php
		}
		else
		{
?>
				<li class="<? if ($type == $categories[$i]) echo "current_"; ?>page_item"><a target="_self" href="<?php echo $site_url; ?>/type-<?php echo $categories[$i]; ?>.htm" class="topmenulink" title="<?php echo $categories[$i]; ?> Downloads"><?php echo $categories[$i]; ?></a></li>
<?php
		}
	}
?>
			</ul>
			
		</div><!-- End container -->
		
	</div><!-- End navigation -->
	

	<div id="main-content" class="clearfix">
	
		<div class="container">
	
			<div class="col-780 left">
			
							
				<div class="post">
			
					<div class="post-box">
					
						<div class="post-content">
Return current item: DDL CMS