diff --git a/index.php b/index.php index 40b4736..a62d7d6 100644 --- a/index.php +++ b/index.php @@ -76,7 +76,7 @@ function get_stats(){ if ($row = $res->fetch_assoc()) { $ret["match"] = $row["c"]; } - + $ret["unmatched"] = $ret["found"] + $ret["lost"] - 2 * $ret["match"]; return $ret; } 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..1a22154 100644 --- a/templates/insert.php +++ b/templates/insert.php @@ -26,7 +26,7 @@ Insert Item into DB
-
+

">

@@ -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 9b7cf37..12c2cf6 100644 --- a/templates/lost.php +++ b/templates/lost.php @@ -26,7 +26,7 @@ Insert Item into DB
- +

">

@@ -57,19 +57,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..cff5f8e 100644 --- a/templates/neo-tinder.php +++ b/templates/neo-tinder.php @@ -26,7 +26,7 @@ Insert Item into DB
- +

@@ -44,19 +44,19 @@ - - + + - + - + - + - - - + + +