Advertisement
Guest User

Untitled

a guest
Mar 1st, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.44 KB | None | 0 0
  1. <?php if (wp_loaded() === true) { ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.  
  3. <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. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
  7. <title><?php if (is_home () ) { bloginfo('name'); } elseif ( is_category() ) { single_cat_title(); if(get_bloginfo('name') != "") echo ' - ' ; bloginfo('name'); }
  8. elseif (is_single() ) { single_post_title(); }
  9. elseif (is_page() ) { bloginfo('name'); if(get_bloginfo('name') != "") echo ': '; single_post_title(); }
  10.  else { wp_title('',true); } ?></title>
  11. <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/script.js"></script>
  12. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  13. <!--[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie6.css" type="text/css" media="screen" /><![endif]-->
  14. <!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie7.css" type="text/css" media="screen" /><![endif]-->
  15. <link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
  16. <link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
  17. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  18. <?php if (tt_option('header_mods_enable') == 'Yes') {include TEMPLATEPATH . "/includes/header-mods.php";} ?>
  19. <?php  wp_head(); ?>
  20. </head><?php } ?>
  21. <body <?php body_class(); ?>>
  22. <div id="art-main">
  23. <div class="art-sheet">
  24.     <div class="art-sheet-cc"></div>
  25.     <div class="art-sheet-body">
  26.  
  27. <div class="art-header">
  28.     <div class="art-header-jpeg"></div>
  29. <?php if (function_exists('tt_option') && tt_option('header_mods_enable') == 'Yes') { ?>
  30. <div class="art-logo">
  31.     <div class="headerleft" <?php if(tt_option('header_blog_title') != 'Text') { echo 'id="imageheader"'; } // start header image ?>>
  32.             <h2 id="name-text" class="art-logo-name">
  33.         <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h2>
  34.                            <div id="slogan-text" class="art-logo-text">
  35.         <?php bloginfo('description'); // end header image ?></div>
  36.             </div>
  37.  
  38.  
  39.     <div class="widget-area">
  40.         <?php dynamic_sidebar('Header Right'); ?>
  41.     </div><!-- end .widget-area -->
  42. </div>   
  43. <?php } else { ?>
  44. <div class="art-logo">
  45. <h2 id="name-text" class="art-logo-name">
  46.         <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h2>
  47.     <div id="slogan-text" class="art-logo-text">
  48.         <?php bloginfo('description'); ?></div>
  49. </div>
  50. <?php } ?>
  51. </div>
  52.  
  53.  
  54.  
  55. <div class="art-content-layout">
  56.     <div class="art-content-layout-row">
  57. <?php include (TEMPLATEPATH . '/sidebar1.php'); ?><div class="art-layout-cell art-content">
  58.  
  59. <div id="google">
  60.   <center> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  61. <!-- kolacici.net -->
  62. <ins class="adsbygoogle"
  63.      style="display:inline-block;width:468px;height:15px"
  64.      data-ad-client="ca-pub-4988165267130947"
  65.      data-ad-slot="8011125205"></ins>
  66. <script>
  67. (adsbygoogle = window.adsbygoogle || []).push({});
  68. </script></center>
  69. </div>
  70.  
  71. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  72. <?php
  73. $prev_link = get_previous_post_link('&laquo; %link');
  74. $next_link = get_next_post_link('%link &raquo;');
  75. ?>
  76. <?php if ($prev_link || $next_link): ?>
  77.  
  78.  
  79. <?php endif; ?>
  80. <div class="art-post">
  81.     <div class="art-post-tl"></div>
  82.     <div class="art-post-tr"></div>
  83.     <div class="art-post-bl"></div>
  84.     <div class="art-post-br"></div>
  85.     <div class="art-post-tc"></div>
  86.     <div class="art-post-bc"></div>
  87.     <div class="art-post-cl"></div>
  88.     <div class="art-post-cr"></div>
  89.     <div class="art-post-cc"></div>
  90.     <div class="art-post-body">
  91. <div class="art-post-inner art-article">
  92. <?php $page_title = get_post_meta($post->ID, 'page_title', TRUE); ?>
  93. <?php if (!$page_title == 'No') { ?>
  94. <h1 class="art-postheader">
  95. <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>">
  96. <?php the_title(); ?>
  97. </a>
  98. </h1>
  99.  <?php } ?>
  100. <?php $icons = array(); ?>
  101.  
  102. <?php if (!is_page()): ?><?php ob_start(); ?><?php the_time(__('F jS, Y', 'kubrick')) ?>
  103. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page()): ?><?php ob_start(); ?><?php _e('Author', 'kubrick'); ?>: <?php the_author_posts_link() ?>
  104.  
  105. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
  106. <div class="art-postheadericons art-metadata-icons">
  107. <?php echo implode(' | ', $icons); ?>
  108.  </div>
  109. <?php endif; ?>
  110.  
  111.  
  112. <div class="art-postcontent">
  113.  
  114.     <!-- article-content -->
  115.  
  116.           <?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry &raquo;', 'kubrick')); ?>
  117.           <?php if (is_page() or is_single()) wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  118.          
  119.     <!-- /article-content -->
  120. <div id="fb">
  121.     <iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=box_count&amp;show_faces=false&amp;
  122. width=450&amp;action=recommend&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; height:65px; align="right" ">
  123. </iframe>
  124. </div>
  125.  
  126. </div>
  127. <div class="cleared"></div>
  128.  
  129. <div class="art-postfootericons art-metadata-icons">
  130. <?php echo implode(' | ', $icons); ?>
  131.  
  132. </div>
  133. <?php endif; ?>
  134. <?php $metadataContent = ob_get_clean(); ?>
  135. <?php if (trim($metadataContent) != ''): ?>
  136. <div class="art-postmetadatafooter">
  137. <?php echo $metadataContent; ?>
  138.  
  139. </div>
  140. <?php endif; ?>
  141.  
  142. </div>
  143. <div class="cleared"></div>
  144.  <?php ob_start(); ?>
  145. <?php $icons = array(); ?>
  146. <?php if (!is_page()): ?><?php ob_start(); ?><?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?>
  147. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && get_the_tags()): ?><?php ob_start(); ?><?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', ' '); ?>
  148. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && !is_single()): ?><?php ob_start(); ?><?php comments_popup_link(__('No Comments &#187;', 'kubrick'), __('1 Comment &#187;', 'kubrick'), __('% Comments &#187;', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?>
  149. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
  150.         <div class="cleared"></div>
  151.     </div>
  152. </div>
  153.  
  154.  
  155. <?php endwhile; ?>
  156. <?php else: ?>
  157. <h1 class="center"><?php _e('Sorry, no posts matched your criteria.', 'kubrick'); ?></h1>
  158. <?php endif; ?>
  159.  
  160. </div>
  161.  
  162.     </div>
  163. </div>
  164. <div class="cleared"></div>
  165.  
  166. <?php wp_get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement