glancing

"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)) { $image = $url; $image_src = request($image, $config->curl_settings); header("Content-Type: image/png"); echo $image_src; } ?> <title> <?php echo $opts->query; ?> - <?php printtext("page_title");?></title> </head> <body> <div class="misc-container"> <h1><?php printtext("settings_title");?></h1> <form method="post" enctype="multipart/form-data" autocomplete="off"> <div> <label for="theme"><?php printtext("settings_theme");?>:</label> <select name="theme"> <?php $default = $opts->default_theme ?? "dark"; $themes = str_replace($theme . """, $theme . "" selected", $themes); echo $themes; ?> </select> </div> </div> <div class="settings-textbox-container"> <?php foreach($opts->frontends as $frontend => $data) { echo "<div>"; echo "<a " . $data["original_name"] . "" target="_blank">" . ucfirst($frontend) . "</a>"; echo "<input type="text" name="$frontend" placeholder="Replace " . (($category_index == $opts->type) ? "class="active" " : "") . ">auto</option>"; foreach ($engines