mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 19:06:27 +00:00
Empty commit
This commit is contained in:
parent
c960e42148
commit
910b956b26
@ -17,7 +17,7 @@
|
||||
$Query = '@format FLAC @encoding '.$List;
|
||||
|
||||
if(!empty($_GET['search'])) {
|
||||
$Query.=' @(groupname,artistname,yearfulltext) '.$SS->EscapeString($_GET['search']);
|
||||
$Query.=' @(groupname,artistname,yearfulltext) '.$SS->escape_string($_GET['search']);
|
||||
}
|
||||
|
||||
$SS->SetFilter('logscore', array(100));
|
||||
|
@ -97,12 +97,12 @@ function header_link($SortKey,$DefaultWay="desc") {
|
||||
foreach($Words as $Key => &$Word) {
|
||||
if($Word[0] == '!' && strlen($Word) >= 3 && count($Words) >= 2) {
|
||||
if(strpos($Word,'!',1) === false) {
|
||||
$Word = '!'.$SS->EscapeString(substr($Word,1));
|
||||
$Word = '!'.$SS->escape_string(substr($Word,1));
|
||||
} else {
|
||||
$Word = $SS->EscapeString($Word);
|
||||
$Word = $SS->escape_string($Word);
|
||||
}
|
||||
} elseif(strlen($Word) >= 2) {
|
||||
$Word = $SS->EscapeString($Word);
|
||||
$Word = $SS->escape_string($Word);
|
||||
} else {
|
||||
unset($Words[$Key]);
|
||||
}
|
||||
@ -123,10 +123,10 @@ function header_link($SortKey,$DefaultWay="desc") {
|
||||
$Tag = trim($Tag);
|
||||
if(strlen($Tag) >= 2) {
|
||||
if($Tag[0] == '!' && strlen($Tag) >= 3) {
|
||||
$TagListEx[] = '!'.$SS->EscapeString(substr($Tag,1));
|
||||
$TagListEx[] = '!'.$SS->escape_string(substr($Tag,1));
|
||||
unset($TagList[$Key]);
|
||||
} else {
|
||||
$Tag = $SS->EscapeString($Tag);
|
||||
$Tag = $SS->escape_string($Tag);
|
||||
}
|
||||
} else {
|
||||
unset($TagList[$Key]);
|
||||
@ -154,18 +154,18 @@ function header_link($SortKey,$DefaultWay="desc") {
|
||||
if(!empty($_GET[$Search])) {
|
||||
$_GET[$Search] = str_replace(array('%'), '', $_GET[$Search]);
|
||||
if($Search == 'filelist') {
|
||||
$Queries[]='@filelist "'.$SS->EscapeString($_GET['filelist']).'"~20';
|
||||
$Queries[]='@filelist "'.$SS->escape_string($_GET['filelist']).'"~20';
|
||||
} else {
|
||||
$Words = explode(' ', $_GET[$Search]);
|
||||
foreach($Words as $Key => &$Word) {
|
||||
if($Word[0] == '!' && strlen($Word) >= 3 && count($Words) >= 2) {
|
||||
if(strpos($Word,'!',1) === false) {
|
||||
$Word = '!'.$SS->EscapeString(substr($Word,1));
|
||||
$Word = '!'.$SS->escape_string(substr($Word,1));
|
||||
} else {
|
||||
$Word = $SS->EscapeString($Word);
|
||||
$Word = $SS->escape_string($Word);
|
||||
}
|
||||
} elseif(strlen($Word) >= 2) {
|
||||
$Word = $SS->EscapeString($Word);
|
||||
$Word = $SS->escape_string($Word);
|
||||
} else {
|
||||
unset($Words[$Key]);
|
||||
}
|
||||
@ -194,7 +194,7 @@ function header_link($SortKey,$DefaultWay="desc") {
|
||||
}
|
||||
}
|
||||
if(!empty($_GET['encoding'])) {
|
||||
$Queries[]='@encoding "'.$SS->EscapeString($_GET['encoding']).'"'; // Note the quotes, for 24bit lossless
|
||||
$Queries[]='@encoding "'.$SS->escape_string($_GET['encoding']).'"'; // Note the quotes, for 24bit lossless
|
||||
}
|
||||
|
||||
if(isset($_GET['haslog']) && $_GET['haslog']!=='') {
|
||||
|
@ -17,7 +17,7 @@
|
||||
$Query = '@format FLAC @encoding '.$List;
|
||||
|
||||
if(!empty($_GET['search'])) {
|
||||
$Query.=' @(groupname,artistname,yearfulltext) '.$SS->EscapeString($_GET['search']);
|
||||
$Query.=' @(groupname,artistname,yearfulltext) '.$SS->escape_string($_GET['search']);
|
||||
}
|
||||
|
||||
$SS->SetFilter('logscore', array(100));
|
||||
|
@ -67,7 +67,7 @@
|
||||
|
||||
// Send PM
|
||||
|
||||
Misc::send_pm($UserID,0,"Your avatar has been automatically reset","The following avatar rules have been in effect for months now:
|
||||
send_pm($UserID,0,"Your avatar has been automatically reset","The following avatar rules have been in effect for months now:
|
||||
|
||||
[b]Avatars must not exceed 256kB or be vertically longer than 400px. [/b]
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
</div>
|
||||
<br />
|
||||
<h3 id="forums">Forum Rules</h3>
|
||||
<div class="box pad" style="padding:10px 10px 10px 20px;">
|
||||
<div class="box pad rule_summary" style="padding:10px 10px 10px 20px;">
|
||||
<ul>
|
||||
<li>
|
||||
Many forums (Tutorials, The Library, etc.) have their own set of rules. Make sure you read and take note of these rules before you attempt to post in one of these forums.
|
||||
@ -82,7 +82,7 @@
|
||||
<!-- IRC Rules -->
|
||||
<div class="thin">
|
||||
<h3 id="irc">IRC Rules</h3>
|
||||
<div class="box pad" style="padding:10px 10px 10px 20px;">
|
||||
<div class="box pad rule_summary" style="padding:10px 10px 10px 20px;">
|
||||
<ul>
|
||||
<li>
|
||||
Staff have the final decision, if they say stop and you continue, expect at least to be banned from the IRC server.
|
||||
|
@ -33,7 +33,7 @@
|
||||
</div>
|
||||
|
||||
<h3>Further Rules</h3>
|
||||
<div class="box pad">
|
||||
<div class="box pad rule_summary">
|
||||
<p>
|
||||
The modification of clients to bypass our client requirements (spoofing) is explicitly forbidden. People caught doing this will be instantly and permanently banned. This is your only warning.
|
||||
</p>
|
||||
@ -45,7 +45,7 @@
|
||||
</p>
|
||||
</div>
|
||||
<h3>Further Details</h3>
|
||||
<div class="box pad">
|
||||
<div class="box pad rule_summary">
|
||||
<p>
|
||||
If someone you invited to the site breaks the above rules you will receive a 2 month warning and lose the right to invite people to this site.
|
||||
</p>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<div class="header">
|
||||
<h2 class="center">Collages</h2>
|
||||
</div>
|
||||
<div class="box pad" style="padding:10px 10px 10px 20px;">
|
||||
<div class="box pad rule_summary" style="padding:10px 10px 10px 20px;">
|
||||
<ul>
|
||||
<li>Collages in the Discography, Staff Picks, Label, and Charts categories must be based on fact, and not opinion. If something is a published Best Of (for instance, "Pitchfork's Best Albums of the 1990's") then it should go in the Charts category.</li>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<!-- Other Sections -->
|
||||
<h3 id="jump">Other Sections</h3>
|
||||
<div class="box pad" style="padding:10px 10px 10px 20px;">
|
||||
<div class="box pad rule_table" style="padding:10px 10px 10px 20px;">
|
||||
<table width="100%">
|
||||
<tr class="colhead">
|
||||
<td style="width:150px;">Category</td>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<div class="header">
|
||||
<h2 class="center">Ratio Rules</h2>
|
||||
</div>
|
||||
<div class="box pad">
|
||||
<div class="box pad rule_summary">
|
||||
<p>
|
||||
Your ratio is the amount you have uploaded divided by the amount you have downloaded.
|
||||
</p>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<div class="header">
|
||||
<h2 class="center">Requests</h2>
|
||||
</div>
|
||||
<div class="box pad" style="padding:10px 10px 10px 20px;">
|
||||
<div class="box pad rule_summary" style="padding:10px 10px 10px 20px;">
|
||||
<ul>
|
||||
<li>
|
||||
<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.
|
||||
|
@ -7,7 +7,7 @@
|
||||
<div class="header">
|
||||
<h3 id="general">Golden Rules</h3>
|
||||
</div>
|
||||
<div class="box pad" style="padding:10px 10px 10px 20px;">
|
||||
<div class="box pad rule_summary" style="padding:10px 10px 10px 20px;">
|
||||
<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>
|
||||
<li>Access to this web site is a privilege, not a right, and it can be taken away from you for any reason.</li>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<div class="header">
|
||||
<h3 id="general">Tagging rules</h3>
|
||||
</div>
|
||||
<div class="box pad" style="padding:10px 10px 10px 20px;">
|
||||
<div class="box pad rule_summary" style="padding:10px 10px 10px 20px;">
|
||||
<ul>
|
||||
<li>Tags should be comma separated, and you should use a period ('.') to separate words inside a tag - eg. '<strong style="color:green;">hip.hop</strong>'.
|
||||
</li><li>
|
||||
|
Loading…
Reference in New Issue
Block a user