inc/record.inc.php
changeset 36 4ec5ab29f634
parent 30 380197766e7e
child 37 b785e54690ce
equal deleted inserted replaced
35:5533c4fff98f 36:4ec5ab29f634
     1 <?
     1 <?
     2 
     2 
     3 // +--------------------------------------------------------------------+
       
     4 // | PowerAdmin                                                         |
       
     5 // +--------------------------------------------------------------------+
       
     6 // | Copyright (c) 1997-2002 The PowerAdmin Team                        |
       
     7 // +--------------------------------------------------------------------+
       
     8 // | This source file is subject to the license carried by the overal   |
       
     9 // | program PowerAdmin as found on http://poweradmin.sf.net            |
       
    10 // | The PowerAdmin program falls under the QPL License:                |
       
    11 // | http://www.trolltech.com/developer/licensing/qpl.html              |
       
    12 // +--------------------------------------------------------------------+
       
    13 // | Authors: Roeland Nieuwenhuis <trancer <AT> trancer <DOT> nl>       |
       
    14 // |          Sjeemz <sjeemz <AT> sjeemz <DOT> nl>                      |
       
    15 // +--------------------------------------------------------------------+
       
    16 
     3 
    17 // Filename: record.inc.php
     4 // Filename: record.inc.php
    18 // Startdate: 26-10-2002
     5 // Startdate: 26-10-2002
    19 // This file is ought to edit the records in the database.
     6 // This file is ought to edit the records in the database.
    20 // Records are domains aswell, they also belong here.
     7 // Records are domains aswell, they also belong here.
   829                         $ret[] = array(
   816                         $ret[] = array(
   830                         "master_ip"     => $r["ip"],
   817                         "master_ip"     => $r["ip"],
   831                         "ns_name"       => $r["nameserver"],
   818                         "ns_name"       => $r["nameserver"],
   832                         "account"       => $r["account"],
   819                         "account"       => $r["account"],
   833                         );
   820                         );
   834                         return $ret;
       
   835                 }
   821                 }
       
   822 		return $ret;
   836         }
   823         }
   837 }
   824 }
   838 
   825 
   839 function supermaster_exists($master_ip)
   826 function supermaster_exists($master_ip)
   840 {
   827 {