diff -r 7be4525290cc -r 2ff220cfde13 index.php --- a/index.php Sun Apr 22 16:27:45 2007 +0000 +++ b/index.php Mon Jun 04 18:43:11 2007 +0000 @@ -1,219 +1,36 @@ trancer nl> | -// | Sjeemz sjeemz nl> | -// +--------------------------------------------------------------------+ - -// -// $Id: index.php,v 1.13 2003/05/10 20:20:05 azurazu Exp $ -// - require_once("inc/i18n.inc.php"); require_once("inc/toolkit.inc.php"); - -if ($_POST["submit"]) -{ - $domain = trim($_POST["domain"]); - $owner = $_POST["owner"]; - $webip = $_POST["webip"]; - $mailip = $_POST["mailip"]; - $empty = $_POST["empty"]; - $dom_type = isset($_POST["dom_type"]) ? $_POST["dom_type"] : "NATIVE"; - if(!$empty) - { - $empty = 0; - if(!eregi('in-addr.arpa', $domain) && (!is_valid_ip($webip) || !is_valid_ip($mailip)) ) - { - $error = "Web or Mail ip is invalid!"; - } - } - if (!$error) - { - if (!is_valid_domain($domain)) - { - $error = "Domain name is invalid!"; - } - elseif (domain_exists($domain)) - { - $error = "Domain already exists!"; - } - //elseif (isset($mailip) && is_valid_ip( - else - { - add_domain($domain, $owner, $webip, $mailip, $empty, $dom_type); - clean_page(); - } - } -} - -if($_POST["passchange"]) -{ - if(strlen($_POST["newpass"]) < 4) - { - error('Length of the pass should be at least 4'); - } - else - { - change_user_pass($_POST["currentpass"], $_POST["newpass"], $_POST["newpass2"]); - } -} - include_once("inc/header.inc.php"); ?> -

- -

,

+
    +
  • +
  • + +
  • +
  • +
  • +
  • + +
  • - -

    - -
    -, . -
    - -: () -

    - -

    :

    - -: -
    - -" . _('Number of domains') . ": ".$num_domains."
    "; - -if ($num_domains > ROWAMOUNT) { - show_letters(LETTERSTART,$doms); - echo "
    "; -} - -$doms = get_domains(0,LETTERSTART); -show_pages(count($doms),ROWAMOUNT); - -?> - -
    - - - -
     
     
    - - ">[ <? echo _('Delete zone'); ?> ] - ">
    - - - - -

    -
    - :
    - - - - - - - - - - -
    :">
    :">
    :">
    : - -
    : - -

    :
     
    -
    +
  • +
  • +
-

-
-:
- - - - - -
:
:
:
 
-