diff options
Diffstat (limited to 'app.php')
-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>"; } } ?> |