<?php
/**********************************************************
* ______ ______ ___ _______ ___ ___ _______ *
* | _ \ | _ \ | | | _ || Y || _ | *
* |. | \|. | \|. | |. 1___||. || 1___| *
* |. | |. | |. |___ |. |___ |. \_/ ||____ | *
* |: 1 |: 1 |: 1 ||: 1 ||: | ||: 1 | *
* |::.. . /|::.. . /|::.. . ||::.. . ||::.|:. ||::.. . | *
* `------' `------' `-------'`-------'`--- ---'`-------' *
* _______ _______ *
* .--.--. | _ | | | *
* | | | |___| | __ |___| | *
* \___/ _(__ | |__| / ___/ *
* |: 1 | |: 1 \ *
* |::.. . | |::.. . | *
* `-------' `-------' *
* *
* Script: DDLCMS v3.2 *
* Author: Little Dragon *
* Email: hide@address.com *
* Website: http://www.ddlcms.com *
* *
* Please direct bug reports, suggestions or feedback *
* to the DDLCMS forums: *
* *
* http://www.ddlcms.com/forums *
* *
* DDLCMS is a commercial grade content management *
* system for DDL site owners. It is provided free *
* of charge, provided: *
* *
* 1. You keep the linkback to http://www.ddlcms.com *
* in the footer. *
* *
* 2. You keep the sponsored links to Sharingzone.net *
* on your site. *
* *
* By using this script, you agree that you will not *
* modify, remove, or replace any encoded parts of *
* this script. All encoded parts MUST remain intact *
* for your site to remain in good standing. *
* *
**********************************************************/
ob_start();
define('WWWROOT', dirname(__FILE__) . '/');
define('BASEDIR', substr(WWWROOT, 0, ##BASEDIR##));
# Kill any security threats:
include(WWWROOT . 'killthreat.php');
if(function_exists('HumanReadableFilesize') !== TRUE)
{
require(BASEDIR . 'funcs.inc');
}
require(BASEDIR . 'config.php');
$c = new config();
require(WWWROOT . 'submitted.php');
require(WWWROOT . 'skins/' . $skin . '/header.php');
?>
<!-- BEGIN BODY -->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td height="15" align="left">
<h2><b>Submit Files</b></h2>
<br />(Submit up to 10 files at once)
</td>
</tr>
<tr><td height="20"></td></tr>
<tr>
<td>
<h3 style="font-size: inherit; font-weight: normal;">General Submission Rules:</h3>
<ol>
<?php
require(WWWROOT . 'edit/rules.php');
?>
<li>If you want to know where to place ads properly and make some money use <a href="http://www.ddlcms.com" target="_blank" title="DDL CMS Script">DDL CMS</a>.</li>
</ol>
<h3 style="font-size: inherit; font-weight: normal;">White List</h3>
<p>
<a href="<?php echo $site_url; ?>/whitelist.php" target="_blank">Click here to view the Allowed Sites list (whitelist)</a>.
</p>
<ul>
<li>If <?php echo $whitelist_threshold; ?> of your downloads get added, your site will automatically get added to our Allowed Sites list (whitelist).</li>
<li>Note: Sites in the Allowed Sites list <b>are <?php if($auto_allow == 0){echo 'NOT';} ?></b> automatically added to the main DDL list.</li>
</ul>
<h3 style="font-size: inherit; font-weight: normal;">Black List</h3>
<p>
<a href="<?php echo $site_url; ?>/blacklist.php" target="_blank">Click here to view the Banned Sites list (blacklist)</a>.
</p>
<ul>
<li>If you break ANY rule or do something stupid, your site will get blacklisted, and all your related downloads will be deleted from our database (all of them -- just like that).</li>
<li>If your site is on the blacklist, <a href="contact.php" target="_blank">contact us</a> and request to be removed, with an explanation and evidence that your site now complies with our rules (give some example downloads page URLs).</li>
</ul>
<h3 style="font-size: inherit; font-weight: normal;">Reciprocal Link:</h3>
<ol>
<li>You MUST add a reciprocal link to your download page.</li>
<li>You MUST add our button if your download page displays other websites' buttons (otherwise a text link is acceptable).</li>
</ol>
<br />
<br />
<table border="0" align="center" cellpadding="10">
<tr>
<td align="left">
Button:<br /><br />
<a href="<?php echo $site_url; ?>" title="<?php echo $site_name; ?>"><img src="images/button.gif" alt="<?php echo $site_name; ?>" height="31" width="88" border="0"></img></a><br />
<p style="font-family: verdana; font-size: 10px"><a href="<?php echo $site_url; ?>/" title="<?php echo $site_name; ?>"> <img src="<?php echo $site_url; ?>/images/button.gif"<br />
alt="<?php echo $site_name; ?>" height="31" width="88" border="0"> </a></p>
</td>
</tr>
<tr>
<td align="left">
Text Link:<br />
<pre style="font-family: verdana; font-size: 10px"><a href="<?php echo $site_url; ?>/" title="<?php echo $site_name; ?>"><?php echo $site_name; ?></a></pre>
</td>
</tr>
</table>
<h3 style="font-size: inherit; font-weight: normal;">Submission Form:</h3>
</td>
</tr>
</table>
<br />
<br />
<form name="add" action="submit.php" method="post">
<table class="main">
<tr>
<td colspan="4"><p align="right">Change All:</p></td>
<td> <select style="margin: 0; font-size: 10px;" id="lstChangeAll"><?php $c->option_list(); ?></select></td>
</tr>
<?php
for($i = 1; $i <= 10; $i++)
{
?>
<tr>
<?php
if($i == 1)
{
?>
<td align="right"><b>*Name <?php echo $i; ?>: </b></td>
<?php
}
else
{
?>
<td align="right">Name <?php echo $i; ?>: </td>
<?php
}
?>
<td align="left">
<input type="text" name="title[]" style="margin: 0; font-size: 10px; width: 170px;" size="30" maxlength="65" />
</td>
<?php
if($i == 1)
{
?>
<td align="right"> <b>*URL <?php echo $i; ?>: </b></td>
<?php
}
else
{
?>
<td align="right"> URL <?php echo $i; ?>:</td>
<?php
}
?>
<td>
<input type="text" name="url[]" style="margin: 0; font-size: 10px; width: 170px;" size="30" />
</td>
<td> <select style="margin: 0; font-size: 10px;" name="type[]"><?php $c->option_list(); ?></select></td>
</tr>
<?php
}
?>
<tr>
<td><p align="right"><br /><b>*Site Name: </b></p></td>
<td align="left"><br />
<input type="text" name="sname" style="margin:0;font-size:10px; width:170px" size="30" maxlength="40" />
</td>
<td><p align="right"><br /> <b>*Site Url: </b> </p></td>
<td><br />
<input type="text" name="surl" style="margin:0;font-size:10px; width:170px" size="30" />
</td>
<td></td>
</tr>
<tr>
<td align="right">E-mail: </td>
<td><input name="email" style="margin:0;font-size:10px; width:170px" size="30" /></td>
</tr>
<tr>
<td></td>
<td colspan="4"><br />
<input type="submit" value="Submit Files" maxlength="65" style="font-family:verdana;width=170px" />
Click Only Once! Submission May Take A While.
<br />
<br />
<br />
</td>
</tr>
</table>
</form>
<!-- END BODY -->
<?php
require(WWWROOT . 'skins/' . $skin . '/footer.php');
ob_end_flush();
?>