Important security update, please update to Osclass 3.7.4
At Osclass we have changed our Privacy Policy and Terms of Use in order to adapt them to the new General Data Protection Regulation (GDPR). We want you to know what user data we store, what we need them for, and who we share them with in each specific case. Furthermore, we are making it even easier for you to exercise your right to manage your own data.
Our goal is that you enjoy the best possible experience with our website. As the GDPR comes into force, legislation requires us that you grant us permission—both to us and our partners—to store cookies in your browser. Remember you can find more information about what we do with your data by clicking here.
I accept Osclass SL’s Terms of Use and Cookies Policy and grant them permission to manage my data.
<ul class="listing-card-list <?php echo $listClass; ?>" id="listing-card-list"> <?php $i = 0; while ( osc_has_latest_items() ) { $class = ''; if($i%3 == 0){ $class = 'first'; } bender_draw_item($class); $i++; } ?> </ul>
<div class="latest_ads"> <h2> <?php _e('Latest Listings', 'bender'); ?> </h2> <?php if( osc_count_latest_items() == 0) { ?> <p class="empty"> <?php _e('No recent jobs posted', 'bender'); ?> </p> <?php } else { ?> <?php $class = "even"; ?> <?php while ( osc_has_latest_items() ) { ?> <h3><a href="<?php echo osc_item_url(); ?>"><?php echo osc_item_title(); ?></a></h3> <p> <?php echo osc_item_city(); ?> (<?php echo osc_item_region();?>) - <?php echo osc_format_date(osc_item_pub_date()); ?></p> <p><?php echo osc_highlight( strip_tags( osc_item_description() ) ,100); ?><a href="<?php echo osc_item_url(); ?>"> » view offer</a></p> <hr> <?php $class = ($class == 'even') ? 'odd' : 'even'; ?> <?php } ?> <?php if( osc_count_latest_items() == osc_max_latest_items() ) { ?> <p class="see_more_link"><a href="<?php echo osc_search_show_all_url() ; ?>"> <strong> <?php _e('See all listings', 'bender') ; ?> »</strong></a> </p> <?php } ?> <?php View::newInstance()->_erase('items'); } ?> </div>