Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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">
- <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'); ?>" />
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
- <title><?php if (is_home () ) { bloginfo('name'); } elseif ( is_category() ) { single_cat_title(); if(get_bloginfo('name') != "") echo ' - ' ; bloginfo('name'); }
- elseif (is_single() ) { single_post_title(); }
- elseif (is_page() ) { bloginfo('name'); if(get_bloginfo('name') != "") echo ': '; single_post_title(); }
- else { wp_title('',true); } ?></title>
- <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/script.js"></script>
- <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
- <!--[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie6.css" type="text/css" media="screen" /><![endif]-->
- <!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie7.css" type="text/css" media="screen" /><![endif]-->
- <link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
- <link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
- <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
- <?php if (tt_option('header_mods_enable') == 'Yes') {include TEMPLATEPATH . "/includes/header-mods.php";} ?>
- <?php wp_head(); ?>
- </head><?php } ?>
- <body <?php body_class(); ?>>
- <div id="art-main">
- <div class="art-sheet">
- <div class="art-sheet-cc"></div>
- <div class="art-sheet-body">
- <div class="art-header">
- <div class="art-header-jpeg"></div>
- <?php if (function_exists('tt_option') && tt_option('header_mods_enable') == 'Yes') { ?>
- <div class="art-logo">
- <div class="headerleft" <?php if(tt_option('header_blog_title') != 'Text') { echo 'id="imageheader"'; } // start header image ?>>
- <h2 id="name-text" class="art-logo-name">
- <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h2>
- <div id="slogan-text" class="art-logo-text">
- <?php bloginfo('description'); // end header image ?></div>
- </div>
- <div class="widget-area">
- <?php dynamic_sidebar('Header Right'); ?>
- </div><!-- end .widget-area -->
- </div>
- <?php } else { ?>
- <div class="art-logo">
- <h2 id="name-text" class="art-logo-name">
- <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h2>
- <div id="slogan-text" class="art-logo-text">
- <?php bloginfo('description'); ?></div>
- </div>
- <?php } ?>
- </div>
- <div class="art-content-layout">
- <div class="art-content-layout-row">
- <?php include (TEMPLATEPATH . '/sidebar1.php'); ?><div class="art-layout-cell art-content">
- <div id="google">
- <center> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <!-- kolacici.net -->
- <ins class="adsbygoogle"
- style="display:inline-block;width:468px;height:15px"
- data-ad-client="ca-pub-4988165267130947"
- data-ad-slot="8011125205"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script></center>
- </div>
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <?php
- $prev_link = get_previous_post_link('« %link');
- $next_link = get_next_post_link('%link »');
- ?>
- <?php if ($prev_link || $next_link): ?>
- <?php endif; ?>
- <div class="art-post">
- <div class="art-post-tl"></div>
- <div class="art-post-tr"></div>
- <div class="art-post-bl"></div>
- <div class="art-post-br"></div>
- <div class="art-post-tc"></div>
- <div class="art-post-bc"></div>
- <div class="art-post-cl"></div>
- <div class="art-post-cr"></div>
- <div class="art-post-cc"></div>
- <div class="art-post-body">
- <div class="art-post-inner art-article">
- <?php $page_title = get_post_meta($post->ID, 'page_title', TRUE); ?>
- <?php if (!$page_title == 'No') { ?>
- <h1 class="art-postheader">
- <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>">
- <?php the_title(); ?>
- </a>
- </h1>
- <?php } ?>
- <?php $icons = array(); ?>
- <?php if (!is_page()): ?><?php ob_start(); ?><?php the_time(__('F jS, Y', 'kubrick')) ?>
- <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page()): ?><?php ob_start(); ?><?php _e('Author', 'kubrick'); ?>: <?php the_author_posts_link() ?>
- <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
- <div class="art-postheadericons art-metadata-icons">
- <?php echo implode(' | ', $icons); ?>
- </div>
- <?php endif; ?>
- <div class="art-postcontent">
- <!-- article-content -->
- <?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry »', 'kubrick')); ?>
- <?php if (is_page() or is_single()) wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
- <!-- /article-content -->
- <div id="fb">
- <iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=box_count&show_faces=false&
- width=450&action=recommend&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; height:65px; align="right" ">
- </iframe>
- </div>
- </div>
- <div class="cleared"></div>
- <div class="art-postfootericons art-metadata-icons">
- <?php echo implode(' | ', $icons); ?>
- </div>
- <?php endif; ?>
- <?php $metadataContent = ob_get_clean(); ?>
- <?php if (trim($metadataContent) != ''): ?>
- <div class="art-postmetadatafooter">
- <?php echo $metadataContent; ?>
- </div>
- <?php endif; ?>
- </div>
- <div class="cleared"></div>
- <?php ob_start(); ?>
- <?php $icons = array(); ?>
- <?php if (!is_page()): ?><?php ob_start(); ?><?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?>
- <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && get_the_tags()): ?><?php ob_start(); ?><?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', ' '); ?>
- <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && !is_single()): ?><?php ob_start(); ?><?php comments_popup_link(__('No Comments »', 'kubrick'), __('1 Comment »', 'kubrick'), __('% Comments »', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?>
- <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
- <div class="cleared"></div>
- </div>
- </div>
- <?php endwhile; ?>
- <?php else: ?>
- <h1 class="center"><?php _e('Sorry, no posts matched your criteria.', 'kubrick'); ?></h1>
- <?php endif; ?>
- </div>
- </div>
- </div>
- <div class="cleared"></div>
- <?php wp_get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement