From: John Runyon Date: Mon, 25 May 2020 14:09:37 +0000 (-0500) Subject: init X-Git-Url: https://jfr.im/git/z_archive/floorplanning.git/commitdiff_plain init --- 74d590bda03e93a2646c410eececd641e34cfb54 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4f4773f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +config.php diff --git a/495.html b/495.html new file mode 100644 index 0000000..c1b448f --- /dev/null +++ b/495.html @@ -0,0 +1,2 @@ + + diff --git a/495.php b/495.php new file mode 100644 index 0000000..f9ab4c8 --- /dev/null +++ b/495.php @@ -0,0 +1,4 @@ + + diff --git a/495.svg b/495.svg new file mode 100644 index 0000000..93c11bf --- /dev/null +++ b/495.svg @@ -0,0 +1,215 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Not to scale. + diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..a8706fa --- /dev/null +++ b/README.txt @@ -0,0 +1 @@ +Floor-plan software diff --git a/index.php b/index.php new file mode 100644 index 0000000..cef3615 --- /dev/null +++ b/index.php @@ -0,0 +1,82 @@ + + + +prepare('SELECT id, x, y, width, height, occupant FROM rects'); +$sth->execute(); +$sth->bind_result($id, $x, $y, $w, $h, $occupant); +while ($sth->fetch()) { + echo '' . PHP_EOL; +} +$sth->close(); + +$sth = $dbh->prepare('SELECT id, pointset, occupant FROM polys'); +$sth->execute(); +$sth->bind_result($id, $pointset, $occupant); +while ($sth->fetch()) { + echo '' . PHP_EOL; +} +?> + + +