confessions

$opts->engine == $engine ? "selected" : ""; $options .= "<option value="" " . $data["original_name"] . "" target="_blank">" . ucfirst($frontend) . "</a>"; } ?> <title>LibreY - <?php printtext("page_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" autofocus/> <input type="hidden" name="p" value="0"/> <input type="submit" class="hide"/> <div class="search-button-wrapper"> <button name="t" value="0" type="submit"><?php printtext("search_button"); ?></button> <?php if (1 > strlen($opts->query) || strlen($opts->query) > 256) { header("Location: ./"); die(); } $results = fetch_search_results($opts, false); if (array_key_exists("error", $results)) { http_response_code(500); } header("Content-Type: application/json"); echo json_encode($results); ?> #!/bin/sh while true;