From 2f2e8d9185a78b1ac37d0ca3c2c50cb1f0983832 Mon Sep 17 00:00:00 2001 From: Jack-Benny Persson Date: Tue, 3 Jun 2014 13:02:12 +0200 Subject: [PATCH] Initial commit --- hosts_up.css | 22 ++++++++++++++++++++++ hosts_up.php | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 hosts_up.css create mode 100644 hosts_up.php 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"; + +?> + +
+ + +