Empty commit

This commit is contained in:
Git 2012-09-23 08:00:25 +00:00
parent 44eae4c414
commit f01a6aecb8
27 changed files with 298 additions and 382 deletions

View File

@ -13,7 +13,7 @@ function open($file) {
$this->file=file($file); $this->file=file($file);
} }
function set($name,$var,$ifnone="<i>-None-</i>") { function set($name,$var,$ifnone='<span style="font-style: italic;">-None-</span>') {
if ($name!='') { if ($name!='') {
$this->vars[$name][0]=$var; $this->vars[$name][0]=$var;
$this->vars[$name][1]=$ifnone; $this->vars[$name][1]=$ifnone;

View File

@ -390,7 +390,7 @@ function show() {
<td class="label">Scene</td> <td class="label">Scene</td>
<td> <td>
<input type="checkbox" id="scene" name="scene" <? if($Torrent['Scene']) { echo "checked='checked' ";}?>/> <input type="checkbox" id="scene" name="scene" <? if($Torrent['Scene']) { echo "checked='checked' ";}?>/>
Check this only if this is a 'scene release'. If you ripped it yourself, it is <strong>not</strong> a scene release. <br />If you are not sure, <strong>DO NOT</strong> check it, you will be penalized. For information on the scene, visit <a href="http://en.wikipedia.org/wiki/Scene_%28software%29">Wikipedia</a>. Check this only if this is a 'scene release'. If you ripped it yourself, it is <strong>not</strong> a scene release. <br />If you are not sure, <strong>DO NOT</strong> check it; you will be penalized. For information on the scene, visit <a href="http://en.wikipedia.org/wiki/Scene_%28software%29">Wikipedia</a>.
</td> </td>
</tr> </tr>
<tr> <tr>
@ -408,7 +408,7 @@ function show() {
} }
?> ?>
</select> </select>
<b id="format_warning" style="color:red"></b> <span id="format_warning" class="important_text"></span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -453,7 +453,7 @@ function show() {
<td class="label">Vanity House</td> <td class="label">Vanity House</td>
<td> <td>
<label><input type="checkbox" id="vanity_house" name="vanity_house" <? if(!$Torrent['GroupID']) { echo 'disabled '; }?><? if($Torrent['VanityHouse']){ echo "checked='checked' ";}?>/> <label><input type="checkbox" id="vanity_house" name="vanity_house" <? if(!$Torrent['GroupID']) { echo 'disabled '; }?><? if($Torrent['VanityHouse']){ echo "checked='checked' ";}?>/>
Check this only if you are the submitting artist or submitting on behalf of the artist and this is intended to be a Vanity House release. Checking this will also automatically add the group as a recommendation.</label> Check this only if you are submitting your own work or submitting on behalf of the artist, and this is intended to be a Vanity House release. Checking this will also automatically add the group as a recommendation.</label>
</td> </td>
</tr> </tr>
<? } ?> <? } ?>
@ -471,7 +471,7 @@ function show() {
} }
?> ?>
</select> </select>
<span id="cassette_true" class="hidden"><strong style="color:red;">Do NOT upload a cassette rip without first getting approval from a moderator!</strong></span> <span id="cassette_true" class="hidden"><span class="important_text">Do NOT upload a cassette rip without first getting approval from a moderator!</span></span>
</td> </td>
</tr> </tr>
<? <?
@ -532,7 +532,7 @@ function show() {
<td class="label">Log Adjustment Reason</td> <td class="label">Log Adjustment Reason</td>
<td> <td>
<textarea name="adjustment_reason" id="adjustment_reason" cols="60" rows="8"><?=display_str($Torrent['AdjustmentReason']); ?></textarea> <textarea name="adjustment_reason" id="adjustment_reason" cols="60" rows="8"><?=display_str($Torrent['AdjustmentReason']); ?></textarea>
<p class="min_padding">Contains reason for adjusting a score. <b>This field is displayed on the torrent page</b>.</p> <p class="min_padding">Contains reason for adjusting a score. <strong>This field is displayed on the torrent page</strong>.</p>
</td> </td>
</tr> </tr>
<? }*/?> <? }*/?>
@ -620,7 +620,7 @@ function show() {
<td class="label">Release Description (optional)</td> <td class="label">Release Description (optional)</td>
<td> <td>
<textarea name="release_desc" id="release_desc" cols="60" rows="8"><?=display_str($Torrent['TorrentDescription']); ?></textarea> <textarea name="release_desc" id="release_desc" cols="60" rows="8"><?=display_str($Torrent['TorrentDescription']); ?></textarea>
<p class="min_padding">Contains information like encoder settings or details of the ripping process. <b>DO NOT PASTE THE RIPPING LOG HERE.</b></p> <p class="min_padding">Contains information like encoder settings or details of the ripping process. <strong>DO NOT PASTE THE RIPPING LOG HERE.</strong></p>
</td> </td>
</tr> </tr>
</table> </table>
@ -715,7 +715,7 @@ function audiobook_form() {
<td class="label">Description</td> <td class="label">Description</td>
<td> <td>
<textarea name="album_desc" id="album_desc" cols="60" rows="8"><?=display_str($Torrent['GroupDescription']); ?></textarea> <textarea name="album_desc" id="album_desc" cols="60" rows="8"><?=display_str($Torrent['GroupDescription']); ?></textarea>
<p class="min_padding">Contains information like the track listing, and maybe a review.</p> <p class="min_padding">Contains information like the track listing, a review, a link to Discogs or MusicBrainz, etc.</p>
</td> </td>
</tr> </tr>
<? }?> <? }?>
@ -723,7 +723,7 @@ function audiobook_form() {
<td class="label">Release Description (optional)</td> <td class="label">Release Description (optional)</td>
<td> <td>
<textarea name="release_desc" id="release_desc" cols="60" rows="8"><?=display_str($Torrent['TorrentDescription']); ?></textarea> <textarea name="release_desc" id="release_desc" cols="60" rows="8"><?=display_str($Torrent['TorrentDescription']); ?></textarea>
<p class="min_padding">Contains information like encoder settings, and/or a log of the ripping process.</p> <p class="min_padding">Contains information like encoder settings. For analog rips, this frequently contains lineage information.</p>
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -656,7 +656,7 @@ function compare($X, $Y){
<ul class="stats nobullet"> <ul class="stats nobullet">
<? <?
if($NumSimilar == 0) { ?> if($NumSimilar == 0) { ?>
<li><i>None found</i></li> <li><span style="font-style: italic;">None found</span></li>
<? } <? }
$First = true; $First = true;
foreach ($SimilarArray as $SimilarArtist) { foreach ($SimilarArray as $SimilarArtist) {

View File

@ -514,7 +514,7 @@ function display_name($ReleaseType) {
<ul class="stats nobullet"> <ul class="stats nobullet">
<? <?
if($NumSimilar == 0) { ?> if($NumSimilar == 0) { ?>
<li><i>None found</i></li> <li><span style="font-style: italic;">None found</span></li>
<? } <? }
$First = true; $First = true;
foreach ($SimilarArray as $SimilarArtist) { foreach ($SimilarArray as $SimilarArtist) {

View File

@ -3,7 +3,7 @@
if (!check_perms('torrents_edit')) { error(403); } if (!check_perms('torrents_edit')) { error(403); }
if (!empty($_POST['newartistid']) && !empty($_POST['newartistname'])) { if (!empty($_POST['newartistid']) && !empty($_POST['newartistname'])) {
error("Please enter either an artist id OR an artist name."); error("Please enter a valid artist ID number or a valid artist name.");
} }
$ArtistID = (int)$_POST['artistid']; $ArtistID = (int)$_POST['artistid'];
$NewArtistID = (int)$_POST['newartistid']; $NewArtistID = (int)$_POST['newartistid'];
@ -23,7 +23,7 @@
} }
if ($NewArtistID > 0) { if ($NewArtistID > 0) {
// Make sure that's a real artist id number, and grab the name // Make sure that's a real artist ID number, and grab the name
$DB->query("SELECT Name FROM artists_group WHERE ArtistID = $NewArtistID LIMIT 1"); $DB->query("SELECT Name FROM artists_group WHERE ArtistID = $NewArtistID LIMIT 1");
if(!(list($NewArtistName) = $DB->next_record())) { if(!(list($NewArtistName) = $DB->next_record())) {
error('Please enter a valid artist ID number.'); error('Please enter a valid artist ID number.');
@ -37,7 +37,7 @@
} }
if ($ArtistID == $NewArtistID) { if ($ArtistID == $NewArtistID) {
error("You cannot merge an artist with himself."); error("You cannot merge an artist with itself.");
} }
if (isset($_POST['confirm'])) { if (isset($_POST['confirm'])) {
// Get the information for the cache update // Get the information for the cache update
@ -133,7 +133,7 @@
<input type="hidden" name="confirm" value="1" /> <input type="hidden" name="confirm" value="1" />
<div style="text-align: center;"> <div style="text-align: center;">
<p>Please confirm that you wish to make <a href="artist.php?id=<?=$ArtistID?>"><?=display_str($ArtistName)?> (<?=$ArtistID?>)</a> into a non-redirecting alias of <a href="artist.php?id=<?=$NewArtistID?>"><?=display_str($NewArtistName)?> (<?=$NewArtistID?>)</a>.</p> <p>Please confirm that you wish to make <a href="artist.php?id=<?=$ArtistID?>"><?=display_str($ArtistName)?> (<?=$ArtistID?>)</a> into a non-redirecting alias of <a href="artist.php?id=<?=$NewArtistID?>"><?=display_str($NewArtistName)?> (<?=$NewArtistID?>)</a>.</p>
<br> <br />
<input type="submit" value="Confirm" /> <input type="submit" value="Confirm" />
</div> </div>
</form> </form>

View File

@ -28,8 +28,8 @@
if($DB->record_count() > 0) { if($DB->record_count() > 0) {
?> ?>
<div class="thin"> <div class="thin">
There are still torrents that have <a href="artist.php?id=<?=$ArtistID?>" title="View Artist"><?=$Name?></a> as an artist<br> There are still torrents that have <a href="artist.php?id=<?=$ArtistID?>" title="View Artist"><?=$Name?></a> as an artist.<br />
Please remove the artist from these torrents manually before attempting to delete.<br> Please remove the artist from these torrents manually before attempting to delete.<br />
<div class="box pad"> <div class="box pad">
<ul> <ul>
<? <?
@ -56,8 +56,8 @@
if($DB->record_count() > 0) { if($DB->record_count() > 0) {
?> ?>
<div class="thin"> <div class="thin">
There are still requests that have <a href="artist.php?id=<?=$ArtistID?>" title="View Artist"><?=$Name?></a> as an artist<br> There are still requests that have <a href="artist.php?id=<?=$ArtistID?>" title="View Artist"><?=$Name?></a> as an artist.<br />
Please remove the artist from these requests manually before attempting to delete.<br> Please remove the artist from these requests manually before attempting to delete.<br />
<div class="box pad"> <div class="box pad">
<ul> <ul>
<? <?

View File

@ -27,51 +27,21 @@
</div> </div>
<div class="box pad" style="padding:10px 10px 10px 20px;"> <div class="box pad" style="padding:10px 10px 10px 20px;">
<ul> <ul>
<li> <li>Staff have the final decision, if they say stop and you continue, expect at least to be banned from the IRC network.</li>
Staff have the final decision, if they say stop and you continue, expect at least to be banned from the IRC network. <li>Be respectful to IRC Operators and Administrators. These people are site staff who volunteer their time for little compensation. They are there for the benefit of all and to aid in conflict resolution; do not waste their time.</li>
</li> <li>Do not link shock sites or anything NSFW (not safe for work) without a warning. If in doubt, ask a staff member in <?=BOT_HELP_CHAN?> about it.</li>
<li> <li>Excessive swearing will get you kicked; keep swearing to a minimum.</li>
Be respectful to IRC Operators and Administrators. These people are site staff who volunteer their time for little compensation. They are there for the benefit of all and to aid in conflict resolution; do not waste their time. <li>Do not leave your Caps Lock on all the time. It gets annoying, and you will likely get yourself kicked.</li>
</li> <li>No arguing. You can't win an argument over the Internet, so you're just wasting your time trying.</li>
<li> <li>No prejudice, especially related to race, religion, politics, ethnic background, etc. It is highly suggested to avoid this entirely.</li>
Do not link shock sites or anything NSFW (not safe for work) without a warning. If in doubt, ask a staff member in <?=BOT_HELP_CHAN?> about it. <li>Flooding is irritating and will warrant you a kick. This includes, but is not limited to, automatic "now playing" scripts, pasting large amounts of text, and multiple consecutive lines with no relevance to the conversation at hand.</li>
</li> <li>Impersonation of other members (particularly staff members) will not go unpunished. If you are uncertain of a user's identity, check their vhost.</li>
<li> <li>Spamming is strictly forbidden. This includes, but is not limited to, personal sites, online auctions, and torrent uploads.</li>
Excessive swearing will get you kicked; keep swearing to a minimum. <li>Obsessive annoyance, both to other users and staff, will not be tolerated.</li>
</li> <li>Do not PM, DCC, or Query anyone you don't know or have never talked to without asking; this applies specifically to staff.</li>
<li> <li>No language other than English is permitted in the official IRC channels. If we cannot understand it, we cannot moderate it.</li>
Do not leave your Caps Lock on all the time. It gets annoying, and you will likely get yourself kicked. <li>The offering, selling, trading, and giving away of invites to this or any other site on our IRC network is <strong>strictly forbidden</strong>.</li>
</li> <li><strong>Read the topic before asking questions.</strong></li>
<li>
No arguing. You can't win an argument over the Internet, so you're just wasting your time trying.
</li>
<li>
No prejudice, especially related to race, religion, politics, ethnic background, etc. It is highly suggested to avoid this entirely.
</li>
<li>
Flooding is irritating and will warrant you a kick. This includes, but is not limited to, automatic "now playing" scripts, pasting large amounts of text, and multiple consecutive lines with no relevance to the conversation at hand.
</li>
<li>
Impersonation of other members (particularly staff members) will not go unpunished. If you are uncertain of a user's identity, check their vhost.
</li>
<li>
Spamming is strictly forbidden. This includes, but is not limited to, personal sites, online auctions, and torrent uploads.
</li>
<li>
Obsessive annoyance both to other users and staff will not be tolerated.
</li>
<li>
Do not PM, DCC, or Query anyone you don't know or have never talked to without asking; this applies specifically to staff.
</li>
<li>
No language other than English is permitted in the official IRC channels. If we cannot understand it, we cannot moderate it.
</li>
<li>
The offering, selling, trading and giving away of invites to this or any other site on our IRC network is <strong>strictly forbidden</strong>.
</li>
<li>
<strong>Read the topic before asking questions.</strong>
</li>
</ul> </ul>
<form class="confirm_form center" name="chat" method="post" action="chat.php"> <form class="confirm_form center" name="chat" method="post" action="chat.php">
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" /> <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
@ -97,10 +67,9 @@
</div> </div>
<div class="box pad" style="padding:10px 0px 10px 0px;"> <div class="box pad" style="padding:10px 0px 10px 0px;">
<div style="padding:0px 10px 10px 20px;"> <div style="padding:0px 10px 10px 20px;">
<p>If you have an IRC client, visit <a href="wiki.php?action=article&amp;name=IRC+-+How+to+join">this wiki entry</a> for information on how to connect. (IRC applet users are automatically identified with Drone.)</p> <p>If you have an IRC client, refer to <a href="wiki.php?action=article&amp;name=IRC+-+How+to+join">this wiki article</a> for information on how to connect. (IRC applet users are automatically identified with Drone.)</p>
</div> </div>
<center> <applet codebase="static/irc/" code="IRCApplet.class" archive="irc.jar,sbox.jar" width="800" height="600" align="center">
<applet codebase="static/irc/" code="IRCApplet.class" archive="irc.jar,sbox.jar" width="800" height="600">
<param name="nick" value="<?=$nick?>" /> <param name="nick" value="<?=$nick?>" />
<param name="alternatenick" value="WhatGuest????" /> <param name="alternatenick" value="WhatGuest????" />
<param name="name" value="Java IRC User" /> <param name="name" value="Java IRC User" />
@ -114,7 +83,6 @@
<param name="pixx:prefixops" value="true" /> <param name="pixx:prefixops" value="true" />
<param name="sbox:scrollspeed" value="5" /> <param name="sbox:scrollspeed" value="5" />
</applet> </applet>
</center>
</div> </div>
</div> </div>
<? <?

View File

@ -540,7 +540,7 @@ function compare($X, $Y){
<input type="text" size="20" name="url" /> <input type="text" size="20" name="url" />
<input type="submit" value="+" /> <input type="submit" value="+" />
<br /> <br />
<i>Enter the URL of a torrent on the site.</i> <span style="font-style: italic;">Enter the URL of a torrent on the site.</span>
</form> </form>
</div> </div>
<div class="pad hidden add_torrent_container"> <div class="pad hidden add_torrent_container">
@ -551,7 +551,7 @@ function compare($X, $Y){
<textarea name="urls" rows="5" cols="25" wrap="off"></textarea><br /> <textarea name="urls" rows="5" cols="25" wrap="off"></textarea><br />
<input type="submit" value="Add" /> <input type="submit" value="Add" />
<br /> <br />
<i>Enter the URLs of torrents on the site, one to a line.</i> <span style="font-style: italic;">Enter the URLs of torrents on the site, one per line.</span>
</form> </form>
</div> </div>
</div> </div>

View File

@ -49,15 +49,15 @@
<td class="label">Tags</td> <td class="label">Tags</td>
<td><input type="text" name="tags" size="60" value="<?=$TagList?>" /></td> <td><input type="text" name="tags" size="60" value="<?=$TagList?>" /></td>
</tr> </tr>
<? if($CategoryID == 0) { ?> <? if($CategoryID == 0) { ?> // CategoryID==0 is "Personal" collages
<tr> <tr>
<td class="label">Featured</td> <td class="label"><span title="A &quot;featured&quot; personal collage will be listed first on your profile.">Featured</span></td>
<td><input type="checkbox" name="featured" <?=($Featured?'checked':'')?> /></td> <td><input type="checkbox" name="featured" <?=($Featured?'checked':'')?> /></td>
</tr> </tr>
<? } <? }
if(check_perms('site_collages_delete')) { ?> if(check_perms('site_collages_delete')) { ?>
<tr> <tr>
<td class="label">Locked</td> <td class="label"><span title="This feature has not been implemented yet. It currently does nothing.">Locked</span></td>
<td><input type="checkbox" name="locked" <?if($Locked) { ?>checked="checked" <? }?>/></td> <td><input type="checkbox" name="locked" <?if($Locked) { ?>checked="checked" <? }?>/></td>
</tr> </tr>
<tr> <tr>

View File

@ -4,7 +4,7 @@
//Include the header //Include the header
if($LoggedUser['RatioWatch']) { if($LoggedUser['RatioWatch']) {
error('Due to the high volume of paypal disputes, we do not accept donations from users on ratio watch. Sorry.'); error('Due to the high volume of PayPal disputes, we do not accept donations from users on ratio watch. Sorry.');
} }
if(!$UserCount = $Cache->get_value('stats_user_count')){ if(!$UserCount = $Cache->get_value('stats_user_count')){
@ -28,18 +28,18 @@
</div> </div>
<div class="box pad"> <div class="box pad">
<form class="donate_form" name="test_paypal" method="post" action="donate.php"> <form class="donate_form" name="test_paypal" method="post" action="donate.php">
<input type="hidden" name="action" value="ipn"> <input type="hidden" name="action" value="ipn" />
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" /> <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
<?=PAYPAL_SYMBOL?> <input type="text" name="mc_gross" value="<?=number_format(PAYPAL_MINIMUM,2)?>"> <?=PAYPAL_SYMBOL?> <input type="text" name="mc_gross" value="<?=number_format(PAYPAL_MINIMUM,2)?>" />
<input type="hidden" name="custom" value="<?=$LoggedUser['ID']?>"> <input type="hidden" name="custom" value="<?=$LoggedUser['ID']?>" />
<input type="hidden" name="payment_status" value="Completed"> <input type="hidden" name="payment_status" value="Completed" />
<input type="hidden" name="mc_fee" value="0.45"> <input type="hidden" name="mc_fee" value="0.45" />
<input type="hidden" name="business" value="<?=PAYPAL_ADDRESS?>"> <input type="hidden" name="business" value="<?=PAYPAL_ADDRESS?>" />
<input type="hidden" name="txn_id" value="0"> <input type="hidden" name="txn_id" value="0" />
<input type="hidden" name="payment_type" value="instant"> <input type="hidden" name="payment_type" value="instant" />
<input type="text" name="payer_email" value="<?=$LoggedUser['Username']?>@<?=NONSSL_SITE_URL?>"> <input type="text" name="payer_email" value="<?=$LoggedUser['Username']?>@<?=NONSSL_SITE_URL?>" />
<input type="hidden" name="mc_currency" value="<?=PAYPAL_CURRENCY?>"> <input type="hidden" name="mc_currency" value="<?=PAYPAL_CURRENCY?>" />
<input name="test" type="submit" value="Donate"> <input name="test" type="submit" value="Donate" />
</form> </form>
</div> </div>
<? <?
@ -49,25 +49,25 @@
<h3>Donate</h3> <h3>Donate</h3>
</div> </div>
<div class="box pad" style="padding:10px 10px 10px 20px;"> <div class="box pad" style="padding:10px 10px 10px 20px;">
<p>We accept donations to cover the costs associated with running the site and tracker. These costs come from the rental and purchase of the hardware the site runs on (Servers, Components, etc.), in addition to operating expenses (Bandwidth, Power, etc.).</p> <p>We accept donations to cover the costs associated with running the site and tracker. These costs come from the rental and purchase of the hardware the site runs on (servers, components, etc.), in addition to operating expenses (bandwidth, power, etc.).</p>
<p>Because we do not have any advertisements or sponsorships and this service is provided free of charge, we are entirely reliant upon user donations. If you are financially able, please consider making a donation to help us pay the bills!</p> <p>Because we do not have any advertisements or sponsorships and this service is provided free of charge, we are entirely reliant upon user donations. If you are financially able, please consider making a donation to help us pay the bills!</p>
<p>We currently only accept one payment method; PayPal. Because of the fees they charge, there is a <strong>minimum donation amount of <?=PAYPAL_SYMBOL?> <?=PAYPAL_MINIMUM?></strong> (Please note, this is only a minimum amount and we greatly appreciate any extra you can afford.).</b></p> <p>We currently only accept one payment method: PayPal. Because of the fees they charge, there is a <strong>minimum donation amount of <?=PAYPAL_SYMBOL?> <?=PAYPAL_MINIMUM?></strong> (Please note, this is only a minimum amount and we greatly appreciate any extra you can afford.).</p>
<p>You don't have to be a PayPal member to make a donation, you can simply donate with your credit/debit card. If you do not have a credit/debit card, you should be able to donate from your bank account, but you will need to make an account with them to do this.</p> <p>You don't have to be a PayPal member to make a donation, you can simply donate with your credit or debit card. If you do not have a credit or debit card, you should be able to donate from your bank account, but you will need to make an account with them to do this.</p>
<form class="donate_form" name="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <form class="donate_form" name="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="rm" value="2"> <input type="hidden" name="rm" value="2" />
<input type="hidden" name="cmd" value="_donations"> <input type="hidden" name="cmd" value="_donations" />
<input type="hidden" name="business" value="<?=PAYPAL_ADDRESS?>"> <input type="hidden" name="business" value="<?=PAYPAL_ADDRESS?>" />
<input type="hidden" name="return" value="http://<?=SITE_URL?>/donate.php?action=complete"> <input type="hidden" name="return" value="http://<?=SITE_URL?>/donate.php?action=complete" />
<input type="hidden" name="cancel_return" value="http://<?=SITE_URL?>/donate.php?action=cancel"> <input type="hidden" name="cancel_return" value="http://<?=SITE_URL?>/donate.php?action=cancel" />
<input type="hidden" name="notify_url" value="http://<?=NONSSL_SITE_URL?>/donate.php?action=ipn"> <input type="hidden" name="notify_url" value="http://<?=NONSSL_SITE_URL?>/donate.php?action=ipn" />
<input type="hidden" name="item_name" value="Donation"> <input type="hidden" name="item_name" value="Donation" />
<input type="hidden" name="amount" value=""> <input type="hidden" name="amount" value="" />
<input type="hidden" name="custom" value="<?=$LoggedUser['ID']?>"> <input type="hidden" name="custom" value="<?=$LoggedUser['ID']?>" />
<input type="hidden" name="no_shipping" value="0"> <input type="hidden" name="no_shipping" value="0" />
<input type="hidden" name="no_note" value="1"> <input type="hidden" name="no_note" value="1" />
<input type="hidden" name="currency_code" value="<?=PAYPAL_CURRENCY?>"> <input type="hidden" name="currency_code" value="<?=PAYPAL_CURRENCY?>" />
<input type="hidden" name="tax" value="0"> <input type="hidden" name="tax" value="0" />
<input type="hidden" name="bn" value="PP-DonationsBF"> <input type="hidden" name="bn" value="PP-DonationsBF" />
<input type="submit" value="PayPal Donate" /> <input type="submit" value="PayPal Donate" />
</form> </form>
</div> </div>
@ -78,7 +78,7 @@
<ul> <ul>
<? if($LoggedUser['Donor']) { ?> <? if($LoggedUser['Donor']) { ?>
<li>Even more love! (You will not get multiple hearts.)</li> <li>Even more love! (You will not get multiple hearts.)</li>
<li>A warmer fuzzier feeling than before!</li> <li>A warmer, fuzzier feeling than before!</li>
<? } else { ?> <? } else { ?>
<li>Our eternal love, as represented by the <img src="<?=STATIC_SERVER?>common/symbols/donor.png" alt="Donor" /> you get next to your name.</li> <li>Our eternal love, as represented by the <img src="<?=STATIC_SERVER?>common/symbols/donor.png" alt="Donor" /> you get next to your name.</li>
<? <?
@ -96,7 +96,7 @@
<div class="box pad" style="padding:10px 10px 10px 20px;"> <div class="box pad" style="padding:10px 10px 10px 20px;">
<ul> <ul>
<? if($LoggedUser['Donor']) { ?> <? if($LoggedUser['Donor']) { ?>
<li>2 more invitations, these were one time only.</li> <li>2 more invitations; these are one time only.</li>
<? } ?> <? } ?>
<li>Immunity from the rules.</li> <li>Immunity from the rules.</li>
<li>Additional upload credit.</li> <li>Additional upload credit.</li>

View File

@ -27,18 +27,18 @@
</div> </div>
<div class="box pad"> <div class="box pad">
<form class="donate_form" name="test_paypal" method="post" action="donate.php"> <form class="donate_form" name="test_paypal" method="post" action="donate.php">
<input type="hidden" name="action" value="ipn"> <input type="hidden" name="action" value="ipn" />
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" /> <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
<?=PAYPAL_SYMBOL?> <input type="text" name="mc_gross" value="<?=number_format(PAYPAL_MINIMUM,2)?>"> <?=PAYPAL_SYMBOL?> <input type="text" name="mc_gross" value="<?=number_format(PAYPAL_MINIMUM,2)?>" />
<input type="hidden" name="custom" value="<?=$LoggedUser['ID']?>"> <input type="hidden" name="custom" value="<?=$LoggedUser['ID']?>" />
<input type="hidden" name="payment_status" value="Completed"> <input type="hidden" name="payment_status" value="Completed" />
<input type="hidden" name="mc_fee" value="0.45"> <input type="hidden" name="mc_fee" value="0.45" />
<input type="hidden" name="business" value="<?=PAYPAL_ADDRESS?>"> <input type="hidden" name="business" value="<?=PAYPAL_ADDRESS?>" />
<input type="hidden" name="txn_id" value="0"> <input type="hidden" name="txn_id" value="0" />
<input type="hidden" name="payment_type" value="instant"> <input type="hidden" name="payment_type" value="instant" />
<input type="text" name="payer_email" value="<?=$LoggedUser['Username']?>@<?=NONSSL_SITE_URL?>"> <input type="text" name="payer_email" value="<?=$LoggedUser['Username']?>@<?=NONSSL_SITE_URL?>" />
<input type="hidden" name="mc_currency" value="<?=PAYPAL_CURRENCY?>"> <input type="hidden" name="mc_currency" value="<?=PAYPAL_CURRENCY?>" />
<input name="test" type="submit" value="Donate"> <input name="test" type="submit" value="Donate" />
</form> </form>
</div> </div>
<? <?
@ -48,25 +48,25 @@
<h3>Donate</h3> <h3>Donate</h3>
</div> </div>
<div class="box pad" style="padding:10px 10px 10px 20px;"> <div class="box pad" style="padding:10px 10px 10px 20px;">
<p>We accept donations to cover the costs associated with running the site and tracker. These costs come from the rental and purchase of the hardware the site runs on (Servers, Components, etc.), in addition to operating expenses (Bandwidth, Power, etc.).</p> <p>We accept donations to cover the costs associated with running the site and tracker. These costs come from the rental and purchase of the hardware the site runs on (servers, components, etc.), in addition to operating expenses (bandwidth, power, etc.).</p>
<p>Because we do not have any advertisements or sponsorships and this service is provided free of charge, we are entirely reliant upon user donations. If you are financially able, please consider making a donation to help us pay the bills!</p> <p>Because we do not have any advertisements or sponsorships and this service is provided free of charge, we are entirely reliant upon user donations. If you are financially able, please consider making a donation to help us pay the bills!</p>
<p>We currently only accept one payment method; PayPal. Because of the fees they charge, there is a <strong>minimum donation amount of <?=PAYPAL_SYMBOL?> <?=PAYPAL_MINIMUM?></strong> (Please note, this is only a minimum amount and we greatly appreciate any extra you can afford.).</b></p> <p>We currently only accept one payment method: PayPal. Because of the fees they charge, there is a <strong>minimum donation amount of <?=PAYPAL_SYMBOL?> <?=PAYPAL_MINIMUM?></strong> (Please note, this is only a minimum amount and we greatly appreciate any extra you can afford.).</p>
<p>You don't have to be a PayPal member to make a donation, you can simply donate with your credit/debit card. If you do not have a credit/debit card, you should be able to donate from your bank account, but you will need to make an account with them to do this.</p> <p>You don't have to be a PayPal member to make a donation, you can simply donate with your credit or debit card. If you do not have a credit or debit card, you should be able to donate from your bank account, but you will need to make an account with them to do this.</p>
<form class="donate_form" name="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <form class="donate_form" name="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="rm" value="2"> <input type="hidden" name="rm" value="2" />
<input type="hidden" name="cmd" value="_donations"> <input type="hidden" name="cmd" value="_donations" />
<input type="hidden" name="business" value="<?=PAYPAL_ADDRESS?>"> <input type="hidden" name="business" value="<?=PAYPAL_ADDRESS?>" />
<input type="hidden" name="return" value="http://<?=SITE_URL?>/donate.php?action=complete"> <input type="hidden" name="return" value="http://<?=SITE_URL?>/donate.php?action=complete" />
<input type="hidden" name="cancel_return" value="http://<?=SITE_URL?>/donate.php?action=cancel"> <input type="hidden" name="cancel_return" value="http://<?=SITE_URL?>/donate.php?action=cancel" />
<input type="hidden" name="notify_url" value="http://<?=NONSSL_SITE_URL?>/donate.php?action=ipn"> <input type="hidden" name="notify_url" value="http://<?=NONSSL_SITE_URL?>/donate.php?action=ipn" />
<input type="hidden" name="item_name" value="Donation"> <input type="hidden" name="item_name" value="Donation" />
<input type="hidden" name="amount" value=""> <input type="hidden" name="amount" value="" />
<input type="hidden" name="custom" value="<?=$LoggedUser['ID']?>"> <input type="hidden" name="custom" value="<?=$LoggedUser['ID']?>" />
<input type="hidden" name="no_shipping" value="0"> <input type="hidden" name="no_shipping" value="0" />
<input type="hidden" name="no_note" value="1"> <input type="hidden" name="no_note" value="1" />
<input type="hidden" name="currency_code" value="<?=PAYPAL_CURRENCY?>"> <input type="hidden" name="currency_code" value="<?=PAYPAL_CURRENCY?>" />
<input type="hidden" name="tax" value="0"> <input type="hidden" name="tax" value="0" />
<input type="hidden" name="bn" value="PP-DonationsBF"> <input type="hidden" name="bn" value="PP-DonationsBF" />
<input type="submit" value="PayPal Donate" /> <input type="submit" value="PayPal Donate" />
</form> </form>
</div> </div>
@ -77,7 +77,7 @@
<ul> <ul>
<? if($LoggedUser['Donor']) { ?> <? if($LoggedUser['Donor']) { ?>
<li>Even more love! (You will not get multiple hearts.)</li> <li>Even more love! (You will not get multiple hearts.)</li>
<li>A warmer fuzzier feeling than before!</li> <li>A warmer, fuzzier feeling than before!</li>
<? } else { ?> <? } else { ?>
<li>Our eternal love, as represented by the <img src="<?=STATIC_SERVER?>common/symbols/donor.png" alt="Donor" /> you get next to your name.</li> <li>Our eternal love, as represented by the <img src="<?=STATIC_SERVER?>common/symbols/donor.png" alt="Donor" /> you get next to your name.</li>
<li>2 invitations, to invite 2 good friends to use this tracker.</li> <li>2 invitations, to invite 2 good friends to use this tracker.</li>
@ -88,7 +88,7 @@
<? } ?> <? } ?>
<li>Immunity to inactivity pruning.</li> <li>Immunity to inactivity pruning.</li>
<li>Access to an ever growing list of exclusive features, including the ability to submit requests and personal collages.</li> <li>Access to an ever growing list of exclusive features, including the ability to submit requests and personal collages.</li>
<li>A warm fuzzy feeling.</li> <li>A warm, fuzzy feeling.</li>
<? } ?> <? } ?>
</ul> </ul>
@ -97,7 +97,7 @@
<div class="box pad" style="padding:10px 10px 10px 20px;"> <div class="box pad" style="padding:10px 10px 10px 20px;">
<ul> <ul>
<? if($LoggedUser['Donor']) { ?> <? if($LoggedUser['Donor']) { ?>
<li>2 more invitations, these were one time only.</li> <li>2 more invitations; these are one time only.</li>
<? } ?> <? } ?>
<li>Immunity from the rules.</li> <li>Immunity from the rules.</li>
<li>Additional upload credit.</li> <li>Additional upload credit.</li>

View File

@ -4,13 +4,13 @@
?> ?>
<p class="warning"> <p class="warning">
Your account has been disabled.<br /> Your account has been disabled.<br />
This is either due to inactivity or rule violation.<br /> This is either due to inactivity or rule violation(s).<br />
To discuss this come to our IRC at: <?=BOT_SERVER?><br /> To discuss this with staff, come to our IRC network at: <?=BOT_SERVER?><br />
And join <?=BOT_DISABLED_CHAN?><br /><br /> And join <?=BOT_DISABLED_CHAN?><br /><br />
Be honest - at this point, lying will get you nowhere.<br /><br/><br/> <strong>Be honest.</strong> At this point, lying will get you nowhere.<br /><br /><br />
</p> </p>
<strong>Before joining the disabled channel please read our <br/> <span style="color:gold;">Golden Rules</span> which can be found <a style="color:#1464F4;" href="#" onclick="toggle_visibility('golden_rules')">here.</a></strong> <br/><br/> <strong>Before joining the disabled channel, please read our <br /> <span style="color:gold;">Golden Rules</span> which can be found <a style="color:#1464F4;" href="#" onclick="toggle_visibility('golden_rules')">here.</a></strong> <br /><br />
<script type="text/javascript"> <script type="text/javascript">
function toggle_visibility(id) { function toggle_visibility(id) {
@ -24,30 +24,27 @@ function toggle_visibility(id) {
<div id="golden_rules" style="width:35%;font-weight:bold;display:none;" > <div id="golden_rules" style="width:35%;font-weight:bold;display:none;" >
<ul> <ul>
<li>All staff decisions must be respected. If you take issue with a decision, you must do so privately with the staff member who issued the decision or with an administrator of the site. Complaining about staff decisions in public or otherwise disrespecting staff members will not be taken lightly.</li><br/> <li>All staff decisions must be respected. If you take issue with a decision, you must do so privately with the staff member who issued the decision or with an administrator of the site. Complaining about staff decisions in public or otherwise disrespecting staff members will not be taken lightly.</li>
<li>Access to this website is a privilege, not a right, and it can be taken away from you for any reason.</li><br/> <li>Access to this web site is a privilege, not a right, and it can be taken away from you for any reason.</li>
<li>One account per person per lifetime. Anyone creating additional accounts will be banned.</li><br/> <li>One account per person per lifetime. Anyone creating additional accounts will be banned.</li>
<li>Avatars must not exceed 256 kB or be vertically longer than 400 pixels. Avatars must be safe for work, be entirely unoffensive, and cannot contain any nudity or religious imagery. Use common sense.</li><br/> <li>Avatars must not exceed 256 kB or be vertically longer than 400 pixels. Avatars must be safe for work, be entirely unoffensive, and cannot contain any nudity or religious imagery. Use common sense.</li>
<li>Do not post our .torrent files on other sites. Every .torrent file has your personal passkey embedded in it. The tracker will automatically disable your account if you share your torrent files with others. You will not get your account back. This doesn't prohibit you from sharing the content on other sites, but does prohibit you from sharing the .torrent file.</li><br/> A <li>Do not post our .torrent files on other sites. Every .torrent file has your personal passkey embedded in it. The tracker will automatically disable your account if you share your torrent files with others. You will not get your account back. This doesn't prohibit you from sharing the content on other sites, but it does prohibit you from sharing the .torrent file.</li>
<li>Any torrent you are seeding to this tracker must only have our tracker's URL in it. Adding another tracker's URL will cause incorrect data to be sent to our tracker, and will lead to your getting disabled for cheating. Similarly, your client must have DHT and PEX disabled for all What.CD torrents.</li><br/> <li>Any torrent you are seeding to this tracker must only have our tracker's URL in it. Adding another tracker's URL will cause incorrect data to be sent to our tracker and will lead to you getting disabled for cheating. Similarly, your client must have DHT and PEX (peer exchange) disabled for all What.CD torrents.</li>
<li>This is a torrent site which promotes sharing amongst the community. If you are not willing to give back to the community what you take from it, this site is not for you. In other words, we expect you to have an acceptable share </li><br/> <li>This is a torrent site which promotes sharing amongst the community. If you are not willing to give back to the community what you take from it, this site is not for you. In other words, we expect you to have an acceptable share </li>
<li>Do not browse the site using proxies or TOR. The site will automatically alert us. This includes VPNs with dynamic IP addresses.</li><br/> <li>Do not browse the site using proxies or TOR. The site will automatically alert us. This includes VPNs with dynamic IP addresses.</li>
<li>Asking for invites to any site is not allowed anywhere on What.CD or our IRC network. Invites may be offered in the Invites forum, and nowhere else.</li><br/> <li>Asking for invites to any site is not allowed anywhere on What.CD or our IRC network. Invites may be offered in the Invites forum, and nowhere else.</li>
<li>Trading, selling, sharing, or giving away your account is prohibited. PM a mod to disable your account if you no longer want it.</li><br/> <li>Trading, selling, sharing, or giving away your account is prohibited. If you no longer want your account, send a staff PM requesting that it be disabled.</li>
<li>You're completely responsible for the people you invite. If your invitees are caught cheating or trading/selling invites, not only will they be banned, so will you. Be careful who you invite. Invites are a precious commodity.</li><br/> <li>You're completely responsible for the people you invite. If your invitees are caught cheating or trading/selling invites, not only will they be banned, so will you. Be careful who you invite. Invites are a precious commodity.</li>
<li>Be careful when sharing an IP or a computer with a friend if they have (or have had) an account. From then on your accounts will be inherently linked and if one of you violates the rules, both accounts will be disabled along with any other accounts linked by IP. This rule applies to logging into the site.</li><br/> <li>Be careful when sharing an IP address or a computer with a friend if they have (or have had) an account. From then on your accounts will be inherently linked and if one of you violates the rules, both accounts will be disabled along with any other accounts linked by IP. This rule applies to logging into the site.</li>
<li>Attempting to find or exploit a bug in the site code is the worst possible offense you can commit. We have automatic systems in place for monitoring these activities, and committing them will result in the banning of you, your inviter, and your inviter's entire invite tree.</li><br/> <li>Attempting to find or exploit a bug in the site code is the worst possible offense you can commit. We have automatic systems in place for monitoring these activities, and committing them will result in the banning of you, your inviter, and your inviter's entire invite tree.</li>
<li>We're a community. Working together is what makes this place what it is. There are well over a thousand new torrents uploaded every day and sadly the staff aren't psychic. If you come across something that violates a rule, report it and help us better organize the site for you.</li><br/> <li>We're a community. Working together is what makes this place what it is. There are well over a thousand new torrents uploaded every day and sadly the staff aren't psychic. If you come across something that violates a rule, report it and help us better organize the site for you.</li>
<li>We respect the wishes of other sites here, as we wish for them to do the same. Please refrain from posting links to or full names for sites that do not want to be mentioned.</li><br/> <li>We respect the wishes of other sites here, as we wish for them to do the same. Please refrain from posting links to or full names for sites that do not want to be mentioned.</li>
</ul> </ul>
</div> </div>
</p>
<p class="strong"> <p class="strong">
If you do not have access to an IRC client you can use the WebIRC interface provided below.<br /> If you do not have access to an IRC client, you can use the WebIRC interface provided below.<br />
Please use your What.CD? username. Please use your What.CD username.
</p> </p>
<br /> <br />
<form class="confirm_form" name="chat" action="" method="post"> <form class="confirm_form" name="chat" action="" method="post">
@ -75,8 +72,7 @@ function toggle_visibility(id) {
<div style="padding:0px 10px 10px 20px;"> <div style="padding:0px 10px 10px 20px;">
<p>Please read the topic carefully.</p> <p>Please read the topic carefully.</p>
</div> </div>
<center> <applet codebase="static/irc/" code="IRCApplet.class" archive="irc.jar,sbox.jar" width="800" height="600" align="center">
<applet codebase="static/irc/" code="IRCApplet.class" archive="irc.jar,sbox.jar" width=800 height=600>
<param name="nick" value="<?=$nick?>"> <param name="nick" value="<?=$nick?>">
<param name="alternatenick" value="WhatGuest????"> <param name="alternatenick" value="WhatGuest????">
<param name="name" value="Java IRC User"> <param name="name" value="Java IRC User">
@ -90,7 +86,6 @@ function toggle_visibility(id) {
<param name="pixx:prefixops" value="true"> <param name="pixx:prefixops" value="true">
<param name="sbox:scrollspeed" value="5"> <param name="sbox:scrollspeed" value="5">
</applet> </applet>
</center>
</div> </div>
</div> </div>
<? <?

View File

@ -63,6 +63,7 @@
AND i.UserID=m.ID"); AND i.UserID=m.ID");
$Reset = true; // Past tense form of "to reset", meaning that password has now been reset $Reset = true; // Past tense form of "to reset", meaning that password has now been reset
} }
} }

View File

@ -1,6 +1,6 @@
<? <?
/* /*
* I'm not writing documentation for this page untill I write this page >.> * TODO: I'm not writing documentation for this page until I write this page >.>
*/ */
if(!check_perms('admin_reports')){ if(!check_perms('admin_reports')){
error(403); error(403);
@ -14,7 +14,7 @@
<? include('header.php'); ?> <? include('header.php'); ?>
</div> </div>
<br /> <br />
On hold until FZeroX fixes the main torrents search, then I will steal all his work and claim it as my own. On hold until FZeroX fixes the main torrents search; then I will steal all his work and claim it as my own.
<? <?
show_footer(); show_footer();
?> ?>

View File

@ -86,7 +86,7 @@
if(preg_match('/([0-9]+( [0-9]+)*)|All/is', $_POST['track'], $Matches)) { if(preg_match('/([0-9]+( [0-9]+)*)|All/is', $_POST['track'], $Matches)) {
$Tracks = $Matches[0]; $Tracks = $Matches[0];
} else { } else {
$Err = "Tracks should be given in a space seperated list of numbers (No other characters)"; $Err = "Tracks should be given in a space separated list of numbers (no other characters)";
} }
} else { } else {
$Tracks = ""; $Tracks = "";

View File

@ -8,35 +8,30 @@
</div> </div>
<div class="box pad"> <div class="box pad">
<p> <p>
Your ratio is the amount you've uploaded divided by the amount you've downloaded. Your ratio is the amount you have uploaded divided by the amount you have downloaded.
</p> </p>
<p> <p>
To maintain leeching privileges, we require that you maintain a ratio above a minimum ratio. This is called your "required ratio". If your upload/download ratio goes below your required ratio, your account will be given a two week period to fix it before you lose your ability to download. This is called "ratio watch". To maintain leeching privileges, we require that you maintain a ratio above a minimum ratio. This is called your "required ratio". If your upload/download ratio goes below your required ratio, your account will be given a two week period to fix it before you lose your ability to download. This is called "ratio watch".
</p> </p>
<p> <p>
The required ratio is <strong>NOT the extra amount of ratio you need to gain</strong>. It is the <strong>minimum</strong> required ratio you must maintain. The required ratio is <strong>NOT the extra amount of ratio you need to gain</strong>. It is the <strong>minimum</strong> required ratio you must maintain.
</p> </p>
<p> <p>
Your required ratio is unique, and is calculated from the amount you've downloaded, and the percentage of your snatched torrents which you are still seeding. Your required ratio is unique, and is calculated from the amount you have downloaded, and the percentage of your snatched torrents which you are still seeding.
</p> </p>
<p> <p>
<b>It is not necessary to know how this ratio is calculated. What you need to know is that downloading makes the required ratio go up (bad) and seeding your snatches forever makes your required ratio go down (good). You can view your required ratio in the site header (it is the "Required" value). You want a high ratio, and a low required ratio.</b> <strong>It is not necessary to know how this ratio is calculated. What you need to know is that downloading makes the required ratio go up (bad) and seeding your snatches forever makes your required ratio go down (good). You can view your required ratio in the site header (it is the "Required" value). You want a high ratio, and a low required ratio.</strong>
</p> </p>
<p> <p>
The exact formula for calculating the required ratio is provided merely for the curious. It is done in three steps. The exact formula for calculating the required ratio is provided merely for the curious. It is done in three steps.
</p> </p>
<p> <p>
The first step is by determining how high and how low your required ratio can be. This is determined by looking up how much you've downloaded from the following table: The first step is by determining how high and how low your required ratio can be. This is determined by looking up how much you have downloaded from the following table:
</p> </p>
<table> <table>
<tr class="colhead"> <tr class="colhead">
<td>Amount downloaded</td> <td><span title="These units are actually in base 2, not base 10. For example, there are 1,024 MB in 1 GB.">Amount downloaded</span></td>
<td>Required ratio (0% seeded)</td> <td>Required ratio (0% seeded)</td>
<td>Required ratio (100% seeded)</td> <td>Required ratio (100% seeded)</td>
</tr> </tr>
@ -93,53 +88,42 @@
</table> </table>
<p> <p>
So for example, if you've downloaded 25GB, your required ratio will be somewhere between 0.05 and 0.30. For example, if you have downloaded 25 GB, your required ratio will be somewhere between 0.05 and 0.30.
</p> </p>
<p> <p>
To get this range of requirements to a more precise number, what we do is take the required ratio (0% seeded) for your download band, multiply it by <img style="vertical-align: middle" src="static/blank.gif" onload="if (this.src.substr(this.src.length-9,this.src.length) == 'blank.gif') { this.src = 'http://chart.apis.google.com/chart?cht=tx&amp;chf=bg,s,FFFFFF00&amp;chl=1-%5Cfrac%7BSeeding%7D%7BSnatched%7D&amp;chco=' + hexify(getComputedStyle(this.parentNode,null).color); }" />, and round it up to the required ratio (100% seeded) if need be. Therefore, your required ratio will always lie between the 0% seeded and 100% seeded requirements, depending on the percentage of torrents you are seeding. To get this range of requirements to a more precise number, what we do is take the required ratio (0% seeded) for your download band, multiply it by <img style="vertical-align: middle" src="static/blank.gif" alt="1 &#45; &#40;Seeding&#47;Snatched&#41;" onload="if (this.src.substr(this.src.length-9,this.src.length) == 'blank.gif') { this.src = 'http://chart.apis.google.com/chart?cht=tx&amp;chf=bg,s,FFFFFF00&amp;chl=1-%5Cfrac%7BSeeding%7D%7BSnatched%7D&amp;chco=' + hexify(getComputedStyle(this.parentNode,null).color); }" />, and round it up to the required ratio (100% seeded) if need be. Therefore, your required ratio will always lie between the 0% seeded and 100% seeded requirements, depending on the percentage of torrents you are seeding.
</p> </p>
<p> <p>
In the formula, "snatched" is the number of <strong>non-deleted unique snatches</strong> (complete downloads) you have made (so if you snatch a torrent twice, it only counts once, and if it is then deleted, it's not counted at all). "Seeding" is the average number of torrents you've seeded over at least 72 hours in the past week. If you've seeded less than 72 hours in the past week, the "seeding" value will go down (which is bad). In the formula, "snatched" is the number of <strong>non-deleted unique snatches</strong> (complete downloads) you have made (so if you snatch a torrent twice, it only counts once, and if it is then deleted, it's not counted at all). "Seeding" is the average number of torrents you've seeded over at least 72 hours in the past week. If you've seeded less than 72 hours in the past week, the "seeding" value will go down (which is bad).
</p> </p>
<p> <p>
Thus, if you have downloaded less than 20GB, and you are seeding 100% of your snatches, you will have <strong>no required ratio</strong>. If you have downloaded less than 5GB, then no matter what percentage of snatches you are seeding, you will again have no required ratio. Thus, if you have downloaded less than 20 GB, and you are seeding 100% of your snatches, you will have <strong>no required ratio</strong>. If you have downloaded less than 5 GB, then no matter what percentage of snatches you are seeding, you will have no required ratio.
</p> </p>
<p> <p>
If you stop seeding for an entire week, your required ratio will be the "required ratio (0% seeded)" for your download band. Your required ratio will go down once you start seeding again. If you stop seeding for an entire week, your required ratio will be the "required ratio (0% seeded)" for your download band. Your required ratio will go down once you start seeding again.
</p> </p>
<p> <p>
Take note how, as your download increases, the <strong>0% seeded and 100% seeded required ratios begin to taper together</strong>. They meet at 100GB of download, meaning that after you've downloaded 100GB, your ratio requirement will be 0.60, no matter what percentage of your snatches you're seeding. Take note how, as your download increases, the <strong>0% seeded and 100% seeded required ratios begin to taper together</strong>. They meet at 100 GB of download, meaning that after you have downloaded 100 GB, your ratio requirement will be 0.60, no matter what percentage of your snatches you are seeding.
</p> </p>
<h3>Important information you should know</h3> <h3>Important information you should know</h3>
<p> <p>
If your ratio does not meet your required ratio, you will be put on ratio watch. You will have <strong>two weeks</strong> to get your ratio above your required ratio - <strong>failure to do so will result in your downloading privileges being automatically disabled</strong>. If your ratio does not meet your required ratio, you will be put on ratio watch. You will have <strong>two weeks</strong> to get your ratio above your required ratio - <strong>failure to do so will result in your downloading privileges being automatically disabled</strong>.
</p> </p>
<p> <p>
If you download over 10GB while you're on ratio watch, your downloading privileges will be disabled. If you download over <span title="This is in base 2, so it is actually 10,240 MB">10 GB</span> while you are on ratio watch, your downloading privileges will be disabled.
</p> </p>
<p> <p>
Everyone gets to download their first 5 GB before ratio watch kicks in. Everyone gets to download their first 5 GB before ratio watch kicks in.
</p> </p>
<p> <p>
<b>To get out of ratio watch, you must either raise your ratio by uploading more, or lower your required ratio by seeding more. Your ratio MUST be above your required ratio.</b> <strong>To get out of ratio watch, you must either raise your ratio by uploading more, or lower your required ratio by seeding more. Your ratio MUST be above your required ratio.</strong>
</p> </p>
<p> <p>
If you have lost your downloading privileges, your new required ratio will be the 0% seeded ratio. You will re-gain your downloading privileges once your ratio is above that required ratio. If you have lost your downloading privileges, your new required ratio will be the 0% seeded ratio. You will re-gain your downloading privileges once your ratio is above that required ratio.
</p> </p>
<p> <p>
The ratio watch system is completely automatic, and cannot be altered by staff. The ratio watch system is completely automatic and cannot be altered by staff.
</p> </p>
</div> </div>

View File

@ -9,19 +9,19 @@
<div class="box pad" style="padding:10px 10px 10px 20px;"> <div class="box pad" style="padding:10px 10px 10px 20px;">
<ul> <ul>
<li> <li>
<b>Do not make requests for torrents that break the rules.</b> It is your responsibility that the request follows the rules. Your request will be deleted and you will not get your bounty back. Requests cannot be more specific than the upload (and trumping) rules. For example, requesting an MP3 torrent with a log when the rules prohibit replacing an MP3 torrent without a log. Such a request asks for a duplicate to be uploaded. Exceptions: Requests made before the November 2008 rule change are not subject to deletion. However, you are advised to edit such older requests to comply with the rules. <strong>Do not make requests for torrents that break the rules.</strong> It is your responsibility that the request follows the rules. Your request will be deleted, and you will not get your bounty back. Requests cannot be more specific than the upload (and trumping) rules. For example, requesting an MP3 torrent with a log when the rules prohibit replacing an MP3 torrent without a log. Such a request asks for a duplicate to be uploaded. Exceptions: Requests made before the November 2008 rule change are not subject to deletion. However, you are advised to edit such older requests to comply with the rules.
</li> </li>
<li> <li>
<b>Only one title (application, album, ...) per request.</b> No requests for multiple albums (discographies) or vague requirements. You may ask for multiple formats, but you cannot specify all of them. For example, you may ask for either a FLAC or V0, but not both formats. You may also make a list of albums by one artist that satisfies your request, but the request can be filled with only one album. Application requests can consist of only one application, but may span a range of different versions. However, such requests can be filled with only one version of that title. <strong>Only one title (application, album, etc.) per request.</strong> No requests for multiple albums (e.g. discographies) or vague requirements. You may ask for multiple formats, but you cannot specify all of them. For example, you may ask for either a FLAC or V0 but not both formats. You may also make a list of albums by one artist that satisfies your request, but the request can be filled with only one album. Application requests can consist of only one application, but may span a range of different versions. However, such requests can be filled with only one version of that title.
</li> </li>
<li> <li>
<b>Do not unfill requests for trivial reasons.</b> If you did not specify in your request what you wanted (such as bitrates or a particular edition), do not unfill and later change the description. Do not unfill requests if you are unsure of what you are doing (e.g. the filled torrent may be a transcode, but you don't know how to tell). Ask for help from <a href="/staff.php">staff</a> in that case. You may unfill if the torrent doesn't fit your specifications stated clearly in the request. <strong>Do not unfill requests for trivial reasons.</strong> If you did not specify in your request what you wanted (such as bitrates or a particular edition), do not unfill and later change the description. Do not unfill requests if you are unsure of what you are doing (e.g. the filled torrent may be a transcode, but you don't know how to tell). Ask for help from <a href="/staff.php">first-line support or staff</a> in that case. You may unfill the request if the torrent does not fit your specifications stated clearly in the request.
</li> </li>
<li> <li>
<b>All users must have an equal chance to fill a request.</b> Trading upload credit is not allowed. Abusing the request system to exchange favors for other users is not tolerated. That includes making specific requests for certain users (whether explicitly named or not). Making requests for releases, and then unfilling so that one particular user can fill the request is not allowed. If reported, both the requester and user filling the request will receive a warning and lose the request bounty. <strong>All users must have an equal chance to fill a request.</strong> Trading upload credit is not allowed. Abusing the request system to exchange favors for other users is not tolerated. That includes making specific requests for certain users (whether explicitly named or not). Making requests for releases, and then unfilling so that one particular user can fill the request is not allowed. If reported, both the requester and user filling the request will receive a warning and lose the request bounty.
</li> </li>
<li> <li>
<b>No manipulation of the requester for bounty.</b> The bounty is a reward for helping other users&mdash;it should not be a ransom. Any user who refuses to fill a request unless the bounty is increased will face harsh punishment. <strong>No manipulation of the requester for bounty.</strong> The bounty is a reward for helping other users&mdash;it should not be a ransom. Any user who refuses to fill a request unless the bounty is increased will face harsh punishment.
</li> </li>
</ul> </ul>
</div> </div>

View File

@ -9,54 +9,22 @@
</div> </div>
<div class="box pad" style="padding:10px 10px 10px 20px;"> <div class="box pad" style="padding:10px 10px 10px 20px;">
<ul> <ul>
<li> <li>All staff decisions must be respected. If you take issue with a decision, you must do so privately with the staff member who issued the decision or with an administrator of the site. Complaining about staff decisions in public or otherwise disrespecting staff members will not be taken lightly.</li>
All staff decisions must be respected. If you take issue with a decision, you must do so privately with the staff member who issued the decision or with an administrator of the site. Complaining about staff decisions in public or otherwise disrespecting staff members will not be taken lightly. <li>Access to this web site is a privilege, not a right, and it can be taken away from you for any reason.</li>
</li> <li>One account per person per lifetime. Anyone creating additional accounts will be banned.</li>
<li> <li>Avatars must not exceed 256 kB or be vertically longer than 400 pixels. Avatars must be safe for work, be entirely unoffensive, and cannot contain any nudity or religious imagery. Use common sense.</li>
Access to this website is a privilege, not a right, and it can be taken away from you for any reason. <li>Do not post our .torrent files on other sites. Every .torrent file has your personal passkey embedded in it. The tracker will automatically disable your account if you share your torrent files with others. You will not get your account back. This doesn't prohibit you from sharing the content on other sites, but does prohibit you from sharing the .torrent file.</li>
</li> <li>Any torrent you are seeding to this tracker must only have our tracker's URL in it. Adding another tracker's URL will cause incorrect data to be sent to our tracker, and will lead to your getting disabled for cheating. Similarly, your client must have DHT and PEX (peer exchange) disabled for all What.CD torrents.</li>
<li> <li>This is a torrent site which promotes sharing amongst the community. If you are not willing to give back to the community what you take from it, this site is not for you. In other words, we expect you to have an acceptable share ratio. If you download a torrent, please, seed the copy you have until there are sufficient people seeding the torrent data before you stop.</li>
One account per person per lifetime. Anyone creating additional accounts will be banned. <li>Do not browse the site using proxies or TOR. The site will automatically alert us. This includes VPNs with dynamic IP addresses.</li>
</li> <li>Asking for invites to any site is not allowed anywhere on What.CD or our IRC network. Invites may be offered in the Invites forum, and nowhere else.</li>
<li> <li>Trading and selling invites is strictly prohibited, as is offering them in public - this includes on any forum which is not a class-restricted section on an invitation-only torrent site.</li>
Avatars must not exceed 256 kB or be vertically longer than 400 pixels. Avatars must be safe for work, be entirely unoffensive, and cannot contain any nudity or religious imagery. Use common sense. <li>Trading, selling, sharing, or giving away your account is prohibited. If you no longer want your account, send a staff PM requesting that it be disabled.</li>
</li> <li>You're completely responsible for the people you invite. If your invitees are caught cheating or trading/selling invites, not only will they be banned, so will you. Be careful who you invite. Invites are a precious commodity.</li>
<li> <li>Be careful when sharing an IP address or a computer with a friend if they have (or have had) an account. From then on your accounts will be inherently linked and if one of you violates the rules, both accounts will be disabled along with any other accounts linked by IP. This rule applies to logging into the site.</li>
Do not post our .torrent files on other sites. Every .torrent file has your personal passkey embedded in it. The tracker will automatically disable your account if you share your torrent files with others. You will not get your account back. This doesn't prohibit you from sharing the content on other sites, but does prohibit you from sharing the .torrent file. <li>Attempting to find or exploit a bug in the site code is the worst possible offense you can commit. We have automatic systems in place for monitoring these activities, and committing them will result in the banning of you, your inviter, and your inviter's entire invite tree.</li>
</li> <li>We're a community. Working together is what makes this place what it is. There are well over a thousand new torrents uploaded every day and sadly the staff aren't psychic. If you come across something that violates a rule, report it and help us better organize the site for you.</li>
<li> <li>We respect the wishes of other sites here, as we wish for them to do the same. Please refrain from posting links to or full names for sites that do not want to be mentioned.</li>
Any torrent you are seeding to this tracker must only have our tracker's URL in it. Adding another tracker's URL will cause incorrect data to be sent to our tracker, and will lead to your getting disabled for cheating. Similarly, your client must have DHT and PEX disabled for all What.CD torrents.
</li>
<li>
This is a torrent site which promotes sharing amongst the community. If you are not willing to give back to the community what you take from it, this site is not for you. In other words, we expect you to have an acceptable share ratio. If you download a torrent, please, seed the copy you have until there are sufficient people seeding the torrent data before you stop.
</li>
<li>
Do not browse the site using proxies or TOR. The site will automatically alert us. This includes VPNs with dynamic IP addresses.
</li>
<li>
Asking for invites to any site is not allowed anywhere on What.CD or our IRC network. Invites may be offered in the Invites forum, and nowhere else.
</li>
<li>
Trading and selling invites is strictly prohibited, as is offering them in public - this includes on any forum which is not a class-restricted section on an invitation-only torrent site.
</li>
<li>
Trading, selling, sharing, or giving away your account is prohibited. PM a mod to disable your account if you no longer want it.
</li>
<li>
You're completely responsible for the people you invite. If your invitees are caught cheating or trading/selling invites, not only will they be banned, so will you. Be careful who you invite. Invites are a precious commodity.
</li>
<li>
Be careful when sharing an IP or a computer with a friend if they have (or have had) an account. From then on your accounts will be inherently linked and if one of you violates the rules, both accounts will be disabled along with any other accounts linked by IP. This rule applies to logging into the site.
</li>
<li>
Attempting to find or exploit a bug in the site code is the worst possible offense you can commit. We have automatic systems in place for monitoring these activities, and committing them will result in the banning of you, your inviter, and your inviter's entire invite tree.
</li>
<li>
We're a community. Working together is what makes this place what it is. There are well over a thousand new torrents uploaded every day and sadly the staff aren't psychic. If you come across something that violates a rule, report it and help us better organize the site for you.
</li>
<li>
We respect the wishes of other sites here, as we wish for them to do the same. Please refrain from posting links to or full names for sites that do not want to be mentioned.
</li>
</ul> </ul>
</div> </div>
<!-- END General Rules --> <!-- END General Rules -->

View File

@ -590,10 +590,10 @@
<li id="r4.1.2"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.2">4.1.2.</a> <strong>All applications must come with a crack, keygen, or other method of ensuring that downloaders can install them easily.</strong> App torrents with keygens, cracks, or patches that do not work or torrents missing clear installation instructions will be deleted if reported. No exceptions.</li> <li id="r4.1.2"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.2">4.1.2.</a> <strong>All applications must come with a crack, keygen, or other method of ensuring that downloaders can install them easily.</strong> App torrents with keygens, cracks, or patches that do not work or torrents missing clear installation instructions will be deleted if reported. No exceptions.</li>
<li id="r4.1.3"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.3">4.1.3.</a> <strong>App releases must not be freely available tools.</strong> Application releases cannot be freely downloaded anywhere from any official source. Nor may you upload open source applications where the source code is available for free. Closed or shareware installers like Crossover Office are allowed. Note: If all official sources stop hosting and remove a freely available application and its source code from their site(s) due to varying reasons (i.e., legal concerns, dead development, etc.), the application ceases to be freely available. You may then upload it in that case.</li> <li id="r4.1.3"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.3">4.1.3.</a> <strong>App releases must not be freely available tools.</strong> Application releases cannot be freely downloaded anywhere from any official source. Nor may you upload open source applications where the source code is available for free. Closed or shareware installers like Crossover Office are allowed. Note: If all official sources stop hosting and remove a freely available application and its source code from their site(s) due to varying reasons (i.e., legal concerns, dead development, etc.), the application ceases to be freely available. You may then upload it in that case.</li>
<li id="r4.1.4"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.4">4.1.4.</a> <strong>Release descriptions for applications must contain good information about the application.</strong> You should either have a small description of the program (either taken from its web site or from an NFO file) or a link to the information -- but ideally both. Torrents missing this information will be deleted when reported.</li> <li id="r4.1.4"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.4">4.1.4.</a> <strong>Release descriptions for applications must contain good information about the application.</strong> You should either have a small description of the program (either taken from its web site or from an NFO file) or a link to the information -- but ideally both. Torrents missing this information will be deleted when reported.</li>
<li id="r4.1.5"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.5">4.1.5.</a> <strong>The torrent title must have a descriptive name.</strong> The torrent title should at least include the application name and release version. Optionally, you may include additional labels for operating system and method of circumvention (i.e., crack, patch, keygen, or serial). For example, "AcrylicApps Wallet v3.0.1.493 MacOSX Cracked."</li> <li id="r4.1.5"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.5">4.1.5.</a> <strong>The torrent title must have a descriptive name.</strong> The torrent title should at least include the application name and release version. Optionally, you may include additional labels for operating system and method of circumvention (e.g., crack, patch, keygen, or serial). For example, "AcrylicApps Wallet v3.0.1.493 MacOSX Cracked."</li>
<li id="r4.1.6"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.6">4.1.6.</a> <strong>Use relevant tags for your torrent.</strong> Add all applicable default <a href="?p=tag">Gazelle tags</a> to help downloaders find your torrent. The default tags are apps.mac for Mac applications, apps.windows for Windows applications, and apps.sound for audio applications. You may add additional tags if the default ones do not apply (such as apps.linux).</li> <li id="r4.1.6"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.6">4.1.6.</a> <strong>Use relevant tags for your torrent.</strong> Add all applicable default <a href="?p=tag">Gazelle tags</a> to help downloaders find your torrent. The default tags are apps.mac for Mac applications, apps.windows for Windows applications, and apps.sound for audio applications. You may add additional tags if the default ones do not apply (such as apps.linux).</li>
<li id="r4.1.7"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.7">4.1.7.</a> <strong>Games of any kind are prohibited (see <a href="#r1.2.5">1.2.5</a>).</strong> </li> <li id="r4.1.7"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.7">4.1.7.</a> <strong>Games of any kind are prohibited (see <a href="#r1.2.5">1.2.5</a>).</strong> </li>
<li id="r4.1.8"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.8">4.1.8.</a> <strong>Application "packs" are not allowed.</strong> That means no 0-day packs or "video utilities" compilations. Also, packaging multiple versions of the same application into a single torrent is not allowed (i.e., Adobe Acrobat 8 and Adobe Acrobat 9 in a single torrent). Exceptions: The applications are from the same company and an official release. For example, Adobe CS and Macromedia Studio packaged in one set.</li> <li id="r4.1.8"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.8">4.1.8.</a> <strong>Application "packs" are not allowed.</strong> That means no 0-day packs or "video utilities" compilations. Also, packaging multiple versions of the same application into a single torrent is not allowed (e.g., Adobe Acrobat 8 and Adobe Acrobat 9 in a single torrent). Exceptions: The applications are from the same company and an official release. For example, Adobe CS and Macromedia Studio packaged in one set.</li>
<li id="r4.1.9"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.9">4.1.9.</a> <strong>Sound sample packs, template collections, and font collections are allowed if they are official releases, not freely available, and unarchived.</strong> Sound sample packs, template collections, and font collections must be official compilations and they must not be uploaded as an archive. The files contained inside the torrent must not be archived so that users can see what the pack contains. That means if sound sample packs are in WAV format, they must be uploaded as WAV. If the font collection, template collection, or sound sample pack was originally released as an archive, you must unpack the files before uploading them in a torrent. None of the contents in these packs and collections may be freely available.</li> <li id="r4.1.9"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.9">4.1.9.</a> <strong>Sound sample packs, template collections, and font collections are allowed if they are official releases, not freely available, and unarchived.</strong> Sound sample packs, template collections, and font collections must be official compilations and they must not be uploaded as an archive. The files contained inside the torrent must not be archived so that users can see what the pack contains. That means if sound sample packs are in WAV format, they must be uploaded as WAV. If the font collection, template collection, or sound sample pack was originally released as an archive, you must unpack the files before uploading them in a torrent. None of the contents in these packs and collections may be freely available.</li>
<li id="r4.1.10"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.10">4.1.10.</a> <strong>Application components such as plug-ins, add-ons, expansions, filters, and so forth may be uploaded in a collection if they correspond to a particular application.</strong> You may upload plug-ins, expansions, add-ons, filters, and other application components as collections provided they are compatible to a particular application and version. For example, you may not upload a megapack of all filters for Adobe Photoshop CS2, CS3, and CS4. But you may upload a pack of Adobe Photoshop CS4 filters.</li> <li id="r4.1.10"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.10">4.1.10.</a> <strong>Application components such as plug-ins, add-ons, expansions, filters, and so forth may be uploaded in a collection if they correspond to a particular application.</strong> You may upload plug-ins, expansions, add-ons, filters, and other application components as collections provided they are compatible to a particular application and version. For example, you may not upload a megapack of all filters for Adobe Photoshop CS2, CS3, and CS4. But you may upload a pack of Adobe Photoshop CS4 filters.</li>
<li id="r4.1.11"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.11">4.1.11.</a> <strong>Collections of cracks, keygens or serials are not allowed.</strong> The crack, keygen, or serial for an application must be in a torrent with its corresponding application. It cannot be uploaded separately from the application.</li> <li id="r4.1.11"><a href="#h4.1"><strong>&uarr;_</strong></a> <a href="#r4.1.11">4.1.11.</a> <strong>Collections of cracks, keygens or serials are not allowed.</strong> The crack, keygen, or serial for an application must be in a torrent with its corresponding application. It cannot be uploaded separately from the application.</li>

View File

@ -47,7 +47,7 @@
if (empty($_GET['search']) && !isset($_GET['page'])) { if (empty($_GET['search']) && !isset($_GET['page'])) {
?> ?>
<div class="box pad"> <div class="box pad">
<img src="<?=$DonationTimeline?>" /> <img src="<?=$DonationTimeline?>" alt="Donation timeline. The &quot;y&quot; axis is donation amount." />
</div> </div>
<br /> <br />
<? } ?> <? } ?>
@ -60,7 +60,7 @@
<input type="hidden" name="action" value="donation_log" /> <input type="hidden" name="action" value="donation_log" />
<input type="text" name="search" size="60" value="<? if (!empty($_GET['search'])) { echo display_str($_GET['search']); } ?>" /> <input type="text" name="search" size="60" value="<? if (!empty($_GET['search'])) { echo display_str($_GET['search']); } ?>" />
&nbsp; &nbsp;
<input type="submit" value="Search log" /> <input type="submit" value="Search donation log" />
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -9,9 +9,9 @@
$DB->query('DELETE FROM ip_bans WHERE ID='.$_POST['id']); $DB->query('DELETE FROM ip_bans WHERE ID='.$_POST['id']);
$Bans = $Cache->delete_value('ip_bans'); $Bans = $Cache->delete_value('ip_bans');
} else { //Edit & Create, Shared Validation } else { //Edit & Create, Shared Validation
$Val->SetFields('start', '1','regex','You must inculde starting IP address.',array('regex'=>'/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/i')); $Val->SetFields('start', '1','regex','You must include the starting IP address.',array('regex'=>'/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/i'));
$Val->SetFields('end', '1','regex','You must inculde ending IP address.',array('regex'=>'/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/i')); $Val->SetFields('end', '1','regex','You must include the ending IP address.',array('regex'=>'/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/i'));
$Val->SetFields('notes', '1','string','You must inculde a note regarding the reason for the ban.'); $Val->SetFields('notes', '1','string','You must include the reason for the ban.');
$Err=$Val->ValidateForm($_POST); // Validate the form $Err=$Val->ValidateForm($_POST); // Validate the form
if($Err){ error($Err); } if($Err){ error($Err); }
@ -104,7 +104,9 @@
<?=$PageLinks?> <?=$PageLinks?>
<table width="100%"> <table width="100%">
<tr class="colhead"> <tr class="colhead">
<td colspan="2">Range</td> <td colspan="2">
<span title="The IP addresses specified are &#42;inclusive&#42;. The left box is the beginning of the IP range, and the right box is the end of the IP range.">Range</span>
</td>
<td>Notes</td> <td>Notes</td>
<td>Submit</td> <td>Submit</td>
</tr> </tr>
@ -122,7 +124,6 @@
<td> <td>
<input type="submit" name="submit" value="Create" /> <input type="submit" name="submit" value="Create" />
</td> </td>
</form> </form>
</tr> </tr>
<? <?
@ -148,7 +149,6 @@
<input type="submit" name="submit" value="Edit" /> <input type="submit" name="submit" value="Edit" />
<input type="submit" name="submit" value="Delete" /> <input type="submit" name="submit" value="Delete" />
</td> </td>
</form> </form>
</tr> </tr>
<? <?

View File

@ -23,7 +23,7 @@
<td>Submit</td> <td>Submit</td>
</tr> </tr>
<tr class="colhead"> <tr class="colhead">
<td colspan="4">Add To Email or Domain to Blacklist</td> <td colspan="4">Add Email or Domain to Blacklist</td>
</tr> </tr>
<tr class="rowa"> <tr class="rowa">
<form class="add_form" name="email_blacklist" action="tools.php" method="post"> <form class="add_form" name="email_blacklist" action="tools.php" method="post">

View File

@ -415,7 +415,7 @@ function check_paranoia_here($Setting) {
<? } <? }
if (check_perms('users_view_invites')) { if (check_perms('users_view_invites')) {
if (!$InviterID) { if (!$InviterID) {
$Invited="<i>Nobody</i>"; $Invited='<span style="font-style: italic;">Nobody</span>';
} else { } else {
$Invited='<a href="user.php?id='.$InviterID.'">'.$InviterName.'</a>'; $Invited='<a href="user.php?id='.$InviterID.'">'.$InviterName.'</a>';
} }
@ -548,7 +548,7 @@ function check_paranoia_here($Setting) {
if (($Override=check_paranoia_here('uploads+'))) { ?> if (($Override=check_paranoia_here('uploads+'))) { ?>
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?> >Uploaded: <?=number_format($Uploads)?> <li <?= $Override===2 ? 'class="paranoia_override"' : ''?> >Uploaded: <?=number_format($Uploads)?>
<? if(($Override=check_paranoia_here('uploads'))) { ?>[<a <?= $Override===2 ? 'class="paranoia_override"' :'' ?> href="torrents.php?type=uploaded&amp;userid=<?=$UserID?>" title="View">View</a>]<? if(check_perms('zip_downloader')) { ?> [<a href="torrents.php?action=redownload&amp;type=uploads&amp;userid=<?=$UserID?>" <? if(($Override=check_paranoia_here('uploads'))) { ?>[<a <?= $Override===2 ? 'class="paranoia_override"' :'' ?> href="torrents.php?type=uploaded&amp;userid=<?=$UserID?>" title="View">View</a>]<? if(check_perms('zip_downloader')) { ?> [<a href="torrents.php?action=redownload&amp;type=uploads&amp;userid=<?=$UserID?>"
onclick="return confirm('If you no longer have the content, your ratio WILL be affected, be sure to check the size of all albums before redownloading.');">Download</a>]<? } } ?> onclick="return confirm('If you no longer have the content, your ratio WILL be affected; be sure to check the size of all albums before redownloading.');">Download</a>]<? } } ?>
</li> </li>
<? } <? }
if (($Override=check_paranoia_here('uniquegroups+'))) { ?> if (($Override=check_paranoia_here('uniquegroups+'))) { ?>

View File

@ -1,4 +1,4 @@
// We had to sacrafice a bit of the beauty of this structure to accomodate OS 1.1 // We had to sacrafice a bit of the beauty of this structure to accommodate OS 1.1
// If/when we drop OS <2 just switch all onclick events to ontouchend events. // If/when we drop OS <2 just switch all onclick events to ontouchend events.
var elements; // Shortcut to handle html elements var elements; // Shortcut to handle html elements

View File

@ -171,7 +171,7 @@ ul.thin li { margin:0px 0px; padding:0px; }
outline: none; outline: none;
} }
#nav_index a { /* extraneous link which can be removed to accomodate for small screen resolutions - alt link is provided in the form of the logo */ #nav_index a { /* extraneous link which can be removed to accommodate for small screen resolutions - alt link is provided in the form of the logo */
display: none; display: none;
} }

View File

@ -1,6 +1,6 @@
The user {{InviterName}} has invited you to join {{SITE_NAME}}, and has specified this address ({{Email}}) as your email address. If you do not know this person, please ignore this email, and do not reply. The user {{InviterName}} has invited you to join {{SITE_NAME}}, and has specified this address ({{Email}}) as your email address. If you do not know this person, please ignore this email, and do not reply.
Please note that selling invites, trading invites, and giving invites away publicly (eg. on a forum) is strictly forbidden. If you have received your invite as a result of any of these things, do not bother signing up - you will be banned and lose your chances of ever signing up legitimately. Please note that selling invites, trading invites, and giving invites away publicly (e.g. on a forum) is strictly forbidden. If you have received your invite as a result of any of these things, do not bother signing up - you will be banned and lose your chances of ever signing up legitimately.
To confirm your invite, click on the following link: To confirm your invite, click on the following link: