Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
- <head profile="http://gmpg.org/xfn/11">
- <?php $option = get_option('scl_options'); ?>
- <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
- <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
- <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
- <?php include(TEMPLATEPATH . '/css/skins.php'); ?>
- <?php wp_enqueue_style('customfont',get_template_directory_uri().'/fonts/'.$option['scl_fonts'].'.css'); ?>
- <?php add_editor_style(); ?>
- <?php wp_enqueue_script('jquery');?>
- <?php wp_enqueue_script('Scylla',get_template_directory_uri().'/js/scylla.js'); ?>
- <?php wp_enqueue_script('other',get_template_directory_uri().'/js/other.js'); ?>
- <!--Slider-->
- <?php if($option['scl_slider']== "Easyslider") { ?>
- <?php wp_enqueue_script('EasySlider',get_template_directory_uri().'/js/easyslider.js'); ?>
- <?php }?>
- <?php if ($option['scl_slider'] == "Nivo Slider") { ?>
- <?php wp_enqueue_script('Nivo',get_template_directory_uri().'/js/nivo.js'); ?>
- <?php } ?>
- <?php if($option['scl_lay']== "Layout 4") { ?>
- <?php wp_enqueue_script('Accordion',get_template_directory_uri().'/js/accordion.js'); ?>
- <?php } ?>
- <?php if($option['scl_lay']== "Layout 5") { ?>
- <?php wp_enqueue_script('Thumb_flip',get_template_directory_uri().'/js/thumb_flip_other.js'); ?>
- <?php wp_enqueue_script('Thumb_flip_other',get_template_directory_uri().'/js/thumb_flip.js'); ?>
- <?php wp_enqueue_style('thumb_flip_css',get_template_directory_uri().'/thumb_flip_css.css'); ?>
- <?php } ?>
- <?php if($option["scl_diss_fbx"] == "1"){ ?>
- <?php } else { ?>
- <?php wp_enqueue_script('fancybox_js',get_template_directory_uri().'/js/fancybox.js'); ?>
- <?php wp_enqueue_style('fancybox_css',get_template_directory_uri().'/css/fancybox.css'); ?>
- <?php } ?>
- <!--[if IE ]><![endif]-->
- <?php wp_get_archives('type=monthly&format=link'); ?>
- <?php //comments_popup_script(); // off by default ?>
- <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
- <?php wp_head(); ?>
- <?php if($option['scl_slider']== "Easyslider") { ?>
- <script type="text/javascript">
- /* <![CDATA[ */
- jQuery(function(){
- jQuery("#slider").easySlider({
- auto: true,
- continuous: true,
- pause: <?php echo $option['scl_slider_speed'] ?>
- });
- });
- /* ]]> */
- </script>
- <?php } else { ?>
- <?php } ?>
- <?php if($option['scl_lay']== "Layout 4") { ?>
- <script type="text/javascript">
- /* <![CDATA[ */
- jQuery().ready(function() {
- jQuery('.kwicks').equalWidths();
- jQuery('.kwicks').kwicks({
- max : 450
- });
- });
- /* ]]> */
- </script>
- <?php } else { ?>
- <?php } ?>
- <?php if ($option['scl_slider'] == "Nivo Slider") { ?>
- <script type="text/javascript">
- /* <![CDATA[ */
- //NIVO SLIDER SETTINGS
- jQuery(window).load(function() {
- jQuery("#nivo img").each(function(i){
- jQuery(this).attr("title", "#htmlcaption" + (i + 1) + "");
- });
- jQuery(".nivo-html-caption").each(function(i){
- jQuery(this).attr("id", "htmlcaption" + (i + 1) + "");
- });
- jQuery('#nivo').nivoSlider(
- {effect:'random', pauseOnHover:true, pauseTime:<?php echo $option['scl_slider_speed'] ?>}
- );
- });
- /* ]]> */
- </script>
- <?php } else { ?>
- <?php } ?>
- </head>
- <body <?php if($option['scl_lay']== "Layout 5") { ?><?php body_class('thumb_flip'); ?><?php } else { ?><?php body_class(); ?><?php } ?>>
- <!--[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]-->
- <div class="pattern">
- <div class="wrapper">
- <!--HEADER-->
- <div id="header">
- <!--Social Share-->
- <?php if($option["scl_hide_social"] == "1"){ ?>
- <?php } else { ?>
- <div class="social_wrap">
- <div class="social">
- <ul>
- <?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 } ?>
- <?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 } ?>
- <?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 } ?>
- <?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 } ?>
- <?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 } ?>
- <?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 } ?>
- </ul>
- </div>
- </div>
- <?php } ?>
- <!--LOGO-->
- <div id="logo">
- <?php if($option["scl_diss_logo"] == "1"){ ?>
- <h1><a href="<?php echo home_url(); ?>"><img src="<?php echo $option['scl_logo'] ?>" alt="<?php bloginfo('name'); ?>" /></a></h1>
- <?php } else { ?>
- <h1><a class="text_logo" href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a></h1>
- <?php } ?>
- <?php if($option["scl_description"] == "1"){ ?><div class="desc"><?php bloginfo('description')?></div><?php } else { ?><?php } ?>
- </div>
- </div>
- <!--TOPMENU-->
- <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