<!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" />
<link rel="stylesheet" href="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/stylesheet.css" type="text/css" />
<?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="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 id="logo">
<h1><A href="<?php echo $site_url; ?>"><IMG alt="<?php echo $site_name . ": " . $description; ?>" src="<?php echo $site_url; ?>/skins/<?php echo $skin; ?>/logo.png" width=224 height=42></A> </h1>
</div>
<div id="menu">
<ul>
<a target="_self" href="<?php echo $site_url; ?>/" title="Home">Home</a>
<?php
for($i = 0; $i < count($categories); $i++)
{
if($categories[$i] == 'Xxx')
{
?>
<a target="_self" href="<?php echo $site_url; ?>/porno-<?php echo $categories[$i]; ?>.htm" title="<?php echo $categories[$i]; ?> Downloads"><?php echo $categories[$i]; ?></a>
<?php
}
else
{
?>
<a target="_self" href="<?php echo $site_url; ?>/type-<?php echo $categories[$i]; ?>.htm" title="<?php echo $categories[$i]; ?> Downloads"><?php echo $categories[$i]; ?></a>
<?php
}
}
?>
</ul>
</div>
</div>
<hr />
<div id="page">
<div id="bg">
<div id="content">
<div class="post" style="padding-top: 57px;">
<div class="entry">