Hello me i want filter category based item page and search result design also i need different category different design
<?php if(osc_category('fk_category_id == 1')){ echo"hello";}else { ?>
<div style="width:650px;border:1px solid #DDD;border-radius:5px;float:left;">
<h1 style="padding-left:10px;"><?php if( osc_price_enabled_at_items() ) { ?><small style="float: right;
padding: 10px;"><?php echo osc_item_formated_price() ; ?></small> <?php } ?><?php echo osc_item_title(); ?></h1>
<p class="no-margin" style="padding-left:10px;"><?php printf(__('<strong>Published date:</strong> %s %s', 'twitter'), osc_format_date( osc_item_pub_date() ), date(osc_time_format(), strtotime(osc_item_pub_date())) ) ; ?></p>
<?php if ( osc_item_mod_date() != '' ) { ?>
<p class="no-margin" style="padding-left:10px;"><?php printf(__('<strong>Modified date:</strong> %s %s', 'twitter'), osc_format_date( osc_item_mod_date() ), date(osc_time_format(), strtotime(osc_item_mod_date())) ) ; ?></p>
<?php } ?>
<?php $item_location = item_detail_location() ; ?>
<?php if( count($item_location) > 0 ) { ?>
<p class="no-margin" style="padding-left:10px;"><?php printf(__('<strong>Location:</strong> %s', 'twitter'), implode(', ', $item_location) ) ; ?></p>
<?php } ?>
<p class="margin-top-10" style="padding-left:10px;"><?php echo osc_item_description() ; ?></p>
<div class="photos">
<ul class="media-grid">
<?php while( osc_has_item_resources() ) { ?>
<li>
<a rel="image_group" href="<?php echo osc_resource_url(); ?>"><img src="<?php echo osc_resource_thumbnail_url(); ?>" width="150" alt="<?php echo osc_item_title() ; ?>" title="<?php echo osc_item_title() ; ?>" /></a>
</li>
<?php } ?>
</ul>
</div>
<div class="custom_fields">
<?php if( osc_count_item_meta() > 0 ) { ?>
<div class="meta_list">
<?php while ( osc_has_item_meta() ) { ?>
<p class="meta no-margin">
<strong><?php echo osc_item_meta_name() ; ?>:</strong> <?php echo osc_item_meta_value() ; ?>
</p>
<?php } ?>
</div>
<?php } ?>
</div>
<?php osc_run_hook('item_detail', osc_item() ) ; ?>
<?php if( osc_images_enabled_at_items() && (osc_count_item_resources() > 0) ) { ?>
<?php } ?>
<p style="padding-left:10px;">
<?php if ( !$is_expired && $is_user && $is_can_contact ) { ?>
<?php } ?>
<a class="btn primary item-share-button" data-controls-modal="item-sendfriend" data-backdrop="true" data-keyboard="true" href="javascript://"><?php _e('Share', 'twitter') ; ?></a></div>
</p>
<div style="float:left;width:315px;margin-top: -10px;padding: 5px;">
<?php osc_run_hook('location') ; ?>
</div>
</div>
<?php } ?>