Advertisement
rimi1

Untitled

Mar 17th, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.19 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  3. <head profile="http://gmpg.org/xfn/11">
  4. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  5. <?php include (get_template_directory() . '/library/options/options.php'); ?>
  6. <title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title>
  7. <?php if($bp_existed == 'true') : ?>
  8. <?php do_action( 'bp_head' ) ?>
  9. <?php endif; ?>
  10. <?php font_show(); ?>
  11. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  12. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  13. <link rel="icon" href="<?php bloginfo('stylesheet_directory');?>/favicon.ico" type="images/x-icon" />
  14. <?php wp_head(); ?>
  15. <?php
  16. $slideshow = get_option('dev_studio_slideshow');{
  17. if ($slideshow == "yes"){
  18. $slideheight = get_option('dev_studio_slideone_height');
  19. if ($slideheight == ""){
  20. $slideheight = 300;
  21. $pheight = 150;
  22. }
  23. $wrapheight = ($slideheight + 40);
  24. ?>
  25. <style type="text/css" media="screen">
  26. #loopedSlider .container { width:960px; height:<?php echo $slideheight; ?>px; overflow:hidden; position:relative; cursor:pointer; }
  27. #slideshow { height:<?php echo $wrapheight; ?>px;}
  28. </style>
  29. <?php
  30. }
  31. else{
  32. }
  33. }
  34. ?>
  35. </head>
  36. <body <?php body_class() ?>>
  37. <div id="header-wrapper"><!-- start #header-wrapper -->
  38. <div id="header"><!-- start #header -->
  39. <?php if($bp_existed == 'true') : ?>
  40. <?php do_action( 'bp_before_header' ) ?>
  41. <?php endif; ?>
  42. <?php locate_template( array( '/library/components/branding-header.php' ), true ); ?>
  43. <?php locate_template( array( '/library/components/navigation.php' ), true ); ?>
  44. <?php if($bp_existed == 'true') : ?>
  45. <?php do_action( 'bp_header' ) ?>
  46. <?php endif; ?>
  47.  
  48. <div class="clear"></div>
  49. </div><!-- end #header -->
  50. </div> <!-- end #header-wrapper -->
  51. <?php if($bp_existed == 'true') : ?>
  52. <?php do_action( 'bp_after_header' ) ?>
  53. <?php do_action( 'bp_before_container' ) ?>
  54. <?php endif; ?>
  55. <?php if($bp_existed == 'true') : ?>
  56. <?php locate_template( array( '/library/components/panel.php' ), true ); ?>
  57. <?php endif; ?>
  58. <?php $customheader_on = get_option('dev_studio_customheader_on');
  59. if ($customheader_on == "yes"){
  60. ?>
  61. <?php locate_template( array( '/library/components/customheader.php' ), true ); ?>
  62. <?php } ?>
  63. <?php locate_template( array( '/library/components/strapline.php' ), true ); ?>
  64. <div class="clear"></div>
  65. <?php if(!is_home()) { ?>
  66. <div id="site-wrapper"><!-- start #site-wrapper -->
  67. <?php } else { ?>
  68. <div id="site-wrapper-home"><!-- start #site-wrapper-home -->
  69. <?php } ?>
  70. <div id="container"><!-- start #container -->
  71. <?php
  72. $slideshow = get_option('dev_studio_slideshow');
  73.  
  74. if ($slideshow == "yes"){
  75. locate_template( array( '/library/components/slideshow.php' ), true );
  76. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement