if ('11') { $prev = 'http://'.$_SERVER['HTTP_HOST'].'/search/classic/11'; } ?> if ('11' == '1') { $prev = 'http://'.$_SERVER['HTTP_HOST'].'/search/classic/1'; } ?> if ('' && '' <= 10) { $next = 'http://'.$_SERVER['HTTP_HOST'].'/search/classic/'; } ?>