?> <div class="hook-item-detail"> <?php osc_run_hook('item_detail', osc_item()); ?> </div> <span><i class="ico-location_pin"></i><?php echo osc_item_city(); ?> </span> </div> <div class="item-location"> <img src="<?php echo pop_get_listing_map_image(osc_item_id()); ?> "/> </div> <div class="share-links"> <span><?php _e('Share it!', 'pop'); ?> </span> <p> <a href="<?php echo osc_esc_html(pop_facebook_share_url()); ?> " class="share-icon-bg facebook-icon"></a> <a href="<?php echo osc_esc_html(pop_twitter_share_url());
<?php $map_image = str_replace(osc_uploads_url(), osc_uploads_path(), pop_get_listing_map_image(osc_item_id())); if (!file_exists($map_image)) { pop_listing_location_img(osc_item()); } // meta tag robots osc_add_hook('header', 'pop_follow_construct'); pop_add_body_class('item'); osc_enqueue_script('jquery-validate'); osc_enqueue_script('jquery-bxslider'); osc_enqueue_style('jquery-bxslider-css', osc_current_web_theme_url('css/jquery.bxslider.css')); View::newInstance()->_exportVariableToView('user', User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?> <?php osc_current_web_theme_path('header.php'); $class = ''; if (osc_count_item_resources() == 0) { $class = "no-image"; } ?> <div class="box photos <?php echo $class; ?> "> <div class="photos-slider"> <?php if (osc_count_item_resources() > 0) { ?> <ul class="bxslider">