commit 2f2e8d9185a78b1ac37d0ca3c2c50cb1f0983832 Author: Jack-Benny Persson Date: Tue Jun 3 13:02:12 2014 +0200 Initial commit diff --git a/hosts_up.css b/hosts_up.css new file mode 100644 index 0000000..07157f3 --- /dev/null +++ b/hosts_up.css @@ -0,0 +1,22 @@ +body +{ +background-color:#bababa; +} +h1 +{ +color:#28699b; +font-family:"Arial"; +text-align:left; +} +p +{ +font-family:"Arial"; +font-size:24px; +} + +#middle { + position: absolute; + left: 40%; + top: 10%; + margin: 0px +} diff --git a/hosts_up.php b/hosts_up.php new file mode 100644 index 0000000..ce39675 --- /dev/null +++ b/hosts_up.php @@ -0,0 +1,46 @@ + + + + + + + + + +HostsUp + + + + +
+ +Hosts that are up\n"; +print "

\n"; + +foreach ($out[0] as $i) +{ + print $i . "
\n"; +} + +print "

\n"; + +?> + +
+ + +