HEX
Server: LiteSpeed
System: Linux vps30244.sdns.vn 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64
User: admin (1001)
PHP: 7.4.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/hcb48/public_html/wp-content/plugins/wpdiscuz/utils/layouts/follows/content.php
<?php
if (!defined('ABSPATH')) {
    exit();
}
ob_start();
$action = 'wpdGetFollowsPage';
$perPage = apply_filters('wpdiscuz_content_per_page', 3);
$items = $this->dbManager->getFollows($currentUserEmail, $perPage, 0);
if ($items && is_array($items)) {
    $page = 0;
    $lrItemsCount = 3;
    $itemsCount = $this->dbManager->getFollowsCount($currentUserEmail);
    $pCount = intval($itemsCount / $perPage);
    $pageCount = ($itemsCount % $perPage == 0) ? $pCount : $pCount + 1;
    foreach ($items as $item) {
        $fId = $item->id;
        $fName = $item->user_name;
        $fPostId = $item->post_id;
        $fKey = $item->activation_key;
        $postedDate = $this->getDate($item->follow_date);
        include WPDISCUZ_DIR_PATH . '/utils/layouts/follows/item.php';
    }
    include WPDISCUZ_DIR_PATH . '/utils/layouts/pagination.php';
    ?>
    <input type="hidden" class="wpd-page-number" value="0"/>
<?php } else { ?>
    <div class='wpd-item'><?php echo $this->optionsSerialized->phrases['wc_user_settings_no_data']; ?></div>
    <?php
}
$html .= ob_get_clean();