<?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; 

// MAP VIEW BUTTON
if(isset($GLOBALS['flag-search']) ){ $canShowMap = get_post_meta($post->ID,'showgooglemap',true); }else{ $canShowMap = false; }
if($GLOBALS['CORE_THEME']['display']['default_gallery_style'] == "listonly"){ $canShowMap = false; }


ob_start(); ?>

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

<div class="thumbnail clearfix"> 
  
    [IMAGE gallery=1][/IMAGE]    
    
    <div class="content">
    
        <h4>[TITLE]</h4>
        
        <small> [TIMESINCE text_before="Posted" text_after="ago."] [CATEGORY] [hits]   [RATING]  </small>  
        
        <div class="line1"></div>
         
        <div class="row">
        
            <div class="col-md-9 hidden_grid">
            
            [EXCERPT]             
            
            </div>
            
            <div class="col-md-3">
            
             [price] 
             
             <div class="locatiobit text-center">[FLAG] [COUNTRY link=1]</div>
 
            
     	</div>
        
        </div>  
     
    </div>

</div>

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