403Webshell
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/b2c.hellogtx.com/public/upload/tripzoe/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2c.hellogtx.com/public/upload/tripzoe/js/custom.js
$(document).ready(function($) {
    $('.loop').owlCarousel({
        items: 3,
        loop: true,
        margin: 10,
        dots: true,
        slideSpeed: 4000,
        responsiveClass: true,
        responsive: {
            0: {
                items: 1,
                //nav: true,
                dots: true
            },
            600: {
                items: 2,
                nav: false,
                dots: true
            },
            1000: {
                items: 5,
                //nav: true,
                loop: false,
                margin: 20,
                dots: true
            }
        }
    });




    $('.nonloop').owlCarousel({
        center: true,
        items: 3,
        loop: false,
        margin: 10,
        responsive: {
            600: {
                items: 3
            }
        }
    });
    $('.destination_bg-slider-slides').owlCarousel({
        loop: true,
        margin: 20,
        autoplay: true,
        dots: true,
        nav: true,
        responsiveClass: true,
        responsive: {
            0: {
                items: 1,
                nav: false
            },
            600: {
                items: 2,
                nav: false
            },
            1000: {
                items: 4,
                nav: true,
                loop: true
            }
        }
    });



    $('.destination_bg-slider-slides1').owlCarousel({
        loop: true,
        margin: 30,
        autoplay: true,
        dots: true,
        nav: true,
        responsiveClass: true,
        responsive: {
            0: {
                items: 1,
                nav: false
            },
            600: {
                items: 3,
                nav: false
            },
            1000: {
                items: 1,
                nav: true,
                loop: true
            }
        }
    });


    $('.destination_bg-slider-slides2').owlCarousel({
        loop: true,
        margin: 30,
        autoplay: true,
        dots: true,
        nav: true,
        responsiveClass: true,
        responsive: {
            0: {
                items: 1,
                nav: false
            },
            600: {
                items: 2,
                nav: false
            },
            1000: {
                items: 3,
                nav: true,
                loop: true
            }
        }
    });
});
$(document).ready(function() {
    var owl = $('.owl-carousel');
    owl.owlCarousel({
        items: 1,
        loop: true,
        margin: 30,
        autoplay: true,
        dots: true,
        nav: true,
        responsiveClass: true,
        responsive: {
            0: {
                items: 1,
                nav: false
            },
            600: {
                items: 2,
                nav: false
            },
            1000: {
                items: 1,
                nav: true,
                loop: true
            }
        }
    });
    $('.play').on('click', function() {
        owl.trigger('play.owl.autoplay', [1000])
    })
    $('.stop').on('click', function() {
        owl.trigger('stop.owl.autoplay')
    });
})
$(document).ready(function() {
    $('.loop').owlCarousel({
        loop: true,
        margin: 10,
        responsiveClass: true,
        responsive: {
            0: {
                items: 1,
                nav: true
            },
            600: {
                items: 2,
                nav: false
            },
            1000: {
                items: 3,
                nav: true,
                loop: false,
                margin: 20
            }
        }
    })
})
var btt = document.getElementById('back-to-top'),
    body = document.body,
    docElem = document.documentElement,
    offset = 100,
    scrollPos;

window.addEventListener('scroll', function(event) {
    scrollPos = body.scrollTop || docElem.scrollTop;

    btt.className = (scrollPos > offset) ? 'visible' : '';
});

$("#back-to-top").click(function() {
    $("html, body").animate({ scrollTop: 0 }, 1000);
});

$(".filter-icon").click(function() {
    $(".filter-sec").show();
});

$(".cancel-btn").click(function() {
    $(".filter-sec").hide();
});

$(".carsearch-mb-btn").click(function() {
    $("#car-search-mb").show();
});
$("#car-search-cancel").click(function() {
    $("#car-search-mb").hide();
});



$(".carsort-mb-btn").click(function() {
    $(".car-sortingby").show();
});
$(".car-sort-cancel").click(function() {
    $(".car-sortingby").hide();
});



$(window).scroll(function() {
    var sticky = $('.sticky'),
        scroll = $(window).scrollTop();

    if (scroll >= 500) sticky.addClass('fixed');
    else sticky.removeClass('fixed');
});

$(function() {
    $(".tab-btns li, .view-detail-modal li, .home-tab-btns li, .filter-group-items").on("click", function(e) { // See here, i have our selector set to "li", so this jQuery object will grab all li tags on the page
        $(this).addClass("active").siblings().removeClass("active");
    });
})



$(function() {
    $(".sortitem1, .sortitem3, .busfare, .bus-details-tab, .bus_tab_details-box-checked").on("click", function(e) {
        $(this).addClass("active").siblings().removeClass("active");
    });
})

/*$(document).ready(function(){
    $("#hotel_travller_search, #travller_search").on("click", function(){

        $(".room_boxcls").toggle();

        $('#mypopupsectionModal').modal('show');
        $( "#mypopupsectionModalHtml" ).html($( "#mypopupsectiondata" ).html());

    });

});*/

$(function() {
    $("#datepicker, #datepicker_return, #StartDate, #Start_DOB, #Start-Date, #Start_Date," +
        " #enquiry-dob, #Departure-Date, #Departure_dob, #enquire_date-list, #leave-date, #dt-enquire_date," +
        "#car-Start_Date, #car-end-Date, #local-Start_Date, #local-end-Date, #tranfer-Start_Date, #tranfer-end-Date," +
        "#departure_text, #return-text, #changehotel1, #visadate").datepicker({
        numberOfMonths: 2,
        showButtonPanel: true,
        buttonImage: "https://jqueryui.com/resources/demos/datepicker/images/calendar.gif",
        buttonImageOnly: true,
        dateFormat: 'dd-M-yy',
        autoclose: true,
        disableTouchKeyboard: true,
        Readonly: true
    }).attr('readonly', 'readonly');
    $("#travelerDatePickerdetail,#e-travel_date").datepicker({
        minDate: 0,
        numberOfMonths: 2,
        showButtonPanel: true,
        buttonImage: "https://jqueryui.com/resources/demos/datepicker/images/calendar.gif",
        buttonImageOnly: true,
        dateFormat: 'dd/mm/yy',
        autoclose: true,
        disableTouchKeyboard: true,
        Readonly: true
    }).attr('readonly', 'readonly');
});


function submitVisaSearchForm() {
    var visaSearchFormVal = $('#visaSearchForm').val();
    var put_select_destination = $('#put_select_destination').val();
    if (put_select_destination == '') {
        $('.select2-selection--single').addClass('select2-selection select2-selection--single visa-search-error');

        $(".shakeThisDiv").effect("shake");
        return false;
    }
    window.location.href = 'visa/' + getSeoName1(put_select_destination).toLowerCase() + '-visa.html';
}

function getvisaSearchValue(that) {
    var des = $(that).val();
    $('#put_select_destination').val(des);
}


$(window).scroll(function() {
    var sticky = $('.sticky-form'),
        scroll = $(window).scrollTop();

    if (scroll >= 500) sticky.addClass('fixed');
    else sticky.removeClass('fixed');
});

$(window).scroll(function() {
    var sticky = $('.stickyhotel-details'),
        scroll = $(window).scrollTop();

    if (scroll >= 500) sticky.addClass('fixeddt-details');
    else sticky.removeClass('fixeddt-details');
});


// $(function() {
//     $('#car-select').change(function(){
//         $('.car-main').hide();
//         $('#' + $(this).val()).show();
//     });
// });


$(function() {
    $('.advanceDetail1').hover(function() {
        $('.advanceDetailsBox1').toggle();
    });
});

$(function() {
    $('.advanceDetail2').hover(function() {
        $('.advanceDetailsBox2').toggle();
    });
});

$(function() {
    $('.advanceDetail3').hover(function() {
        $('.advanceDetailsBox3').toggle();
    });
});

$(function() {
    $('.advanceDetail4').hover(function() {
        $('.advanceDetailsBox4').toggle();
    });
});
$(function() {
    $('.fareDetails1').hover(function() {
        $('.fareDetailsbox1').toggle();
    });
});
$(function() {
    $('.fareDetails2').hover(function() {
        $('.fareDetailsbox2').toggle();
    });
});

$(function() {
    $('.fareDetails3').hover(function() {
        $('.fareDetailsbox3').toggle();
    });
});

$(function() {
    $('.fareDetails4').hover(function() {
        $('.fareDetailsbox4').toggle();
    });
});
$(document).on("click", '[data-toggle="lightbox"]', function(event) {
    event.preventDefault();
    $(this).ekkoLightbox();
});

$(document).ready(function() {
    $(".bus-b-p-list").click(function() {
        $(".bus-b-p-list").removeClass("active");
        if ($(this).find('a').hasClass('active')) {
            $(this).find('a').removeClass('active');
            $($(this).find('a').attr('href')).removeClass('active');
            return false;
        } else {
            $(this).addClass("active");
        }
    });
});


$(document).ready(function() {
    $(".bus_tab_details-box-checked").click(function() {

        $(this).find('input').prop('checked', true)
    });
});

$(document).ready(function() {
    $(".fare-toggle-btn").click(function() {
        $(".fare-container").css("display", "block");
        $("h3").text("Hide Fare Details");
    });
});
$(document).ready(function() {
    $(".bus_tab_details-box-checked").click(function() {
        $("#viewdetails-box").show();
    });
});


$(function() {
    $(".list2-radio li").on("click", function(e) {
        $(".list2-radio li a").addClass("active").removeClass("active");
    });
})


$(function() {
    $("li.seat.available").on("click", function(e) {
        $(this).addClass(".seat-filled");
    });
})

$('.fa-angle-up').on('click', function() {
    $(this).toggleClass('fa-angle-down fa-angle-up');
});


$('.fare_information_dropdown .fa-angle-up').on('click', function() {
    $(this).toggleClass('fa-angle-up fa-angle-down');
});


//
//
//document.addEventListener('keydown', function (e) {
//    if (e.ctrlKey && e.keyCode === 85) { e.preventDefault(); return false; } else if (e.keyCode === 123) { e.preventDefault(); return false; }
//});
//
//function disableRightClick() {
//    return false;
//}
//
//document.addEventListener('contextmenu', function (e) {
//    e.preventDefault();
//});

///*Disable Right click  ends*/

$('#gstinput').on('click', function() {
    $("#gst-box").toggle()
});

$('.carsearch-mb-btn').on('click', function() {
    $("#car-search-mb").show()
});

$('.carfilter-mb-btn').on('click', function() {
    $("#filtercar").toggle()
});


//International flight search starts


$('#roundtrip-icon1').on('click', function() {
    $("#roundtrip1").toggle()
});

$('#up-down-icon').on('click', function() {
    $("#flightcollapse-1").toggle()
});


$('#roundtrip-icon2').on('click', function() {
    $("#roundtrip2").toggle()
});


$('.multicity_form_boxshow .fa-chevron-circle-down').on('click', function() {
    $(this).toggleClass('fa-chevron-circle-up fa-chevron-circle-down');
});


//12-10-2020
$('.flight-filter').on('click', function() {
    $("#flight-filter").show()
});

$('.cancel-btn-flight').on('click', function() {
    $("#flight-filter").hide()
});


$('.flight-filter').on('click', function() {
    $("#flight-filter-sec").show()
});

$('.cancel-btn-flight').on('click', function() {
    $("#flight-filter-sec").hide()
});

$('.flight-sort').on('click', function() {
    $(".sortlisting-flight").show()
});

$('.cancel-btn-mb-sort').on('click', function() {
    $(".sortlisting-flight").hide()
});

$('.flight-sort').on('click', function() {
    $(".sortlisting-flight-round").show()
});

$('.cancel-btn-mb-sort').on('click', function() {
    $(".sortlisting-flight-round").hide()
});

$('.flight-modify').on('click', function() {
    $(".internation-flight-search-Banner .srch_form").show()
});

$('.in-flight-srch').on('click', function() {
    $("#m-showsearch-fligth").show()
});
$('.internation-flight-search-Banner .cancel-btn').on('click', function() {
    $(".internation-flight-search-Banner .srch_form").toggle();
    $(".internation-flight-search-Banner .srch_form").animate({
        display: "block",
        transition: "opacity .15s linear"
    }, 1500);
});






//International flight search starts



// Loader starts

window.onload = function() {
    $('.loader').fadeOut();
}


$(function() {
    $(".view_deatils_wrapper .nav-tabs li, .visa-listing li").on("click", function(e) {
        $(this).addClass("active").siblings().removeClass("active");
    });
})



//Domestic tour packages load more

$('.bpdp-change').on('click', function() {
    $(".view-seats-details").show();
    $("#viewdetails-box").hide();
});

$("input").attr("autocomplete", "off");





$(document).ready(function() {
    $(".visa-listing li").click(function() {
        $(".visacommon").removeClass("plus_height");
        if ($(this).find('.visacommon').hasClass('plus_height')) {
            $(this).find('.visacommon').removeClass('plus_height');
        } else {
            $(".visacommon").addClass("plus_height");
        }
    });
});

$(function() {
    $(".navbar-collapse ul li").on("click", function(e) {
        $(".navbar-collapse  ul li a").addClass("active");
    });
})



$(document).ready(function() {
    $(".profiletab-list").click(function() {
        $(".profiletab-list").removeClass("active");
        if ($(this).find('a').hasClass('active')) {
            $(this).find('a').removeClass('active');
            $($(this).find('a').attr('href')).removeClass('active');
            //return false;
        } else {
            $(this).addClass("active");
        }
    });
});


$('.flight-filter').on('click', function() {
    $(".internation-flight-search-Banner .srch_form, .sortlisting-flight").hide();
});

$('.flight-modify').on('click', function() {
    $("#flight-filter, .sortlisting-flight").hide();
});
$('.flight-sort').on('click', function() {
    $(".internation-flight-search-Banner .srch_form, #flight-filter").hide();
});



$(document).ready(function() {
    $(".mobile_footer_bottomcontinuefixed a").click(function() {
        $(".mobile_footer_bottomcontinuefixed a").removeClass("active");
        if ($(this).find('a').hasClass('active')) {
            $(this).find('a').removeClass('active');
        } else {
            $(this).addClass("active");
        }
    });
});

$(document).ready(function() {
    $(".view_deatils_wrapper .nav-tabs li a").click(function() {
        $(".view_deatils_wrapper .nav-tabs li a").removeClass("active");
        if ($(this).find('a').hasClass('active')) {
            $(this).find('a').removeClass('active');
        } else {
            $(this).addClass("active");
        }
    });
});


$(function() {
    $(".view_deatils_wrapper .nav-tabs li a ").on("click", function(e) {
        $(".removeclas").hide();
        $($(this).attr('href')).show();

    });
})





$(".tab-btns .tab-list a").click(function() {
    $("html, body").animate({ scrollTop: 500 });
});


function closebox() {
    $('.room_boxcls').hide();
}


$(function() {
    $("#dateofbirth-1").datepicker({
        Readonly: true
    }).attr('readonly', 'readonly');
});


//Form feilds slideup code

$(document).ready(function() {
    $("#hotel_travller_search, #travller_search").on("click", function() {
        $(".room_boxcls").show();
        $('.blackbar').addClass('mobile_head1');
        $('#topheader').addClass('mobile_head1');
        $('.frmclose2').addClass('frmcloseshow');
    });

    $('.frmclose2').click(function() {
        $(".room_boxcls").slideUp();
        $('.blackbar').removeClass('mobile_head1');
        $('#topheader').removeClass('mobile_head1');
        $('.frmclose2').removeClass('frmcloseshow');
    });
});


function closebox() {
    $('.room_boxcls').hide();
    $('.blackbar').removeClass('mobile_head1');
    $('#topheader').removeClass('mobile_head1');
    $('.frmclose2').removeClass('frmcloseshow');
    $('section.search-form-box').removeClass('mobile-asfrm');
    $('.flight-search-flight5').removeClass('mobile-as1');

}

//Form feilds slideup code


$(document).ready(function() {
    $(".bus-b-p-list").click(function() {
        $(".bus-b-p-list").removeClass("active");
        if ($(this).find('a').hasClass('active')) {
            $(this).find('a').removeClass('active');
            $($(this).find('a').attr('href')).removeClass('active');
            return false;
        } else {
            $(this).addClass("active");
        }
    });
});


//Details gallery slider

$(document).ready(function() {
    $('.galleryslidercls').owlCarousel({
        loop: true,
        margin: 10,
        responsiveClass: true,
        responsive: {
            0: {
                items: 1,
                nav: true
            },
            600: {
                items: 1,
                nav: false
            },
            1000: {
                items: 1,
                nav: true,
                loop: false,
                margin: 20
            }
        }
    })
})


//responive form code


$(document).ready(function() {
    // $(".airport_search").click(function(){
    //     $(".airport_search").addClass("extend_width");
    //     $(".flight-search-flight1").addClass("extend_width_list");
    //     $(".searchf1").addClass("extend_width_input");
    //     $(".formtitlecls").addClass("extend_width_formtitlecls");
    //     $(".frmclose").addClass("extend_width_frmclose");
    //     $(".ui-front").addClass("extend_width_ui-front");
    //     $(".ui-front .ui-menu-item").addClass("extend_width_ui-front_list");
    //     $(".formtitlecls").addClass("extend_width_formtitlecls");
    //     $(".search-form-box").addClass("extend_width_home-srch");
    //     //$(".custom-nav").hide();

    // }).focus(function() {
    //     $(this).val('');
    //     $(".airport_search").addClass("extend_width");
    //     $(this).autocomplete('search');
    // });
});

$(document).ready(function() {
    // $(".apendn_2").click(function(){
    //     alert('m,anish');

    // });
    $(".frmclose").click(function() {
        // $(".formullist").removeClass("extend_width_list");
        // $(".airport_search").removeClass("extend_width");
        // $(".flight-search-flight1").removeClass("extend_width_list");
        // $(".flight-search-flight2").removeClass("extend_width_list");
        // $(".searchf1").removeClass("extend_width_input");
        // $(".formtitlecls").removeClass("extend_width_formtitlecls");
        // $(".frmclose").removeClass("extend_width_frmclose");
        // $(".ui-front").removeClass("extend_width_ui-front");
        // $(".ui-front .ui-menu-item").removeClass("extend_width_ui-front_list");
        // $(".formtitlecls").removeClass("extend_width_formtitlecls");
        // $(".search-form-box").removeClass("extend_width_home-srch");
        //$(".custom-nav").show();

    }).focus(function() {
        // $(this).val('');
        // $(".airport_search").removeClass("extend_width");
        // $(this).autocomplete('search');
    });
});
$(document).ready(function() {
    $(".ui-front .ui-menu-item .ui-menu-item-wrapper").click(function() {
        $(".airport_search").removeClass("extend_width");
        $(".flight-search-flight1").removeClass("extend_width_list");
        $(".searchf1").removeClass("extend_width_input");
        $(".formtitlecls").removeClass("extend_width_formtitlecls");
        $(".frmclose").removeClass("extend_width_frmclose");
        $(".ui-front").removeClass("extend_width_ui-front");
        $(".ui-front .ui-menu-item").removeClass("extend_width_ui-front_list");

    });

});

//responive form code


$(document).ready(function() {
    $(".expanded").hide();

    $(".expanded a, .collapsed a").click(function(eve) {
        eve.preventDefault();
        $(".expanded, .collapsed").toggle();
    });


    $(".addroom").click(function() {
        $(".form_input_spac").focus();
    });
});

$(".addroom").click(function() {
    $(".form_input_spac").focus();
});

$('#part1').owlCarousel({
    loop: true,
    margin: 35,
    responsiveClass: true,
    responsive: {
        0: {
            items: 1,
            dots: true,
            nav: false
        },
        550: {
            items: 2,
            dots: true,
            nav: false
        },
        1000: {
            items: 3,
            nav: false,
            dots: false,
            loop: true
        }
    }
});


$('.testimonial-slider').owlCarousel({
    loop: true,
    margin: 35,
    responsiveClass: true,
    responsive: {
        0: {
            items: 1,
            dots: true,
            nav: false
        },
        550: {
            items: 2,
            dots: true,
            nav: false
        },
        1000: {
            items: 3,
            nav: false,
            dots: false,
            loop: true
        }
    }
});


$('.travel-themes-slider').owlCarousel({
    loop: true,
    nav: true,
    dots:true,
    autoplay: true,
    margin: 10,
    responsiveClass: true,
    responsive: {
        0: {
            items: 1,
            dots: true,
        },
        600: {
            items: 3,
            dots: true,
        },
        1000: {
            items: 5,
            loop: true
        }
    }
});






$(document).ready(function() {
    $(".expanded").hide();

    $(".expanded a, .collapsed a").click(function(eve) {
        eve.preventDefault();
        $(".expanded, .collapsed").toggle();
    });



    $('#itenerary_click').on("click", function() {
        $('html, body').animate({
            scrollTop: $("#itenary").offset().top - 300
        }, 200);
        s
    });

    $('#termscondition_click').on("click", function() {
        $('html, body').animate({
            scrollTop: $("#terms_condition").offset().top - 400
        }, 200);

    });

    $('#gotohotel-id').on("click", function() {
        $('html, body').animate({
            scrollTop: $("#Hotelstab_slide").offset().top - 400
        }, 200);

    });
});

function activaTab(tab) {
    alert(tab);
    $('.nav-tabs a[href="#' + tab + '"]').tab('show');
    $('html, body').animate({
        scrollTop: $("#Hotelstab_slide").offset().top - 460
    }, 200);
}



// multiselect rating starts
$(function() {
    $('#people').multiSelect();
    $('#ice-cream').multiSelect();
    $('#line-wrap-example').multiSelect({
        positionMenuWithin: $('.position-menu-within')
    });
    $('#categories').multiSelect({
        noneText: 'All categories',
        presets: [{
                name: 'All categories',
                options: []
            },
            {
                name: 'My categories',
                options: ['a', 'c']
            }
        ]
    });

});

// multiselect rating ends

// hotel filter    

$(".hotelfilter").click(function() {
    $(".filter-sec").show();
});

$(".hotelsort").click(function() {
    $(".hotelsortlisting").show();
});
$(".cancel-btn-mb-sort").click(function() {
    $(".hotelsortlisting").hide();
});


$(".hotel-mb-search").click(function() {
    $(".mobile-hotel-search-form").show();
});
$(".cancel-btn").click(function() {
    $(".mobile-hotel-search-form").hide();
});
$(".cancel-btnsearch").click(function() {
    $(".mobile-hotel-search-form").hide();
});


// fixed on scroll start


$(window).scroll(function() {
    var sticky = $('.filter-box'),
        scroll = $(window).scrollTop();

    if (scroll >= 400) sticky.addClass('fixedform');
    else sticky.removeClass('fixedform');
});



//  fixed on scroll ends


// 1st oct start

$(".hotel-dt-select-btn-cls").click(function() {
    $('html,body').animate({
            scrollTop: $(".hotel-dt-fixed").offset().top
        },
        'slow');





});


$(function() {
    $(".carsortinglist li").on("click", function(e) {
        $(this).addClass("active").siblings().removeClass("active");
        $(this).children('i').toggleClass('fa-long-arrow-up fa-long-arrow-down');
    });

    $(".ui-cls.dropdown-rating-cls").click(function() {
    $(".menu-rating").toggle();
});

})
// 1st oct ends

Youez - 2016 - github.com/yon3zu
LinuXploit