install.php
author rejo
Sun, 22 Apr 2007 07:27:49 +0000
changeset 9 d55459cd1712
parent 8 47dd15d8bb8c
child 27 782f142d096d
permissions -rw-r--r--
[feladat @ 22] - Fixed bug in install.php (was still using sequence stuff). - Changed alignment of columns in user listing in users.php.
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
// +--------------------------------------------------------------------+
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
     4
// | PowerAdmin								|
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
     5
// +--------------------------------------------------------------------+
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
     6
// | Copyright (c) 1997-2002 The PowerAdmin Team			|
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
     7
// +--------------------------------------------------------------------+
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
     8
// | This source file is subject to the license carried by the overal	|
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
     9
// | program PowerAdmin as found on http://poweradmin.sf.net		|
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    10
// | The PowerAdmin program falls under the QPL License:		|
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    11
// | http://www.trolltech.com/developer/licensing/qpl.html		|
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    12
// +--------------------------------------------------------------------+
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    13
// | Authors: Roeland Nieuwenhuis <trancer <AT> trancer <DOT> nl>	|
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    14
// |          Sjeemz <sjeemz <AT> sjeemz <DOT> nl>			|
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    15
// | Add-ons: Wim Mostrey <wim <AT> mostrey <DOT> be>                   |
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    16
// +--------------------------------------------------------------------+
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    17
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    18
// Filename: install.php
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    19
// Description: installs your PowerAdmin
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    20
//
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    21
// $Id: install.php,v 1.12 2003/01/07 23:29:24 lyon Exp $
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    22
//
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    23
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    24
// addslashes to vars if magic_quotes_gpc is off
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    25
function slash_input_data(&$data)
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    26
{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    27
	if ( is_array($data) )
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    28
	{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    29
		foreach ( $data as $k => $v )
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    30
		{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    31
			$data[$k] = ( is_array($v) ) ? slash_input_data($v) : addslashes($v);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    32
		}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    33
	}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    34
	return $data;
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    35
}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    36
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    37
set_magic_quotes_runtime(0);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    38
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    39
// If magic quotes is off, addslashes
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    40
if ( !get_magic_quotes_gpc() )
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    41
{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    42
	$_GET = slash_input_data($_GET);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    43
	$_POST = slash_input_data($_POST);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    44
	$_COOKIE = slash_input_data($_COOKIE);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    45
}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    46
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    47
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    48
error_reporting(E_ALL);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    49
if(!@require_once("inc/config.inc.php"))
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    50
{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    51
	error("You have to create a config.inc.php!");
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    52
}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    53
include_once("inc/header.inc.php");
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    54
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    55
$sup_types = array('mysql');
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    56
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    57
function error($msg=false)
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    58
{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    59
       	// General function for printing critical errors.
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    60
        if ($msg)
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    61
	    {
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    62
		?>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    63
                <P><TABLE CLASS="error"><TR><TD CLASS="error"><H2><? echo _('Oops! An error occured!'); ?></H2>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    64
       	        <BR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    65
               	<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
    66
                <?
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    67
      	        die();
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    68
        }
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    69
	    else
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    70
	    {
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    71
       	        die("No error specified!");
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    72
        }
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    73
}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    74
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    75
if(isset($_POST["submit"]))
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    76
{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    77
	//$dbtype = $_POST["dbtype"];
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    78
	require_once("inc/database.inc.php");
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    79
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    80
	if($dbdsntype == "mysql")
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    81
	{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    82
		$sqlusers =	"CREATE TABLE users (
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    83
				  id int(11) NOT NULL auto_increment,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    84
				  username varchar(16) NOT NULL default '',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    85
				  password varchar(34) NOT NULL default '',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    86
				  fullname varchar(255) NOT NULL default '',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    87
				  email varchar(255) NOT NULL default '',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    88
				  description text NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    89
				  level tinyint(3) NOT NULL default '0',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    90
				  active tinyint(1) NOT NULL default '0',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    91
				  PRIMARY KEY  (id)
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    92
				) TYPE=InnoDB";
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    93
		$sqlzones =	"CREATE TABLE zones (
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    94
  				  id int(11) NOT NULL auto_increment,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    95
				  domain_id int(11) NOT NULL default '0',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    96
				  owner int(11) NOT NULL default '0',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    97
				  comment text,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    98
				  PRIMARY KEY  (id)
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
    99
				) TYPE=InnoDB";
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   100
	}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   101
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   102
	// PGSQL Is trivial still, the relations are different.
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   103
	if($dbdsntype == "pgsql")
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   104
	{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   105
		$sqlusers =	"CREATE TABLE users (
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   106
				id SERIAL PRIMARY KEY,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   107
				username varchar(16) NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   108
				password varchar(255) NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   109
				fullname varchar(255) NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   110
				email varchar(255) NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   111
				description text NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   112
				level smallint DEFAULT 0,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   113
				active smallint DEFAULT 0
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   114
				)";
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   115
		$sqlzones =	"CREATE TABLE zones (
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   116
				id SERIAL PRIMARY KEY,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   117
				name varchar(255) NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   118
				owner smallint NOT NULL,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   119
				comment text NULL
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   120
				)";
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   121
	}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   122
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   123
	if(!empty($_POST['login']) && !empty($_POST['password']) && !empty($_POST['fullname']) && !empty($_POST['email']))
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   124
	{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   125
		// Declare default tables.
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   126
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   127
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   128
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   129
		// It just tries to rough create. If it flunks.. bad a user exists or the dbase exists.
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   130
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   131
		$resusers = $db->query($sqlusers);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   132
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   133
		if($db->isError($resusers))
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   134
		{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   135
			error("Can not create table users in $dbdatabase");
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   136
		}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   137
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   138
		$reszones = $db->query($sqlzones);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   139
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   140
		if($db->isError($reszones))
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   141
		{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   142
			error("Can not create zones table in $dbdatabase");
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   143
		}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   144
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   145
		$sqlinsert =	"INSERT INTO 
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   146
					users 
9
d55459cd1712 [feladat @ 22]
rejo
parents: 8
diff changeset
   147
					(username, password, fullname, email, description, level, active)
8
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   148
				VALUES (
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   149
					'". $_POST['login'] ."', 
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   150
					'". md5(stripslashes($_POST['password'])) ."',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   151
					'". $_POST["fullname"] ."',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   152
					'". $_POST["email"] ."',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   153
					'". $_POST["description"] ."',
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   154
					10,
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   155
					1)";
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   156
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   157
		$resadmin = $db->query($sqlinsert);
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   158
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   159
		if($db->isError($resadmin))
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   160
		{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   161
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   162
			error("Can not add the admin to database $dbdatabase.users");
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   163
		}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   164
		else
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   165
		{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   166
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   167
			?>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   168
<h2><? echo _('PowerAdmin has succesfully been installed.'); ?></h2>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   169
<br />
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   170
<? echo _('Remove this file (install.php) from your webdir.'); ?><br />
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   171
<b><? echo _('WARNING'); ?>:</b> <? echo _('PowerAdmin will not work until you delete install.php'); ?><br />
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   172
<br />
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   173
<? echo _('You can click'); ?> <a href="index.php">here</a> <? echo _('to start using PowerAdmin'); ?>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   174
</BODY></HTML>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   175
<?php
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   176
			die();
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   177
		}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   178
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   179
	}
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   180
	else
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   181
	{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   182
		echo "<DIV CLASS=\"warning\">" . _('You didnt fill in one of the required fields!') . "</DIV>";
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
else
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   187
{
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   188
?>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   189
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   190
<H2><? echo _('PowerAdmin for PowerDNS'); ?></H2>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   191
<BR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   192
<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
   193
administrator login.'); ?><BR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   194
<? echo _('Fields marked with a'); ?> <FONT COLOR="#FF0000">*</FONT> <? echo _('are required.'); ?>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   195
</B><BR><BR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   196
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   197
<FORM METHOD="post">
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   198
<TABLE BORDER="0" CELLSPACING="4">
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   199
<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
   200
<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
   201
<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
   202
<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
   203
<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
   204
<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
   205
</TABLE>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   206
</FORM>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   207
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   208
<BR><BR>
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   209
<FONT CLASS="footer"><B>PowerAdmin v1.0</B>&nbsp;Copyright &copy;2002 The
47dd15d8bb8c [feladat @ 20]
rejo
parents:
diff changeset
   210
PowerAdmin Team</FONT></BODY></HTML><? } ?>