diff -r 7be4525290cc -r 2ff220cfde13 search.php
--- a/search.php Sun Apr 22 16:27:45 2007 +0000
+++ b/search.php Mon Jun 04 18:43:11 2007 +0000
@@ -1,65 +1,33 @@
trancer nl> |
-// | Sjeemz sjeemz nl> |
-// +--------------------------------------------------------------------+
-
-// Filename: search.php
-// Startdate: 9-01-2003
-// Searches the database for corresponding records or domains.
-//
-// The sourecode for this program was donated by DeViCeD, THANKS!
-//
-// $Id: search.php,v 1.1 2003/01/09 23:23:39 azurazu Exp $
-//
-
+require_once("inc/i18n.inc.php");
require_once('inc/toolkit.inc.php');
if (isset($_POST['s_submit']) || isset($_POST['q']))
{
- $submitted = true;
- $search_result = search_record($_POST['q']);
+ $submitted=true;
+ $search_result=search_record($_POST['q']);
}
-
// we will continue after the search form ...
include_once('inc/header.inc.php');
?>
- echo _('Search zones or records'); ?>
-
- echo _('DNS Admin'); ?>
-
-if (level(10))
-{
- ?> echo _('User admin'); ?>
-}
-?>
-
- echo _('Type a hostname or a record in the box below and press search to see if the record exists in the system.'); ?>
-
-
+ echo _('Search zones or records'); ?>
+ Query
+
+
- echo _('Domains found'); ?>:
-
-
-
- |
- echo _('Name'); ?> |
- echo _('Records'); ?> |
- echo _('Owner'); ?> |
-
-
-
-
- ';
- }
- else
- {
- echo ' ';
- }
- ?>
- |
- =$d['name']?> |
- =$d['numrec']?> |
- =get_owner_from_id($d['owner'])?> |
-
+ echo _('Zones found'); ?>:
+