<!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>
<!-- header -->
<div id="header">
<div id="logo">
<a href="<?php echo $site_url; ?>" title="<?php echo $description; ?>"><img src="<? echo $site_url; ?>/skins/<? echo $skin; ?>/logo.png" height="35" width="250" border="0" alt="<?php echo $site_name . ": " . $description; ?>"/></a>
</div>
<div id="menu">
<ul>
<!-- LIST CATEGORIES - TOP -->
<li><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><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><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>
<!--end header -->
<!-- main -->
<div id="main">
<div id="content">
<div id="sidebar">
<div id="sidebar_top"></div>
<div id="sidebar_text">
<?php
if(isset($q))
{
?>
<form id="searchform-header" action="<?php echo $site_url; ?>/index.php" method="post" >
<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; ?>/searchit.png" id="go" alt="Search" title="Search" />
</form>
<?php
}
else
{
?>
<form id="searchform-header" action="<?php echo $site_url; ?>/index.php" method="post" >
<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; ?>/searchit.png" id="go" alt="Search" title="Search" />
</form>
<?php
}
?>
<?php
if(isset($newspage) && $newspage == 'TRUE' && isset($_GET['katz']) && $_GET['katz']== '1')
{
?>
<h2>Affiliate Partners</h2>
<p>
<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 />
</p>
<?php
}
elseif(isset($newspage) && $newspage == 'TRUE' && isset($_GET['phaze']) && $_GET['phaze'] == '1')
{
?>
<h2>Affiliate Partners</h2>
<p>
<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 />
</p>
<?php
}
else
{
?>
<h2>Top Sites</h2>
<p style="text-align: justify; overflow-x:hidden; overflow-y:auto; height: 200px;">
<?php
require(WWWROOT . 'topsites/index.php');
?>
</p>
<h2>Partners</h2>
<p style="text-align: justify; overflow-x:hidden; overflow-y:auto; height: 100px;">
<?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
}
?>
</p>
<?php
}
?>
<h2>Bookmark & Share</h2>
<p align="center">
<?php
include(WWWROOT . 'bookmark_small.php');
?>
</p>
<h2>Users Online</h2>
<p 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!';
}
?>
</p>
<?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')
{
?>
<h2>Feature</h2>
<p align="center">
<?php
include(WWWROOT . 'edit/adblock4.php');
?>
</p>
<?php
}
elseif (!isset($newspage) && $newspage !== 'TRUE')
{
?>
<h2>Feature</h2>
<p align="center">
<?php
include(WWWROOT . 'edit/adblock1.php');
?>
</p>
<?php
}
?>
<?php
if($showInstantLE == 1)
{
?>
<h2>Instant Link</h2>
<p>
<?php
include(WWWROOT . 'instantle/links2.inc');
?>
<a target="_self" href="<?php echo $site_url; ?>/instantle/form.php" title="Join Our Instant Link Exchange">Add Your Link</a><br />
</p>
<?php
}
?>
<h2>Related</h2>
<p>
<img src="<? echo $site_url . "/skins/" . $skin . "/";?>arrow.gif" height="8" width="4" alt="<? echo $site_name . ": " . $description . ". (" . $keywords . ")"; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/submit.php" title="Submit Up To 10 Files At Once">Submit Files</a><br />
<img src="<? echo $site_url . "/skins/" . $skin . "/";?>arrow.gif" height="8" width="4" alt="<? echo $site_name . ": " . $description . ". (" . $keywords . ")"; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/linktous.php" title="Link to Us">Link to Us</a><br />
<img src="<? echo $site_url . "/skins/" . $skin . "/";?>arrow.gif" height="8" width="4" alt="<? echo $site_name . ": " . $description . ". (" . $keywords . ")"; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/aboutus.php" title="About Us">About Us</a><br />
<img src="<? echo $site_url . "/skins/" . $skin . "/";?>arrow.gif" height="8" width="4" alt="<? echo $site_name . ": " . $description . ". (" . $keywords . ")"; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/faq.php" title="Help/FAQ">Help/FAQ</a><br />
<img src="<? echo $site_url . "/skins/" . $skin . "/";?>arrow.gif" height="8" width="4" alt="<? echo $site_name . ": " . $description . ". (" . $keywords . ")"; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/tools.php" title="Tools">Tools</a><br />
<img src="<? echo $site_url . "/skins/" . $skin . "/";?>arrow.gif" height="8" width="4" alt="<? echo $site_name . ": " . $description . ". (" . $keywords . ")"; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/contact.php" title="Contact Us">Contact Us</a><br />
<img src="<? echo $site_url . "/skins/" . $skin . "/";?>arrow.gif" height="8" width="4" alt="<? echo $site_name . ": " . $description . ". (" . $keywords . ")"; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/rss.xml" title="RSS Feed">RSS Feed</a><br />
<img src="<? echo $site_url . "/skins/" . $skin . "/";?>arrow.gif" height="8" width="4" alt="<? echo $site_name . ": " . $description . ". (" . $keywords . ")"; ?>" /> <a target="_self" href="<?php echo $site_url; ?>/seoreport.php" title="SEO Report">SEO</a><br />
<img src="<? echo $site_url . "/skins/" . $skin . "/";?>arrow.gif" height="8" width="4" alt="<? echo $site_name . ": " . $description . ". (" . $keywords . ")"; ?>" /> <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="<? echo $site_url . "/skins/" . $skin . "/";?>arrow.gif" height="8" width="4" alt="<? echo $site_name . ": " . $description . ". (" . $keywords . ")"; ?>" /> <a rel="nofollow" target="_self" href="http://validator.w3.org/check/referer" title="XHTML Validity">XHTML</a><br />
<img src="<? echo $site_url . "/skins/" . $skin . "/";?>arrow.gif" height="8" width="4" alt="<? echo $site_name . ": " . $description . ". (" . $keywords . ")"; ?>" /> <a rel="nofollow" target="_self" href="<?php echo $site_url; ?>/tos.php" title="Terms of Use">Terms of Use</a><br />
<img src="<? echo $site_url . "/skins/" . $skin . "/";?>arrow.gif" height="8" width="4" alt="<? echo $site_name . ": " . $description . ". (" . $keywords . ")"; ?>" /> <a rel="nofollow" target="_self" href="<?php echo $site_url; ?>/dmca.php" title="DMCA Policy">DMCA Policy</a>
</p>
</div>
<div id="sidebar_bottom"></div>
</div>
<div id="text">