Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.42 KB | None | 0 0
  1. <?php global $teo_restart; ?>
  2. <!DOCTYPE html>
  3. <!--[if lt IE 7 ]><html style="margin-top: 0 !important" class="ie ie6" lang="en"> <![endif]-->
  4. <!--[if IE 7 ]><html style="margin-top: 0 !important" class="ie ie7" lang="en"> <![endif]-->
  5. <!--[if IE 8 ]><html style="margin-top: 0 !important" class="ie ie8" lang="en"> <![endif]-->
  6. <!--[if (gte IE 9)|!(IE)]><!--> <!--<![endif]-->
  7. <html style="margin-top: 0 !important" <?php language_attributes(); ?>> <!--<![endif]-->
  8. <head>
  9. <meta property="twitter:account_id" content="4503599629051786" />
  10. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  11. <title><?php wp_title('-');?></title>
  12. <!-- Mobile Specific Metas
  13. ================================================== -->
  14. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  15. <!--[if lt IE 9]>
  16. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  17. <![endif]-->
  18.  
  19. <script type="text/javascript">
  20. var templateDir = "<?php echo get_template_directory_uri(); ?>";
  21. </script>
  22.  
  23.  
  24. <?php global $teo_restart;
  25. if(isset($teo_restart['integration_header'])) echo $teo_restart['integration_header'] . PHP_EOL;
  26. wp_head(); ?>
  27. </head>
  28. <body <?php body_class();?>>
  29. <div class="cover">
  30. <div class="nav2">
  31. <?php wp_nav_menu(array(
  32. 'theme_location' => 'top-menu',
  33. 'container' => '',
  34. 'fallback_cb' => 'show_top_menu',
  35. 'echo' => true,
  36. 'walker' => new description_walker(),
  37. 'depth' => 1 ) ); ?>
  38.  
  39. </div> <!-- end nav2 -->
  40. <div id="intro">
  41.  
  42. <div class="intro-content">
  43.  
  44. <?php
  45. if(isset($teo_restart['logo']) && $teo_restart['logo'] != '')
  46. $logoPath = $teo_restart['logo'];
  47. else
  48. $logoPath = get_template_directory_uri() . '/images/intro-logo.png';
  49. ?>
  50. <img class="logo" src="<?php echo $logoPath;?>" alt="<?php bloginfo('name');?>" />
  51.  
  52. <?php if(isset($teo_restart['topheader_slogan']) && $teo_restart['topheader_slogan'] != '') { ?>
  53. <p class="intro-text1">
  54. <span class="intro-line"></span>
  55. <?php echo $teo_restart['topheader_slogan'];?>
  56. <span class="intro-line"></span>
  57. </p>
  58. <?php } ?>
  59.  
  60. <?php if(isset($teo_restart['topheader_text']) && $teo_restart['topheader_text'] != '') { ?>
  61. <h1><?php echo $teo_restart['topheader_text'];?></h1>
  62. <?php } ?>
  63.  
  64. <?php if(isset($teo_restart['topheader_smalltext']) && $teo_restart['topheader_smalltext'] != '') { ?>
  65. <p class="intro-text2"><?php echo $teo_restart['topheader_smalltext'];?></p>
  66. <?php } ?>
  67.  
  68. <ul class="intro-social">
  69. <?php if(isset($teo_restart['facebook_url']) && $teo_restart['facebook_url']) { ?>
  70. <li>
  71. <a href="<?php echo $teo_restart['facebook_url'];?>">
  72. <img src="<?php echo get_template_directory_uri() . '/';?>images/icn-intro-fb.png" alt="" />
  73. Facebook
  74. </a>
  75. </li>
  76. <?php } ?>
  77.  
  78. <?php if(isset($teo_restart['twitter_url']) && $teo_restart['twitter_url']) { ?>
  79. <li>
  80. <a href="<?php echo $teo_restart['twitter_url'];?>">
  81. <img src="<?php echo get_template_directory_uri() . '/';?>images/icn-intro-twitter.png" alt="" />
  82. Twitter
  83. </a>
  84. </li>
  85. <?php } ?>
  86.  
  87. <?php if(isset($teo_restart['gplus_url']) && $teo_restart['gplus_url']) { ?>
  88. <li>
  89. <a href="<?php echo $teo_restart['gplus_url'];?>">
  90. <img src="<?php echo get_template_directory_uri() . '/';?>images/icn-intro-gplus.png" alt="" />
  91. Google+
  92. </a>
  93. </li>
  94. <?php } ?>
  95.  
  96. <?php if(isset($teo_restart['pinterest_url']) && $teo_restart['pinterest_url']) { ?>
  97. <li>
  98. <a href="<?php echo $teo_restart['pinterest_url'];?>">
  99. <img src="<?php echo get_template_directory_uri() . '/';?>images/icn-intro-pint.png" alt="" />
  100. Pinterest
  101. </a>
  102. </li>
  103. <?php } ?>
  104.  
  105. <?php if(isset($teo_restart['youtube_url']) && $teo_restart['youtube_url']) { ?>
  106. <li>
  107. <a href="<?php echo $teo_restart['youtube_url'];?>">
  108. <img src="<?php echo get_template_directory_uri() . '/';?>images/icn-intro-youtube.png" alt="" />
  109. Youtube
  110. </a>
  111. </li>
  112. <?php } ?>
  113. </ul>
  114.  
  115. </div> <!-- end intro-content -->
  116. </div> <!-- end intro -->
  117. <div class="separator"></div>
  118. <div class="cover"></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement