Files
bobsleighphotos.com/production/admin/sources/misc/lookupip.inc.php
2017-03-02 20:30:40 -06:00

48 lines
1.8 KiB
PHP

<?
/*
+--------------------------------------------------------------------------
| CubeCart 4
| ========================================
| CubeCart is a registered trade mark of Devellion Limited
| Copyright Devellion Limited 2006. All rights reserved.
| Devellion Limited,
| 5 Bridge Street,
| Bishops Stortford,
| HERTFORDSHIRE.
| CM23 2JU
| UNITED KINGDOM
| http://www.devellion.com
| UK Private Limited Company No. 5323904
| ========================================
| Web: http://www.cubecart.com
| Email: info (at) cubecart (dot) com
| License Type: CubeCart is NOT Open Source Software and Limitations Apply
| Licence Info: http://www.cubecart.com/site/faq/license.php
+--------------------------------------------------------------------------
| lookupip.inc.php
| ========================================
| Look up IP Hostname
+--------------------------------------------------------------------------
*/
if(!defined('CC_INI_SET')){ die("Access Denied"); }
$skipFooter = 1;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php echo $_GET['ip']; ?></title>
<link href="<?php echo $glob['adminFolder']; ?>/styles/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<p class="pageTitle"><?php echo $_GET['ip']; ?></p>
<p class="copyText"><a href="http://www.dnsstuff.com/tools/ipall.ch?domain=<?php echo $_GET['ip']; ?>" class="txtLink" target="_parent"><?php echo gethostbyaddr($_GET['ip']); ?></a></p>
<p align="center" class="copyText">
<strong>
[<a href="javascript:window.close();" class="txtLink"><?php echo $lang['admin_common']['close_window']; ?></a>]
</strong>
</p>
</body>
</html>