= json_decode(file_get_contents("static/misc/languages.json"), true); $options = ""; $options .= "<option value="$lang_code" $selected>$name</option>"; } echo "<a " . (($category_index == $opts->type) ? "class="active" " : "") . "href="./search.php?q=" . urlencode($opts->query) . "&p=0&t=" . $category_index . ""><img src="static/images/" . $category . " result"