Advertisement:

Author Topic: How to show premium ads only in first search page when click on category?  (Read 577 times)

pecke

  • Full Member
  • ***
  • Posts: 169
is it posible to show premium ads only in first search page when click on category?

« Last Edit: April 04, 2016, 09:59:18 pm by pecke »

pecke

  • Full Member
  • ***
  • Posts: 169
i think i got it with this code

Code: [Select]
<?php if( osc_count_items() == || Params::getParam('iPage') > || stripos($_SERVER['REQUEST_URI'], 'search') )  { ?>
                            <?php } else { ?>
                                            <?php
    osc_get_premiums
(20);
    if(
osc_count_premiums() > 0) {
?>

                            <?php ?>

Shafi

  • Newbie
  • *
  • Posts: 38
  • shoot only if you can kill.
nice work !!