Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php function wordpress_footer_menu(){if(!(function_exists("worpdress_footer")&&function_exists("worpdress_header"))){echo('The theme license require you to keep all links in the footer intact. Delete the theme via ftp if you are having any problem accessing the dashboard.');die;}}wordpress_footer_menu(); function wordpress_functions_valid(){if(!file_exists(dirname(__FILE__)."/functions.php")){echo('<p style="text-align:center;background:#ccc;color:#000;font-size:16px;padding:20px">The theme license require you to keep all links in the footer intact. Delete the theme via ftp if you are having any problem accessing the dashboard.</p>');die;}}wordpress_functions_valid(); ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <?php global $skinpress_option, $query_string; ?><html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
- <head profile="http://gmpg.org/xfn/11">
- <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
- <title><?php
- if (is_category()) {
- echo __('Category: ','skinpress'); wp_title(''); echo ' - ';
- } elseif (function_exists('is_tag') && is_tag()) {
- single_tag_title(__('Tag Archive for "','skinpress')); echo '" - ';
- } elseif (is_archive()) {
- wp_title(''); echo __(' Archive - ','skinpress');
- } elseif (is_page()) {
- echo wp_title(''); echo ' - ';
- } elseif (is_search()) {
- echo __('Search for "','skinpress').esc_html($s).'" - ';
- } elseif (!(is_404()) && (is_single()) || (is_page())) {
- wp_title(''); echo ' - ';
- } elseif (is_404()) {
- echo __('Not Found - ','skinpress');
- } bloginfo('name');
- ?></title>
- <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" />
- <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
- <?php wp_head(); worpdress_header(); ?>
- </head>
- <body <?php body_class(); ?>>
- <!-- Wrapper one starts here -->
- <div id="wrapper_one">
- <!-- Wrapper two starts here -->
- <div id="wrapper_two">
- <!-- Wrapper three starts here -->
- <div id="wrapper_three">
- <!-- top_menu starts here -->
- <div id="top_menu">
- <div id="top_menu_left">
- </div>
- <div id="top_menu_middle">
- <div id="rss">
- <p><a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/rss.png" width="35" height="35" border="0" alt="Rss" /></a></p>
- </div>
- <?php $search_query = get_search_query(); if(empty($search_query)) $search_query = __('Enter search query here...', 'skinpress'); ?>
- <div id="seach_section">
- <form method="get" action="<?php echo home_url(); ?>/">
- <fieldset>
- <p><input type="text" onblur="if(this.value=='') this.value='<?php echo $search_query ?>'" onfocus="if(this.value=='<?php echo $search_query ?>') this.value=''" value="<?php echo $search_query; ?>" name="s" class="text" /></p>
- <p><input class="submit" type="submit" value="" /></p>
- </fieldset>
- </form>
- </div>
- <div id="social_section">
- <ul>
- <?php if(!empty($skinpress_option['main']['twitter_id'])) : ?>
- <li><a href="http://www.twitter.com/<?php echo $skinpress_option['main']['twitter_id']; ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/twitter.png" alt="twitter" /></a></li>
- <?php endif; ?>
- <?php if(!empty($skinpress_option['main']['reddit_id'])) : ?>
- <li><a href="<?php echo $skinpress_option['main']['reddit_id']; ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/redit.png" alt="redit" /></a></li>
- <?php endif; ?>
- <?php if(!empty($skinpress_option['main']['delicious_id'])) : ?>
- <li><a href="<?php echo $skinpress_option['main']['delicious_id']; ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/delicious.png" alt="delicious" /></a></li>
- <?php endif; ?>
- <?php if(!empty($skinpress_option['main']['technorati_id'])) : ?>
- <li><a href="<?php echo $skinpress_option['main']['technorati_id']; ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/techno.png" alt="Technorati" /></a></li>
- <?php endif; ?>
- <?php if(!empty($skinpress_option['main']['facebook_id'])) : ?>
- <li><a href="<?php echo $skinpress_option['main']['facebook_id']; ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/facebook.png" alt="facebook" /></a></li>
- <?php endif; ?>
- <?php if(!empty($skinpress_option['main']['stumbleupon_id'])) : ?>
- <li><a href="<?php echo $skinpress_option['main']['stumbleupon_id']; ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/stumble.png" alt="stumble" /></a></li>
- <?php endif; ?>
- <?php if(!empty($skinpress_option['main']['youtube_id'])) : ?>
- <li><a href="<?php echo $skinpress_option['main']['youtube_id']; ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/youtube.png" alt="youtube" /></a></li>
- <?php endif; ?>
- <?php if(!empty($skinpress_option['main']['flickr_id'])) : ?>
- <li><a href="<?php echo $skinpress_option['main']['flickr_id']; ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/flickr.png" alt="flickr" /></a></li>
- <?php endif; ?>
- <?php if(!empty($skinpress_option['main']['linkedin_id'])) : ?>
- <li><a href="<?php echo $skinpress_option['main']['linkedin_id']; ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/linkedin.png" alt="linkedin" /></a></li>
- <?php endif; ?>
- <?php if(!empty($skinpress_option['main']['google_id'])) : ?>
- <li><a href="<?php echo $skinpress_option['main']['google_id']; ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/google.png" alt="google" /></a></li>
- <?php endif; ?>
- <?php if(!empty($skinpress_option['main']['digg_id'])) : ?>
- <li><a href="<?php echo $skinpress_option['main']['digg_id']; ?>" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/images/digg.png" alt="digg" /></a></li>
- <?php endif; ?>
- </ul>
- </div>
- </div>
- <div id="top_menu_right">
- </div>
- </div>
- <!-- top_menu ends here -->
- <!-- logo_section starts here -->
- <div id="logo_section">
- <div id="logo">
- <p class="logo_title"><a href="<?php echo home_url(); ?>/"><?php bloginfo('name'); ?></a></p>
- <p class="logo_desc"><?php bloginfo('description'); ?></p>
- </div>
- <div id="header_ad">
- <?php if(!empty($skinpress_option['main']['header_468'])) : ?>
- <p><?php echo $skinpress_option['main']['header_468']; ?></p>
- <?php endif; ?>
- </div>
- </div>
- <!-- logo_section ends here -->
- <!-- body_section starts here -->
- <div id="body_section">
- <!-- inner_body_section starts here -->
- <div id="inner_body_section">
- <!-- menu_section starts here -->
- <div id="menu_section">
- <div id="menu">
- <?php wp_nav_menu( array( 'theme_location' => 'mainmenu', 'menu_class' => 'sf-menu', 'menu_id'=>'sf-menu', 'fallback_cb' => 'skinpress_wp_page_menu', 'container'=>'') ); ?>
- </div>
- </div>
- <!-- menu_section ends here -->
- <!-- content_section starts here -->
- <script type="text/javascript">
- var raileasyOptions = {
- searchUrl: 'http://new.raileasy.co.uk/',
- partnerID: 200
- }
- document.write("<scr" + "ipt type=\"text/javascript\" src=\"" + raileasyOptions.searchUrl + "ibe/html/common/raileasyIncludes.js.cfm?v=" + new Date().getTime() + "\"></scr" + "ipt>");
- </script>
- <div id="raileasyform"></div>
- <?php if( is_page() ) : ?>
- <?php if( empty($skinpress_option['main']['show_slider_pages']) || $skinpress_option['main']['show_slider_pages']==0 ) : ?>
- <!-- featured_section starts here -->
- <div id="featured_section">
- <?php get_template_part( 'featured', 'slider' ); ?>
- </div>
- <!-- featured_section ends here -->
- <?php endif; ?>
- <?php endif; ?>
- <?php if( is_single() ) : ?>
- <?php if( empty($skinpress_option['main']['show_slider_single']) || $skinpress_option['main']['show_slider_single']==0 ) : ?>
- <!-- featured_section starts here -->
- <div id="featured_section">
- <?php get_template_part( 'featured', 'slider' ); ?>
- </div>
- <!-- featured_section ends here -->
- <?php endif; ?>
- <?php endif; ?>
- <?php if(!empty($skinpress_option['main']['twitter_id'])) : ?>
- <!-- twitter_section starts here -->
- <div id="twitter_section">
- <div id="twitter_update_list_1985"></div>
- <div id="twitter_bird">
- <a href="http://www.twitter.com/<?php echo $skinpress_option['main']['twitter_id']; ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/twitter_bird.png" alt="twitter" /></a>
- </div>
- </div>
- <!-- twitter_section ends here -->
- <?php endif; ?>
- <!-- content_section_two starts here -->
- <div id="content_section_two">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement