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