summaryrefslogtreecommitdiff
path: root/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'app.php')
-rw-r--r--app.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app.php b/app.php
index e4c15df..ad5e09e 100644
--- a/app.php
+++ b/app.php
@@ -62,15 +62,15 @@
$retcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if (200==$retcode) {
- echo "<div class='bloc code200'><div id='code200'>UP</div> ".$retcode." ".$url."</div>";
+ echo "<div class='bloc code200'><div id='code200'>UP</div> ".$retcode." <a href='https://".$url."'>".$url."</a></div>";
} elseif (404==$retcode) {
- echo "<div class='bloc code404'><div id='code404'>UP</div> ".$retcode." ".$url."</div>";
+ echo "<div class='bloc code404'><div id='code404'>UP</div> ".$retcode." <a href='https://".$url."'>".$url."</a></div>";
} elseif (401==$retcode) {
- echo "<div class='bloc code401'><div id='code401'>UP</div> ".$retcode." ".$url."</div>";
+ echo "<div class='bloc code401'><div id='code401'>UP</div> ".$retcode." <a href='https://".$url."'>".$url."</a></div>";
} elseif (501==$retcode) {
- echo "<div class='bloc code501'><div id='code501'>UP</div> ".$retcode." ".$url."</div>";
+ echo "<div class='bloc code501'><div id='code501'>UP</div> ".$retcode." <a href='https://".$url."'>".$url."</a></div>";
} else {
- echo "<div class='bloc down'><div id='down'>DOWN</div> ".$retcode." ".$url."</div>";
+ echo "<div class='bloc down'><div id='down'>DOWN</div> ".$retcode." <a href='https://".$url."'>".$url."</a></div>";
}
}
?>