<!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 class="container">
<div id="top">
<div id="nav">
<ul>
<!-- LIST CATEGORIES - TOP -->
<li id="h"><a target="_self" href="<?php echo $site_url; ?>/" title="Home" class="menulink<? if (!$_GET['type']) echo " on"; ?>">Home</a></li>
<?php
for($i = 0; $i < count($categories); $i++)
{
if($categories[$i] == 'Xxx')
{
?>
<li class="c"><a target="_self" href="<?php echo $site_url; ?>/porno-<?php echo $categories[$i]; ?>.htm" title="<?php echo $categories[$i]; ?> Downloads" class="menulink<? if ($type == $categories[$i]) echo " on"; ?>"><?php echo $categories[$i]; ?></a></li>
<?php
}
else
{
?>
<li class="c"><a target="_self" href="<?php echo $site_url; ?>/type-<?php echo $categories[$i]; ?>.htm" title="<?php echo $categories[$i]; ?> Downloads" class="menulink<? if ($type == $categories[$i]) echo " on"; ?>"><?php echo $categories[$i]; ?></a></li>
<?php
}
}
?>
<!-- /LIST CATEGORIES TOP -->
</ul>
</div>
</div>
<div class="menubar"></div>
<div class="searchbg">
<div class="searchd">
<div align="center">
<form action="<?php echo $site_url; ?>/index.php" method="post">
<table width="556" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60">
Search</td>
<td width="451" class="searchtxt">
<input type="text" name="q" class="searchbox" value="<?php echo $q; ?>" />
<input type="hidden" name="log" value="1" />
</td>
<td width="5"></td>
<td width="40"><input type="submit" value="Go" name="submit" class="searchbtn" /></td>
</tr>
</table>
</form>
</div>
</div>
</div>
<div class="content">
<div class="download-header">
<span class="heading"></span>
</div>
<?php
$pageURL = 'http';
if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
$pageURL .= "://";
if ($_SERVER["SERVER_PORT"] != "80")
{
$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
}
else
{
$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
}
$pageURL = str_replace('www.', '', $pageURL);
$siteURL = str_replace('www.', '', $site_url);
if (($pageURL !== $siteURL.'/') &&
!strstr($pageURL, $siteURL.'/index.php') &&
!strstr($pageURL, $siteURL.'/free-download-') &&
!strstr($pageURL, $siteURL.'/type-') &&
!strstr($pageURL, $siteURL.'/page-') &&
!strstr($pageURL, $siteURL.'/porno-') &&
!strstr($pageURL, $siteURL.'/query-') &&
!strstr($pageURL, $siteURL.'/gamespg-') &&
!strstr($pageURL, $siteURL.'/appspg-') &&
!strstr($pageURL, $siteURL.'/moviespg-') &&
!strstr($pageURL, $siteURL.'/streamspg-') &&
!strstr($pageURL, $siteURL.'/tvpg-') &&
!strstr($pageURL, $siteURL.'/musicpg-') &&
!strstr($pageURL, $siteURL.'/ebookpg-') &&
!strstr($pageURL, $siteURL.'/templatepg-') &&
!strstr($pageURL, $siteURL.'/scriptpg-') &&
!strstr($pageURL, $siteURL.'/xxxpg-') &&
!strstr($pageURL, $siteURL.'/macpg-') &&
!strstr($pageURL, $siteURL.'/streampg-') &&
!strstr($pageURL, $siteURL.'/mobilepg-') &&
!strstr($pageURL, $siteURL.'/otherpg-') &&
!strstr($pageURL, $siteURL.'/site/'))
{
?>
<table class="download">
<tr valign="top">
<td style="padding:30px; font-size: 10px; height: 500px">
<div style="width: 580px; overflow-x: auto">
<?php
}
?>