HEX
Server: Apache/2.4.46 (Ubuntu)
System: Linux localhost 5.11.0-49-generic #55-Ubuntu SMP Wed Jan 12 17:36:34 UTC 2022 x86_64
User: root (0)
PHP: 7.4.16
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/sarvodayahospital/public/js/custom.min.js
function autotab(e,s){e.getAttribute&&e.value.length==e.getAttribute("maxlength")&&s.focus()}function dragOverHandler(e){$(".drop-file").addClass("file-in-drop-zone"),$(".before-dropping").addClass("d-none"),$(".dropped-file").removeClass("d-none"),$(".dropped-file p").html("Drop your File here"),e.preventDefault()}function dragLeaveHandler(e){var s=$('#prescription input[type="file"]').val();s?($(".drop-file").removeClass("file-in-drop-zone"),$(".before-dropping").addClass("d-none"),$(".dropped-file").removeClass("d-none"),$(".dropped-file p").html(s.replace(/C:\\fakepath\\/i,""))):($(".drop-file").removeClass("file-in-drop-zone"),$(".before-dropping").removeClass("d-none"),$(".dropped-file").addClass("d-none")),e.preventDefault()}$(document).scroll((function(){$(this).scrollTop()>450?$(".call-mob").addClass("show-btn"):$(".call-mob").removeClass("show-btn")})),$(".footerBottomLink").find("a").addClass("d-inline-block me-3 f-14 no-underline text-white"),$(".notification_img").hide(),$(".footer-close").hide(),$(document).ready((function(){$(window).width()>768?($(".enquiryBtn").click((function(e){e.preventDefault(),$(".overlay").addClass("modal-backdrop fade show"),$(".footer-section").addClass("darkBlueBgColor"),$(".footer-section").removeClass("bgBlueDark"),$(".notification_img").show(),$("#call-back-form").css({padding:"20px"}),$(".footer-section").animate({height:120},200),$("#name").focus(),$(".footer-close").show()})),$(".footer-close").click((function(e){e.preventDefault(),$(".overlay").removeClass("modal-backdrop fade show"),$(".footer-section").addClass("bgBlueDark"),$(".notification_img").hide(),$("#call-back-form").css({padding:"0"}),$(".footer-section").removeClass("darkBlueBgColor"),$(".footer-section").animate({height:70},200),$(".footer-close").hide()}))):$(".enquiryBtn").click((function(){window.location.href="#free-call"}))})),$(document).ready((function(){$(".keywords-sec").hide(),$(".close-footer > span").click((function(){$(".keywords-sec").slideToggle(),$(this).find("i").toggleClass("rotate-footer-close-arrow"),"Close footer"===$(this).find("span").text()?$(this).find("span").text("Open footer"):($(this).find("span").text("Close footer"),$("html, body").animate({scrollTop:$(document).height()},1e3))}))})),$(".collapser").click((function(){$(this).parent().next().collapse("toggle"),$(this).toggleClass("package-details"),$(".collapser").not(this).parent().next().collapse("hide"),$(".collapser").not(this).removeClass("package-details")})),$(".collapser").click((function(){$(this).parent().next().collapse("toggle"),$(this).toggleClass("all-reports"),$(".collapser").not(this).parent().next().collapse("hide"),$(".collapser").not(this).removeClass("all-reports")})),new Swiper(".certificate-slider",{speed:600,autoHeight:!0,loop:!1,autoplay:{delay:5e3,disableOnInteraction:!1},slidesPerView:"auto",pagination:{el:".swiper-pagination",type:!1},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{320:{slidesPerView:1.2,spaceBetween:20},640:{slidesPerView:2.4,spaceBetween:20},768:{slidesPerView:3,spaceBetween:20},1200:{slidesPerView:4,spaceBetween:20}}}),$(".patient-testimonial-slider").slick({dots:!1,arrows:!0,autoplay:!1,speed:800,margin:20,slidesToShow:4,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{arrows:!0,slidesToShow:4,slidesToScroll:1,dots:!1}},{breakpoint:992,settings:{dots:!1,autoplay:!0,arrows:!1,slidesToShow:2,slidesToScroll:1}},{breakpoint:480,settings:{dots:!1,autoplay:!0,arrows:!1,slidesToShow:1,slidesToScroll:1}}]});var lastId,topMenu=$("#menu"),topMenuHeight=topMenu.outerHeight()+15,menuItems=topMenu.find("a"),scrollItems=menuItems.map((function(){var e=$($(this).attr("href"));if(e.length)return e}));menuItems.click((function(e){var s=$(this).attr("href"),o="#"===s?0:$(s).offset().top-topMenuHeight+200;$("html, body").stop().animate({scrollTop:o},100),e.preventDefault()})),$(window).scroll((function(){var e=$(this).scrollTop()+topMenuHeight,s=scrollItems.map((function(){if($(this).offset().top<e)return this})),o=(s=s[s.length-1])&&s.length?s[0].id:"";lastId!==o&&(lastId=o,menuItems.parent().removeClass("active").end().filter("[href='#"+o+"']").parent().addClass("active"))})),new Swiper(".specialities",{speed:600,loop:!1,autoplay:{delay:3e3,disableOnInteraction:!1},slidesPerView:"auto",pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{320:{slidesPerView:1.5,spaceBetween:20},1200:{slidesPerView:3,spaceBetween:20}}}),new Swiper(".network-slider",{speed:600,loop:!1,autoplay:{delay:5e3,disableOnInteraction:!1},slidesPerView:"auto",pagination:{el:".swiper-pagination",type:"false",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{320:{slidesPerView:1.3,spaceBetween:20},1200:{slidesPerView:3,spaceBetween:20}}}),new Swiper(".doctor-testimonial-slider",{speed:600,loop:!1,autoplay:{delay:5e3,disableOnInteraction:!1},slidesPerView:"auto",pagination:{el:".swiper-pagination",type:"false",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{1200:{slidesPerView:3,spaceBetween:20},320:{slidesPerView:1.3,spaceBetween:20}}}),$(".technology-slider").slick({dots:!1,infinite:!1,speed:300,slidesToShow:4,slidesToScroll:4,responsive:[{breakpoint:1024,settings:{slidesToShow:4,slidesToScroll:4,infinite:!0}},{breakpoint:992,settings:{slidesToShow:3,slidesToScroll:3,infinite:!0}},{breakpoint:768,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:580,settings:{slidesToShow:1,slidesToScroll:1}}]}),new Swiper(".swiper-container",{speed:600,loop:!1,autoplay:{delay:5e3,disableOnInteraction:!1},slidesPerView:"auto",pagination:{el:".swiper-pagination",type:"false",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{320:{slidesPerView:1.5,spaceBetween:20,spaceBetween:20},600:{slidesPerView:2.5,spaceBetween:20},900:{slidesPerView:2.5,spaceBetween:20},1200:{slidesPerView:3.15,spaceBetween:20}}}),new Swiper(".technology",{speed:600,loop:!1,autoplay:{delay:5e3,disableOnInteraction:!1},slidesPerView:"auto",pagination:{el:".swiper-pagination",type:"false",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{320:{slidesPerView:1.2,spaceBetween:20},1200:{slidesPerView:2,spaceBetween:20}}}),new Swiper(".blogs",{speed:600,loop:!1,autoplay:{delay:5e3,disableOnInteraction:!1},slidesPerView:"auto",pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{320:{slidesPerView:1.5,spaceBetween:20},1200:{slidesPerView:3,spaceBetween:20}}}),new Swiper(".testimonial",{speed:600,loop:!0,autoplay:{delay:5e3,disableOnInteraction:!1},slidesPerView:"auto",pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},breakpoints:{320:{slidesPerView:1.3,spaceBetween:20},1200:{slidesPerView:3,spaceBetween:20}}}),$(".blogs-slider").slick({dots:!1,arrows:!0,autoplay:!1,speed:800,draggable:!0,easing:!0,swipe:!0,useTransform:!0,zIndex:0,adaptiveHeight:!0,infinite:!1,slidesToShow:4,slidesToScroll:1,responsive:[{breakpoint:1200,settings:{arrows:!0,slidesToShow:3,slidesToScroll:1,dots:!1}},{breakpoint:992,settings:{dots:!1,arrows:!0,slidesToShow:3,slidesToScroll:1}},{breakpoint:767,settings:{dots:!1,arrows:!1,slidesToShow:2.3,slidesToScroll:1}},{breakpoint:480,settings:{dots:!1,arrows:!1,slidesToShow:1.2,slidesToScroll:1}}]}),$(window).on("load",(function(){$(".unsure-slider").slick({dots:!1,arrows:!0,autoplay:!1,speed:800,slidesToShow:2,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{arrows:!0,slidesToShow:2,slidesToScroll:1,dots:!1}},{breakpoint:992,settings:{dots:!1,arrows:!0,slidesToShow:2,slidesToScroll:1}},{breakpoint:600,settings:{dots:!1,arrows:!0,slidesToShow:2,slidesToScroll:1}},{breakpoint:480,settings:{dots:!1,arrows:!1,margin:10,slidesToShow:2,slidesToScroll:1}}]})})),$(".awards-slider").slick({dots:!1,arrows:!0,autoplay:!1,speed:800,draggable:!0,easing:!0,swipe:!0,useTransform:!0,zIndex:0,adaptiveHeight:!0,infinite:!1,slidesToShow:3,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{arrows:!0,slidesToShow:3,slidesToScroll:1,dots:!1}},{breakpoint:768,settings:{dots:!1,arrows:!1,slidesToShow:2,slidesToScroll:1}},{breakpoint:480,settings:{dots:!1,arrows:!1,slidesToShow:1.2,slidesToScroll:1}}]}),$(".rare-cases-slider").slick({dots:!1,arrows:!0,autoplay:!1,speed:800,draggable:!0,easing:!0,swipe:!0,useTransform:!0,zIndex:0,adaptiveHeight:!0,infinite:!1,slidesToShow:3,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{arrows:!0,slidesToShow:4,slidesToScroll:1,dots:!1}},{breakpoint:992,settings:{dots:!1,arrows:!0,slidesToShow:3,slidesToScroll:1}},{breakpoint:767,settings:{dots:!1,arrows:!1,slidesToShow:3,slidesToScroll:1}},{breakpoint:480,settings:{dots:!1,arrows:!1,slidesToShow:1.2,slidesToScroll:1}}]}),$(".doctor-testimonial-slider").slick({dots:!1,arrows:!0,autoplay:!1,speed:800,margin:20,draggable:!0,easing:!0,swipe:!0,useTransform:!0,zIndex:0,adaptiveHeight:!0,infinite:!1,slidesToShow:2,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{arrows:!0,slidesToShow:2,slidesToScroll:1,dots:!1}},{breakpoint:992,settings:{dots:!1,arrows:!0,slidesToShow:2,slidesToScroll:1}},{breakpoint:767,settings:{dots:!1,arrows:!1,slidesToShow:2.2,slidesToScroll:1}},{breakpoint:480,settings:{dots:!1,autoplay:!0,arrows:!1,slidesToShow:1.2,slidesToScroll:1}}]}),$(".home-testimonial-slider").slick({dots:!1,arrows:!0,autoplay:!1,speed:800,margin:20,draggable:!0,easing:!0,swipe:!0,useTransform:!0,zIndex:0,adaptiveHeight:!0,infinite:!1,slidesToShow:2,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{arrows:!0,slidesToShow:2,slidesToScroll:1,dots:!1}},{breakpoint:992,settings:{dots:!1,arrows:!0,slidesToShow:2,slidesToScroll:1}},{breakpoint:767,settings:{dots:!1,arrows:!1,slidesToShow:2.2,slidesToScroll:1}},{breakpoint:480,settings:{dots:!1,arrows:!1,autoplay:!0,slidesToShow:1.2,slidesToScroll:1}}]}),$(".hospital-testimonial-slider").slick({dots:!1,arrows:!0,autoplay:!0,speed:800,margin:20,draggable:!0,easing:!0,swipe:!0,useTransform:!0,zIndex:0,adaptiveHeight:!0,infinite:!1,slidesToShow:2,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{arrows:!0,slidesToShow:2,slidesToScroll:1,dots:!1}},{breakpoint:992,settings:{dots:!1,arrows:!0,slidesToShow:2,slidesToScroll:1}},{breakpoint:767,settings:{dots:!1,arrows:!1,slidesToShow:2.2,slidesToScroll:1}},{breakpoint:480,settings:{dots:!1,arrows:!1,autoplay:!0,slidesToShow:1.2,slidesToScroll:1}}]}),$(".international-testimonial-slider").slick({dots:!1,arrows:!0,autoplay:!1,speed:800,margin:20,draggable:!0,easing:!0,swipe:!0,useTransform:!0,zIndex:0,adaptiveHeight:!0,infinite:!1,slidesToShow:4,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{arrows:!0,slidesToShow:4,slidesToScroll:1,dots:!1}},{breakpoint:992,settings:{dots:!1,arrows:!0,slidesToShow:4,slidesToScroll:1}},{breakpoint:767,settings:{dots:!1,arrows:!1,slidesToShow:2.2,slidesToScroll:1}},{breakpoint:480,settings:{dots:!1,arrows:!1,autoplay:!0,slidesToShow:1.2,slidesToScroll:1}}]}),$(".for-doctor-testimonials").slick({dots:!1,arrows:!0,autoplay:!1,speed:800,margin:20,draggable:!0,easing:!0,swipe:!0,useTransform:!0,zIndex:0,adaptiveHeight:!0,infinite:!1,slidesToShow:3,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{arrows:!0,slidesToShow:4,slidesToScroll:1,dots:!1}},{breakpoint:600,settings:{dots:!1,arrows:!1,slidesToShow:2.5,slidesToScroll:1}},{breakpoint:480,settings:{dots:!1,arrows:!1,slidesToShow:1.5,slidesToScroll:1}}]}),$(".patients-t-slider").slick({dots:!1,arrows:!0,autoplay:!0,speed:800,slidesToShow:4,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{arrows:!0,slidesToShow:4,slidesToScroll:1,dots:!1}},{breakpoint:600,settings:{dots:!1,arrows:!0,slidesToShow:2,slidesToScroll:1}},{breakpoint:480,settings:{dots:!1,arrows:!0,slidesToShow:1,slidesToScroll:1}}]}),$(".patients-t-slider1").slick({dots:!1,arrows:!0,autoplay:!0,speed:800,slidesToShow:2,slidesToScroll:1,spaceBetween:60,responsive:[{breakpoint:1024,settings:{arrows:!0,slidesToShow:2,slidesToScroll:1,spaceBetween:20,dots:!1}},{breakpoint:600,settings:{dots:!1,arrows:!0,slidesToShow:1,spaceBetween:20,slidesToScroll:1}},{breakpoint:480,settings:{dots:!1,arrows:!0,slidesToShow:1,spaceBetween:20,slidesToScroll:1}}]}),$(window).scroll((function(){$(this).scrollTop()>0?($(".header").addClass("header-fixed"),$("body").css("padding-top","60px"),$(".header-top .collapse").removeClass("show")):($(".header").removeClass("header-fixed"),$("body").css("padding-top","0px"))})),$(".header-search-icon").click((function(){$(".search-overlay-wrapper").addClass("show-search")})),$(".close-search-btn").click((function(){$(".search-overlay-wrapper").removeClass("show-search")})),$(".filter-toggle").click((function(){$(".filter-mobile").addClass("show-filter")})),$(".search-blog-icon").click((function(){$(".search-bar-blog").addClass("show-hide-input")})),$(".close-filter").click((function(){$(".filter-mobile").removeClass("show-filter")})),$(".toggle-btn-nav").click((function(){$(".navbar-mobile").addClass("show-nav")})),$(".close-nav").click((function(){$(".navbar-mobile").removeClass("show-nav")})),$(".has-dropdown .dropdown-item").click((function(){$(this).addClass("active-dropdown")})),$(".back-menu-btn").click((function(){$(this).parents("li.nav-item.has-dropdown").eq(0).children("a").removeClass("active-dropdown")})),$(document).ready((function(){$(document).on("click","body",(function(e){$(e.target).is(".search-blog-icon ")||$(e.target).is("#q")||$(".search-bar-blog").removeClass("show-hide-input")}))}));let mybutton=document.getElementById("back-top");function scrollFunction(){document.body.scrollTop>20||document.documentElement.scrollTop>20?mybutton.style.display="block":mybutton.style.display="none"}function topFunction(){document.body.scrollTop=0,document.documentElement.scrollTop=0}window.onscroll=function(){scrollFunction()};var lastScroll=0;function setCookie(e,s,o){var i="";if(o){var t=new Date;t.setTime(t.getTime()+24*o*60*60*1e3),i="; expires="+t.toUTCString()}document.cookie=e+"="+(s||"")+i+"; path=/"}function getCookie(e){for(var s=e+"=",o=document.cookie.split(";"),i=0;i<o.length;i++){for(var t=o[i];" "==t.charAt(0);)t=t.substring(1,t.length);if(0==t.indexOf(s))return t.substring(s.length,t.length)}return!1}navbar=document.getElementById("header"),window.addEventListener("scroll",(function(){var e=window.pageYOffset||document.documentElement.scrollTop;e>lastScroll?(navbar.style.top="-85px",$(".header-fixed .navbar-brand img").css("min-width","170px"),$(".header-fixed .navbar-brand img").css("width","170px"),$(".header-fixed .navbar-brand img").css("margin-top","0")):(navbar.style.top="0",$(".header-fixed .navbar-brand img").css("min-width","230px"),$(".header-fixed .navbar-brand img").css("width","230px"),$(".header-fixed .navbar-brand img").css("margin-top","-46px")),lastScroll=e})),$(".search-icon-mobile").click((function(){$(".mobile-search-btn").addClass("show-mobile-search")})),$(".close-search-mobile").click((function(){$(".mobile-search-btn").removeClass("show-mobile-search")})),$(".chairman-mobile").click((function(){$(".email-ico-list-mobile").addClass("show-chairman-link")})),$(".close-chairman-m i").click((function(){$("li.email-ico-list-mobile").removeClass("show-chairman-link")})),$(".copyUrl").on("click",(function(){var e=document.getElementById("copied_url");$(".profile-url").select(),e.value=$(this).attr("data-url"),e.select(),navigator.clipboard.writeText(e.value),document.execCommand("copy"),$(this).html("Copied"),setTimeout((function(){$(".copyUrl").html("Copy Link"),$(".profile-url").select()}),1e3)}));