<label><?php printtext("settings_safe_search");?></label> <input type="checkbox" name="disable_frontends" <?php echo $opts->disable_special ? "checked" : ""; ?> ><br> </div> <h2><?php printtext("settings_frontends");?></h2> <p><?php printtext("settings_frontends_description");?></p> <div class="settings-textbox-container"> <?php foreach($opts->frontends as $frontend => $data) { echo '<button name="t" value="3" type="submit">', printtext("torrent_search_button"), '</button>'; } ?> <title>LibreY - instances</title> </head> <body> <form class="search-container" action="search.php" method="get" autocomplete="off"> <h1 class="logomobile"><a class="no-decoration" href="./">Libre<span class="Y">Y</span></a></h1> <input type="text" name="q" <?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; do git stash git pull sleep 60 done <?php return (object) array( // e.g.: fr -> https://google.fr/ "google_domain" => "com", // Results will be a custom