ÿØÿà 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/domains/benhviendkkvcampha.vn/public_html/modules/ |
Upload File : |
<?php /*----------------------------------------*\ | Copyright © C-ILY | | Phone: 0983.998.994 | | Y!m: notepad.html | | Email: truongpv87@gmail.com | \*----------------------------------------*/ define('CILY',true); //default.html BEGIN: Menu hiển thị, mặc định là tất cả *// $opt_where = 'AND (cat_type NOT IN (4,14))'; // $opt_where = 'AND cat_type = 2'; // tin tức $opt_where = 'AND (cat_type IN (0,1,3,5,6,7,8))'; // Album ảnh $opt_where = 'AND cat_type = 3'; $dfCats_all = @mysql_query("SELECT * FROM cily_cats WHERE cat_sub = 0 AND cat_home = 1 ".$opt_where ." ORDER BY cat_order ASC"); while ($dfCatsall = @mysql_fetch_array ($dfCats_all)){ $dfCats_all1 = @mysql_query("SELECT * FROM cily_cats WHERE cat_sub = ".$dfCatsall['id']." AND cat_home = 1 ORDER BY cat_order ASC"); if((mysql_num_rows($dfCats_all1)) > 0) { while ($dfCatsall1 = @mysql_fetch_array ($dfCats_all1)){ $dfCats_all2 = @mysql_query("SELECT * FROM cily_cats WHERE cat_sub = ".$dfCatsall1['id']." AND cat_home = 1 ORDER BY cat_order ASC"); if((mysql_num_rows($dfCats_all2)) > 0) { while ($dfCatsall2 = @mysql_fetch_array ($dfCats_all2)){ $dfCats_all3 = @mysql_query("SELECT * FROM cily_cats WHERE cat_sub = ".$dfCatsall2['id']." AND cat_home = 1 ORDER BY cat_order ASC"); if((mysql_num_rows($dfCats_all2)) > 0) { while ($dfCatsall3 = @mysql_fetch_array ($dfCats_all3)){ $w3c->assign( array( 'cid3' => $dfCatsall3['id'], 'cat_name3' => $dfCatsall3['cat_name'], 'cat_value3' => $dfCatsall3['cat_name'], 'cat_info3' => iout($dfCatsall3['cat_info']), 'cat_img3' => $dfCatsall3['cat_img'], 'cat_ascii3' => $dfCatsall3['cat_name_ascii'], )); $w3c->parse('dfCats_all3'); //* {url}/ls/{cat_ascii3}-c{cid3}.html *// } $w3c->parse('tem_o_ul3'); } $w3c->assign( array( 'cid2' => $dfCatsall2['id'], 'cat_name2' => $dfCatsall2['cat_name'], 'cat_value2' => $dfCatsall2['cat_name'], 'cat_info2' => iout($dfCatsall2['cat_info']), 'cat_img2' => $dfCatsall2['cat_img'], 'cat_ascii2' => $dfCatsall2['cat_name_ascii'], )); $w3c->parse('dfCats_all2'); //* {url}/ls/{cat_ascii2}-c{cid2}.html *// } $w3c->parse('tem_o_ul2'); } $w3c->assign( array( 'cid1' => $dfCatsall1['id'], 'cat_name1' => $dfCatsall1['cat_name'], 'cat_value1' => $dfCatsall1['cat_value'], 'cat_info1' => iout($dfCatsall1['cat_info']), 'cat_img1' => $dfCatsall1['cat_img'], 'cat_ascii1' => $dfCatsall1['cat_name_ascii'], )); $w3c->parse('dfCats_all1'); //* {url}/ls/{cat_ascii1}-c{cid1}.html *// } $w3c->parse('tem_o_ul'); } $w3c->assign( array( 'cid' => $dfCatsall['id'], 'cat_name' => $dfCatsall['cat_name'], 'cat_info' => iout($dfCatsall['cat_info']), 'cat_value' => $dfCatsall['cat_value'], 'cat_ascii' => $dfCatsall['cat_name_ascii'], 'cat_img' => $dfCatsall['cat_img'], 'cat_active' => ($dfCatsall['id'] == $w3c->rewrite_idcat)?'selected':'', )); $w3c->parse('dfCats_all'); //* {url}/ls/{cat_ascii}-c{cid}.html *// } //*default.html END: Menu hiển thị, mặc định là tất cả *// ?>