<p style="padding:3px;">
	<b><?php echo $lang['install_help']; ?></b>
</p>
<table border = '0'>
<form action ='install.php?step=3&amp;lang=<?php echo $_GET['lang'];?>' method ='POST'>
<tr>
	<td colspan='2'><b><u><?php echo $lang['general_confg'];?></u></b><br><br></td>
</tr>
<tr>
	<td><?php echo $lang['hostname'];?></td>
	<td><input type='text' name='HOST_NAME' value="http://<?php echo (IsSet($_POST['HTTP_HOST']))? $_POST['HTTP_HOST']: $_SERVER['HTTP_HOST']; ?>"></td>
</tr>
<tr>
	<td><?php echo $lang['root_dir'];?></td>
	<td><input type='text' name='ROOT_DIR' value="<?php echo (IsSet($_POST['DOCUMENT_ROOT']))? $_POST['DOCUMENT_ROOT']: $_SERVER['DOCUMENT_ROOT'];?>"></td>
</tr>
<tr>
	<td><?php echo $lang['script_path'];?></td>
	<td><input type='text' name='SCRIPT_PATH' value="<?php echo (IsSet($_POST['SCRIPT_PATH']))? $_POST['SCRIPT_PATH'] : find_dir($_SERVER['SCRIPT_NAME']);?>"></td>
</tr>
<tr>
	<td><?php echo $lang['ftp_used'];?></td>
	<td><input type='radio' name='FTP_USED' value='1'>Ja &nbsp;<input type='radio' name='FTP_USED' value='0'>Nein
</tr>
<tr>
	<td><?php echo $lang['ftp_root'];?></td>
	<td><input type='text' name='FTP_ROOT' value="<?php if(IsSet($_POST['FTP_ROOT'])) echo $_POST['FTP_ROOT'];?>"></td>
</tr>
<tr><td colspan='2'><br><b><u><?php echo $lang['ftp_data'];?></u></b><br><br></td></tr>
<tr>
	<td><?php echo $lang['ftp_server'];?></td>
	<td><input type='text' name = 'ftp_server' value="<?php if(IsSet($_POST['ftp_server'])) echo $_POST['ftp_server'];?>"></td>
</tr>
<tr>
	<td><?php echo $lang['ftp_user'];?></td>
	<td><input type='text' name = 'ftp_user' value="<?php if(IsSet($_POST['ftp_user'])) echo $_POST['ftp_user'];?>"></td>
</tr>
<tr>
	<td><?php echo $lang['ftp_pw'];?></td>
	<td><input type='password' name = 'ftp_passw'></td>
</tr>
<tr><td colspan='2'><br><b><u><?php echo $lang['first_admin'];?></u></b><br><br></td></tr>
<tr>
	<td><?php echo $lang['username'];?></td>
	<td><input type='text' name = 'admin_username' value="<?php if(IsSet($_POST['admin_username'])) echo $_POST['admin_username'];?>"></td>
</tr>
<tr>
	<td><?php echo $lang['pw'];?></td>
	<td><input type='password' name = 'admin_passw'></td>
</tr>
<tr>
	<td><?php echo $lang['repeat'];?></td>
	<td><input type='password' name = 'admin_repeat'></td>
</tr>
<tr><td colspan='2'><input type='submit' name='sub_start_install' value='<?php echo $lang['complete'];?>'></td></tr>
</form>
</table>