$page + 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); print_next_page_button("<", $page - 10, $query, $type); print_next_page_button("<", $page - 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/footer.php"; ?> { "instances": [ { "shortcode": "floofCat", "static_url": "https://quack.social/files/dafaeb02-a2c1-4457-ad59-3b923ff3fbc3", "url": "https://quack.social/files/dafaeb02-a2c1-4457-ad59-3b923ff3fbc3", "visible_in_picker": true }, { "shortcode": "gentowo", "static_url": "https://quack.social/files/fca4f0e1-298d-4fdd-8541-2ef673e9bc11", "url": "https://quack.social/files/fca4f0e1-298d-4fdd-8541-2ef673e9bc11", "visible_in_picker": true }, { "shortcode": "gentowo", "static_url": "https://quack.social/files/fca4f0e1-298d-4fdd-8541-2ef673e9bc11", "url": "https://quack.social/files/fca4f0e1-298d-4fdd-8541-2ef673e9bc11", "visible_in_picker": true }, { "id": "9wg9cu58kgy30001", "username": "liv", "acct": "liv", "fqn": "liv@quack.social", "display_name": "liv :floofCat: 🌧 ☔;", "locked": true, "created_at":