summaryrefslogtreecommitdiff
path: root/ifconfig/template.php
diff options
context:
space:
mode:
authormoehm2014-11-17 15:34:04 +0100
committermoehm2014-11-17 15:34:04 +0100
commitaaef9981946924d5da7b244ee2c5bcd7167f6820 (patch)
tree9c991e7bd077c6eaffc0ac04da6b578c456b04cd /ifconfig/template.php
parentf7755964e8703d66cee123a18519a07d49df0ae0 (diff)
downloadtools.iamfabulous.de-aaef9981946924d5da7b244ee2c5bcd7167f6820.tar.gz
tool: ifconfig
Diffstat (limited to 'ifconfig/template.php')
-rw-r--r--ifconfig/template.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/ifconfig/template.php b/ifconfig/template.php
new file mode 100644
index 0000000..2271887
--- /dev/null
+++ b/ifconfig/template.php
@@ -0,0 +1,31 @@
+<!doctype html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
+ <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
+ <style>
+ <?php echo file_get_contents("../tools/style.css"); ?>
+ </style>
+ <noscript><style>.navbar{margin-bottom:0;}</style></noscript>
+ <title>IP API</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link rel='shortcut icon' href='../tools/favicon.ico' type='image/x-icon'>
+</head>
+<body>
+ <?php require("../tools/navbar.php"); ?>
+<div class="container">
+ <div class="text-center">
+ <div class="row">
+ <dl class="dl-horizontal">
+ <?php
+ foreach($result as $key => $value){
+ echo " <dt>".$key."</dd><dd>".$value."</dd>";
+ }
+ ?>
+ </dl>
+ </div>
+ </div>
+</div>
+
+ <?php require("../tools/footer.php"); ?>