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