| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/b2bzend/gtxlp/js/ |
Upload File : |
function addroom(){var e=$("#roomlp").val(),t=parseInt(e)+1;if(11===t)return alert("Only 10 rooms are allowed."),!1;$("#roomlp").val(t),$("#rmres_"+t).show(),$(".disproom").hide(),$(".disproom_"+t).show(),$("#adult_"+parseInt(t)).focus()}function delroom(e){var t=parseInt(e)-1;$("#roomlp").val(t),$("#rmres_"+e).hide(),$(".disproom").hide(),$(".disproom_"+t).show()}function showextrabedbox(e){$("#adult_"+e).val(),tottravelerInRoom(e)}function showextrabedchildagebox(e){var t,o=$("#child_"+e).val(),a=$("#adult_"+e).val(),l=$("#child_"+e).val(),r=$("#infant_"+e).val();if(5<=parseInt(a)+parseInt(l)+parseInt(r))return $("#child_"+e).val(0),$(".childage_"+e).hide(),alert("Only 4 pax are allowed in each room. Please modify travelers in Room no. "+e),!1;for($(".childage_"+e).hide(),t=1;t<=o;t++)$("#childcl_"+e+"_"+t).show(),$("#childcl_"+e+"_"+t+" select").val("extrabed")}function tottravelerInRoom(e){var t=$("#adult_"+e).val(),o=$("#child_"+e).val(),a=$("#infant_"+e).val();if(5<=parseInt(t)+parseInt(o)+parseInt(a))return $("#adult_"+e).val(2),alert("Only 4 pax are allowed in each room. Please modify travelers in Room no. "+e),!1}function tottraveller(){var e=0,t=0,o=0,a=$("#roomlp").val();for(j=1;j<=a;j++)e=parseInt(e)+parseInt($("#adult_"+j).val()),t=parseInt(t)+parseInt($("#child_"+j).val()),o=parseInt(o)+parseInt($("#infant_"+j).val());var l=parseInt(e)+parseInt(t)+parseInt(o);if(4*parseInt(a)<l)return alert("Only 4 pax are allowed in each room. Please modify travelers"),!1;$("#totadlt").val(e),$("#totchld").val(t),$("#totinfnt").val(t),$("#travelers").html(l),$("#totaltravelersHtml").html('<span class="qtyTotal">'+parseInt(l)+"</span>");var r='[{"totalRoom" : '+a+'},{"totalTraveler" : '+l+'},{"totaladult" : '+e+'},{"totalchild" : '+t+'},{"totalinfant" : '+o+"}]";$("#roominfojson").val(r),$("#tarvller_show").hide(),$("#Noofdays").focus()}function showDiv(){document.getElementById("tarvller_show").style.display="block",$("i",".tarveller_rotate").toggleClass("fa-angle-down fa-angle-up")}function showMoreTestimonial(e){$(".showMoreTestimonialContent"+parseInt(e)).show(),$("#showMoreTestimonialBtn"+parseInt(e)).hide(),$("#hideMoreTestimonialBtn"+parseInt(e)).show()}function hideMoreTestimonial(e){$(".showMoreTestimonialContent"+parseInt(e)).hide(),$("#showMoreTestimonialBtn"+parseInt(e)).show(),$("#hideMoreTestimonialBtn"+parseInt(e)).hide()}$(document).ready(function(){(e=$(".brands")).owlCarousel({items:3,itemsDesktop:[1400,3],itemsDesktopSmall:[1024,2],itemsTablet:[900,1],itemsMobile:[480,1],rewindNav:!1,navigation:!0}),(e=$("#owl-demo")).owlCarousel({items:3,itemsDesktop:[1e3,3],itemsDesktopSmall:[900,2],itemsTablet:[600,1],itemsMobile:!1});var e,t=$("#owl-demo1");t.owlCarousel({items:1,itemsDesktop:[1e3,1],itemsDesktopSmall:[900,1],itemsTablet:[600,1],itemsMobile:!1}),$(".blog-Right").click(function(){t.trigger("owl.next")}),$(".blog-Left").click(function(){t.trigger("owl.prev")}),(e=$("#owl-demo2")).owlCarousel({items:4,itemsDesktop:[1e3,5],itemsDesktopSmall:[900,4],itemsTablet:[600,1],itemsMobile:!1}),$(".right").click(function(){e.trigger("owl.next")}),$(".left").click(function(){e.trigger("owl.prev")})}),$(document).ready(function(){$(".customer-logos").slick({slidesToShow:8,slidesToScroll:1,autoplay:!0,autoplaySpeed:1e3,arrows:!1,dots:!1,pauseOnHover:!1,responsive:[{breakpoint:768,settings:{slidesToShow:4}},{breakpoint:520,settings:{slidesToShow:2}}]})}),$(".backform").on("click",function(e){$(".showQueryForm").css({display:"none"}),$("#leadsend").val(0),$("#BookingType").val(0),$("#PkgType").val(0)}),$(document).ready(function(){var e=$("#CountryCode").val().trim();$(".allcountries").find("li").each(function(){"+"+$(this).attr("data-ext")==e&&$("#iti-flag").attr("class","iti-flag "+$(this).attr("data-code"))})});