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