summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Breton <thibeauG@atc-it.fr>2016-06-15 15:46:05 +0200
committerCorentin Breton <thibeauG@atc-it.fr>2016-06-15 15:46:05 +0200
commita8e46c2c9315fe27acd020df237529e7131139f2 (patch)
tree68940689bde4f52d69d3fcbc5e73f0bd0e9da094
parent770a80f1db25a8436dd52a1407858632644c8583 (diff)
downloadmy_old_personal_website-a8e46c2c9315fe27acd020df237529e7131139f2.tar.xz
my_old_personal_website-a8e46c2c9315fe27acd020df237529e7131139f2.zip
Mise en place de liens clicable
Diffstat (limited to '')
-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>";
}
}
?>