adding additional images
authorBrian Flowers <git-admn@bsflowers.net>
Fri, 23 Sep 2016 05:04:46 +0000 (01:04 -0400)
committerBrian Flowers <git-admn@bsflowers.net>
Fri, 23 Sep 2016 05:04:46 +0000 (01:04 -0400)
bdsm-clear.png [new file with mode: 0644]
bdsm-clear.xcf [new file with mode: 0644]
configure.php

diff --git a/bdsm-clear.png b/bdsm-clear.png
new file mode 100644 (file)
index 0000000..bb94b81
Binary files /dev/null and b/bdsm-clear.png differ
diff --git a/bdsm-clear.xcf b/bdsm-clear.xcf
new file mode 100644 (file)
index 0000000..6b73e32
Binary files /dev/null and b/bdsm-clear.xcf differ
index 48a1f89..981b4e9 100755 (executable)
@@ -1,3 +1,6 @@
+<?php
+
+?>
 <HTML>
   <HEAD>
     <TITLE>bdsm at monitor.slightlycyberpunk.com</TITLE>
@@ -55,6 +58,7 @@
   <BODY>
 <?php print_r($_POST); ?>
     <div id="vmenu">
+        <a href="https://www.slightlycyberpunk.com/"><img src="bdsm.png" /></a>
         <a href="index.php">Index</a>  
         <a href="index.php">Historical</a>
         <a href="configure.php">Configuration</a>
@@ -79,8 +83,7 @@ while($host = $result->fetchArray(SQLITE3_ASSOC))
 
 foreach ($hosts as $host)
 {
-    echo "<form id='attributes' method='POST' ".
-         "action='configure.php?host=".urlencode($host)."' />";
+    echo "<form id='attributes' method='POST' action='configure.php' />";
     echo "      <tr><th>$host</th>";
     echo "<th><input type='submit' value='Update host' /></th></tr>";
     $result = $db_handle->query("SELECT DISTINCT attribute FROM MEASUREMENTS WHERE host='$host'");