Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="main">
- <div id="page-content">
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <div class="post" id="post-<?php the_ID(); ?>">
- <span id="map"><a href="<?php echo get_option('home'); ?>/">Головна</a> » <?php the_category(', ') ?></span>
- <br class="clear">
- <div id="stats" class="blockstyle"><span class="left">Опубліковано:<?php the_author_posts_link(); ?> , <?php the_time('l, j F Y') ?> | <?php if(function_exists('the_views')) { the_views(); } ?> |</span><span class="left"><a href="#respond"><?php comments_number('Без коментарів', 'Один коментар', '% коментарів' );?></a></span>
- <br class="clear">
- </div>
- <div class="post-label">
- <?php
- $key="made_in_Ukraine";
- $spec=get_post_custom_values($key);
- if($spec[0]=='1'){ ?>
- <div class="post-label"> <span class="madeUA-label infrontpage">Made in Ukraine</span> </div>
- <?php } ?>
- <?php
- $key="millionaire20";
- $spec=get_post_custom_values($key);
- if($spec[0]=='1'){ ?>
- <div class="post-label"> <span class="mill20-label infrontpage">Мільйонери в 20+</span> </div>
- <?php } ?>
- </div>
- <h2 class="title"><?php the_title(); ?></h2>
- <br class="clear">
- <div class="entry blockstyle">
- <?php $status = get_settings ( "cp_postThumb" );
- $status2 = get_settings ( "cp_thumbAuto" );
- $ar_video = get_settings( "ar_video" );
- if (!in_category($ar_video)) {
- if (( $status2 != "first" ) && ( $status != "no" )) { ?>
- <?php $width = get_settings ( "cp_thumbWidth_Post" );
- $height = get_settings ( "cp_thumbHeight_Post" );
- if ( $width == 0 ) { $width = 150; }
- if ( $height == 0 ) { $height = 150; }
- ?>
- <?php $values = get_post_custom_values("Image");
- if (isset($values[0])) { ?>
- <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php echo get_option('home'); ?>/<?php
- $values = get_post_custom_values("Image"); echo $values[0]; ?>&w=<?php echo $width; ?>&h=<?php echo $height; ?>&zc=1&q=100"
- alt="<?php the_title(); ?>" class="left" width="<?php echo $width; ?>px" height="<?php echo $height; ?>px" />
- <?php } ?>
- <?php } } ?>
- <?php the_content('Читати далі »'); ?>
- <?php wp_link_pages(array('before' => '<p><strong>Сторінки:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
- </div>
- <!-- Put this script tag to the <head> of your page -->
- <iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=standard&show_faces=false&width=400&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:400px; height:40px;"></iframe>
- <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="interviwer_line">Tweet</a>
- <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
- <script type="text/javascript" src="http://vkontakte.ru/js/api/share.js?10" charset="windows-1251"></script>
- <!-- Put this script tag to the place, where the Share button will be -->
- <p style="text-align: center;"><script type="text/javascript"><!--
- document.write(VK.Share.button(false,{type: "round", text: "Мені сподобалось!"}));
- --></script></p><br>
- </div>
- </p>
- <div id="comments">
- <?php comments_template(); ?>
- </div>
- <?php endwhile; else: ?>
- <p>Вибачте, але немає інтерв'ю.</p>
- <?php endif; ?>
- </div>
- </div> <!-- close main -->
- <?php get_sidebar(); ?>
- <div class="clear"></div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement