Прайс лист
Прайс-лист на экскурсии в Таиланде в $YEAR$ году
Экскурсии в Паттайе $YEAR$ цены на экскурсии. Посмотреть прайс-лист и узнать, какие экскурсии есть в Паттайе в $YEAR$ году. Экскурсии в Паттайе от Thai Online – все экскурсии из Паттайи в одном каталоге. Все цены даны в Тайских Батах (THB), обратите внимание, что цены на экскурсии в Паттайе для детей могут отличаться от взрослых.
var waitForEl = function(selector, callback) { if (jQuery(selector).length == 0) { callback(); } else { setTimeout(function() { waitForEl(selector, callback); }, 100); } };
if(location.href.indexOf("?printMode=1")!=-1){ $("h1").before($("#xlogo").clone().css("margin","auto")); setInterval(function(){ $(".printBtn, .uadm-collapse,.header, #contEditModeOn, #headEditModeOn,.slidetime,jdiv, .footer").hide();},100);
waitForEl('#preloader', function() { window.print(); });
}
//$(".erowHead").each(function(){$(this).find("td").eq(0).replaceWith("
");});
//$(".erow ul li").each(function(){$(this).replaceWith("
");});
$("td img").each(function(){
if($(this).attr("alt")=="Daily Calendar"){ $(this).closest("p").replaceWith(''); } if($(this).attr("alt")=="User"){ $(this).closest("p").replaceWith(''); }
if($(this).attr("alt")=="Baby"){ $(this).closest("p").replaceWith(''); }
if($(this).attr("src").indexOf("clip_image004.png")!=-1){ $(this).closest("p").replaceWith($(this).attr("src","/pricelist/sedan.png")); }
if($(this).attr("src").indexOf("clip_image005.png")!=-1){ $(this).closest("p").replaceWith($(this).attr("src","/pricelist/cross.png")); }
if($(this).attr("src").indexOf("clip_image006.png")!=-1){ $(this).closest("p").replaceWith($(this).attr("src","/pricelist/bus.png")); }
if($(this).attr("src").indexOf("clip_image007.png")!=-1){ $(this).closest("p").replaceWith($(this).attr("src","/pricelist/oneway.png")); }
if($(this).attr("src").indexOf("clip_image008.png")!=-1){ $(this).closest("p").replaceWith($(this).attr("src","/pricelist/bothways.png")); }
});
function addStrokeIni(){
$.get("/php/pricelist.php?v=1",function(data){ $("#allRows").html(data);
if($("#addStrokeOn").is("disabled")) return false; $("#strokeOff").show();$("#addStrokeOn").attr("disabled","disabled"); var tblCntr=0; $("#allRows .MsoTableGrid").each(function(){$(this).addClass('tblCntr'+tblCntr); $(this).before(" ").after(" ");
tblCntr++; });
prevIew() }); }
function addStroke(a,b,c){
var prev=$(c).prev().val(); if(b==2){
if($(".tblCntr"+a).is(".transfer")){ $(".tblCntr"+a).append('
');
for(x=0;x ');
} } else if($(".tblCntr"+a).is(".taxi")){ $(".tblCntr"+a).append(' ');
for(x=0;x ');
} } else if($(".tblCntr"+a).is(".minibus")){ $(".tblCntr"+a).append(' ');
for(x=0;x ');
}
} else{
$(".tblCntr"+a).append(' ');
for(x=0;x ');
} } }else{ if($(".tblCntr"+a).is(".transfer")){ for(x=0;x ');
}
$(".tblCntr"+a).prepend(' '); } else if($(".tblCntr"+a).is(".taxi")){ for(x=0;x ');
} $(".tblCntr"+a).prepend(' '); } else if($(".tblCntr"+a).is(".minibus")){ for(x=0;x ');
}
$(".tblCntr"+a).prepend(' '); }
else{ for(x=0;x ');} $(".tblCntr"+a).prepend(' '); } //moveTo(".row"+$('.erow').length); } // добавим кнопки удаления
console.log(".tblCntr"+a);
$(".tblCntr"+a).find(".erow").each(function(){
if(!$(this).find(".strokes.del").is("span")){
var s=$(this).offset().top+25;
$(this).append('X');
}
}); } // режим удаления function delMode(a){
$(".tblCntr"+a).find(".erow").each(function(){
if(!$(this).find(".strokes.del").is("span")){
var s=$(this).offset().top+25;
$(this).append('X');
}
});
} function strokeSave(a,b){ // преобразуем в html
$(".erow").each(function(){
if(!$(this).is(".erowHead")){ // содержимое $(this).find("td:first textarea").replaceWith(""+$(this).find("textarea").val()+"");
$(this).find("td input").each(function(){
$(this).replaceWith(""+$(this).val()+"");
}); }else{ // заголовки
console.log($(this).is(".erowHead"))
$(this).find("td:first input").replaceWith(""+$(this).find("td:first input").val()+""); }
}); // обновим классы порядка строк
var cxx=0;
$(".erow").each(function(){
if(!$(this).is(".erowHead")){
var newClass=$(this).attr("class").split("erow")[0]+"erow row"+cxx;
}else{
var newClass=$(this).attr("class").split("erow")[0]+"erowHead erow row"+cxx;
}
$(this).attr("class",newClass);cxx++;
}); offStroke() // сохраним всё в базе и уберём кнопки редактирования $.post("/php/pricelist.php",{savePrice:encodeURIComponent($("#allRows").html())},"html");
} // удаление строк (любых) function strokeDel(a,b){
$(a).parent().remove();
} function offStroke(){
$(".strokes").each(function(){$(this).remove();});
$("#strokeOff").hide();$("#addStrokeOn").removeAttr("disabled");
} function edSave(a,b){
if(a=="edit"){ $.get("/php/pricelist.php",function(data){
$("#allRows").html(data); setTimeout(function(){ if(b=="cont"){
$(".erow").each(function(){
if(!$(this).is(".erowHead")){
$(this).find("td:first span").replaceWith("");
$(this).find("td span").each(function(){
$(this).replaceWith("");
});
}
});
}else{ $(".erowHead").each(function(){
$(this).find("td:first span").replaceWith("");
});
} },1500);
}) }else{ if(b=="cont"){
$(".erow").each(function(){
if(!$(this).is(".erowHead")){
$(this).find("td:first textarea").replaceWith(""+$(this).find("textarea").val()+"");
$(this).find("td input").each(function(){
$(this).replaceWith(""+$(this).val()+"");
});
}
}); $.post("/php/pricelist.php",{savePrice:encodeURIComponent($("#allRows").html())},"html"); }else{ $(".erowHead").each(function(){
$(this).find("td:first textarea").replaceWith(""+$(this).find("td:first textarea").val()+"");
}); $.post("/php/pricelist.php",{savePrice:encodeURIComponent($("#allRows").html())},"html"); } }
} $("#contEditModeOn").click(function(){
$(this).addClass("active");
$("#headEditModeOn").hide();
$("#contEditModeOff").show();
edSave('edit','cont');
}); $("#contEditModeOff").click(function(){
$("#contEditModeOn").removeClass("active");
$("#contEditModeOff").hide();
$("#headEditModeOn,#headEditModeOn").show();
edSave('save','cont');
}); // $("#headEditModeOn").click(function(){
$(this).addClass("active");
$("#contEditModeOn").hide();
$("#headEditModeOff").show();
edSave('edit','head');
}); $("#headEditModeOff").click(function(){
$("#headEditModeOn").removeClass("active");
$("#headEditModeOff").hide();
$("#headEditModeOn,#contEditModeOn").show();
edSave('save','head');
}); function getClientWidth(){
var width=(window.innerWidth)?window.innerWidth:
((document.all)?document.body.offsetWidth:null);
return width;} function getClientHeight(){
var Height=(window.innerHeight)?window.innerHeight:
((document.all)?document.body.offsetHeight:null);
return Height;} var checkW=getClientWidth();
var checkH=getClientHeight();//alert(($("header").width()+ " :" + $("#allRows .MsoTableGrid:first").width() + " ::" + checkW+ " :" + checkH));
//alert(($("header").width()+ " :" + $("#allRows .MsoTableGrid:first").width() + " ::" + checkW+ " :" + checkH));
if($("header").width()-80<$("#allRows .MsoTableGrid:first").width() && checkW



ЦЕНА ЗА МАШИНУ





ЦЕНА ЗА МАШИНУ

