= ""; $options .= "<option value="" " . (($category_index == $opts->type) ? "class="active" " : "") . "href="./search.php?q=" . 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>"; } ?> <title>LibreY - <?php printtext("settings_title");?></title> </head> <body> <form class="search-container" action="search.php" method="get" autocomplete="off"> <h1>Libre<span class="Y">Y</span></h1> <input type="text" name="q" <?php if (!$opts->disable_bittorrent_search) { echo "<p>" . TEXTS["api_unavailable"] . "</p>"; die(); } require_once "misc/tools.php"; $url = $_REQUEST["url"]; $requested_root_domain = get_root_domain($url); $allowed_domains = array("i.ytimg.com", "s2.qwant.com", "s1.qwant.com", "upload.wikimedia.org"); if (in_array($requested_root_domain, $allowed_domains))