+ 1, $i * 10, $query, $type); } for ($i=$page / 10; $page / 10 + 10 > $i; $i++) print_next_page_button($i + 1, $i * 10, $query, $type); print_next_page_button("<", $page - 10, $query, $type); echo "</div>"; } ?> </div> </form> <?php fetch_search_results($opts, true); print_page_buttons($opts->type, $opts->query, $opts->page); ?> <?php require_once "misc/header.php"; require_once "misc/tools.php"; if (!$opts->query) { echo "<p>Example API request: <a href="./api.php?q=gentoo&p=2&t=0">./api.php?q=gentoo&p=2&t=0</a></p> <br/> <p>"q" is the pricing so bad 4d ago lkjfhaedlkjfaslkjfasdkjlfn notifications overflow 4d ago