Пример #1
0
                        <?php 
if (buckys_check_user_acl(USER_ACL_REGISTERED) && !BuckysForumModerator::isBlocked($TNB_GLOBALS['user']['userID'], $topic['categoryID'])) {
    ?>
                            <h2 class="titles left" style="margin-top:6px;">Reply</h2>
                        <?php 
}
?>
                        <?php 
if (count($replies) > 0) {
    echo $pagination->renderPaginate('/forum/topic.php?id=' . $topic['topicID'] . '&orderby=' . $orderBy . '&');
}
?>
                    </td>
                </tr>
                <?php 
if (buckys_check_user_acl(USER_ACL_REGISTERED) && !BuckysForumModerator::isBlocked($TNB_GLOBALS['user']['userID'], $topic['categoryID'])) {
    ?>
                    <tr>
                        <td style="background:#fff;">&nbsp;</td>
                        <td class="icon-column" style="background:#fff;">
                            <a href='/profile.php?user=<?php 
    echo $TNB_GLOBALS['user']['userID'];
    ?>
'> <img
                                    class="profileIcon topic-icon"
                                    src="<?php 
    echo BuckysUser::getProfileIcon(['thumbnail' => $TNB_GLOBALS['user']['thumbnail'], 'userID' => $TNB_GLOBALS['user']['userID']]);
    ?>
"
                                    class="poster-icon"/> </a>
                        </td>
            <a href="/forum/category.php?action=follow&id=<?php 
        echo $category['categoryID'];
        ?>
&<?php 
        echo buckys_get_form_token();
        ?>
=1&return=<?php 
        echo base64_encode($_SERVER["REQUEST_URI"]);
        ?>
"
                class="forum-action-button">follow</a>
        <?php 
    }
    ?>
        <?php 
    if (!BuckysForumModerator::isBlocked($userID, $category['categoryID'])) {
        ?>
            <a href="/forum/create_topic.php?category=<?php 
        echo $category['categoryID'];
        ?>
"
                class="forum-action-button">create new topic</a>
        <?php 
    }
    ?>
    <?php 
}
?>

    <h4>
        About
Пример #3
0
        ?>
                        <a href="/videos.php?video=<?php 
        echo $nextVideoId;
        ?>
" class="prev-next-button"
                            style="line-height:28px;">Next</a>
                    <?php 
    }
    ?>
                </div>
                <div class="clear"></div>
            </div>

            <!-- Create Topic Directly -->
            <?php 
    if (($userID = buckys_is_logged_in()) && isset($category) && !BuckysForumModerator::isBlocked($userID, $category['forumCategoryID'])) {
        ?>
                <div id="forum-above-editor">
                    <span class="video-section-subtitle">Have a question or comment? Start a new discussion here:</span>
                </div>
                <form name="newtopicform" id="newtopicform" action="/forum/create_topic.php" method="post"
                    style="padding-top:5px;">
                    <input type="hidden" name="action" value="create-topic"/> <input type="hidden" name="category"
                        id="category" value="<?php 
        echo $category['forumCategoryID'];
        ?>
"/> <input type="hidden"
                        name="return" id="return" value="<?php 
        echo base64_encode($_SERVER['REQUEST_URI']);
        ?>
"/>