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