mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-19 04:31:36 +00:00
Empty commit
This commit is contained in:
parent
cc32775f24
commit
2310093877
@ -38,7 +38,7 @@
|
|||||||
$Matched = 0;
|
$Matched = 0;
|
||||||
$Suggestions = array();
|
$Suggestions = array();
|
||||||
$Snatches = array();
|
$Snatches = array();
|
||||||
$Links = array();
|
$ArtistIDs = array();
|
||||||
foreach ($AutoSuggest as $Suggestion) {
|
foreach ($AutoSuggest as $Suggestion) {
|
||||||
list($ID,$Name, $Snatch) = $Suggestion;
|
list($ID,$Name, $Snatch) = $Suggestion;
|
||||||
if (stripos($Name,$FullName) === 0) {
|
if (stripos($Name,$FullName) === 0) {
|
||||||
|
@ -1023,7 +1023,9 @@ function next_hour() {
|
|||||||
|
|
||||||
if($BiWeek == 8) {
|
if($BiWeek == 8) {
|
||||||
$DB->query("TRUNCATE TABLE top_snatchers;");
|
$DB->query("TRUNCATE TABLE top_snatchers;");
|
||||||
|
|
||||||
$DB->query("INSERT INTO top_snatchers (UserID) SELECT uid FROM xbt_snatched GROUP BY uid ORDER BY COUNT(uid) DESC LIMIT 100;");
|
$DB->query("INSERT INTO top_snatchers (UserID) SELECT uid FROM xbt_snatched GROUP BY uid ORDER BY COUNT(uid) DESC LIMIT 100;");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
}
|
}
|
||||||
$Article = $Alias->article($ArticleID);
|
$Article = $Alias->article($ArticleID);
|
||||||
list($Revision, $Title, $Body, $Read, $Edit, $Date, $AuthorID, $AuthorName, $Aliases, $UserIDs) = array_shift($Article);
|
list($Revision, $Title, $Body, $Read, $Edit, $Date, $AuthorID, $AuthorName, $Aliases, $UserIDs) = array_shift($Article);
|
||||||
if($Read > $LoggedUser['EffectiveClass']){ error(404); }
|
if($Read > $LoggedUser['EffectiveClass']){ error('You must be a higher user class to view this wiki article'); }
|
||||||
|
|
||||||
show_header($Title,'wiki,bbcode');
|
show_header($Title,'wiki,bbcode');
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user