• English
  • France
  • China
Lửa Việt Logo
query("SELECT `type`,`num_item`,`level`,`step`, `noidung_vi`, `noidung_en`, `view1_vi`, `view1_en` FROM `lvt_danhmuc` WHERE `trangthai` = 1 AND `pid` = '$nid_catalog'"); $get_kxt = $sql_kxt->fetch_array(); $page = $get_kxt['type']; $codes = $get_kxt['view1_vi']; echo stripcslashes($codes); $noidung = $get_kxt['noidung_'.$_SESSION['lang']]; // Xu ly danh cho phan trang /*if($get_kxt['step'] != $nid_catalog) { $que_kxt_cha = $mysqli->query("SELECT `num_item` FROM `lvt_danhmuc` WHERE `trangthai` = 1 AND `pid` = '".$get_kxt['step']."'"); $get_kxt_cha = $que_kxt_cha->fetch_array(); $get_kxt['num_item'] = $get_kxt_cha['num_item']; }*/ if($get_kxt['num_item']==0) $numview = 28; else $numview = $get_kxt['num_item']; if($chungthuc=='cata' || $activesearch==1) { $npage = count($exp); $pzer = $exp[$npage -1]; $num_page = substr($pzer, 0, strrpos($pzer,'?')); if(!is_numeric($num_page)) $pzer = $exp[$npage -1]; else $pzer = $num_page; if(!is_numeric($pzer)) $pzer = ''; $vi_tri = findStart($pzer, $numview); if($pzer=="" ||$pzer==0 || $pzer==NULL) $pzz = 0; else $pzz = $pzer * $numview; if($activesearch) { $key = $mysqli->real_escape_string(addslashes($_GET['k'])); if(!empty($key)) { $mo_t = " and (`tieude_vi` LIKE '%$key%' OR `tieude_en` LIKE '%$key%' OR `noidung_en` LIKE '%$key%' OR `noidung_vi` LIKE '%$key%') "; } $sqlshowsp = $mysqli->query("SELECT * FROM `lvt_baiviet` WHERE trangthai=1 AND `step` = 2 $mo_t ORDER BY `sapxep` ASC,`thoigiancapnhat` DESC LIMIT $vi_tri,$numview");// $sqlshownu = $mysqli->query("SELECT * FROM `lvt_baiviet` WHERE trangthai=1 AND `step` = 2 $mo_t ORDER BY `thoigiancapnhat` DESC"); $page = 0; } else { if($get_kxt['level']==1){ $sqlshowsp = $mysqli->query("SELECT * FROM `lvt_baiviet` WHERE trangthai=1 and `step`='".$step_all."' ORDER BY `sapxep` ASC,`thoigiancapnhat` DESC ,`pid` DESC LIMIT $vi_tri,$numview"); $sqlshownu = $mysqli->query("SELECT `pid` FROM `lvt_baiviet` WHERE trangthai=1 and `step`='".$step_all."' "); } else { $sqlcat = $mysqli->query("SELECT `pid` FROM `lvt_danhmuc` WHERE `cha`='$id_running'"); while($rall = $sqlcat->fetch_array()) { $more .= "OR `id_danhmuc`='".$rall['pid']."' "; } $sqlshowsp = $mysqli->query("SELECT * FROM `lvt_baiviet` WHERE trangthai=1 and `step`='".$step_all."' AND `id_danhmuc`='".$nid_catalog."' $more $moresql ORDER BY `sapxep` ASC,`thoigiancapnhat` DESC ,`pid` DESC LIMIT $vi_tri,$numview");// $sqlshownu = $mysqli->query("SELECT `pid` FROM `lvt_baiviet` WHERE trangthai=1 and `step`='".$step_all."' AND `id_danhmuc`='".$nid_catalog."' $more $moresql"); } } $numlist = @$sqlshownu->num_rows; $numshow = ceil($numlist/$numview); $sotrang = findPages($numlist, $numview); //admin link khuyen mai $cuter = 0; $array_page = explode('?', $mot); if(@$array_page[1] != ''){ $param = '&'.$array_page[1]; } $trangxem = $fullpath."/".@$linkmore.$array_page[0]; //$string_get = substr($_SERVER['REQUEST_URI'], strrpos($_SERVER['REQUEST_URI'],'?')); $string_get = explode('?', $_SERVER['REQUEST_URI']); if (isset($string_get[1])) { $more_get = '?'.$string_get[1]; } //$more_get = $string_get; include($page.".php"); } elseif($chungthuc=='view') { $departDate = null; if ($page == 2) { $departDate = getDepartureDate($id_running); if (empty($departDate)) { //$mysqli->query("UPDATE `lvt_baiviet` SET `trangthai`='1' WHERE `pid`='$id_running' LIMIT 1"); } } $sqlup = $mysqli->query("UPDATE `lvt_baiviet` SET `soluotxem`=`soluotxem`+1 WHERE `pid`='$id_running' AND trangthai=1 LIMIT 1"); $sqlshowsp = $mysqli->query("SELECT * FROM `lvt_baiviet` WHERE `pid`='$id_running' AND trangthai=1 LIMIT 1");// if($sqlshowsp->num_rows) { $rowsp = $sqlshowsp->fetch_array(); $a_id = $rowsp['pid']; $masp = $rowsp['masp']; $title_detail = stripslashes($rowsp['tieude_'.$_SESSION["lang"]]); $thoigiancapnhat= $rowsp['thoigiancapnhat']; $id_danhmuc = $rowsp['id_danhmuc']; $id_quanhuyen = $rowsp['id_quanhuyen']; $number1 = $rowsp['number1']; $number2 = $rowsp['number2']; $number3 = $rowsp['number3']; $p1 = $rowsp['p1_'.$_SESSION["lang"]]; $p2 = $rowsp['p2_'.$_SESSION["lang"]]; $p3 = $rowsp['p3_'.$_SESSION["lang"]]; $p4 = $rowsp['p4_'.$_SESSION["lang"]]; $p5 = $rowsp['p5_'.$_SESSION["lang"]]; $p6 = $rowsp['p6_'.$_SESSION["lang"]]; $p7 = $rowsp['p7_'.$_SESSION["lang"]]; $chedo = $rowsp['chedo']; $numlike = $rowsp['numlike']; $webnguon = $rowsp['webnguon']; $xem = $rowsp['soluotxem']; $thoigiancapnhat= $rowsp['thoigiancapnhat']; $ngaydang = $rowsp['ngaydang']; $seo_name = $rowsp['seo_name']; $giatien = $rowsp['giatien']; $giagoc = $rowsp['giagoc']; $duongdantin_pr = $rowsp['duongdantin']; $icon_pr = $rowsp['icon']; $step_in = $rowsp['step']; $namepic1 = $rowsp['namepic1']; $namepic2 = $rowsp['namepic2']; $pic1 = $rowsp['pic1']; $pic2 = $rowsp['pic2']; $loaitour = $rowsp['loaitour']; $visa_required = $rowsp['visa_required']; /* $star1 = $rowsp['star1']; $star2 = $rowsp['star2']; $star3 = $rowsp['star3']; $star4 = $rowsp['star4']; $star5 = $rowsp['star5']; */ include($page."a.php"); } ?>
function createCss(css_link) { var giftofspeed = document.createElement('link'); giftofspeed.rel = 'stylesheet'; giftofspeed.href = css_link; giftofspeed.type = 'text/css'; var godefer = document.getElementsByTagName('link')[0]; godefer.parentNode.insertBefore(giftofspeed, godefer); } createCss("https://luavietours.com/css/style.css"); createCss("https://luavietours.com/css/shake.css"); createCss("https://luavietours.com/css/animate.css"); */ ?>
TOP
G

Tổng đài: 1900 6420