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