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
e82d72f6c3
commit
d48c6dbd3d
@ -137,7 +137,7 @@
|
|||||||
JOIN forums_last_read_topics AS l ON s.UserID = l.UserID AND s.TopicID = l.TopicID
|
JOIN forums_last_read_topics AS l ON s.UserID = l.UserID AND s.TopicID = l.TopicID
|
||||||
JOIN forums_topics AS t ON l.TopicID = t.ID
|
JOIN forums_topics AS t ON l.TopicID = t.ID
|
||||||
JOIN forums AS f ON t.ForumID = f.ID
|
JOIN forums AS f ON t.ForumID = f.ID
|
||||||
WHERE (f.MinClassRead <= ".$LoggedUser['Class']." OR f.ID IN ('$PermittedForums'))
|
WHERE (f.MinClassRead <= ".$LoggedUser['EffectiveClass']." OR f.ID IN ('$PermittedForums'))
|
||||||
AND l.PostID < t.LastPostID
|
AND l.PostID < t.LastPostID
|
||||||
AND s.UserID = ".$LoggedUser['ID'].
|
AND s.UserID = ".$LoggedUser['ID'].
|
||||||
(!empty($RestrictedForums) ? "
|
(!empty($RestrictedForums) ? "
|
||||||
|
@ -142,7 +142,6 @@
|
|||||||
'LastPostID' => $PostID,
|
'LastPostID' => $PostID,
|
||||||
'LastPostTime' => sqltime(),
|
'LastPostTime' => sqltime(),
|
||||||
'LastPostAuthorID' => $LoggedUser['ID'],
|
'LastPostAuthorID' => $LoggedUser['ID'],
|
||||||
'LastPostUsername' => $LoggedUser['Username'],
|
|
||||||
'NoPoll' => $NoPoll
|
'NoPoll' => $NoPoll
|
||||||
)); //Bumped
|
)); //Bumped
|
||||||
$Forum = $Part1 + $Part2 + $Part3;
|
$Forum = $Part1 + $Part2 + $Part3;
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
// Number of users per page
|
// Number of users per page
|
||||||
define('FRIENDS_PER_PAGE', '20');
|
define('FRIENDS_PER_PAGE', '20');
|
||||||
|
include_once(SERVER_ROOT.'/classes/class_paranoia.php');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -37,7 +38,7 @@
|
|||||||
JOIN users_info AS i ON f.FriendID=i.UserID
|
JOIN users_info AS i ON f.FriendID=i.UserID
|
||||||
WHERE f.UserID='$UserID'
|
WHERE f.UserID='$UserID'
|
||||||
ORDER BY Username LIMIT $Limit");
|
ORDER BY Username LIMIT $Limit");
|
||||||
$Friends = $DB->to_array(false, MYSQLI_BOTH, array(7));
|
$Friends = $DB->to_array(false, MYSQLI_BOTH, array(6, 'Paranoia'));
|
||||||
|
|
||||||
// Number of results (for pagination)
|
// Number of results (for pagination)
|
||||||
$DB->query('SELECT FOUND_ROWS()');
|
$DB->query('SELECT FOUND_ROWS()');
|
||||||
|
@ -141,6 +141,7 @@ function checked($Checked) {
|
|||||||
$ReleaseTypes[1024] = "Guest Appearance";
|
$ReleaseTypes[1024] = "Guest Appearance";
|
||||||
$ReleaseTypes[1023] = "Remixed By";
|
$ReleaseTypes[1023] = "Remixed By";
|
||||||
$ReleaseTypes[1022] = "Composition";
|
$ReleaseTypes[1022] = "Composition";
|
||||||
|
$ReleaseTypes[1021] = "Produced By";
|
||||||
for($i = 0; list($Key,$Val) = each($ReleaseTypes); $i++) {
|
for($i = 0; list($Key,$Val) = each($ReleaseTypes); $i++) {
|
||||||
if(!($i % 7)) {
|
if(!($i % 7)) {
|
||||||
if($i) {
|
if($i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user