= $_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)) { $image = $url; $image_src = request($image, $config->curl_settings); header("Content-Type: image/png"); echo $image_src; } ?> <title> <?php echo $opts->disable_frontends ? "checked" : ""; $options .= "<option value="" " . $data["original_name"] . "" selected", $themes); echo $themes; ?> </select> </div> <div> <label><?php printtext("settings_special_warning");?></label><br><br> <label><?php printtext("settings_special_disabled");?></label> <input type="checkbox" name="disable_special" <?php echo "<button class="hide" name="t" value="$opts->type"/></button>"; ?> <button type="submit" name="save" value="1"><?php printtext("settings_save");?></button> <button type="submit"