?> " onclick="Bookmark('request', <?php echo $RequestID; ?> , 'Remove bookmark'); return false;" class="brackets">Bookmark</a> <?php } ?> <a href="#" id="subscribelink_requests<?php echo $RequestID; ?> " class="brackets" onclick="SubscribeComments('requests',<?php echo $RequestID; ?> );return false;"><?php echo Subscriptions::has_subscribed_comments('requests', $RequestID) !== false ? 'Unsubscribe' : 'Subscribe'; ?> </a> <a href="reports.php?action=report&type=request&id=<?php echo $RequestID; ?> " class="brackets">Report request</a> <?php if (!$IsFilled) { ?> <a href="upload.php?requestid=<?php echo $RequestID; echo $Request['GroupID'] ? "&groupid={$Request['GroupID']}" : ''; ?> " class="brackets">Upload request</a> <?php
<input type="hidden" name="<?php echo $InputName; ?> " value="<?php echo $InputID; ?> " /> <div id="quickreplytext"> <?php echo $ReplyText->getBuffer(); ?> <br /> </div> <div class="preview_submit"> <?php if (isset($SubscribeBox) && !isset($ForumID) && Subscriptions::has_subscribed_comments($Document, $InputID) === false) { ?> <input id="subscribebox" type="checkbox" name="subscribe"<?php echo !empty($HeavyInfo['AutoSubscribe']) ? ' checked="checked"' : ''; ?> tabindex="2" /> <label for="subscribebox">Subscribe</label> <?php } // Forum thread logic // This might use some more abstraction if (isset($ForumID)) { if (!Subscriptions::has_subscribed($InputID)) { ?> <input id="subscribebox" type="checkbox" name="subscribe"<?php echo !empty($HeavyInfo['AutoSubscribe']) ? ' checked="checked"' : '';
echo $CollageID; ?> "><?php echo $Name; ?> </a> </h2> <div class="linkbox"> <a href="#" id="subscribelink_collages<?php echo $CollageID; ?> " class="brackets" onclick="SubscribeComments('collages', <?php echo $CollageID; ?> ); return false;"><?php echo Subscriptions::has_subscribed_comments('collages', $CollageID) !== false ? 'Unsubscribe' : 'Subscribe'; ?> </a> <?php $Pages = Format::get_pages($Page, $NumComments, TORRENT_COMMENTS_PER_PAGE, 9); if ($Pages) { echo '<br /><br />' . $Pages; } ?> </div> </div> <?php //---------- Begin printing 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']) {
?> " class="add_bookmark brackets" onclick="Bookmark('torrent', <?php echo $GroupID; ?> , 'Remove bookmark'); return false;">Bookmark</a> <?php } ?> <a href="#" id="subscribelink_torrents<?php echo $GroupID; ?> " class="brackets" onclick="SubscribeComments('torrents', <?php echo $GroupID; ?> ); return false;"><?php echo Subscriptions::has_subscribed_comments('torrents', $GroupID) !== false ? 'Unsubscribe' : 'Subscribe'; ?> </a> <!-- <a href="#" id="recommend" class="brackets">Recommend</a> --> <?php if ($Categories[$GroupCategoryID - 1] == 'Music') { ?> <a href="upload.php?groupid=<?php echo $GroupID; ?> " class="brackets">Add format</a> <?php } if (check_perms('site_submit_requests')) { ?> <a href="requests.php?action=new&groupid=<?php
<?php authorize(); if (!isset($_REQUEST['page']) || !in_array($_REQUEST['page'], array('artist', 'collages', 'requests', 'torrents')) || !isset($_POST['pageid']) || !is_number($_POST['pageid']) || !isset($_POST['body']) || trim($_POST['body']) === '') { error(0); } if ($LoggedUser['DisablePosting']) { error('Your posting privileges have been removed.'); } $Page = $_REQUEST['page']; $PageID = (int) $_POST['pageid']; if (!$PageID) { error(404); } if (isset($_POST['subscribe']) && Subscriptions::has_subscribed_comments($Page, $PageID) === false) { Subscriptions::subscribe_comments($Page, $PageID); } $PostID = Comments::post($Page, $PageID, $_POST['body']); header("Location: " . Comments::get_url($Page, $PageID, $PostID)); die;
?> " onclick="Bookmark('artist', <?php echo $ArtistID; ?> , 'Remove bookmark'); return false;" class="brackets">Bookmark</a> <?php } ?> <a href="#" id="subscribelink_artist<?php echo $ArtistID; ?> " class="brackets" onclick="SubscribeComments('artist', <?php echo $ArtistID; ?> );return false;"><?php echo Subscriptions::has_subscribed_comments('artist', $ArtistID) !== false ? 'Unsubscribe' : 'Subscribe'; ?> </a> <!-- <a href="#" id="recommend" class="brackets">Recommend</a> --> <?php if (check_perms('site_edit_wiki')) { ?> <a href="artist.php?action=edit&artistid=<?php echo $ArtistID; ?> " class="brackets">Edit</a> <?php } ?> <a href="artist.php?action=history&artistid=<?php echo $ArtistID;