ÿØÿà JFIF ÿÛ „ ( %"1"%)+...383,7(-.-
![]() 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/history/ |
<?php $title_page = 'Lịch sỠxem phim'; $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']); if(!isset($ob_user->user_id) or $ob_user->user_id==0){ $where = " ip='".$ip."' "; }else{ $where = " ip='".$ip."' OR user_id='".$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_history WHERE " . $where)); $total = $t['total']; $smarty->assign('total',$total); $totalPage = ceil($total / $pageSize); $q_history = $DB->query("SELECT * FROM tb_history WHERE " . $where . " ORDER BY history_time DESC LIMIT $from,$pageSize"); $list = '';$arr_history=array(); while($row = $DB->fetch_row($q_history)){ $row['epi_plus'] = $row['epi']+1; $arr_history[] = $row; } $smarty->assign('list_history',$arr_history); $nav = $print->Pagination($totalPage,$pageNum,'pages','?act=history'); $smarty->assign('nav',$nav); $follow_phim = follow_phim(5); $smarty->assign('follow_phim',$follow_phim); $top_member = top_member(5); $smarty->assign('top_member',$top_member); $lasted_comment = lasted_comment(5); $smarty->assign('lasted_comment',$lasted_comment); $namphathanh = namphathanh(6); $smarty->assign('namphathanh',$namphathanh); $phimquantam = phimquantam(20); $smarty->assign('phimquantam',$phimquantam); ?>