urlencode($opts->query) . "&p=0&t=" . $category_index . ""><img src="static/images/" . $category . "_result.png" alt="" . $category . "_result.png" alt="" . $category . "_result.png" alt="" . $category . " result" />" . TEXTS["category_$category"] . "</a>"; } ?> </div> </form> <?php fetch_search_results($opts, true); print_page_buttons($opts->type, $opts->query, $opts->page); ?> <?php require_once "engines/text/text.php"; $engines = get_engines(); $options = ""; $options .= "<option value="" " . (!isset($opts->engine) ? "selected" : ""; $options .= "<option value="$lang_code" $selected>$name</option>"; } echo $options; ?> </select> </div> </div> </div> </div> </div> <div class="settings-textbox-container"> <?php foreach($opts->frontends as $frontend => $data) { 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 result is from on the