added grid.php
adding embedded php to grid.html
added more static devices
active device query
adding db stuff
grid.php now displays ALL active devices.