Advertisement
Guest User

hey

a guest
Jan 31st, 2012
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.96 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. <?php $option = get_option('scl_options'); ?>
  5.  
  6. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  7. <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
  8. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  9. <?php include(TEMPLATEPATH . '/css/skins.php'); ?>
  10.  
  11. <?php wp_enqueue_style('customfont',get_template_directory_uri().'/fonts/'.$option['scl_fonts'].'.css'); ?>
  12.  
  13. <?php add_editor_style(); ?>
  14.  
  15. <?php wp_enqueue_script('jquery');?>
  16. <?php wp_enqueue_script('Scylla',get_template_directory_uri().'/js/scylla.js'); ?>
  17. <?php wp_enqueue_script('other',get_template_directory_uri().'/js/other.js'); ?>
  18. <!--Slider-->
  19. <?php if($option['scl_slider']== "Easyslider") { ?>
  20. <?php wp_enqueue_script('EasySlider',get_template_directory_uri().'/js/easyslider.js'); ?>
  21. <?php }?>
  22. <?php if ($option['scl_slider'] == "Nivo Slider") { ?>
  23. <?php wp_enqueue_script('Nivo',get_template_directory_uri().'/js/nivo.js'); ?>
  24. <?php } ?>
  25. <?php if($option['scl_lay']== "Layout 4") { ?>
  26. <?php wp_enqueue_script('Accordion',get_template_directory_uri().'/js/accordion.js'); ?>
  27. <?php } ?>
  28.  
  29. <?php if($option['scl_lay']== "Layout 5") { ?>
  30. <?php wp_enqueue_script('Thumb_flip',get_template_directory_uri().'/js/thumb_flip_other.js'); ?>
  31. <?php wp_enqueue_script('Thumb_flip_other',get_template_directory_uri().'/js/thumb_flip.js'); ?>
  32. <?php wp_enqueue_style('thumb_flip_css',get_template_directory_uri().'/thumb_flip_css.css'); ?>
  33. <?php } ?>
  34.  
  35. <?php if($option["scl_diss_fbx"] == "1"){ ?>
  36. <?php } else { ?>
  37. <?php wp_enqueue_script('fancybox_js',get_template_directory_uri().'/js/fancybox.js'); ?>
  38. <?php wp_enqueue_style('fancybox_css',get_template_directory_uri().'/css/fancybox.css'); ?>
  39. <?php } ?>
  40.  
  41. <!--[if IE ]><![endif]-->
  42.  
  43.  
  44. <?php wp_get_archives('type=monthly&format=link'); ?>
  45. <?php //comments_popup_script(); // off by default ?>
  46. <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
  47. <?php wp_head(); ?>
  48.  
  49. <?php if($option['scl_slider']== "Easyslider") { ?>
  50. <script type="text/javascript">
  51. /* <![CDATA[ */
  52. jQuery(function(){
  53. jQuery("#slider").easySlider({
  54. auto: true,
  55. continuous: true,
  56. pause: <?php echo $option['scl_slider_speed'] ?>
  57. });
  58. });
  59. /* ]]> */
  60. </script>
  61. <?php } else { ?>
  62. <?php } ?>
  63.  
  64. <?php if($option['scl_lay']== "Layout 4") { ?>
  65. <script type="text/javascript">
  66. /* <![CDATA[ */
  67. jQuery().ready(function() {
  68. jQuery('.kwicks').equalWidths();
  69. jQuery('.kwicks').kwicks({
  70. max : 450
  71. });
  72. });
  73. /* ]]> */
  74. </script>
  75. <?php } else { ?>
  76. <?php } ?>
  77.  
  78. <?php if ($option['scl_slider'] == "Nivo Slider") { ?>
  79. <script type="text/javascript">
  80. /* <![CDATA[ */
  81. //NIVO SLIDER SETTINGS
  82. jQuery(window).load(function() {
  83. jQuery("#nivo img").each(function(i){
  84. jQuery(this).attr("title", "#htmlcaption" + (i + 1) + "");
  85. });
  86. jQuery(".nivo-html-caption").each(function(i){
  87. jQuery(this).attr("id", "htmlcaption" + (i + 1) + "");
  88. });
  89. jQuery('#nivo').nivoSlider(
  90. {effect:'random', pauseOnHover:true, pauseTime:<?php echo $option['scl_slider_speed'] ?>}
  91. );
  92.  
  93. });
  94. /* ]]> */
  95. </script>
  96. <?php } else { ?>
  97. <?php } ?>
  98.  
  99. </head>
  100.  
  101.  
  102. <body <?php if($option['scl_lay']== "Layout 5") { ?><?php body_class('thumb_flip'); ?><?php } else { ?><?php body_class(); ?><?php } ?>>
  103.  
  104. <!--[if lte IE 6]><script src="<?php get_template_directory_uri(); ?>/ie6/warning.js"></script><script>window.onload=function(){e("<?php get_template_directory_uri(); ?>/ie6/")}</script><![endif]-->
  105.  
  106. <div class="pattern">
  107. <div class="wrapper">
  108.  
  109.  
  110. <!--HEADER-->
  111. <div id="header">
  112.  
  113. <!--Social Share-->
  114. <?php if($option["scl_hide_social"] == "1"){ ?>
  115. <?php } else { ?>
  116. <div class="social_wrap">
  117. <div class="social">
  118. <ul>
  119. <?php if($option["scl_hide_fb"] == "1"){ ?><?php } else { ?><li class="soc_fb"><a title="Facebook" href="<?php echo $option['scl_fb_url'] ?>">Facebook</a></li><?php } ?>
  120. <?php if($option["scl_hide_tw"] == "1"){ ?><?php } else { ?><li class="soc_tw"><a title="Twitter" href="<?php echo $option['scl_tw_url'] ?>">Twitter</a></li><?php } ?>
  121. <?php if($option["scl_hide_ms"] == "1"){ ?><?php } else { ?><li class="soc_ms"><a title="Myspace" href="<?php echo $option['scl_ms_url'] ?>">Myspace</a></li><?php } ?>
  122. <?php if($option["scl_hide_ytb"] == "1"){ ?><?php } else { ?><li class="soc_ytb"><a title="Youtube" href="<?php echo $option['scl_ytb_url'] ?>">Youtube</a></li><?php } ?>
  123. <?php if($option["scl_hide_flckr"] == "1"){ ?><?php } else { ?><li class="soc_flkr"><a title="Flickr" href="<?php echo $option['scl_flckr_url'] ?>">Flickr</a></li><?php } ?>
  124. <?php if($option["scl_hide_rss"] == "1"){ ?><?php } else { ?><li class="soc_rss"><a title="Rss Feed" href="<?php echo $option['scl_rss_url'] ?>">RSS</a></li><?php } ?>
  125. </ul>
  126. </div>
  127. </div>
  128. <?php } ?>
  129.  
  130.  
  131. <!--LOGO-->
  132. <div id="logo">
  133. <?php if($option["scl_diss_logo"] == "1"){ ?>
  134. <h1><a href="<?php echo home_url(); ?>"><img src="<?php echo $option['scl_logo'] ?>" alt="<?php bloginfo('name'); ?>" /></a></h1>
  135. <?php } else { ?>
  136. <h1><a class="text_logo" href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a></h1>
  137. <?php } ?>
  138. <?php if($option["scl_description"] == "1"){ ?><div class="desc"><?php bloginfo('description')?></div><?php } else { ?><?php } ?>
  139. </div>
  140.  
  141. </div>
  142. <!--TOPMENU-->
  143. <div id="menu_wrap"><div id="topmenu"><?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?></div></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement