Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="content" class="col-full">
- <div class="fl" id="main">
- <div class="fl" id="sub-left">
- <div class="Left_Column_Sports">
- <?php include( TEMPLATEPATH . '/includes/tb/sports_left.tpl.php' ); ?></div>
- <div class="Left_Column_Author">
- <?php include( TEMPLATEPATH . '/includes/tb/author_left.tpl.php' ); ?></div>
- </div>
- <div class="fr" id="main_article">
- <?php
- $count = 1;
- if (have_posts()) : while (have_posts()) : the_post(); if($count == 1) : ?>
- <div id="featurd_post">
- <div class="ftrd_image"><?php woo_get_image('image',455,245,' '.$GLOBALS['align']); ?></div>
- <div class="fix"></div>
- <div class="ftrd_entry">
- <h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title=""><?php the_title(); ?></a></h2>
- <p class="fetrd_entry"><?php dynamic_excerpt(400); ?></p>
- <a href="#" title="" class="read_more">(<?php _e('आगे पढे ', 'shre_bht'); ?>)</a>
- </div></div>
- <?php else : ?>
- <div class="box"><div class="post">
- <h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title=""><?php the_title(); ?></a></h2>
- <div class="post_image"><?php woo_get_image('image',130,110,'thumbnail '.$GLOBALS['align']); ?> </div>
- <div class="post_matter"><div class="entry"><?php echo limit_words(get_the_excerpt(), '205'); ?>
- </div> </div>
- <div class="fix"></div><p class="post-meta"><span class="timtp"><?php the_time($GLOBALS['woodate']); ?></span><span class="comments"><?php comments_number(__('0 टिप्पणी', 'shre_bht'), __('1 टिप्पणी', 'shre_bht'), __('% टिप्पणियाँ', 'shre_bht')); ?></span>
- <span class="Author_guest sandarbh"><?php $customField = get_post_custom_values("sandarbh");
- if (isset($customField[0])) {?><img src="<?php bloginfo('template_directory'); ?>/images/sandarbh_link.png" width="14px" height="14px" alt="" /><?php echo "<span class='gauthers'> संदर्भ: </span>".$customField[0]; } ?></span>
- <span class="Author_guest"><?php $author = get_post_custom_values("guest-author");
- if (isset($author[0])) {?><span class="authr"></span><?php echo "<span class='gauthers'> लेखक: </span>".$author[0];} ?></span></span>
- <span class="view"><?php _e('', 'shre_bht'); ?><?php echo getPostViews(get_the_ID()); ?></span>
- <span class="read-more fr"><a href="#" title="" class="btns"><?php _e('आगे पढे ', 'shre_bht'); ?></a></span>
- </p></div><!-- /.post --><div class="post-bottom"><div class="fix"></div></div></div>
- <?php if ($count== 2 || $count == 4 ){ ?>
- <?php dynamic_sidebar('index-insert') ?>
- <?php } ?>
- <?php $count = $count + 0; ?>
- <?php endif; ?>
- <?php $count++; ?>
- <?php endwhile; ?>
- </div><!-- /.post -->
- <?php else : ?>
- <div class="post">
- <h2 class="archiveTitle"><?php _e('Sorry, nothing matched your criteria','linepress');?></h2>
- </div>
- <?php endif; ?>
- <div class="more_entries">
- <?php if (function_exists('wp_pagenavi')) wp_pagenavi(); else { ?>
- <?php } ?><!-- /#main --></div><!-- /#main --></div>
- <?php if ( ( function_exists('dynamic_sidebar') && (is_active_sidebar('front_top') || is_active_sidebar('footer-2') || is_active_sidebar('footer-3') || is_active_sidebar('footer-4')) ) ) : ?>
- <div class="fr" id="aside">
- <?php dynamic_sidebar('front_top'); ?>
- <div class="Hot_Topic">
- <?php include( TEMPLATEPATH . '/includes/tb/hot_topic.tpl.php' ); ?>
- </div><!-- /.Hot_Topic -->
- <div class="ad_aside"><?php dynamic_sidebar('front_top'); ?></div>
- <div class="recent_com"> <?php include( TEMPLATEPATH . '/includes/tb/recentcom.tpl.php' ); ?></div>
- </div><!-- /#aside -->
- <?php endif; ?>
- </div>
- </div><!-- /#content -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement