Browse Source

use valid html

dev
mxmehl 4 years ago
parent
commit
504586a033
Signed by: mxmehl GPG Key ID: 2704E4AB371E2E92
  1. 7
      index.php

7
index.php

@ -154,7 +154,7 @@ function show_dnsrecords($hostname) {
echo "<br />\n";
}
}
// PRINT Header
// PRINT HEADER
function print_header() {
print '<!DOCTYPE html>
<html lang="en_US">
@ -162,7 +162,9 @@ function print_header() {
<meta charset="utf-8">
<title>IP and DNS information</title>
<link rel="icon" type="image/png" href="/favicon.png">
</head>';
</head>
<body>
';
}
// PRINT FOOTER
function print_footer() {
@ -171,6 +173,7 @@ function print_footer() {
echo 'Your plain IP address: <a href="//'.$config->ip4domain.'">IPv4</a> | <a href="//'.$config->ip6domain.'">IPv6</a>';
echo "<br />\n";
echo 'Your detailed IP info: <a href="//'.$config->ip4domain.'/'.$config->detailed_uri.'">IPv4</a> | <a href="//'.$config->ip6domain.'/'.$config->detailed_uri.'">IPv6</a>';
echo '</body></html>';
}
// HELPER FUNCTIONS

Loading…
Cancel
Save