Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2011
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.65 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <div class="art-content-layout">
  3.     <div class="art-content-layout-row">
  4. <div class="art-layout-cell art-content">
  5.  
  6.  
  7. <div class="art-post">
  8.     <div class="art-post-body">
  9. <div class="art-post-inner art-article">
  10. <?php ob_start(); ?>
  11. <h2 class="art-postheader">
  12. <?php   $cat_id = get_query_var('cat');
  13.         $category = get_category($cat_id);?>
  14.   <img src="<?php bloginfo('template_url'); ?>/images/postheadericon.png" width="26" height="25" alt="postheadericon" />
  15. <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>">
  16. <?php echo $category->name ?></br>
  17. </a>
  18. </h2>
  19. <?php $icons = array(); ?>
  20. <?php if (!is_page()): ?><?php ob_start(); ?>
  21. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page()): ?><?php ob_start(); ?>
  22. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
  23. <div class="art-postheadericons art-metadata-icons">
  24. </div>
  25.  
  26. <?php endif; ?>
  27. <?php $metadataContent = ob_get_clean(); ?>
  28. <?php if (trim($metadataContent) != ''): ?>
  29. <div class="art-postmetadataheader">
  30. <?php echo $metadataContent; ?>
  31.  
  32. </div>
  33. <?php endif; ?><?php echo '</br>' ?>
  34. <div class="art-postcontent">
  35.     <!-- article-content -->
  36.  
  37.           <?php
  38.                         $cat_id = get_query_var('cat');
  39.             $category = get_category($cat_id);?>
  40.            
  41.  
  42.             <?php echo (do_shortcode('[dpsc_grid_display category="'.$cat_id.'" total="-1" column="3" per_page="12" type="duka" order="DESC"]'));  ?>
  43.        
  44.     <!-- /article-content -->
  45. </div>
  46. <div class="cleared"></div>
  47. <?php $icons = array(); ?>
  48. <?php if (!is_page()): ?><?php ob_start(); ?><?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?>
  49. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && get_the_tags()): ?><?php ob_start(); ?><?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', ' '); ?>
  50. <?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') ); ?>
  51. <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
  52. <div class="art-postfootericons art-metadata-icons">
  53. <?php echo implode(' | ', $icons); ?>
  54.  
  55. </div>
  56. <?php endif; ?>
  57.  
  58. </div>
  59.  
  60.         <div class="cleared"></div>
  61.     </div>
  62. </div>
  63.  
  64. <?php comments_template(); ?>
  65.  
  66.  
  67. </div>
  68. <?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
  69.     </div>
  70. </div>
  71. <div class="cleared"></div>
  72.  
  73. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement