Guest User

Untitled

a guest
Jun 15th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.80 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  3. <head>
  4. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>" charset="<?php bloginfo('charset'); ?>" />
  7. <meta name="generator" content="WordPress <?php bloginfo('version'); ?>"/>
  8. <title><?php wp_title( '|', true, 'right' ); ?></title>
  9. <!-- Theme Css -->
  10. <?php
  11. $quality_pro_options=theme_data_setup();
  12. $current_options = wp_parse_args( get_option( 'quality_pro_options', array() ), $quality_pro_options ); ?>
  13.  
  14.  
  15. <?php if($current_options['upload_image_favicon']!=''){ ?>
  16. <link rel="shortcut icon" href="<?php echo $current_options['upload_image_favicon']; ?>" />
  17. <?php } ?>
  18. <?php wp_head(); ?>
  19. </head>
  20. <?php
  21. if($current_options['layout_selector'] == "boxed")
  22. { $class="boxed"; }
  23. else
  24. { $class="wide"; }
  25. ?>
  26. <body <?php body_class($class); ?> >
  27. <!-- Wrapper -->
  28. <div id="wrapper">
  29. <!--Header Contact Details-->
  30. <div class="qua-head-detail">
  31. <div class="container">
  32. <div class="row">
  33. <div class="col-sm-5">
  34. <ul class="head-contact-info">
  35. <?php if($current_options['contact_phone_number']!=''){ ?>
  36. <li><i class="fa fa-phone-square"></i>+<?php echo $current_options['contact_phone_number']; ?></li>
  37. <?php } ?>
  38. <?php if($current_options['contact_email']!=''){ ?>
  39. <li><i class="fa fa-envelope"></i><?php echo $current_options['contact_email']; ?></li>
  40. <?php } ?>
  41. </ul>
  42. </div>
  43. <div class="col-sm-2">
  44. <?php if ( function_exists( 'the_msls' ) ) the_msls(); ?>
  45. </div>
  46. <div class="col-sm-5">
  47. <?php if($current_options['header_social_media_enabled']==true) { ?>
  48. <ul class="head-contact-social">
  49. <?php if($current_options['social_media_facebook_link']!='') { ?>
  50. <li class="facebook"><a href="<?php echo $current_options['social_media_facebook_link']; ?>"><i class="fa fa-facebook"></i></a></li>
  51. <?php }
  52. if($current_options['social_media_linkedin_link']!='') { ?>
  53. <li class="linkedin"><a href="<?php echo $current_options['social_media_linkedin_link']; ?>"><i class="fa fa-snapchat"></i></a></li>
  54. <?php }
  55. if($current_options['social_media_twitter_link']!='') { ?>
  56. <li class="twitter"><a href="<?php echo $current_options['social_media_twitter_link']; ?>"><i class="fa fa-twitter"></i></a></li>
  57. <?php }
  58. if($current_options['social_media_google_plus']!='') { ?>
  59. <li class="googleplus"><a href="<?php echo $current_options['social_media_google_plus']; ?>"><i class="fa fa-instagram"></i></a></li>
  60. <?php } ?>
  61. <li class="googleplus"><a href="<?php echo $current_options['social_youtub']; ?>"><i class="fa fa-youtube"></i></a></li>
  62. </ul>
  63. <?php } ?>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. <!--/Header Contact Details-->
  69. <!--Header Logo & Menus-->
  70. <div class="container">
  71. <nav class="navbar navbar-default" role="navigation">
  72. <div class="container-fluid">
  73. <!-- Brand and toggle get grouped for better mobile display -->
  74. <div class="navbar-header">
  75. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
  76. <span class="sr-only">Toggle navigation</span>
  77. <span class="icon-bar"></span>
  78. <span class="icon-bar"></span>
  79. <span class="icon-bar"></span>
  80. </button>
  81. <div class="logo pull-left" >
  82. <h1 class="qua-logo" >
  83. <a href="<?php echo home_url( '/' ); ?>">
  84. <?php
  85. if($current_options['text_title'] ==true)
  86. { echo "<div class=qua_title_head>" . get_bloginfo( ). "</div>"; }
  87. else if($current_options['upload_image_logo']!='')
  88. { ?>
  89. <img src="<?php echo $current_options['upload_image_logo']; ?>" style="height:<?php if($current_options['height']!='') { echo $current_options['height']; } else { "80"; } ?>px; width:<?php if($current_options['width']!='') { echo $current_options['width']; } else { "200"; } ?>px;" />
  90. <?php } else { ?>
  91. <img src="<?php echo WEBRITI_TEMPLATE_DIR_URI; ?>/images/logo.png">
  92. <?php } ?>
  93. </a>
  94. </h1>
  95. </div>
  96. </div>
  97. <!-- Collect the nav links, forms, and other content for toggling -->
  98. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  99. <?php
  100. wp_nav_menu( array(
  101. 'theme_location' => 'primary',
  102. 'container' => 'nav-collapse collapse navbar-inverse-collapse',
  103. 'menu_class' => 'nav navbar-nav navbar-right',
  104. 'fallback_cb' => 'webriti_fallback_page_menu',
  105. 'walker' => new webriti_nav_walker()
  106. )
  107. );
  108. ?>
  109. </div><!-- /.navbar-collapse -->
  110. </div><!-- /.container-fluid -->
  111. </nav>
  112. </div>
Add Comment
Please, Sign In to add comment