mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-05 22:10:11 +00:00
Empty commit
This commit is contained in:
parent
337914b0dc
commit
f3d8caee38
@ -2,6 +2,7 @@
|
||||
class IRC_DB extends DB_MYSQL {
|
||||
function halt($Msg) {
|
||||
global $Bot;
|
||||
global $DB;
|
||||
$Bot->send_to($Bot->get_channel(),'The database is currently unavailable try again later');
|
||||
}
|
||||
}
|
||||
@ -177,6 +178,25 @@ protected function listen() {
|
||||
if(isset($this->Identified[$Nick[1]])) {
|
||||
unset($this->Identified[$Nick[1]]);
|
||||
}
|
||||
if (isset($this->DisabledUsers[$Nick[1]])) {
|
||||
$DB->query("DELETE FROM disable_list WHERE Nick = '" . $Nick[1] . "'");
|
||||
unset($this->DisabledUsers[$Nick[1]]);
|
||||
}
|
||||
}
|
||||
|
||||
if (preg_match("/:([^!]+)![^\s]* PART #what.cd-disabled/", $this->Data, $Nick)) {
|
||||
if (isset($this->DisabledUsers[$Nick[1]])) {
|
||||
$DB->query("DELETE FROM disable_list WHERE Nick = '" . $Nick[1] . "'");
|
||||
unset($this->DisabledUsers[$Nick[1]]);
|
||||
}
|
||||
}
|
||||
|
||||
if (preg_match("/:([^!]+)![^\s]* KICK #what.cd-disabled.* /", $this->Data, $Nick)) {
|
||||
if (isset($this->DisabledUsers[$Nick[1]])) {
|
||||
$Nick = explode(" ", $Nick[0]);
|
||||
$DB->query("DELETE FROM disable_list WHERE Nick = '" . $Nick[3] . "'");
|
||||
unset($this->DisabledUsers[$Nick[1]]);
|
||||
}
|
||||
}
|
||||
|
||||
if(preg_match("/End of message of the day./", $this->Data)) {
|
||||
|
10
gazelle.sql
10
gazelle.sql
@ -214,6 +214,16 @@ CREATE TABLE `concerts` (
|
||||
KEY `TopicID` (`TopicID`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE `disable_list` (
|
||||
`Nick` varchar(255) COLLATE utf8_bin NOT NULL,
|
||||
`Username` varchar(255) COLLATE utf8_bin NOT NULL,
|
||||
`UserID` int(10) unsigned NOT NULL,
|
||||
`Time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`Moderator` varchar(255) COLLATE utf8_bin DEFAULT NULL,
|
||||
PRIMARY KEY (`Nick`),
|
||||
KEY `UserID` (`UserID`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
CREATE TABLE `do_not_upload` (
|
||||
`ID` int(10) NOT NULL AUTO_INCREMENT,
|
||||
`Name` varchar(255) COLLATE utf8_bin NOT NULL,
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?
|
||||
if(!check_perms('admin_donor_log')) { error(403); }
|
||||
if (!check_perms('admin_donor_log')) {
|
||||
error(403);
|
||||
}
|
||||
|
||||
include(SERVER_ROOT.'/sections/donate/config.php');
|
||||
|
||||
@ -7,8 +9,11 @@
|
||||
|
||||
$Balance = btc_balance() . " BTC";
|
||||
$Receiveds = btc_received();
|
||||
$DB->query("SELECT i.UserID, i.BitcoinAddress FROM users_info AS i JOIN users_main AS m ON m.ID = i.UserID
|
||||
WHERE BitcoinAddress IS NOT NULL ORDER BY m.Username ASC");
|
||||
$DB->query("SELECT i.UserID, i.BitcoinAddress
|
||||
FROM users_info AS i
|
||||
JOIN users_main AS m ON m.ID = i.UserID
|
||||
WHERE BitcoinAddress IS NOT NULL
|
||||
ORDER BY m.Username ASC");
|
||||
?>
|
||||
<div class="thin">
|
||||
<div class="header">
|
||||
@ -28,7 +33,9 @@
|
||||
$amount = $R->amount . ' BTC';
|
||||
}
|
||||
}
|
||||
if ($amount === false) { continue; }
|
||||
if ($amount === false) {
|
||||
continue;
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td><?=Users::format_username($row['UserID'], true, false, false, false)?></td>
|
||||
|
@ -1,6 +1,8 @@
|
||||
<?
|
||||
$Campaign = 'forumaudio';
|
||||
if (!$Votes = $Cache->get_value('support_'.$Campaign)) { $Votes = array(0,0); }
|
||||
if (!$Votes = $Cache->get_value('support_'.$Campaign)) {
|
||||
$Votes = array(0,0);
|
||||
}
|
||||
if (!isset($_GET['support'])) {
|
||||
?>
|
||||
<h1>Browser Support Campaign: <?=$Campaign?></h1>
|
||||
|
@ -1,10 +1,13 @@
|
||||
<?
|
||||
if(!check_perms('admin_manage_permissions')) { error(403); }
|
||||
if (!check_perms('admin_manage_permissions')) {
|
||||
error(403);
|
||||
}
|
||||
View::show_header('Special Users List');
|
||||
?>
|
||||
<div class="thin">
|
||||
<?
|
||||
$DB->query("SELECT m.ID FROM users_main AS m
|
||||
$DB->query("SELECT m.ID
|
||||
FROM users_main AS m
|
||||
WHERE m.CustomPermissions != ''
|
||||
AND m.CustomPermissions != 'a:0:{}'");
|
||||
if ($DB->record_count()) {
|
||||
@ -23,8 +26,10 @@
|
||||
</tr>
|
||||
<? } ?>
|
||||
</table>
|
||||
<? } else { ?>
|
||||
<?
|
||||
} else { ?>
|
||||
<h2 align="center">There are no special users.</h2>
|
||||
<? } ?>
|
||||
<?
|
||||
} ?>
|
||||
</div>
|
||||
<? View::show_footer(); ?>
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?
|
||||
if(!check_perms('site_view_flow')) { error(403); }
|
||||
if (!check_perms('site_view_flow')) {
|
||||
error(403);
|
||||
}
|
||||
View::show_header('Upscale Pool');
|
||||
define('USERS_PER_PAGE', 50);
|
||||
list($Page,$Limit) = Format::page_limit(USERS_PER_PAGE);
|
||||
|
BIN
static/common/smileys/soundwaves-left.png
Normal file
BIN
static/common/smileys/soundwaves-left.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
BIN
static/common/smileys/soundwaves-right.png
Normal file
BIN
static/common/smileys/soundwaves-right.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
@ -375,6 +375,7 @@ ul#userinfo_minor a:hover {
|
||||
ul#userinfo_major {
|
||||
z-index: 3;
|
||||
padding-left: 530px;
|
||||
width: 365px;
|
||||
}
|
||||
|
||||
ul#userinfo_minor {
|
||||
@ -393,6 +394,7 @@ ul#userinfo_stats {
|
||||
ul#userinfo_username {
|
||||
z-index: 6;
|
||||
padding-left: 320px;
|
||||
width: 175px;
|
||||
}
|
||||
|
||||
#alerts {
|
||||
|
Loading…
Reference in New Issue
Block a user