get_row($s)) { // Da ngon ngu if(MULTI_LANGUAGE && lc()!=DEFAULT_LANGUAGE){ $ss = "SELECT * FROM ".PREFIX_NAME."img_detail_lg".SUPFIX_NAME." WHERE imgID='".$r->imgID."' ".lw('AND'); if($rr = $dx->get_row($ss)){ foreach(['Ten','Mota'] as $key) { $r->$key = $rr->$key; } } } } $title = stripslashes($r->Ten); $colname = GetField($dx,PREFIX_NAME."collection_img".SUPFIX_NAME,"colID ='".$r->colID."'",'Ten'); if(MULTI_LANGUAGE && lc()!=DEFAULT_LANGUAGE){ $ssx = "SELECT * FROM ".PREFIX_NAME."collection_img_lg".SUPFIX_NAME." WHERE colID='".$r->colID."' ".lw('AND'); if($rrx = $dx->get_row($ssx)){ $colname = $rrx->Ten; } } $tagchilID = GetField($dx,PREFIX_NAME."tag".SUPFIX_NAME,"tagID ='".$r->tagID."'",'tagchilID'); $gallery = [ 'imgID' => stripslashes($r->imgID), 'name' => stripslashes($r->Ten), 'image' => $r->Anh, 'thumb' => $r->Anh, 'rias' => $r->Anh, 'alt' => stripslashes($r->alt), 'Mota' => stripslashes($r->Mota), 'tagID' => stripslashes($r->tagID), 'tagchilID' => stripslashes($tagchilID), 'colID' => stripslashes($r->colID), 'proID' => stripslashes($r->proID), 'colname' => stripslashes($colname), ]; } if(empty($seot)) $seot = $title.' | '.$web['title']; if(!empty($seot)) $web['title'] = $seot; ?>

get_results($Stag)) { foreach ($rs as $r) { $info = [ 'name' => stripslashes($r->Ten), 'link'=> stripslashes($r->URL), ]; // Da ngon ngu if(MULTI_LANGUAGE && lc()!=DEFAULT_LANGUAGE){ $ss = "SELECT * FROM ".PREFIX_NAME."tag_lg".SUPFIX_NAME." WHERE tagID='".$r->tagID."' ".lw('AND'); if($rr = $dx->get_row($ss)){ $info['name'] = stripslashes($rr->Ten); } } $taglist[] = $info; } } ?> Tag:

get_results($s)) { foreach ($rs as $r) { $name_session = $r->Ten; $colID = $r->colID; $gLink = URL_Rewrite('hinh-anh-trang-suc', $r->URL); if (MULTI_LANGUAGE && lc() != DEFAULT_LANGUAGE) { $slg = "SELECT * FROM " . PREFIX_NAME . "collection_img_lg" . SUPFIX_NAME . " WHERE colID ='" . $r->colID . "' " . lw('AND'); if ($rlg = $dx->get_row($slg)) { $name_session = stripslashes($rlg->Ten); } } ?>
'".$gallery['imgID']."' AND colID ='$colID' LIMIT 4"; // echo $sl; // exit; if ($rsx = $dx->get_results($sl)) { ?> Ten); if (MULTI_LANGUAGE && lc() != DEFAULT_LANGUAGE) { $ss = "SELECT * FROM " . PREFIX_NAME . "img_detail_lg" . SUPFIX_NAME . " WHERE lgID='" . $pro->proID . "' " . lw('AND'); if ($rr = $dx->get_row($ss)) { $names = stripslashes($rr->Ten); //$info['brief'] = CutString($pro->Tomtat,150); } } $image = $pro->Anh; $thumb = $pro->Anh; $rias = $pro->Anh; $link = URL_Rewrite('hinh-anh-trang-suc', $pro->URL); ?>
'".$gallery['imgID']."' LIMIT 4"; //echo "SQL: $ps"; $list = []; if($ps = $dx->get_results($ps)){ foreach($ps as $pr){ $info = [ 'name' => stripslashes($pr->Ten), 'image' => $pr->Anh, 'thumb' => $pr->Anh, 'rias' => $pr->Anh, 'alt' => stripslashes($pr->alt), 'Mota' => stripslashes($pr->Mota), 'tagID' => stripslashes($pr->tagID), 'colID' => stripslashes($pr->colID), 'proID' => stripslashes($pr->proID), 'link' => URL_Rewrite('hinh-anh-trang-suc',$pr->URL), ]; // Da ngon ngu if(MULTI_LANGUAGE && lc()!=DEFAULT_LANGUAGE){ $ss = "SELECT * FROM ".PREFIX_NAME."img_detail_lg".SUPFIX_NAME." WHERE lgID='".$pr->proID."' ".lw('AND'); if($rr = $dx->get_row($ss)){ $info['name'] = stripslashes($rr->Ten); $info['Mota'] = CutString($rr->Mota,150); } } $list[] = $info; } } ?>
"; $list = []; if($rs = $dx->get_results($s)){ foreach($rs as $r){ $list[] = [ 'name' => stripslashes($r->Ten), 'image' => ThumbImage($r->Anh, 800), 'imageMB' => ThumbImage($r->Anhmobi, 400), 'content' => stripslashes($r->Mota), 'thumb' => ThumbImage($r->Anhmobi, 400), 'rias' => ThumbImage($r->Anhmobi, '{width}'), 'link' => stripslashes($r->Link) ]; } } if(count($list)>0) {?>

X

Để lại thông tin & nhận ngay thiết kế miễn phí!