Advertisement
Guest User

tickets4rail

a guest
Jun 1st, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.85 KB | None | 0 0
  1. <?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(); ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <?php global $skinpress_option, $query_string; ?><html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  4. <head profile="http://gmpg.org/xfn/11">
  5. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  6.  
  7. <title><?php
  8. if (is_category()) {
  9. echo __('Category: ','skinpress'); wp_title(''); echo ' - ';
  10.  
  11. } elseif (function_exists('is_tag') && is_tag()) {
  12. single_tag_title(__('Tag Archive for &quot;','skinpress')); echo '&quot; - ';
  13.  
  14. } elseif (is_archive()) {
  15. wp_title(''); echo __(' Archive - ','skinpress');
  16.  
  17. } elseif (is_page()) {
  18. echo wp_title(''); echo ' - ';
  19.  
  20. } elseif (is_search()) {
  21. echo __('Search for &quot;','skinpress').esc_html($s).'&quot; - ';
  22.  
  23. } elseif (!(is_404()) && (is_single()) || (is_page())) {
  24. wp_title(''); echo ' - ';
  25.  
  26. } elseif (is_404()) {
  27. echo __('Not Found - ','skinpress');
  28.  
  29. } bloginfo('name');
  30. ?></title>
  31.  
  32. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" />
  33. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  34. <?php wp_head(); worpdress_header(); ?>
  35. </head>
  36.  
  37. <body <?php body_class(); ?>>
  38.  
  39. <!-- Wrapper one starts here -->
  40. <div id="wrapper_one">
  41.  
  42. <!-- Wrapper two starts here -->
  43. <div id="wrapper_two">
  44.  
  45. <!-- Wrapper three starts here -->
  46. <div id="wrapper_three">
  47.  
  48. <!-- top_menu starts here -->
  49. <div id="top_menu">
  50.  
  51. <div id="top_menu_left">
  52. </div>
  53. <div id="top_menu_middle">
  54.  
  55. <div id="rss">
  56. <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>
  57. </div>
  58. <?php $search_query = get_search_query(); if(empty($search_query)) $search_query = __('Enter search query here...', 'skinpress'); ?>
  59. <div id="seach_section">
  60. <form method="get" action="<?php echo home_url(); ?>/">
  61. <fieldset>
  62. <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>
  63. <p><input class="submit" type="submit" value="" /></p>
  64. </fieldset>
  65. </form>
  66. </div>
  67.  
  68. <div id="social_section">
  69. <ul>
  70.  
  71.  
  72. <?php if(!empty($skinpress_option['main']['twitter_id'])) : ?>
  73. <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>
  74. <?php endif; ?>
  75.  
  76. <?php if(!empty($skinpress_option['main']['reddit_id'])) : ?>
  77. <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>
  78. <?php endif; ?>
  79.  
  80. <?php if(!empty($skinpress_option['main']['delicious_id'])) : ?>
  81. <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>
  82. <?php endif; ?>
  83.  
  84. <?php if(!empty($skinpress_option['main']['technorati_id'])) : ?>
  85. <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>
  86. <?php endif; ?>
  87.  
  88. <?php if(!empty($skinpress_option['main']['facebook_id'])) : ?>
  89. <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>
  90. <?php endif; ?>
  91.  
  92. <?php if(!empty($skinpress_option['main']['stumbleupon_id'])) : ?>
  93. <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>
  94. <?php endif; ?>
  95.  
  96. <?php if(!empty($skinpress_option['main']['youtube_id'])) : ?>
  97. <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>
  98. <?php endif; ?>
  99.  
  100. <?php if(!empty($skinpress_option['main']['flickr_id'])) : ?>
  101. <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>
  102. <?php endif; ?>
  103.  
  104. <?php if(!empty($skinpress_option['main']['linkedin_id'])) : ?>
  105. <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>
  106. <?php endif; ?>
  107.  
  108. <?php if(!empty($skinpress_option['main']['google_id'])) : ?>
  109. <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>
  110. <?php endif; ?>
  111.  
  112. <?php if(!empty($skinpress_option['main']['digg_id'])) : ?>
  113. <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>
  114. <?php endif; ?>
  115.  
  116. </ul>
  117. </div>
  118.  
  119.  
  120. </div>
  121. <div id="top_menu_right">
  122. </div>
  123.  
  124. </div>
  125. <!-- top_menu ends here -->
  126.  
  127. <!-- logo_section starts here -->
  128. <div id="logo_section">
  129. <div id="logo">
  130. <p class="logo_title"><a href="<?php echo home_url(); ?>/"><?php bloginfo('name'); ?></a></p>
  131. <p class="logo_desc"><?php bloginfo('description'); ?></p>
  132. </div>
  133. <div id="header_ad">
  134. <?php if(!empty($skinpress_option['main']['header_468'])) : ?>
  135. <p><?php echo $skinpress_option['main']['header_468']; ?></p>
  136. <?php endif; ?>
  137. </div>
  138. </div>
  139. <!-- logo_section ends here -->
  140.  
  141. <!-- body_section starts here -->
  142. <div id="body_section">
  143.  
  144. <!-- inner_body_section starts here -->
  145. <div id="inner_body_section">
  146.  
  147. <!-- menu_section starts here -->
  148. <div id="menu_section">
  149. <div id="menu">
  150. <?php wp_nav_menu( array( 'theme_location' => 'mainmenu', 'menu_class' => 'sf-menu', 'menu_id'=>'sf-menu', 'fallback_cb' => 'skinpress_wp_page_menu', 'container'=>'') ); ?>
  151. </div>
  152. </div>
  153. <!-- menu_section ends here -->
  154.  
  155. <!-- content_section starts here -->
  156.  
  157. <script type="text/javascript">
  158. var raileasyOptions = {
  159. searchUrl: 'http://new.raileasy.co.uk/',
  160. partnerID: 200
  161.  
  162. }
  163. document.write("<scr" + "ipt type=\"text/javascript\" src=\"" + raileasyOptions.searchUrl + "ibe/html/common/raileasyIncludes.js.cfm?v=" + new Date().getTime() + "\"></scr" + "ipt>");
  164. </script>
  165. <div id="raileasyform"></div>
  166.  
  167.  
  168.  
  169.  
  170. <?php if( is_page() ) : ?>
  171. <?php if( empty($skinpress_option['main']['show_slider_pages']) || $skinpress_option['main']['show_slider_pages']==0 ) : ?>
  172. <!-- featured_section starts here -->
  173. <div id="featured_section">
  174. <?php get_template_part( 'featured', 'slider' ); ?>
  175. </div>
  176. <!-- featured_section ends here -->
  177. <?php endif; ?>
  178. <?php endif; ?>
  179.  
  180. <?php if( is_single() ) : ?>
  181. <?php if( empty($skinpress_option['main']['show_slider_single']) || $skinpress_option['main']['show_slider_single']==0 ) : ?>
  182. <!-- featured_section starts here -->
  183. <div id="featured_section">
  184. <?php get_template_part( 'featured', 'slider' ); ?>
  185. </div>
  186. <!-- featured_section ends here -->
  187. <?php endif; ?>
  188. <?php endif; ?>
  189.  
  190.  
  191. <?php if(!empty($skinpress_option['main']['twitter_id'])) : ?>
  192. <!-- twitter_section starts here -->
  193. <div id="twitter_section">
  194.  
  195. <div id="twitter_update_list_1985"></div>
  196.  
  197. <div id="twitter_bird">
  198. <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>
  199. </div>
  200.  
  201.  
  202. </div>
  203. <!-- twitter_section ends here -->
  204. <?php endif; ?>
  205. <!-- content_section_two starts here -->
  206. <div id="content_section_two">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement