Styling, reindenting, theming and reorganising. noscript block to explain why the site is not working if javascript is not turned on.

This commit is contained in:
Ismo Vuorinen
2013-11-18 17:07:45 +02:00
parent 09d5ad02ac
commit ab75c3d07e
4 changed files with 117 additions and 108 deletions

View File

@@ -5,12 +5,14 @@ require_once('config.php');
header("Access-Control-Allow-Origin: *");
$search = $mysqli->real_escape_string($_GET['s']);
$id = $mysqli->real_escape_string($_GET['i']);
$id = $mysqli->real_escape_string($_GET['i']);
if (empty($search) && empty($id)) {
exit();
}
$query = "";
if (!empty($search)) {
$query = "
SELECT *,