| Server IP : 103.48.194.25 / Your IP : 216.73.216.74 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33 System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 User : sieuthimay ( 1016) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/nhadatkhangdien.net-bk/public_html/sources/ |
Upload File : |
<?php if(!defined('_source')) die("Error");
if(isset($_GET['id'])){
#Detail
$id = addslashes($_GET['id']);
$sql = "select photo from #_hinhanh where hienthi=1 and id_photo='".$id."'";
$d->query($sql);
$result_detail = $d->result_array();
}else{
$title_bar='Abum hình ảnh - ';
$sql = "select ten,tenkhongdau,photo,id from table_alpum where hienthi=1 order by stt,ngaytao desc";
$d->query($sql);
$result_hinhanh = $d->result_array();
$curPage = isset($_GET['p']) ? $_GET['p'] : 1;
$url=getCurrentPageURL();
$maxR=20;
$maxP=5;
$paging=paging_home($result_hinhanh, $url, $curPage, $maxR, $maxP);
$result_hinhanh=$paging['source'];
}
?>