<?php echo Text::full_format($Request['Description']); ?> </div> </div> <div id="request_comments"> <div class="linkbox"> <a name="comments"></a> <?php $Pages = Format::get_pages($Page, $NumComments, TORRENT_COMMENTS_PER_PAGE, 9, '#comments'); echo $Pages; ?> </div> <?php //---------- Begin printing CommentsView::render_comments($Thread, $LastRead, "requests.php?action=view&id={$RequestID}"); if ($Pages) { ?> <div class="linkbox pager"><?php echo $Pages; ?> </div> <?php } View::parse('generic/reply/quickreply.php', array('InputName' => 'pageid', 'InputID' => $RequestID, 'Action' => 'comments.php?page=requests', 'InputAction' => 'take_post', 'SubscribeBox' => true)); ?> </div> </div> </div> <?php View::show_footer();
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']) { View::parse('generic/reply/quickreply.php', array('InputName' => 'pageid', 'InputID' => $CollageID, 'Action' => 'comments.php?page=collages', 'InputAction' => 'take_post', 'TextareaCols' => 90, 'SubscribeBox' => true)); } } ?> <div class="linkbox"> <?php echo $Pages; ?> </div> </div> <?php View::show_footer();
<?php if (defined('LASTFM_API_KEY')) { include SERVER_ROOT . '/sections/artist/concerts.php'; } // --- Comments --- $Pages = Format::get_pages($Page, $NumComments, TORRENT_COMMENTS_PER_PAGE, 9, '#comments'); ?> <div id="artistcomments"> <div class="linkbox"><a name="comments"></a> <?php echo $Pages; ?> </div> <?php //---------- Begin printing CommentsView::render_comments($Thread, $LastRead, "artist.php?id={$ArtistID}"); ?> <div class="linkbox"> <?php echo $Pages; ?> </div> <?php View::parse('generic/reply/quickreply.php', array('InputName' => 'pageid', 'InputID' => $ArtistID, 'Action' => 'comments.php?page=artist', 'InputAction' => 'take_post', 'SubscribeBox' => true)); ?> </div> </div> </div> <?php View::show_footer(); // Cache page for later use
echo 'There is no information on this torrent.'; } ?> </div> </div> <?php // --- Comments --- $Pages = Format::get_pages($Page, $NumComments, TORRENT_COMMENTS_PER_PAGE, 9, '#comments'); ?> <div id="torrent_comments"> <div class="linkbox"><a name="comments"></a> <?php echo $Pages; ?> </div> <?php CommentsView::render_comments($Thread, $LastRead, "torrents.php?id={$GroupID}"); ?> <div class="linkbox"> <?php echo $Pages; ?> </div> <?php View::parse('generic/reply/quickreply.php', array('InputName' => 'pageid', 'InputID' => $GroupID, 'Action' => 'comments.php?page=torrents', 'InputAction' => 'take_post', 'TextareaCols' => 65, 'SubscribeBox' => true)); ?> </div> </div> </div> <?php View::show_footer();
$Link = Comments::get_url($Page, $PageID, $PostID); switch ($Page) { case 'artist': $Header = " on <a href=\"artist.php?id={$PageID}\">{$Name}</a>"; break; case 'collages': $Header = " on <a href=\"collages.php?id={$PageID}\">{$Name}</a>"; break; case 'requests': $Header = ' on ' . Artists::display_artists($Artists[$PageID]) . " <a href=\"requests.php?action=view&id={$PageID}\">{$Name}</a>"; break; case 'torrents': $Header = ' on ' . Artists::display_artists($Artists[$PageID]) . " <a href=\"torrents.php?id={$PageID}\">{$Name}</a>"; break; } CommentsView::render_comment($AuthorID, $PostID, $Body, $AddedTime, $EditedUserID, $EditedTime, $Link, false, $Header, false); } } else { ?> <div class="center">No results.</div> <?php } ?> <div class="linkbox"> <?php echo $Pages; ?> </div> </div> <?php View::show_footer();