Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html <?php language_attributes(); ?>>
  3. <head>
  4. <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
  5. <meta charset="<?php bloginfo( 'charset' ); ?>">
  6. <title><?php wp_title('' ); ?></title>
  7. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  8. <meta http-equiv="content-language" content="en-us" />
  9. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  10. <?php wp_head();?>
  11. </head>
  12. <body <?php body_class(); ?>>
  13. <?php global $ainex; ?>
  14. <?php if(isset($ainex['theme_view_layout'])): ?>
  15. <?php if ($ainex['theme_view_layout']=='boxed'): ?>
  16. <div class="wrapper_boxed">
  17. <?php endif; ?>
  18. <?php else : ?>
  19. <div class="wrapper_boxed">
  20. <?php endif; ?>
  21. <div class="site_wrapper">
  22. <!-- HEADER -->
  23. <div class="header_inner">
  24. <header id="header">
  25. <div class="main_header">
  26. <?php if ($ainex['header_switch_top']): ?>
  27. <!-- Top header bar -->
  28. <div id="topHeader">
  29. <div class="wrapper">
  30. <div class="top_contact_info">
  31. <div class="container">
  32. <?php if ($ainex['header_switch_date']): ?>
  33. <div class="date_wrap">
  34. <script type="text/javascript">
  35. var mydate=new Date()
  36. var year=mydate.getYear()
  37. if (year < 1000)
  38. year+=1900
  39. var day=mydate.getDay()
  40. var month=mydate.getMonth()
  41. var daym=mydate.getDate()
  42. if (daym<10)
  43. daym="0"+daym
  44. var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
  45. document.write("<b class='date'>"+montharray[month]+" "+daym+", "+year+"</b>")
  46. </script>
  47. </div><!-- end date -->
  48. <?php endif ?>
  49. <?php get_template_part('content-parts/header','top-style' ); ?>
  50. </div>
  51. </div><!-- end top contact info -->
  52. </div>
  53. </div>
  54. <?php endif ?>
  55.  
  56. <!-- Top header bar -->
  57. <div id="trueHeader">
  58. <div class="wrapper">
  59. <div class="container">
  60. <!-- Logo -->
  61. <div class="one_fourth">
  62. <?php if ($ainex['custom_logo']['url']): ?>
  63. <a href="<?php echo get_home_url(); ?>" class="ainex_logo">
  64. <img src="<?php echo $ainex['custom_logo']['url']; ?>" alt="">
  65. </a>
  66. <?php else : ?>
  67. <a href="<?php echo get_home_url(); ?>" id="logo"></a>
  68. <?php endif; ?>
  69. </div>
  70. <!-- Menu -->
  71. <div class="three_fourth last">
  72.  
  73. <nav id="access" class="navbar navbar-inverse" role="navigation">
  74. <!-- Brand and toggle get grouped for better mobile display -->
  75. <div class="navbar-header">
  76. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
  77. <span class="icon-bar"></span>
  78. <span class="icon-bar"></span>
  79. <span class="icon-bar"></span>
  80. <span class="sr-only">Menu</span>
  81. </button>
  82. <a class="navbar-brand" href="<?php echo get_home_url(); ?>"><i class="fa fa-home fa-fw"></i> <img src="<?php echo $ainex['custom_logo']['url']; ?>" alt=""></a>
  83. </div>
  84. <?php get_template_part('content-parts/studio', 'nav'); ?>
  85. </nav
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. </header>
  92. </div>
  93. <div class="clearfix"></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement