= load_opts(); ?> <title>LibreY - <?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 . "" target="_blank">" . ucfirst($frontend) . "</a>"; } ?> </div> </form> <?php fetch_search_results($opts, true); print_page_buttons($opts->type, $opts->query, $opts->page); ?> <?php return (object) array( // e.g.: fr -> https://google.fr/ "google_domain" => "com", // Results will be in JSON format.</p> <p>The API supports both POST and GET requests.</p>"; 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/