-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
40 lines (39 loc) · 1.25 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
require_once('inc/config.inc.php');
require_once('inc/autoload.php');
require_once('lib/Cache_Lite/Lite.php');
require_once('classes/Port43.php');
$app = new Port43();
$app->initApp();
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title><?= SITE_TITLE; ?></title>
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="css/main.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="board">
<div id="header">
<?php
include_once('inc/logo.ascii.inc.html');
?>
</div>
<div id="querybox">
<form id="whois" method="get" action="<?= $_SERVER['PHP_SELF']; ?>" novalidate>
<p>Enter any <span class="uln">domain</span> name or <strong>IP</strong> address</p>
<input name="query" class="query" value="<?= ($app->clean_query != '') ? $app->clean_query : ''; ?>"
type="url" autofocus>
<input type="submit" value="Whois »">
</form>
</div>
<?=$app->outputBody();?>
</div>
<div id="footer">
<a href="http://www.module17.com" class="module17" rel="external" title="Module 17 | Web development Toronto">Module
17</a>
</div>
</body>
</html>