How I can do to turn this into search-list.php?
<! - PREMIUM ITEMS, DISABLED BY DEFAULT ->
<? Php if (1 == 2) {?>
<Php osc_get_premiums (4); ?>
<? Php while (osc_has_premiums ()) {?>
<Div class = "list-prod">
<? Php if (function_exists ( 'fi_make_favorite')) {echo fi_make_favorite (); }?>
<Div class = "left">
<H3 class = "resp-title"> <a href="<?php miss osc_premium_url(); ?> "> <? Php echo osc_highlight (osc_premium_title (), 80); ?> </a> </ H3>
<? Php if (osc_images_enabled_at_items () and osc_count_premium_resources ()> 0) {?>
<a class="big-img" href="<?php miss osc_premium_url(); ?> "> <img src =" <? php echo osc_resource_thumbnail_url ();?>? "title =" <? php echo osc_esc_html (osc_premium_title ());?> "alt =" <? php echo osc_esc_html (osc_premium_title ());?> "/> </a>
<Div class = "img-bar">
<? Php osc_reset_resources (); ?>
<? Php for ($ i = 0; osc_has_premium_resources (); $ i ++) {?>
<? Php if ($ i <3) {?>
<Span class = "small-img" id = "? Bar_img _ <? Php echo $ i;?>"> <Img src = "<? Php echo osc_resource_thumbnail_url ();?>"? Title = "<? Php echo osc_esc_html (osc_premium_title ? ());> "alt =" <? php echo osc_esc_html (osc_premium_title ());> "<? php echo ($ i == 0? 'class =" selected "': ''); ?> /> </ Span>
<? Php}?>
<? Php}?>
</ Div>
<? Php} else {?>
<a class="big-img no-img" href="<?php miss osc_premium_url(); ?> "> <img src =" <? php echo osc_current_web_theme_url ( 'images / no-image.png');? ?> "title =" <? php echo osc_esc_html (osc_premium_title ());?> "alt =" <? php echo osc_esc_html (osc_premium_title ());?> "/> </a>
<? Php}?>
</ Div>
<Div class = "middle">
<Div class = "flag"> <? Php _e ( 'top', 'zara'); ?> </ Div>
? <H3> <a href="<?php miss osc_premium_url(); ?> "> <? Php echo osc_highlight (osc_premium_title (), 80); ?> </a> </ H3>
? <Div class = "{<? Php? Has_images?}> Desc <? Php if (osc_count_premium_resources ()> 0)>"> <? Php echo osc_highlight (osc_premium_description (), 300); ?> </ Div>
? <Div class = "loc"> <i class = "fa fa-map-marker"> </ i> <? Php echo zara_location_format (osc_premium_country (), osc_premium_region (), osc_premium_city ()); ?> </ Div>
<Div class = "author">
<I class = "fa fa-pencil"> </ i> <? Php _e ( 'Published by' 'zara'); ?>
<? Php if (osc_premium_user_id () <> 0) {?>
<a href="<?php miss osc_user_public_profile_url(osc_premium_user_id()); ?> "> <? php echo osc_premium_contact_name (); ?> </a>
<? Php} else {?>
<? Php echo (osc_premium_contact_name () <> '' osc_premium_contact_name (): __ (? 'Anonymous', 'zara')); ?>
<? Php}?>
</ Div>
</ Div>
<Div class = "right">
<? Php if (osc_price_enabled_at_items ()) {?>
? <Div class = "price"> <? Php echo osc_premium_formated_price (); ?> </ Div>
<? Php}?>
<a class="view round2" href="<?php miss osc_premium_url(); ?> "> <? php _e ( 'view', 'zara'); ?> </a>
<a class="category" href="<?php miss osc_search_url(array('sCategory' => osc_premium_category_id ()));?> "> <? php echo osc_premium_category (); ?> </a>
<? Php
$ Now = time ();
$ Your_date = strtotime (osc_item_pub_date ());
$ Datediff = $ now - $ your_date;
$ Item_d = floor ($ datediff / (60 * 60 * 24));
if ($ item_d == 0) {
$ Item_date = __ ( 'today', 'zara');
} Else if ($ item_d == 1) {
$ Item_date = __ ( 'yesterday', 'zara');
} Else {
$ Item_date = date (osc_get_preference ( 'date_format' 'zara_theme'), $ your_date);
}
?>
<Span class = "date">
<? Php
if ($ item_d == 0 or $ item_d == 1) {
echo __ ( 'published' 'zara'). '<Span>'. $ Item_date. '</ Span>';
} Else {
echo __ ( 'published on', 'zara'). '<Span>'. $ Item_date. '</ Span>';
}
?>
</ Span>
<Span class = "viewed">
<? Php echo __ ( 'viewed', 'zara'). '<Span>'. osc_premium_views (). 'X'. '</ Span>'; ?>
</ Span>
</ Div>
</ Div>
<? Php}?>
<? Php}?>
<! - END PREMIUM ITEMS ->