install.php
author rejo
Wed, 27 Jun 2007 20:45:51 +0000
changeset 29 e1c60f72d494
parent 27 782f142d096d
child 47 ae140472d97c
permissions -rw-r--r--
[feladat @ 76] Changed some of the functions that are used for the listing of (all) zones. Instead of getting all zones from the database, it now only requests exactlty what it needs. Considerable perfomance improvement.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
     1
<?php
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
     2
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
     3
// addslashes to vars if magic_quotes_gpc is off
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
     4
function slash_input_data(&$data)
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
     5
{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
     6
	if ( is_array($data) )
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
     7
	{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
     8
		foreach ( $data as $k => $v )
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
     9
		{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    10
			$data[$k] = ( is_array($v) ) ? slash_input_data($v) : addslashes($v);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    11
		}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    12
	}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    13
	return $data;
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    14
}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    15
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    16
set_magic_quotes_runtime(0);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    17
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    18
// If magic quotes is off, addslashes
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    19
if ( !get_magic_quotes_gpc() )
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    20
{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    21
	$_GET = slash_input_data($_GET);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    22
	$_POST = slash_input_data($_POST);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    23
	$_COOKIE = slash_input_data($_COOKIE);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    24
}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    25
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    26
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    27
error_reporting(E_ALL);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    28
if(!@require_once("inc/config.inc.php"))
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    29
{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    30
	error("You have to create a config.inc.php!");
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    31
}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    32
include_once("inc/header.inc.php");
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    33
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    34
$sup_types = array('mysql');
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    35
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    36
function error($msg=false)
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    37
{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    38
       	// General function for printing critical errors.
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    39
        if ($msg)
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    40
	    {
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    41
		?>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    42
                <P><TABLE CLASS="error"><TR><TD CLASS="error"><H2><? echo _('Oops! An error occured!'); ?></H2>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    43
       	        <BR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    44
               	<FONT STYLE="font-weight: Bold"><?= nl2br($msg) ?><BR><BR><a href="javascript:history.go(-1)">&lt;&lt; back</a></FONT><BR></TABLE>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    45
                <?
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    46
      	        die();
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    47
        }
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    48
	    else
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    49
	    {
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    50
       	        die("No error specified!");
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    51
        }
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    52
}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    53
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    54
if(isset($_POST["submit"]))
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    55
{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    56
	//$dbtype = $_POST["dbtype"];
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    57
	require_once("inc/database.inc.php");
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    58
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    59
	if($dbdsntype == "mysql")
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    60
	{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    61
		$sqlusers =	"CREATE TABLE users (
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    62
				  id int(11) NOT NULL auto_increment,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    63
				  username varchar(16) NOT NULL default '',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    64
				  password varchar(34) NOT NULL default '',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    65
				  fullname varchar(255) NOT NULL default '',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    66
				  email varchar(255) NOT NULL default '',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    67
				  description text NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    68
				  level tinyint(3) NOT NULL default '0',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    69
				  active tinyint(1) NOT NULL default '0',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    70
				  PRIMARY KEY  (id)
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    71
				) TYPE=InnoDB";
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    72
		$sqlzones =	"CREATE TABLE zones (
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    73
  				  id int(11) NOT NULL auto_increment,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    74
				  domain_id int(11) NOT NULL default '0',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    75
				  owner int(11) NOT NULL default '0',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    76
				  comment text,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    77
				  PRIMARY KEY  (id)
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    78
				) TYPE=InnoDB";
27
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
    79
                $sqlrecowns =   "CREATE TABLE record_owners (
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
    80
                                  id int(11) NOT NULL auto_increment,
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
    81
                                  user_id int(11) NOT NULL default '0',
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
    82
                                  record_id int(11) NOT NULL default '0',
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
    83
                                  PRIMARY KEY  (id)
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
    84
                                ) TYPE=InnoDB";
8
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    85
	}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    86
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    87
	// PGSQL Is trivial still, the relations are different.
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    88
	if($dbdsntype == "pgsql")
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    89
	{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    90
		$sqlusers =	"CREATE TABLE users (
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    91
				id SERIAL PRIMARY KEY,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    92
				username varchar(16) NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    93
				password varchar(255) NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    94
				fullname varchar(255) NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    95
				email varchar(255) NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    96
				description text NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    97
				level smallint DEFAULT 0,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    98
				active smallint DEFAULT 0
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    99
				)";
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   100
		$sqlzones =	"CREATE TABLE zones (
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   101
				id SERIAL PRIMARY KEY,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   102
				name varchar(255) NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   103
				owner smallint NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   104
				comment text NULL
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   105
				)";
27
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
   106
                $sqlrecowns =   "CREATE TABLE record_owners (
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
   107
                                id SERIAL PRIMARY KEY,
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
   108
                                user_id smallint NOT NULL,
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
   109
                                record_id smallint NOT NULL
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
   110
                                )";
8
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   111
	}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   112
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   113
	if(!empty($_POST['login']) && !empty($_POST['password']) && !empty($_POST['fullname']) && !empty($_POST['email']))
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   114
	{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   115
		// Declare default tables.
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   116
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   117
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   118
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   119
		// It just tries to rough create. If it flunks.. bad a user exists or the dbase exists.
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   120
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   121
		$resusers = $db->query($sqlusers);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   122
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   123
		if($db->isError($resusers))
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   124
		{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   125
			error("Can not create table users in $dbdatabase");
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   126
		}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   127
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   128
		$reszones = $db->query($sqlzones);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   129
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   130
		if($db->isError($reszones))
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   131
		{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   132
			error("Can not create zones table in $dbdatabase");
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   133
		}
27
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
   134
                $reszones = $db->query($sqlrecowns);
8
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   135
27
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
   136
                if($db->isError($reszones))
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
   137
                {
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
   138
                        error("Can not create record_owners table in $dbdatabase");
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
   139
                }
782f142d096d [feladat @ 74]
rejo
parents: 9
diff changeset
   140
		
8
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   141
		$sqlinsert =	"INSERT INTO 
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   142
					users 
9
d55459cd1712 [feladat @ 22]
rejo
parents: 8
diff changeset
   143
					(username, password, fullname, email, description, level, active)
8
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   144
				VALUES (
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   145
					'". $_POST['login'] ."', 
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   146
					'". md5(stripslashes($_POST['password'])) ."',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   147
					'". $_POST["fullname"] ."',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   148
					'". $_POST["email"] ."',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   149
					'". $_POST["description"] ."',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   150
					10,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   151
					1)";
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   152
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   153
		$resadmin = $db->query($sqlinsert);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   154
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   155
		if($db->isError($resadmin))
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   156
		{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   157
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   158
			error("Can not add the admin to database $dbdatabase.users");
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   159
		}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   160
		else
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   161
		{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   162
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   163
			?>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   164
<h2><? echo _('PowerAdmin has succesfully been installed.'); ?></h2>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   165
<br />
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   166
<? echo _('Remove this file (install.php) from your webdir.'); ?><br />
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   167
<b><? echo _('WARNING'); ?>:</b> <? echo _('PowerAdmin will not work until you delete install.php'); ?><br />
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   168
<br />
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   169
<? echo _('You can click'); ?> <a href="index.php">here</a> <? echo _('to start using PowerAdmin'); ?>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   170
</BODY></HTML>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   171
<?php
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   172
			die();
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   173
		}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   174
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   175
	}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   176
	else
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   177
	{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   178
		echo "<DIV CLASS=\"warning\">" . _('You didnt fill in one of the required fields!') . "</DIV>";
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   179
	}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   180
}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   181
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   182
else
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   183
{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   184
?>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   185
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   186
<H2><? echo _('PowerAdmin for PowerDNS'); ?></H2>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   187
<BR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   188
<B><? echo _('This config file will setup your database to be ready for PowerAdmin. Please fill in the next fields which will create an
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   189
administrator login.'); ?><BR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   190
<? echo _('Fields marked with a'); ?> <FONT COLOR="#FF0000">*</FONT> <? echo _('are required.'); ?>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   191
</B><BR><BR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   192
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   193
<FORM METHOD="post">
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   194
<TABLE BORDER="0" CELLSPACING="4">
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   195
<TR><TD CLASS="tdbg"><? echo _('Login Name'); ?>:</TD><TD WIDTH="510" CLASS="tdbg"><INPUT TYPE="text" CLASS="input" NAME="login" VALUE=""> <FONT COLOR="#FF0000">*</FONT> </TD></TR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   196
<TR><TD CLASS="tdbg"><? echo _('Password'); ?>:</TD><TD WIDTH="510" CLASS="tdbg"><INPUT TYPE="password" CLASS="input" NAME="password" VALUE=""> <FONT COLOR="#FF0000">*</FONT> </TD></TR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   197
<TR><TD CLASS="tdbg"><? echo _('Full name'); ?>:</TD><TD WIDTH="510" CLASS="tdbg"><INPUT TYPE="text" CLASS="input" NAME="fullname" VALUE=""> <FONT COLOR="#FF0000">*</FONT> </TD></TR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   198
<TR><TD CLASS="tdbg"><? echo _('Email'); ?>:</TD><TD CLASS="tdbg"><INPUT TYPE="text" CLASS="input" NAME="email" VALUE=""> <FONT COLOR="#FF0000">*</FONT> </TD></TR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   199
<TR><TD CLASS="tdbg"><? echo _('Description'); ?>:</TD><TD CLASS="tdbg"><TEXTAREA ROWS="6" COLS="30" CLASS="inputarea" NAME="description"></TEXTAREA></TD></TR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   200
<TR><TD CLASS="tdbg">&nbsp;</TD><TD CLASS="tdbg"><INPUT TYPE="submit" CLASS="button" NAME="submit" VALUE="<? echo _('Make Account'); ?>"></TD></TR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   201
</TABLE>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   202
</FORM>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   203
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   204
<BR><BR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   205
<FONT CLASS="footer"><B>PowerAdmin v1.0</B>&nbsp;Copyright &copy;2002 The
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   206
PowerAdmin Team</FONT></BODY></HTML><? } ?>