Location: PHPKode > projects > Netautor Professional > netautor/napro4/admin/install/setup.php
<?php
/* +----------------------------------------------------------------------+
   | Netautor Professional Application Server                             |
   +----------------------------------------------------------------------+
   | Copyright (C) 1998-2005 digiconcept GmbH. <www.digiconcept.net>      |
   +----------------------------------------------------------------------+
   | This file is subject to license, that is bundled with this package   |
   | in the file LICENSE.TXT, and is available at through the             |
   | world-wide-web at http://www.netautor.com/license/                   |
   |                                                                      |
   | If you did not receive a copy of the license and are unable to       |
   | obtain it through the world-wide-web, please send a note to          |
   | hide@address.com so we can mail you a copy.                      |
   +----------------------------------------------------------------------+
   | Authors: Stefan Rottensteiner <hide@address.com>    |
   |          Marek  Kadziela      <hide@address.com>	      |
   |          Gregor Wollner                                              |
   |          Christian Unger										      |
   |          Helli  Kleinhans 											  |
   +----------------------------------------------------------------------+*/

/**
 * Setup : Welcome
 *
 * @author Stefan Rottensteiner
 * @version $Revision: 1.24 $
 */

require_once ('./setup.inc'); 

if (file_exists('../../../config/base.php') && empty($_POST['SETUP_CHECK']))
{
	Header('Location: setup_again.php');
	exit();
}

?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-------------------------------------------------------------------
	Wenn Sie diese Zeilen im Klartext lesen können, So wurde Ihr
	Webserver nicht Ordnungsgemäß konfiguriert und Dateien mit
	PHP Inhalten (Dateierweiterung .php) werden nicht vom PHP-Interpreter ausgeführt !
	Bitte benachrichtigen Sie Ihre Webmaster oder Netzwerkadministrator !
	
	If you can read this plain text, your webserver has not been
	well configured. Files caontaining PHP-Code (file xtension .php )wont be executed
	by the PHP-interpreter as expected!
	Please contact your webmaster or network administrator !
--------------------------------------------------------------------->
<html>
<head>
	<title><?php echo SOFTWARE_NAME_FULL;?> <?php echo SOFTWARE_VERSION_FULL;?> Setup Welcome</title>
	<meta name="Description" content="<?php SOFTWARE_NAME_FULL;?> <?php echo SOFTWARE_VERSION_FULL;?> Setup Welcome">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="Expires" content="0">
	<meta name="robots" content="noindex,nofollow">
	<link href="../../include/netautor.css" rel="stylesheet" type="text/css" src="../../include/netautor.css">
</head>
<body bgcolor="White" text="Black" leftmargin=1 topmargin=1>
<br>
<br>
<table border="0" cellspacing="0" cellpadding="0" align="center" valign="top">
	<tr>
		<td align="center" valign="top">
			<a style="text-decoration: none;" href="http://www.netautor.com" target="_top" ><img src="../../grafik/na_logo.jpg" width="270" height="251" hspace="0" vspace="0" border="0" alt="<?=SOFTWARE_NAME_FULL?> <?=SOFTWARE_VERSION_FULL?>"><br clear=all></a>
			<br>
		</td>
	</tr>
	<tr>
		<td align="center" class="text">
			<?php echo ($SETUP_LANGUAGE_TEXT['welcome']); ?>
			<br>
			<br>
			<form method="post" action="setup_1.php">
			<?php echo(setup_getMyVars($_POST,'SETUP')); ?>
			<input type="hidden" name="SETUP_LANGUAGE" value="<?php echo SETUP_LANGUAGE;?>">
			<input type="hidden" name="SETUP_CHECK" value="1">
			<div align="center">
			<script language="JavaScript">
			<!-- 
				function submit_language()
				{
					document.forms[0].submit();
				}
				function set_language(lng)
				{
					document.forms[0].elements['SETUP_LANGUAGE'].value	= lng;
					document.forms[0].action = 'setup.php';
					
					parent.frames['SETUP_HEAD'].document.location.href = 'setup_head.php?SETUP_LANGUAGE='+lng;
					
					setTimeout("submit_language()",500);
				}
			// -->
			</script>
				<table cellspacing="0" cellpadding="0" border="0">
				<?php 
					foreach ($setup_text_array as $lang_key => $lang_value)
					{
						$checked = ( $lang_key == SETUP_LANGUAGE ? 'checked' : '' );
				 ?>
					<tr>
						<td align="left" valign="middle" class="textgreen"><input type="radio" name="choose_lang" onClick="set_language('<?php echo($lang_key); ?>')" <?php echo($checked); ?> ></td>
						<td align="left" valign="middle" class="textgreen"><b><?php echo($lang_value['language_name']); ?></b></td>
					</tr>
				<?php
					}
				 ?>
				</table>
			</div>
			</form>			
		</td>
	</tr>

	<tr>
		<td align="center">
			<br>
			<a href="javascript:showLicense();" class="textgreen" ><?php echo($SETUP_LANGUAGE_TEXT['accept_license']);?></font></a>
		</td>
	</tr>
	<tr>
		<td align="center" class="text"><img src="../../grafik/pixel.gif" width="1" height="20"><br>	</td>
	</tr>
	<tr>
		<td align="center" class="text"><input type="button" class="create" value="<?php echo ($SETUP_LANGUAGE_TEXT['install']);?>" onClick="document.forms[0].submit();">	</td>
	</tr>

</table>
<script language="JavaScript" type="text/javascript">
<!--
var licenseWindow;
function showLicense(){	
	if (licenseWindow && !licenseWindow.closed) licenseWindow.close();
	licenseWindow= window.open('../../LICENSE.TXT','LicenseWindow','scrollbars=yes,menubars=no,locationbars=no,dependent=yes,width=680,height=600');
}

	if (parent.frames['SETUP_HEAD'] && parent.frames['SETUP_HEAD'].document) parent.frames['SETUP_HEAD'].document.setTitle('');

//-->
</script>
</body>
</html>
Return current item: Netautor Professional