From e02c931a58bcf8d781c79aab30d16e9446662b65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Fri, 26 Aug 2016 22:06:27 +0200 Subject: [PATCH] Added map You have to add own access token --- blomzt/main.php | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/blomzt/main.php b/blomzt/main.php index 70b2033..906a0e5 100644 --- a/blomzt/main.php +++ b/blomzt/main.php @@ -25,7 +25,9 @@ if (!TableExists($config["db_table"], $conn)) { + + @@ -77,6 +79,53 @@ if (!TableExists($config["db_table"], $conn)) { ?> + +
+ + @@ -111,6 +160,10 @@ function getList($conn, $table) { $res = mysqli_query($conn, $sql); //($res) ? printf("true") : printf("false"); + if ($res === false) { + return false; + } + $list = array(); while($row = mysqli_fetch_array($res, MYSQLI_ASSOC)) {