<?php
/* 
* Theme: PREMIUMPRESS CORE FRAMEWORK FILE
* Url: www.premiumpress.com
* Author: Mark Fail
*
* THIS FILE WILL BE UPDATED WITH EVERY UPDATE
* IF YOU WANT TO MODIFY THIS FILE, CREATE A CHILD THEME
*
* http://codex.wordpress.org/Child_Themes
*/
if (!defined('THEME_VERSION')) {	header('HTTP/1.0 403 Forbidden'); exit; }
?>

<?php global $CORE, $post; 
 
 
ob_start(); ?>

<div class="itemdata itemid<?php echo $post->ID; ?> <?php hook_item_class(); ?>" <?php echo $CORE->ITEMSCOPE('itemtype'); ?>>

<div class="thumbnail clearfix">

	[IMAGE gallery=1]
    
    <div class="content">
    
        <h4>[TITLE]</h4>       
        
        [CATEGORY] [INSTOCK class='pull-right']
        
        <div class="hidden_grid">  <div class="line1"></div> [EXCERPT]  </div>
               
        <div class="line1"></div>
        
        <div class="pull-right">[ADD]</div>        
        
        <?php if(get_post_meta($post->ID,'old_price',true) != ""){ ?>[old_price]<?php } ?>
        
        [price]        
    
    </div>

</div>
 
</div>
 
<?php 
$SavedContent = ob_get_clean(); 
?>
<?php echo hook_item_cleanup($CORE->ITEM_CONTENT($post, hook_content_listing($SavedContent))); ?>  