From 46f6b780404d0ba9003d524c2adeeb080d833d80 Mon Sep 17 00:00:00 2001 From: /jedi/ Date: Sun, 30 Dec 2018 06:38:05 +0100 Subject: [PATCH] pretty url --- index.php | 3 ++- templates/dashboard.php | 8 ++++---- templates/insert.php | 16 ++++++++-------- templates/lost.php | 16 ++++++++-------- templates/neo-tinder.php | 16 ++++++++-------- templates/page.php | 24 ++++++++++++------------ templates/request.php | 16 ++++++++-------- templates/sidebar.php | 14 +++++++------- templates/tinder.php | 16 ++++++++-------- 9 files changed, 65 insertions(+), 64 deletions(-) diff --git a/index.php b/index.php index a62d7d6..ddce522 100644 --- a/index.php +++ b/index.php @@ -88,7 +88,8 @@ $page = isset($_GET["page"])?$_GET["page"]:"dashboard"; if (!auth()) { header('WWW-Authenticate: Basic realm="C3CLOC"'); header('HTTP/1.0 401 Unauthorized'); - include "templates/404.php"; + //include "templates/demo/404.html"; + exit; } else { include "templates/page.php"; diff --git a/templates/dashboard.php b/templates/dashboard.php index 15a090f..018546f 100644 --- a/templates/dashboard.php +++ b/templates/dashboard.php @@ -29,7 +29,7 @@ $stats = get_stats();
Lost Items
- + View Details @@ -45,7 +45,7 @@ $stats = get_stats();
Found Items
-
+ View Details @@ -61,7 +61,7 @@ $stats = get_stats();
Matched Items
-
+ View Details @@ -77,7 +77,7 @@ $stats = get_stats();
Unmatched Items
-
+ View Details diff --git a/templates/insert.php b/templates/insert.php index 301dbe1..9d0c1d1 100644 --- a/templates/insert.php +++ b/templates/insert.php @@ -43,19 +43,19 @@ - - + + - + - + - + - - - \ No newline at end of file + + + \ No newline at end of file diff --git a/templates/lost.php b/templates/lost.php index 2a67963..7a73c3e 100644 --- a/templates/lost.php +++ b/templates/lost.php @@ -44,19 +44,19 @@ - - + + - + - + - + - - - \ No newline at end of file + + + \ No newline at end of file diff --git a/templates/neo-tinder.php b/templates/neo-tinder.php index b257126..bc30a92 100644 --- a/templates/neo-tinder.php +++ b/templates/neo-tinder.php @@ -66,19 +66,19 @@ - - + + - + - + - + - - - + + + diff --git a/templates/page.php b/templates/page.php index 092cd69..36f4891 100644 --- a/templates/page.php +++ b/templates/page.php @@ -20,16 +20,16 @@ C3CLOC - Tables - + - + - + - + @@ -37,7 +37,7 @@