diff options
author | Corentin Breton <thibeauG@atc-it.fr> | 2016-06-15 15:46:05 +0200 |
---|---|---|
committer | Corentin Breton <thibeauG@atc-it.fr> | 2016-06-15 15:46:05 +0200 |
commit | a8e46c2c9315fe27acd020df237529e7131139f2 (patch) | |
tree | 68940689bde4f52d69d3fcbc5e73f0bd0e9da094 | |
parent | 770a80f1db25a8436dd52a1407858632644c8583 (diff) | |
download | my_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.php | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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>"; } } ?> |