- if (isset($SubscribeBox) && !isset($ForumID) && Subscriptions::has_subscribed_comments($Document, $InputID) === false) { ?>
+ if (isset($SubscribeBox) && !isset($ForumID) && Subscriptions::has_subscribed_comments($Document, $InputID) === false) {
+?>
@@ -126,7 +127,8 @@
// Forum thread logic
// This might use some more abstraction
if (isset($ForumID)) {
- if (!Subscriptions::has_subscribed($InputID)) { ?>
+ if (!Subscriptions::has_subscribed($InputID)) {
+?>
- }
- if (!G::$LoggedUser['DisableAutoSave']) { ?>
-
- }
+
+ }
+ if (!G::$LoggedUser['DisableAutoSave']) {
+?>
+
+
+ }
}
?>
diff --git a/gazelle.sql b/gazelle.sql
index c6689034..688e80dc 100644
--- a/gazelle.sql
+++ b/gazelle.sql
@@ -770,14 +770,6 @@ CREATE TABLE `requests_votes` (
KEY `Bounty` (`Bounty`)
) ENGINE=InnoDB CHARSET utf8;
-CREATE TABLE `sacrifice` (
- `UserID` int(10) NOT NULL,
- `Time` datetime NOT NULL,
- `Sacrifice1` text NOT NULL,
- `Sacrifice2` text NOT NULL,
- `IsValid` tinyint(4) NOT NULL
-) ENGINE=InnoDB CHARSET utf8;
-
CREATE TABLE `schedule` (
`NextHour` int(2) NOT NULL DEFAULT '0',
`NextDay` int(2) NOT NULL DEFAULT '0',
diff --git a/sections/collages/all_comments.php b/sections/collages/all_comments.php
index 1d71ff8f..5d6c2530 100644
--- a/sections/collages/all_comments.php
+++ b/sections/collages/all_comments.php
@@ -37,7 +37,7 @@
-
=Subscriptions::has_subscribed_comments('collages', $CollageID) !== false ? 'Unsubscribe' : 'Subscribe'?>
+
=Subscriptions::has_subscribed_comments('collages', $CollageID) !== false ? 'Unsubscribe' : 'Subscribe'?>
$Pages = Format::get_pages($Page, $NumComments, TORRENT_COMMENTS_PER_PAGE, 9);
if ($Pages) {
@@ -49,7 +49,7 @@
//---------- Begin printing
-CommentsView::render_comments($Thread, $LastRead, "collages.php?action=comments&collageid=$CollageID");
+CommentsView::render_comments($Thread, $LastRead, "collages.php?action=comments&collageid=$CollageID");
if (!$ThreadInfo['IsLocked'] || check_perms('site_moderate_forums')) {
if ($ThreadInfo['MinClassWrite'] <= $LoggedUser['Class'] && !$LoggedUser['DisablePosting']) {
View::parse('generic/reply/quickreply.php', array(
diff --git a/sections/questions/questions.php b/sections/questions/questions.php
index 1fd02b41..259a4c11 100644
--- a/sections/questions/questions.php
+++ b/sections/questions/questions.php
@@ -18,13 +18,17 @@
) AS Responses
FROM user_questions AS uq
WHERE uq.ID NOT IN
- (
- SELECT siq.QuestionID FROM staff_ignored_questions AS siq WHERE siq.UserID = '$LoggedUser[ID]'
- )
- AND uq.ID NOT IN
- (
- SELECT sq.QuestionID FROM staff_answers AS sq WHERE sq.UserID = '$LoggedUser[ID]'
- )
+ (
+ SELECT siq.QuestionID
+ FROM staff_ignored_questions AS siq
+ WHERE siq.UserID = '$LoggedUser[ID]'
+ )
+ AND uq.ID NOT IN
+ (
+ SELECT sq.QuestionID
+ FROM staff_answers AS sq
+ WHERE sq.UserID = '$LoggedUser[ID]'
+ )
ORDER BY uq.Date DESC");
$Questions = $DB->to_array();
diff --git a/sections/requests/request.php b/sections/requests/request.php
index d2e10314..80f2a3ff 100644
--- a/sections/requests/request.php
+++ b/sections/requests/request.php
@@ -236,10 +236,10 @@
?>
- =($Boldify ? '' : '')?>=display_str($User['Username'])?>=($Boldify ? '' : '')?>
+ =($Boldify ? '' : '') . display_str($User['Username']) . ($Boldify ? '' : '')?>
|
- =($Boldify ? '' : '')?>=Format::get_size($User['Bounty'])?>=($Boldify ? '' : '')?>
+ =($Boldify ? '' : '') . Format::get_size($User['Bounty']) . ($Boldify ? "\n" : "\n")?>
|
}
@@ -274,51 +274,38 @@
if (!empty($Request['RecordLabel'])) { ?>
Record label |
-
- =$Request['RecordLabel']?>
- |
+ =$Request['RecordLabel']?> |
}
if (!empty($Request['CatalogueNumber'])) { ?>
Catalogue number |
-
- =$Request['CatalogueNumber']?>
- |
+ =$Request['CatalogueNumber']?> |
} ?>
Release type |
-
- =$ReleaseName?>
- |
+ =$ReleaseName?> |
Acceptable bitrates |
-
- =$BitrateString?>
- |
+ =$BitrateString?> |
Acceptable formats |
-
- =$FormatString?>
- |
+ =$FormatString?> |
Acceptable media |
-
- =$MediaString?>
- |
+ =$MediaString?> |
if (!empty($Request['LogCue'])) { ?>
Required CD FLAC only extras |
-
- =$Request['LogCue']?>
- |
+ =$Request['LogCue']?> |
- }
+
+ }
}
$Worldcat = '';
$OCLC = str_replace(' ', '', $Request['OCLC']);
@@ -332,14 +319,14 @@
}
}
}
- if (!empty($Worldcat)) { ?>
+ if (!empty($Worldcat)) {
+?>
WorldCat (OCLC) ID |
-
- =$Worldcat?>
- |
+ =$Worldcat?> |
- }
+
+ }
if ($Request['GroupID']) {
?>
@@ -360,12 +347,12 @@
if ($Request['LastVote'] > $Request['TimeAdded']) { ?>
Last voted |
-
- =time_diff($Request['LastVote'])?>
- |
+ =time_diff($Request['LastVote'])?> |
- }
- if ($CanVote) { ?>
+
+ }
+ if ($CanVote) {
+?>
Custom vote (MB) |
@@ -432,11 +419,11 @@
Should be the permalink (PL) to the torrent (e.g. https://=SSL_SITE_URL?>/torrents.php?torrentid=xxxx).
- if (check_perms('site_moderate_requests')) { ?>
+ if (check_perms('site_moderate_requests')) { ?>
For user: />
- } ?>
+ } ?>
@@ -448,7 +435,9 @@
| Description |
- =$Text->full_format($Request['Description']);?> |
+
+= $Text->full_format($Request['Description']);?>
+ |
@@ -465,20 +454,20 @@
//---------- Begin printing
-CommentsView::render_comments($Thread, $LastRead, "requests.php?action=view&id=$RequestID");
+CommentsView::render_comments($Thread, $LastRead, "requests.php?action=view&id=$RequestID");
if ($Pages) { ?>
}
- View::parse('generic/reply/quickreply.php', array(
- 'InputName' => 'pageid',
- 'InputID' => $RequestID,
- 'Action' => 'comments.php?page=requests',
- 'InputAction' => 'take_post',
- 'SubscribeBox' => true
- ));
+View::parse('generic/reply/quickreply.php', array(
+ 'InputName' => 'pageid',
+ 'InputID' => $RequestID,
+ 'Action' => 'comments.php?page=requests',
+ 'InputAction' => 'take_post',
+ 'SubscribeBox' => true
+));
?>