2012-08-11 23:34:20 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<title><?php echo $this->code; ?> — httpstatus.es</title>
|
2012-08-12 02:18:32 +02:00
|
|
|
<link rel="author" href="humans.txt" />
|
2012-08-12 00:24:05 +02:00
|
|
|
<link rel="stylesheet" href="assets/css/style.min.css" type="text/css" />
|
2012-12-29 08:32:16 +01:00
|
|
|
<link rel="shortcut icon" href="assets/img/favicon.ico">
|
2012-08-11 23:34:20 +02:00
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
var _gaq = _gaq || [];
|
|
|
|
_gaq.push(['_setAccount', 'UA-29439846-1']);
|
|
|
|
_gaq.push(['_trackPageview']);
|
|
|
|
|
|
|
|
(function() {
|
|
|
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
|
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
|
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
|
|
})();
|
|
|
|
|
|
|
|
</script>
|
|
|
|
<meta name="description" content="HTTP Status code list / directory with wikipedia and ietf descriptions"/>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="wrapper">
|
|
|
|
<div class="header">
|
|
|
|
<?php echo $this->code; ?> / <span class="status_title"><?php echo $this->title; ?></span>
|
|
|
|
</div>
|
|
|
|
<div id="desc">
|
|
|
|
<?php foreach($this->descriptions as $type => $description) { ?>
|
|
|
|
<p id="<?php echo $type; ?>">
|
2012-08-12 00:55:01 +02:00
|
|
|
“<?php echo nl2br($description["body"]); ?>“ — <a class="reference" href="<?php echo $description["link"]; ?>"><?php echo $type; ?></a>
|
2012-08-11 23:34:20 +02:00
|
|
|
</p>
|
|
|
|
<?php } ?>
|
|
|
|
</div>
|
|
|
|
<?php if($this->references) { ?>
|
|
|
|
<div id="code_references">
|
|
|
|
<div class="header">
|
2012-08-12 01:40:52 +02:00
|
|
|
<?php echo $this->code; ?> / <span class="status_title">code reference(s)</span>
|
2012-08-11 23:34:20 +02:00
|
|
|
</div>
|
|
|
|
<div class="info_list">
|
|
|
|
<?php foreach($this->references as $reference) { ?>
|
|
|
|
<div class="info_item">
|
|
|
|
<div class="title">
|
|
|
|
<?php echo $reference["title"]; ?>
|
|
|
|
</div>
|
|
|
|
<div class="value">
|
2012-08-12 01:40:52 +02:00
|
|
|
<?php echo $reference["value"]; ?>
|
2012-08-11 23:34:20 +02:00
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
<div id="return">
|
|
|
|
<a href="http://httpstatus.es">← return</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|