mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 20:21:37 +00:00
Empty commit
This commit is contained in:
parent
4429a12057
commit
f6b5d6a71e
@ -15,7 +15,9 @@ function compare($X, $Y){
|
||||
$GroupID=ceil($_GET['id']);
|
||||
if (!empty($_GET['revisionid']) && is_number($_GET['revisionid'])) {
|
||||
$RevisionID = $_GET['revisionid'];
|
||||
} else { $RevisionID = 0; }
|
||||
} else {
|
||||
$RevisionID = 0;
|
||||
}
|
||||
|
||||
include(SERVER_ROOT.'/sections/torrents/functions.php');
|
||||
$TorrentCache = get_group_info($GroupID, true, $RevisionID);
|
||||
@ -321,7 +323,6 @@ function compare($X, $Y){
|
||||
<ul class="stats nobullet">
|
||||
<?
|
||||
foreach ($Tags as $TagKey=>$Tag) {
|
||||
|
||||
?>
|
||||
<li>
|
||||
<a href="torrents.php?taglist=<?=$Tag['name']?>" style="float:left; display:block;"><?=display_str($Tag['name'])?></a>
|
||||
@ -381,7 +382,6 @@ function compare($X, $Y){
|
||||
<td class="sign"><img src="static/styles/<?=$LoggedUser['StyleName'] ?>/images/leechers.png" alt="Leechers" title="Leechers" /></td>
|
||||
</tr>
|
||||
<?
|
||||
|
||||
function filelist($Str) {
|
||||
return "</td><td>".Format::get_size($Str[1])."</td></tr>";
|
||||
}
|
||||
@ -572,14 +572,12 @@ function filelist($Str) {
|
||||
<br /><strong>Last active: <?=time_diff($LastActive); ?></strong>
|
||||
<? } else { ?>
|
||||
<br />Last active: <?=time_diff($LastActive); ?>
|
||||
<?} ?>
|
||||
<?
|
||||
<? }
|
||||
if ($LastActive != '0000-00-00 00:00:00' && time() - strtotime($LastActive) >= 345678 && time() - strtotime($LastReseedRequest) >= 864000) { ?>
|
||||
<br /><a href="torrents.php?action=reseed&torrentid=<?=$TorrentID?>&groupid=<?=$GroupID?>" class="brackets">Request re-seed</a>
|
||||
<? } ?>
|
||||
|
||||
<? } ?>
|
||||
|
||||
</blockquote>
|
||||
</div>
|
||||
<? if (check_perms('site_moderate_requests')) { ?>
|
||||
@ -604,8 +602,8 @@ function filelist($Str) {
|
||||
<div id="files_<?=$TorrentID?>" class="hidden"><?=$FileTable?></div>
|
||||
<? if ($Reported) { ?>
|
||||
<div id="reported_<?=$TorrentID?>" class="hidden"><?=$ReportInfo?></div>
|
||||
<? } ?>
|
||||
<? if(!empty($Description)) {
|
||||
<? }
|
||||
if (!empty($Description)) {
|
||||
echo '<blockquote>'.$Text->full_format($Description).'</blockquote>';}
|
||||
?>
|
||||
</td>
|
||||
@ -809,7 +807,6 @@ function filelist($Str) {
|
||||
?>
|
||||
</div>
|
||||
<?
|
||||
|
||||
//---------- Begin printing
|
||||
foreach ($Thread as $Key => $Post) {
|
||||
list($PostID, $AuthorID, $AddedTime, $Body, $EditedUserID, $EditedTime, $EditedUsername) = array_values($Post);
|
||||
|
@ -49,7 +49,6 @@ function wrap($String, $ForceMatch = '', $IPSearch = false){
|
||||
} else {
|
||||
$String = substr($String, 0, -1);
|
||||
}
|
||||
|
||||
}
|
||||
$String="'$String'";
|
||||
return $String;
|
||||
@ -326,8 +325,9 @@ function num_compare($Field, $Operand, $Num1, $Num2 = ''){
|
||||
|
||||
if ($_GET['ratio1']) {
|
||||
$Decimals = strlen(array_pop(explode('.', $_GET['ratio1'])));
|
||||
if(!$Decimals){ $Decimals = 0; }
|
||||
|
||||
if (!$Decimals) {
|
||||
$Decimals = 0;
|
||||
}
|
||||
$Where[]=implode(' AND ', num_compare("ROUND(Uploaded/Downloaded,$Decimals)", $_GET['ratio'], $_GET['ratio1'], $_GET['ratio2']));
|
||||
}
|
||||
|
||||
@ -479,12 +479,14 @@ function num_compare($Field, $Operand, $Num1, $Num2 = ''){
|
||||
<input type="text" name="lastactive1" size="6" value="<?=display_str($_GET['lastactive1'])?>" />
|
||||
<input type="text" name="lastactive2" size="6" value="<?=display_str($_GET['lastactive2'])?>" />
|
||||
</td>
|
||||
<td class="label nobr">Primary Class:</td>
|
||||
<td class="label nobr">Primary class:</td>
|
||||
<td>
|
||||
<select name="class">
|
||||
<option value=""<? if ($_GET['class']==='') {echo ' selected="selected"';}?>>Any</option>
|
||||
<? foreach ($ClassLevels as $Class) {
|
||||
if ($Class['Secondary']) { continue; }
|
||||
if ($Class['Secondary']) {
|
||||
continue;
|
||||
}
|
||||
?>
|
||||
<option value="<?=$Class['ID'] ?>"<? if ($_GET['class']===$Class['ID']) {echo ' selected="selected"';}?>><?=Format::cut_string($Class['Name'], 10, 1, 1).' ('.$Class['Level'].')'?></option>
|
||||
<? } ?>
|
||||
@ -498,7 +500,7 @@ function num_compare($Field, $Operand, $Num1, $Num2 = ''){
|
||||
</td>
|
||||
<td class="label nobr"></td>
|
||||
<td></td>
|
||||
<td class="label nobr">Secondary Class:</td>
|
||||
<td class="label nobr">Secondary class:</td>
|
||||
<td>
|
||||
<select name="secclass">
|
||||
<option value=""<? if ($_GET['secclass']==='') {echo ' selected="selected"';}?>>Any</option>
|
||||
@ -507,7 +509,9 @@ function num_compare($Field, $Operand, $Num1, $Num2 = ''){
|
||||
// kung-fu to sort them alphabetically.
|
||||
$fnc = function($Class1, $Class2) { return strcmp($Class1['Name'], $Class2['Name']);};
|
||||
foreach ($ClassLevels as $Class) {
|
||||
if (!$Class['Secondary']) { continue; }
|
||||
if (!$Class['Secondary']) {
|
||||
continue;
|
||||
}
|
||||
$Secondaries[] = $Class;
|
||||
}
|
||||
usort($Secondaries, $fnc);
|
||||
@ -522,10 +526,10 @@ function num_compare($Field, $Operand, $Num1, $Num2 = ''){
|
||||
<td class="label nobr">Extra:</td>
|
||||
<td>
|
||||
<input type="checkbox" name="ip_history" id="ip_history"<? if ($_GET['ip_history']) { echo ' checked="checked"'; }?> />
|
||||
<label for="ip_history">IP History</label>
|
||||
<label for="ip_history">IP history</label>
|
||||
|
||||
<input type="checkbox" name="email_history" id="email_history"<? if ($_GET['email_history']) { echo ' checked="checked"'; }?> />
|
||||
<label for="email_history">Email History</label>
|
||||
<label for="email_history">Email history</label>
|
||||
</td>
|
||||
<td class="label nobr">Ratio:</td>
|
||||
<td width="30%">
|
||||
@ -548,10 +552,16 @@ function num_compare($Field, $Operand, $Num1, $Num2 = ''){
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label nobr">Comment:</td>
|
||||
<? if (check_perms('users_mod')) { ?>
|
||||
<td class="label nobr">Staff notes:</td>
|
||||
<td>
|
||||
<input type="text" name="comment" size="20" value="<?=display_str($_GET['comment'])?>" />
|
||||
</td>
|
||||
<? } else { ?>
|
||||
<td class="label nobr"></td>
|
||||
<td>
|
||||
</td>
|
||||
<? } ?>
|
||||
<td class="label nobr"><span title="Units are in bytes">Uploaded:</span></td>
|
||||
<td width="30%">
|
||||
<select name="uploaded">
|
||||
@ -575,7 +585,7 @@ function num_compare($Field, $Operand, $Num1, $Num2 = ''){
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="label nobr"># of Invites:</td>
|
||||
<td class="label nobr"># of invites:</td>
|
||||
<td>
|
||||
<select name="invites">
|
||||
<option value="equal"<? if ($_GET['invites']==='equal') {echo ' selected="selected"';}?>>Equal</option>
|
||||
@ -597,14 +607,16 @@ function num_compare($Field, $Operand, $Num1, $Num2 = ''){
|
||||
<input type="text" name="downloaded1" size="6" value="<?=display_str($_GET['downloaded1'])?>" />
|
||||
<input type="text" name="downloaded2" size="6" value="<?=display_str($_GET['downloaded2'])?>" />
|
||||
</td>
|
||||
<td class="label nobr">Disabled IP:</td>
|
||||
<td class="label nobr">
|
||||
<label for="disabled_ip" title="Only display users that have a disabled account linked by IP address">Disabled accounts<br />linked by IP:</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="checkbox" name="disabled_ip" <? if($_GET['disabled_ip']){ echo ' checked="checked"'; }?> />
|
||||
<input type="checkbox" name="disabled_ip" id="disabled_ip"<? if ($_GET['disabled_ip']) { echo ' checked="checked"'; }?> />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="label nobr">Disabled invites</td>
|
||||
<td class="label nobr">Disabled invites:</td>
|
||||
<td>
|
||||
<select name="disabled_invites">
|
||||
<option value=""<? if ($_GET['disabled_invites']==='') {echo ' selected="selected"';}?>>Any</option>
|
||||
@ -624,7 +636,7 @@ function num_compare($Field, $Operand, $Num1, $Num2 = ''){
|
||||
<input type="text" name="snatched1" size="6" value="<?=display_str($_GET['snatched1'])?>" />
|
||||
<input type="text" name="snatched2" size="6" value="<?=display_str($_GET['snatched2'])?>" />
|
||||
</td>
|
||||
<td class="label nobr">Disabled uploads</td>
|
||||
<td class="label nobr">Disabled uploads:</td>
|
||||
<td>
|
||||
<select name="disabled_uploads">
|
||||
<option value=""<? if (isset($_GET['disabled_uploads']) && $_GET['disabled_uploads']==='') {echo ' selected="selected"';}?>>Any</option>
|
||||
@ -642,7 +654,7 @@ function num_compare($Field, $Operand, $Num1, $Num2 = ''){
|
||||
<td>
|
||||
<input type="text" name="tracker_ip" size="20" value="<?=display_str($_GET['tracker_ip'])?>" />
|
||||
</td>
|
||||
<td class="label nobr">Last.fm Username:</td>
|
||||
<td class="label nobr">Last.fm username:</td>
|
||||
<td>
|
||||
<input type="text" name="lastfm" size="20" value="<?=display_str($_GET['lastfm'])?>" />
|
||||
</td>
|
||||
@ -662,18 +674,18 @@ function num_compare($Field, $Operand, $Num1, $Num2 = ''){
|
||||
<? } ?>
|
||||
</select>
|
||||
</td>
|
||||
<td class="label nobr"><span title="Two-letter codes as defined in ISO 3166-1 alpha-2">Country Code:</span></td>
|
||||
<td class="label nobr"><span title="Two-letter codes as defined in ISO 3166-1 alpha-2">Country code:</span></td>
|
||||
<td width="30%">
|
||||
<select name="cc_op">
|
||||
<option value="equal"<? if ($_GET['cc_op']==='equal') { echo ' selected="selected"';}?>>Equals</option>
|
||||
<option value="not_equal"<? if ($_GET['cc_op']==='not_equal'){ echo ' selected="selected"';}?>>Not Equal</option>
|
||||
<option value="not_equal"<? if ($_GET['cc_op']==='not_equal') { echo ' selected="selected"';}?>>Not equal</option>
|
||||
</select>
|
||||
<input type="text" name="cc" size="2" value="<?=display_str($_GET['cc'])?>" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="label nobr">Type</td>
|
||||
<td class="label nobr">Search type:</td>
|
||||
<td>
|
||||
<label title="A "strict" search uses no wildcards in search fields, and it is analogous to `grep -E "ˆSEARCHTERM$"`">Strict <input type="radio" name="matchtype" value="strict"<? if ($_GET['matchtype'] == 'strict' || !$_GET['matchtype']) { echo ' checked="checked"'; } ?> /></label> |
|
||||
<label title="A "fuzzy" search automatically prepends and appends wildcards to search strings, except for IP address searches, unless the search string begins or ends with a "|" (pipe). It is analogous to a vanilla grep search (except for the pipe stuff).">Fuzzy <input type="radio" name="matchtype" value="fuzzy"<? if ($_GET['matchtype'] == 'fuzzy' || !$_GET['matchtype']) { echo ' checked="checked"'; } ?> /></label> |
|
||||
@ -693,7 +705,7 @@ function num_compare($Field, $Operand, $Num1, $Num2 = ''){
|
||||
<? } ?>
|
||||
</select>
|
||||
</td>
|
||||
<td class="label nobr"># of Emails:</td>
|
||||
<td class="label nobr"># of emails:</td>
|
||||
<td>
|
||||
<select name="emails_opt">
|
||||
<option value="equal"<? if ($_GET['emails_opt']==='equal') {echo ' selected="selected"';}?>>Equal</option>
|
||||
@ -729,12 +741,12 @@ function num_compare($Field, $Operand, $Num1, $Num2 = ''){
|
||||
?>
|
||||
</div>
|
||||
<div class="box pad center">
|
||||
<h2><?=$NumResults?> results</h2>
|
||||
<h2><?=number_format($NumResults)?> results</h2>
|
||||
<table width="100%">
|
||||
<tr class="colhead">
|
||||
<td>Username</td>
|
||||
<td>Ratio</td>
|
||||
<td>IP</td>
|
||||
<td>IP address</td>
|
||||
<td>Email</td>
|
||||
<td>Joined</td>
|
||||
<td>Last seen</td>
|
||||
|
@ -42,7 +42,6 @@
|
||||
case 'edit':
|
||||
include('edit.php');
|
||||
break;
|
||||
|
||||
case 'takeedit':
|
||||
include('takeedit.php');
|
||||
break;
|
||||
|
@ -1,7 +1,11 @@
|
||||
<?
|
||||
//TODO: Redo html
|
||||
if (!check_perms('admin_manage_permissions')) { error(403); }
|
||||
if(!isset($_REQUEST['userid']) || !is_number($_REQUEST['userid'])){ error(404); }
|
||||
if (!check_perms('admin_manage_permissions')) {
|
||||
error(403);
|
||||
}
|
||||
if (!isset($_REQUEST['userid']) || !is_number($_REQUEST['userid'])) {
|
||||
error(404);
|
||||
}
|
||||
|
||||
include(SERVER_ROOT."/classes/permissions_form.php");
|
||||
|
||||
@ -28,7 +32,9 @@
|
||||
$Delta[$Perm] = $Setting;
|
||||
}
|
||||
}
|
||||
if (!is_number($_POST['maxcollages']) && !empty($_POST['maxcollages'])) { error("Please enter a valid number of extra personal collages"); }
|
||||
if (!is_number($_POST['maxcollages']) && !empty($_POST['maxcollages'])) {
|
||||
error("Please enter a valid number of extra personal collages");
|
||||
}
|
||||
$Delta['MaxCollages'] = $_POST['maxcollages'];
|
||||
|
||||
$Cache->begin_transaction('user_info_heavy_'.$UserID);
|
||||
@ -44,10 +50,14 @@
|
||||
|
||||
function display_perm($Key,$Title) {
|
||||
global $Defaults, $Permissions;
|
||||
$Perm='<input id="default_'.$Key.'" type="checkbox" disabled';
|
||||
if (isset($Defaults[$Key]) && $Defaults[$Key]) { $Perm.=' checked'; }
|
||||
$Perm='<input id="default_'.$Key.'" type="checkbox" disabled="disabled"';
|
||||
if (isset($Defaults[$Key]) && $Defaults[$Key]) {
|
||||
$Perm.=' checked="checked"';
|
||||
}
|
||||
$Perm.=' /><input type="checkbox" name="perm_'.$Key.'" id="'.$Key.'" value="1"';
|
||||
if (isset($Permissions[$Key]) && $Permissions[$Key]) { $Perm.=' checked'; }
|
||||
if (isset($Permissions[$Key]) && $Permissions[$Key]) {
|
||||
$Perm.=' checked="checked"';
|
||||
}
|
||||
$Perm.=' /> <label for="'.$Key.'">'.$Title.'</label><br />';
|
||||
echo $Perm;
|
||||
}
|
||||
@ -66,7 +76,7 @@ function reset() {
|
||||
//]]>
|
||||
</script>
|
||||
<div class="header">
|
||||
<h2><?=Users::format_username($UserID, false, false, false)?> > Permissions</h2>
|
||||
<h2><?=Users::format_username($UserID, false, false, false)?> > Permissions</h2>
|
||||
<div class="linkbox">
|
||||
<a href="#" onclick="reset();return false;" class="brackets">Defaults</a>
|
||||
</div>
|
||||
|
@ -75,7 +75,7 @@
|
||||
<table style="width: 400px; margin: 0px auto;">
|
||||
<tr class="colhead">
|
||||
<td width="50%">Username</td>
|
||||
<td>Class</td>
|
||||
<td>Primary class</td>
|
||||
</tr>
|
||||
<?
|
||||
foreach ($Results as $Result) {
|
||||
|
@ -365,7 +365,7 @@
|
||||
}
|
||||
|
||||
if ($Warned == 1 && $Cur['Warned']=='0000-00-00 00:00:00' && check_perms('users_warn')) {
|
||||
Misc::send_pm($UserID, 0, 'You have received a warning', "You have been [url=https://".NONSSL_SITE_URL."/wiki.php?action=article&id=218]warned for $WarnLength week(s)[/url] by [user]".$LoggedUser['Username']."[/user]. The reason given was: $WarnReason");
|
||||
Misc::send_pm($UserID, 0, 'You have received a warning', "You have been [url=https://".SSL_SITE_URL."/wiki.php?action=article&id=218]warned for $WarnLength week(s)[/url] by [user]".$LoggedUser['Username']."[/user]. The reason given was: $WarnReason");
|
||||
$UpdateSet[]="Warned='".sqltime()."' + INTERVAL $WarnLength WEEK";
|
||||
$Msg = "warned for $WarnLength week(s)";
|
||||
if ($WarnReason) { $Msg.=" for $WarnReason"; }
|
||||
@ -431,7 +431,7 @@
|
||||
$EditSummary[]="avatar status changed";
|
||||
$HeavyUpdates['DisableAvatar']=$DisableAvatar;
|
||||
if (!empty($UserReason)) {
|
||||
Misc::send_pm($UserID, 0, 'Your avatar privileges have been disabled', "Your avatar privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".NONSSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
Misc::send_pm($UserID, 0, 'Your avatar privileges have been disabled', "Your avatar privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".SSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
}
|
||||
}
|
||||
|
||||
@ -441,7 +441,7 @@
|
||||
$HeavyUpdates['DisableLeech']=$DisableLeech;
|
||||
$HeavyUpdates['CanLeech']=$DisableLeech;
|
||||
if (!empty($UserReason)) {
|
||||
Misc::send_pm($UserID, 0, 'Your leeching privileges have been disabled', "Your leeching privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".NONSSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
Misc::send_pm($UserID, 0, 'Your leeching privileges have been disabled', "Your leeching privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".SSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
}
|
||||
Tracker::update_tracker('update_user', array('passkey' => $Cur['torrent_pass'], 'can_leech' => $DisableLeech));
|
||||
}
|
||||
@ -451,7 +451,7 @@
|
||||
if ($DisableInvites == 1) {
|
||||
//$UpdateSet[]="Invites='0'";
|
||||
if (!empty($UserReason)) {
|
||||
Misc::send_pm($UserID, 0, 'Your invite privileges have been disabled', "Your invite privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".NONSSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
Misc::send_pm($UserID, 0, 'Your invite privileges have been disabled', "Your invite privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".SSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
}
|
||||
}
|
||||
$EditSummary[]="invites status changed";
|
||||
@ -463,7 +463,7 @@
|
||||
$EditSummary[]="posting status changed";
|
||||
$HeavyUpdates['DisablePosting']=$DisablePosting;
|
||||
if (!empty($UserReason)) {
|
||||
Misc::send_pm($UserID, 0, 'Your forum posting privileges have been disabled', "Your forum posting privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".NONSSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
Misc::send_pm($UserID, 0, 'Your forum posting privileges have been disabled', "Your forum posting privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".SSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
}
|
||||
}
|
||||
|
||||
@ -472,7 +472,7 @@
|
||||
$EditSummary[]="forums status changed";
|
||||
$HeavyUpdates['DisableForums']=$DisableForums;
|
||||
if (!empty($UserReason)) {
|
||||
Misc::send_pm($UserID, 0, 'Your forum privileges have been disabled', "Your forum privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".NONSSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
Misc::send_pm($UserID, 0, 'Your forum privileges have been disabled', "Your forum privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".SSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
}
|
||||
}
|
||||
|
||||
@ -481,7 +481,7 @@
|
||||
$EditSummary[]="tagging status changed";
|
||||
$HeavyUpdates['DisableTagging']=$DisableTagging;
|
||||
if (!empty($UserReason)) {
|
||||
Misc::send_pm($UserID, 0, 'Your tagging privileges have been disabled', "Your tagging privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".NONSSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
Misc::send_pm($UserID, 0, 'Your tagging privileges have been disabled', "Your tagging privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".SSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
}
|
||||
}
|
||||
|
||||
@ -490,7 +490,7 @@
|
||||
$EditSummary[]="upload status changed";
|
||||
$HeavyUpdates['DisableUpload']=$DisableUpload;
|
||||
if ($DisableUpload == 1) {
|
||||
Misc::send_pm($UserID, 0, 'Your upload privileges have been disabled', "Your upload privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".NONSSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
Misc::send_pm($UserID, 0, 'Your upload privileges have been disabled', "Your upload privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".SSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
}
|
||||
}
|
||||
|
||||
@ -500,7 +500,7 @@
|
||||
$HeavyUpdates['DisableWiki']=$DisableWiki;
|
||||
$HeavyUpdates['site_edit_wiki']=0;
|
||||
if (!empty($UserReason)) {
|
||||
Misc::send_pm($UserID, 0, 'Your site editing privileges have been disabled', "Your site editing privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".NONSSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
Misc::send_pm($UserID, 0, 'Your site editing privileges have been disabled', "Your site editing privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".SSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
}
|
||||
|
||||
}
|
||||
@ -510,7 +510,7 @@
|
||||
$EditSummary[]="PM status changed";
|
||||
$HeavyUpdates['DisablePM']=$DisablePM;
|
||||
if (!empty($UserReason)) {
|
||||
Misc::send_pm($UserID, 0, 'Your PM privileges have been disabled', "Your PM privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".NONSSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
Misc::send_pm($UserID, 0, 'Your PM privileges have been disabled', "Your PM privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".SSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url].");
|
||||
}
|
||||
}
|
||||
|
||||
@ -519,7 +519,7 @@
|
||||
$EditSummary[]="IRC status changed";
|
||||
$HeavyUpdates['DisableIRC']=$DisableIRC;
|
||||
if (!empty($UserReason)) {
|
||||
Misc::send_pm($UserID, 0, 'Your IRC privileges have been disabled', "Your IRC privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".NONSSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url]. This loss of privileges does not affect the ability to join and talk to staff in #what.cd-disabled.");
|
||||
Misc::send_pm($UserID, 0, 'Your IRC privileges have been disabled', "Your IRC privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".SSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url]. This loss of privileges does not affect the ability to join and talk to staff in #what.cd-disabled.");
|
||||
}
|
||||
}
|
||||
|
||||
@ -528,7 +528,7 @@
|
||||
$EditSummary[]="request status changed";
|
||||
$HeavyUpdates['DisableRequests']=$DisableRequests;
|
||||
if (!empty($UserReason)) {
|
||||
Misc::send_pm($UserID, 0, 'Your request privileges have been disabled', "Your request privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".NONSSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url]. This loss of privileges does not affect the ability to join and talk to staff in #what.cd-disabled.");
|
||||
Misc::send_pm($UserID, 0, 'Your request privileges have been disabled', "Your request privileges have been disabled. The reason given was: $UserReason. If you would like to discuss this please join ".BOT_DISABLED_CHAN." on our IRC network. Instructions can be found [url=https://".SSL_SITE_URL."/wiki.php?action=article&name=IRC+-+How+to+join]here[/url]. This loss of privileges does not affect the ability to join and talk to staff in #what.cd-disabled.");
|
||||
}
|
||||
}
|
||||
|
||||
@ -601,10 +601,10 @@
|
||||
$DB->query("SELECT ID, Uploaded, Downloaded FROM users_main WHERE Username LIKE '".$MergeStatsFrom."'");
|
||||
if ($DB->record_count() > 0) {
|
||||
list($MergeID, $MergeUploaded, $MergeDownloaded) = $DB->next_record();
|
||||
$DB->query("UPDATE users_main AS um JOIN users_info AS ui ON um.ID=ui.UserID SET um.Uploaded = 0, um.Downloaded = 0, ui.AdminComment = CONCAT('".sqltime()." - Stats merged into https://".NONSSL_SITE_URL."/user.php?id=".$UserID." (".$Cur['Username'].") by ".$LoggedUser['Username']."\n\n', ui.AdminComment) WHERE ID = ".$MergeID);
|
||||
$DB->query("UPDATE users_main AS um JOIN users_info AS ui ON um.ID=ui.UserID SET um.Uploaded = 0, um.Downloaded = 0, ui.AdminComment = CONCAT('".sqltime()." - Stats merged into https://".SSL_SITE_URL."/user.php?id=".$UserID." (".$Cur['Username'].") by ".$LoggedUser['Username']."\n\n', ui.AdminComment) WHERE ID = ".$MergeID);
|
||||
$UpdateSet[]="Uploaded = Uploaded + '$MergeUploaded'";
|
||||
$UpdateSet[]="Downloaded = Downloaded + '$MergeDownloaded'";
|
||||
$EditSummary[]="stats merged from https://".NONSSL_SITE_URL."/user.php?id=".$MergeID." (".$MergeStatsFrom.")";
|
||||
$EditSummary[]="stats merged from https://".SSL_SITE_URL."/user.php?id=".$MergeID." (".$MergeStatsFrom.")";
|
||||
$Cache->delete_value('users_stats_'.$UserID);
|
||||
$Cache->delete_value('users_stats_'.$MergeID);
|
||||
}
|
||||
|
@ -485,8 +485,8 @@ function check_paranoia_here($Setting) {
|
||||
<? } ?>
|
||||
<div class="box">
|
||||
<div class="head">
|
||||
<span style="float:left;">Profile - </span>
|
||||
<span class="user_title"><? if ($CustomTitle) { echo html_entity_decode($DisplayCustomTitle); } ?></span>
|
||||
<span style="float:left;">Profile<? if ($CustomTitle) {?> - </span>
|
||||
<span class="user_title"><? echo html_entity_decode($DisplayCustomTitle); } ?></span>
|
||||
<span style="float:right;"><?=!empty($Badges)?"$Badges ":''?><a href="#" onclick="$('#profilediv').toggle(); this.innerHTML=(this.innerHTML=='Hide'?'Show':'Hide'); return false;" class="brackets">Hide</a></span>
|
||||
</div>
|
||||
<div class="pad" id="profilediv">
|
||||
|
@ -470,3 +470,11 @@ tr.torrent .bookmark>a:after {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-transform: rotate(0.15deg);
|
||||
-o-transform: rotate(0.15deg);
|
||||
transform: rotate(0.15deg);
|
||||
font-smooth: always;
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user