SHARE
TWEET

Untitled

a guest Jun 29th, 2018 19 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html <?php language_attributes(); ?>>
  3. <head>
  4.   <meta charset="<?php bloginfo( 'charset' ); ?>">
  5.   <meta name="viewport" content="width=device-width, initial-scale=1">
  6.   <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" />
  7.   <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:300">
  8.   <?php $health_data= health_care_get_options(); ?>
  9.   <?php if($health_data['upload_image_favicon']!=''){ ?>
  10.     <link rel="shortcut icon" href="<?php  echo $health_data['upload_image_favicon']; ?>" />
  11.     <?php } ?>
  12.   <?php wp_head(); ?>
  13. </head>
  14. <?php if($health_data['custom_bg']=='on') { ?>
  15. <body <?php body_class(); ?> >
  16. <?php }else{ ?>
  17. <body <?php body_class(); ?> <?php if($health_data['site_bg']){ ?> style="background:url('<?php echo $health_data['site_bg']; ?>') repeat fixed;" <?php } ?>>
  18. <?php } ?>
  19. <div id="wrapper" class="<?php echo $health_data['site_layout']; ?>">
  20. <!-- Start Header-->
  21. <header id="top">
  22.     <div class="container-fluid top">
  23.         <div class="container">
  24.         <div class="col-md-4 header-info">
  25.             <?php if($health_data['social_phone']!=''){ ?>         
  26.             <a href="tel:<?php echo $health_data['social_phone'];?>" ><span><i class="fa fa-phone"></i><?php echo $health_data['social_phone'];?> </span></a><?php } ?>
  27.             <?php if($health_data['social_email']!=''){ ?>  
  28.             <a href="mailto:<?php echo $health_data['social_email'];?>" ><span><i class="fa fa-envelope"></i> <?php echo $health_data['social_email'];?> </span></a><?php } ?>
  29.         </div>
  30.         <div class="col-md-6 header-timing">
  31.                 <?php if($health_data['social_timing']!='') echo '<span class="timing">'.$health_data['social_timing'].'</span>';?>
  32.             </div>
  33.         <?php if($health_data['header_social_icon']=='on'){ ?>
  34.             <div class="col-md-2 header-social">
  35.                 <?php for($i=1; $i<=6; $i++){
  36.                         if($health_data['social_icon_'.$i]!=''){
  37.                     ?>
  38.                     <a href="<?php echo $health_data['social_link_'.$i]; ?>" target="_blank"><span class="<?php echo $health_data['social_icon_'.$i]; ?> header-icon"></span></a>
  39.                         <?php }
  40.                     } ?>
  41.             </div>
  42.         <?php } ?>
  43.                
  44.            
  45.         </div>
  46.     </div>
  47.     <nav class="navbar navbar-static-top marginBottom-0 menu <?php if($health_data['fix_header']=='on') echo 'menu-layout'; ?>">
  48.     <div class="container">
  49.         <div class="navbar-header">
  50.             <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-1">
  51.                 <span class="sr-only"><?php _e('Toggle navigation','weblizar'); ?></span>
  52.                 <span class="icon-bar black"></span>
  53.                 <span class="icon-bar black"></span>
  54.                 <span class="icon-bar black"></span>
  55.             </button>
  56.                   <a href="<?php echo esc_url(home_url( '/' )); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home" class="navbar-brand">
  57.                   <?php if($health_data['upload_image_logo']!=''){ ?>
  58.                     <img src="<?php echo $health_data['upload_image_logo']; ?>" style="height:<?php echo $health_data['logo_height']; ?>px; width:<?php echo $health_data['logo_width']; ?>px;" alt="<?php echo get_bloginfo('name'); ?>"/>  
  59.                  <?php }else{
  60.                  echo '<span class="site_title">'.get_bloginfo('name').'</span>'; } ?></a>
  61.             </div>
  62.             <div class="collapse navbar-collapse" id="navbar-collapse-1">
  63.                 <?php wp_nav_menu( array(
  64.                         'theme_location' => 'primary',
  65.                         'menu_class' => 'nav navbar-nav navbar-right',
  66.                         'fallback_cb' => 'weblizar_fallback_page_menu',
  67.                         'walker' => new weblizar_nav_walker(),
  68.                         )
  69.                         );  ?>
  70.             </div><!-- /.navbar-collapse -->
  71.         </div>
  72.     </nav>
  73. </header>
  74. <!-- End Header -->
  75.  
  76.     <div class="home_menu">
  77.     <div id="scroll_menu">
  78.     <a href="<?php echo esc_url(home_url( '/' )); ?>" class="btn " data-toggle="tooltip" title="Home"><i class="fa fa-home"></i></a><br />
  79.     <a href="<?php echo esc_url(home_url( '/' )); ?>#myCarousel" class="btn " data-toggle="tooltip" title="Slider"><i class="fa fa-caret-square-o-right"></i></a><br />
  80.     <?php $data = $health_data['home_page_layout'];
  81.         if($data)
  82.         {   foreach($data as $key=>$value)
  83.             {   switch($value)
  84.                 {   case 'callout': ?>
  85.     <a href="<?php if(!is_home()){ echo esc_url(home_url( '/' )); } ?>#callout-section" class="btn " data-toggle="tooltip" title="callout"><i class="fa fa-yelp"></i></a><br />
  86.     <?php break;
  87.     case 'services': ?>
  88.     <a href="<?php if(!is_home()){ echo esc_url(home_url( '/' )); } ?>#service-section" class="btn " data-toggle="tooltip" title="services"><i class="fa fa-picture-o"></i></a><br />
  89.     <?php break;
  90.     case 'deptt': ?>
  91.     <a href="<?php if(!is_home()){ echo esc_url(home_url( '/' )); } ?>#deptt" class="btn " data-toggle="tooltip" title="deptt"><i class="fa fa-desktop"></i></a><br />
  92.     <?php break;
  93.     case 'doctor': ?>
  94.     <a href="<?php if(!is_home()){ echo esc_url(home_url( '/' )); } ?>#deppartment-section" class="btn" data-toggle="tooltip" title="doctor"><i class="fa fa-book"></i></a><br />
  95.     <?php break;
  96.      case 'testimonial': ?>
  97.     <a href="<?php if(!is_home()){ echo esc_url(home_url( '/' )); } ?>#testimonial-section" class="btn " data-toggle="tooltip" title="testimonial"><i class="fa fa-user"></i></a><br />
  98.     <?php break;
  99.     case 'blog': ?>
  100.     <a href="<?php if(!is_home()){ echo esc_url(home_url( '/' )); } ?>#blog-section" class="btn " data-toggle="tooltip" title="blog"><i class="fa fa-users"></i></a><br />
  101.     <?php break;
  102.     case 'gallery': ?>
  103.     <a href="<?php if(!is_home()){ echo esc_url(home_url( '/' )); } ?>#gallery-section" class="btn " data-toggle="tooltip" title="gallery"><i class="fa fa-heart"></i></a><br />
  104.     <?php break;
  105.     case 'facts': ?>
  106.     <a href="<?php if(!is_home()){ echo esc_url(home_url( '/' )); } ?>#facts-section" class="btn " data-toggle="tooltip" title="facts"><i class="fa fa-sort-numeric-desc"></i></a><br />
  107.     <?php break;
  108.     case 'clients': ?>
  109.     <a href="<?php if(!is_home()){ echo esc_url(home_url( '/' )); } ?>#client-section" class="btn " data-toggle="tooltip" title="clients"><i class="fa fa-users"></i></a><br />
  110.     <?php break;
  111.     case 'appointment': ?>
  112.     <a href="<?php if(!is_home()){ echo esc_url(home_url( '/' )); } ?>#appoinment" class="btn " data-toggle="tooltip" title="appointment"><i class="fa fa-phone-square"></i></a><br />
  113.     <?php break; }
  114.             }
  115.         }
  116.     ?>
  117.     </div>
  118.     <div class="scroll_toggle">
  119.     <i class="fa fa-arrow-circle-o-right" id="bt1" onclick="setVisibility('scroll_menu'); "></i>
  120.     </div>
  121.     </div>
  122.    
  123.     <script>
  124.     //Fade Up Menu
  125. jQuery(window).scroll(function() {
  126. // 100 = The point you would like to fade the nav in.
  127.  
  128.     if (jQuery(window).scrollTop() > 100 ){
  129.     jQuery('.top_fix').addClass('fd');
  130.  } else {
  131.     jQuery('.top_fix').removeClass('fd');    
  132.     };      
  133. });
  134.  
  135. //parallax menu
  136. function setVisibility(id) {
  137. if(document.getElementById('bt1').value=='Hide'){
  138. document.getElementById('bt1').value = 'Show';
  139. document.getElementById(id).style.display = 'none';
  140. }else{
  141. document.getElementById('bt1').value = 'Hide';
  142. document.getElementById(id).style.display = 'inline';
  143. }
  144. }
  145.    
  146. //image rotate
  147. jQuery(document).ready(function() {
  148.     var rotation=0;
  149.     var trans = "all 0.6s ease-out";
  150.     jQuery(document).on('click','#bt1',function(){
  151.         rotation+=180;
  152.         if(rotation == 360){
  153.         rotation=0;
  154.     }
  155.         var rotate = "rotate(" + rotation + "deg)"
  156.         jQuery("#bt1").css({   
  157.          "-webkit-transform": rotate,
  158.  
  159.                 "-moz-transform": rotate,
  160.  
  161.                 "-o-transform": rotate,
  162.  
  163.                 "msTransform": rotate,
  164.  
  165.                 "transform": rotate,
  166.  
  167.                 "-webkit-transition": trans,
  168.  
  169.                 "-moz-transition": trans,
  170.  
  171.                 "-o-transition": trans,
  172.  
  173.                 "transition": trans
  174.         });
  175.     });
  176. });
  177.  
  178.    
  179.    
  180.     //parallax js
  181.     jQuery(document).ready(function() {
  182.     jQuery('.testimonail').parallax("50%", 0.4);
  183.     jQuery('.cover').parallax("50%", 0.4);
  184.     jQuery('.cover2').parallax("50%", 0.4);
  185.     jQuery('.facts').parallax("50%", 0.4);
  186.     jQuery('.carousel-caption').parallax("50%", 0.4);
  187.     });
  188.    
  189.     //menu scroll js
  190.         jQuery('a[href*="#"]:not([href="#"]):not([href="#show"]):not([href="#hide"])').click(function() {
  191.        if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
  192.            var target = jQuery(this.hash);
  193.            target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
  194.            if (target.length) {
  195.                jQuery('html,body').animate({
  196.                    scrollTop: target.offset().top
  197.                }, 1000);
  198.                return false;
  199.            }
  200.        }
  201. });
  202.     </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top