Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ##################################################
- #### VILLAGE
- ##################################################
- global $options;
- $options = get_option('option_tree');
- $skin = "";
- if (isset($_GET['skin'])) {
- $skin = $_GET['skin'];
- }
- ?>
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta http-equiv="imagetoolbar" content="no" />
- <?php
- ##################################################
- #### INCLUDE SEO
- ##################################################
- blueprint_seo();
- ##################################################
- #### INCLUDE WP HEAD
- ##################################################
- wp_enqueue_script( 'comment-reply' );
- wp_head();
- ?>
- <title><?php blueprint_seo_title(); ?></title>
- <!-- css imports -->
- <link href="<?php echo BP; ?>/style.css" rel="stylesheet" media="all" />
- <?php if ($options['setting_skin'] == "Dark Noise" || $skin == "dark_noise") : ?>
- <link href="<?php echo BP; ?>/skins/dark_noise.css" rel="stylesheet" media="all" />
- <?php endif; ?>
- <?php if ($options['setting_skin'] == "Stone" || $skin == "stone") : ?>
- <link href="<?php echo BP; ?>/skins/stone.css" rel="stylesheet" media="all" />
- <?php endif; ?>
- <?php if ($options['setting_skin'] == "Dark Crosshair" || $skin == "dark_crosshair") : ?>
- <link href="<?php echo BP; ?>/skins/dark_crosshair.css" rel="stylesheet" media="all" />
- <?php endif; ?>
- <?php if ($options['setting_skin'] == "Light Fabric" || $skin == "light_fabric") : ?>
- <link href="<?php echo BP; ?>/skins/light_fabric.css" rel="stylesheet" media="all" />
- <?php endif; ?>
- <link href="<?php echo BP; ?>/wall/source/style/prettyPhoto.css" rel="stylesheet" media="all" />
- <link href="http://fonts.googleapis.com/css?family=<?php echo $options['setting_menu_font']; ?>|<?php echo $options['setting_body_font']; ?>|<?php echo $options['setting_heading_font']; ?>" rel="stylesheet" type="text/css" >
- <link rel="stylesheet" type="text/css" href="<?php echo BP; ?>/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
- <link rel="stylesheet" type="text/css" href="<?php echo BP; ?>/colorbox/colorbox.css" media="screen" />
- <?php if (is_page_template('portrait_slideshow_gallery.php')) : ?>
- <link rel="stylesheet" type="text/css" href="<?php echo BP; ?>/css/supersized.css" media="screen" />
- <link rel="stylesheet" type="text/css" href="<?php echo BP; ?>/supersized/supersized.shutter.css" media="screen" />
- <?php endif; ?>
- <style type="text/css">
- h1,h2,h3,h4,h5,h6 {
- font-family: "<?php echo str_replace("+", " ",$options['setting_heading_font']); ?>";
- }
- #menu ul li a {
- font-family: "<?php echo str_replace("+", " ",$options['setting_menu_font']); ?>";
- }
- #menu ul li ul li a, #menu ul li ul li ul li a {
- font-family: "<?php echo str_replace("+", " ",$options['setting_submenu_font']); ?>";
- }
- body, #content_wrap, #search input[type=text], #cart_n_stuff {
- font-family: "<?php echo str_replace("+", " ",$options['setting_body_font']); ?>";
- }
- </style>
- <!--[if IE]>
- <link rel="stylesheet" type="text/css" href="<?php echo BP; ?>/ie.css" />
- <![endif]-->
- <!--[if lt IE 9]>
- <link rel="stylesheet" type="text/css" href="<?php echo BP; ?>/ie8.css" />
- <![endif]-->
- <?php if ($options['setting_skin'] == "Stone" || $skin == "stone") : ?>
- <!--[if lt IE 9]>
- <link rel="stylesheet" type="text/css" href="<?php echo BP; ?>/skins/stone_ie.css" />
- <![endif]-->
- <?php endif; ?>
- <?php if ($options['setting_skin'] == "Dark Crosshair" || $skin == "dark_crosshair") : ?>
- <!--[if lt IE 9]>
- <link rel="stylesheet" type="text/css" href="<?php echo BP; ?>/skins/dark_crosshair_ie.css" />
- <![endif]-->
- <?php endif; ?>
- <?php if ($options['setting_skin'] == "Light Fabric" || $skin == "light_fabric") : ?>
- <!--[if lt IE 9]>
- <link rel="stylesheet" type="text/css" href="<?php echo BP; ?>/skins/light_fabric_ie.css" />
- <![endif]-->
- <?php endif; ?>
- <!-- javascript imports -->
- <script type="text/javascript" src="<?php echo BP; ?>/wall/source/js/jquery.prettyPhoto.js"></script>
- <script type="text/javascript" src="<?php echo BP; ?>/jscript/jquery.effects.core.min.js"></script>
- <script type="text/javascript" src="<?php echo BP; ?>/jscript/jquery.effects.slide.min.js"></script>
- <script type="text/javascript" src="<?php echo BP; ?>/jscript/jquery.effects.blind.min.js"></script>
- <script type="text/javascript" src="<?php echo BP; ?>/jscript/jquery.superbgimage.js"></script>
- <script type="text/javascript" src="<?php echo BP; ?>/jscript/swfobject.js"></script>
- <script type="text/javascript" src="<?php echo BP; ?>/jscript/jquery.easing.1.3.js"></script>
- <script type="text/javascript" src="<?php echo BP; ?>/jscript/flowplayer-3.2.6.min.js"></script>
- <script type="text/javascript" src="<?php echo BP; ?>/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
- <script type="text/javascript" src="<?php echo BP; ?>/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
- <script type="text/javascript" src="<?php echo BP; ?>/jscript/jquery.colorbox-min.js"></script>
- <script type="text/javascript" src="<?php echo BP; ?>/galleria/galleria-1.2.5.min.js"></script>
- <script type="text/javascript" src="<?php echo BP; ?>/jscript/jquery.masonry.min.js"></script>
- <?php if (is_page_template('portrait_slideshow_gallery.php')) : ?>
- <script type="text/javascript" src="<?php echo BP; ?>/jscript/supersized.3.2.4.min.js"></script>
- <script type="text/javascript" src="<?php echo BP; ?>/supersized/supersized.shutter.min.js"></script>
- <?php endif; ?>
- <script type="text/javascript">
- var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>/wp-admin/admin-ajax.php";
- var cf_name = "<?php echo $options['cf_name']; ?>";
- var cf_email = "<?php echo $options['cf_email']; ?>";
- var cf_phone = "<?php echo $options['cf_phone']; ?>";
- var cf_website = "<?php echo $options['cf_website']; ?>";
- function getInternetExplorerVersion()
- {
- var rv = -1; // Return value assumes failure.
- if (navigator.appName == 'Microsoft Internet Explorer')
- {
- var ua = navigator.userAgent;
- var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
- if (re.exec(ua) != null)
- rv = parseFloat( RegExp.$1 );
- }
- return rv;
- }
- function checkVersion()
- {
- var msg = "You're not using Internet Explorer.";
- var ver = getInternetExplorerVersion();
- if ( ver > -1 )
- {
- if ( ver <= 8.0 ) return true;
- }
- return false;
- }
- </script>
- <script type="text/javascript" src="<?php echo BP; ?>/jscript/jquery.custom.js"></script>
- <?php if(!is_page_template('wall.php') || !is_page_template('wall_menu.php')) : ?>
- <script type="text/javascript">
- jQuery(function() {
- // Options for SuperBGImage
- jQuery.fn.superbgimage.options = {
- id: 'superbgimage', // id for the containter
- z_index: 0, // z-index for the container
- inlineMode: 0, // 0-resize to browser size, 1-do not resize to browser-size
- showimage: 1, // number of first image to display
- vertical_center: 1, // 0-align top, 1-center vertical
- transition: 1, // 0-none, 1-fade, 2-slide down, 3-slide left, 4-slide top, 5-slide right, 6-blind horizontal, 7-blind vertical, 90-slide right/left, 91-slide top/down
- transitionout: 1, // 0-no transition for previous image, 1-transition for previous image
- randomtransition: 0, // 0-none, 1-use random transition (0-7)
- showtitle: 0, // 0-none, 1-show title
- slideshow: ((jQuery("#thumbs a, #thumbs_hide a, #floating_slideshow_nav a").size() > 1) ? 1 : 0), // 0-none, 1-autostart slideshow
- slide_interval: 4000, // interval for the slideshow
- randomimage: 0, // 0-none, 1-random image
- speed: 'slow', // animation speed
- preload: 1, // 0-none, 1-preload images
- onShow: null, // function-callback show image
- onClick: null, // function-callback click image
- onHide: null, // function-callback hide image
- onMouseenter: null, // function-callback mouseenter
- onMouseleave: null, // function-callback mouseleave
- onMousemove: null // function-callback mousemove
- };
- // initialize SuperBGImage
- <?php if (is_page_template('slideshow.php') || is_page_template('slideshow_floating.php') || is_page_template('slideshow_portrait.php') || is_page_template('slideshow_no_thumbs.php') || is_page_template('slideshow_floating_portrait.php')) : ?>
- jQuery('#thumb_mousemove, #thumb_vert_mousemove, #thumbs_hidden').superbgimage();
- <?php else: ?>
- jQuery('#thumbs_hide').superbgimage();
- <?php endif; ?>
- });
- </script>
- <?php endif; ?>
- <?php if (get_option_tree("setting_rcprotect") == "Yes") : ?>
- <script type="text/javascript">
- var message="Right Click Is Disabled";
- ///////////////////////////////////
- function clickIE4(){
- if (event.button==2){
- alert(message);
- return false;
- }
- }
- function clickNS4(e){
- if (document.layers||document.getElementById&&!document.all){
- if (e.which==2||e.which==3){
- alert(message);
- return false;
- }
- }
- }
- if (document.layers){
- document.captureEvents(Event.MOUSEDOWN);
- document.onmousedown=clickNS4;
- }
- else if (document.all&&!document.getElementById){
- document.onmousedown=clickIE4;
- }
- document.oncontextmenu=new Function("alert(message);return false");
- </script>
- <?php endif; ?>
- </head>
- <body>
- <!-- START #header -->
- <div id="header">
- <!-- START #logo -->
- <div id="logo">
- <a href="<?php bloginfo('url'); ?>"><img src="<?php echo $options['logo_url']; ?>" alt="" /></a>
- </div>
- <!-- END #logo -->
- <!-- START #menu -->
- <div id="menu">
- <?php wp_nav_menu(array('theme_location' => 'primary')); ?>
- </div>
- <!-- END #menu -->
- <!-- START #cart_n_stuff -->
- <div id="cart_n_stuff">
- <div id="search">
- <form method="get" action="<?php bloginfo('siteurl'); ?>">
- <input type="submit" value="" />
- <input type="text" name="s" value="<?php echo $options['setting_slbt']; ?>" class="search_input" onfocus="if (this.value == '<?php echo $options['setting_slbt']; ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php echo $options['setting_slbt']; ?>'}" />
- </form>
- </div>
- <?php
- ##################################################
- #### SOCIAL NETWORK ICON CONFIG
- ##################################################
- $icon_status_array = array();
- $icon_url_array = array();
- $icon_src_path = get_bloginfo('template_url')."/images/social_icons/";
- for ($icon_count = 0; $icon_count < 19; $icon_count++) {
- $icon_status_array[$icon_count] = get_option_tree('social_array', '', false, true, $icon_count);
- $icon_url_array[$icon_count] = get_option_tree($icon_status_array[$icon_count]."_url",'',false);
- }
- $icon_link_new_window = get_option_tree('icon_link_new_window', '', false);
- ($icon_link_new_window == "Yes") ? $icon_link_new_window = "_blank" : $icon_link_new_window = "_self";
- ?>
- <div id="social_icons">
- <ul>
- <?php
- $icon_count = 0;
- ## GENERATE THE SOCIAL NETWORK ICONS
- for ($icon_count = 0; $icon_count < 19; $icon_count++) {
- if ($icon_status_array[$icon_count] != "") echo '<li><a href="' . $icon_url_array[$icon_count] . '" target="' . $icon_link_new_window . '"><img alt="" src="' . $icon_src_path . '' . $icon_status_array[$icon_count] . '_32.png" /></a></li>';
- }
- ?>
- </ul>
- <div class="clear"></div>
- </div>
- <span style="margin-top: 5px; display: block;"><?php echo get_option_tree("footer_text"); ?></span>
- </div>
- <!-- END #cart_n_stuff -->
- </div>
- <!-- END #header -->
- <?php if (!is_page_template('slideshow.php') && !is_page_template('slideshow_no_thumbs.php') && !is_page_template('slideshow_portrait.php')) : ?>
- <div id="show_hide"><img src="<?php echo BP; ?>/images/toggle.png" alt="" /></div>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement