<?php
$thisapp="OS_Commerce";
$humanapp=str_replace("_", " ", $thisapp);
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Fantastico</title>

<?php
if (is_file("/usr/local/cpanel/base/frontend/<cpanel print="$CPDATA{'RS'}">/fantasticoinc.php"))
	{
	include("/usr/local/cpanel/base/frontend/<cpanel print="$CPDATA{'RS'}">/fantasticoinc.php");
	}
	
if ($inxcontroller) {
?>
<cpanel include="../themeheader_subdir1.html">
<cpanel include="includes/mainmenu_icon_subdir.html">
<cpanel include="../themeheader_subdir2.html">
<cpanel include="includes/mainmenu_label.html">
<cpanel include="../themeheader_subdir3.html">

<?php
} else {
?>
<cpanel include="includes/fantasticoheader.html">

<?php
}
?>

<cpanel include="admin/adminuser.inc.php">
<cpanel include="admin/fantasticopath.inc.php">
<cpanel include="includes/adminsettingspath.inc.php">
<cpanel include="includes/restrictions.inc.php">
<cpanel include="includes/masterfilespath.inc.php">
<cpanel include="includes/sidemenu.php">

<?
if ($FantError)
	{
	echo $FantError;
	} else {
?>

<form action=autoinstallcheck.php method="GET">

<p align="center"><img src="fantasticoimages/oscommerce.gif" width="231" height="45">
<p>
<table width=100% class='TableMiddle'>
<tr> 
<td colspan="2">
<p class="TableMiddleHead">Install <?=$humanapp ?> (1/3)</p>
</td>
</tr>
<tr>
<td valign=top>
<p><b>Where do you want to install today?</b><br>A top level directory with this name will be created during installation.</p>
</td>
<td valign=top>
<input type="text" name="installdir" size="8">
</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="Emphasize">
<p>Admin access data</p>
</td>
</tr>
<tr>
<td valign=top>
<p>Administrator-username (you need this to enter the protected admin area).</p>
</td>
<td valign=top>
<input type="text" name="adminuser" size="8" maxlength="8">
</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td valign=top>
<p>Password (you need this to enter the protected admin area).</p>
</td>
<td valign=top>
<input type="password" name="password" size="8" maxlength="8">
</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="Emphasize">
<p>Base configuration</p>
</td>
</tr>
<tr>
<td>Shop name</td>
<td>
<input type="text" name="shopname" size="22">
</td>
</tr>
<tr>
<td>Owner's name</td>
<td>
<input type="text" name="owner" size="22">
</td>
</tr>
<tr>
<td>Email sender (will display in the &quot;FROM&quot; field in the emails sent by the shop)</td>
<td>
<input type="text" name="from" size="22">
</td>
</tr>

<tr>
<td>Your email address (copy of all orders will be sent to this address)</td>
<td>
<input type="text" name="email" size="22" value="<cpanel print="$user">@<cpanel print="DOMAIN">">
</td>
</tr>


<tr>
<td>Use SSL (secure transactions)</td>
<td>
<select name="ssl">
<option value="true">Yes</option>
<option value="false" selected>No</option>
</select>
</td>
</tr>

<tr>
<td>Secure server hostname in case you use SSL. Only hostname (and username in case of a shared certificate). Don't add 'https://' and don't use leading or trailing slash.</td>
<td>
<input type="text" name="sslserver" size="22" value="<cpanel print="DOMAIN">">
</td>
</tr>

<tr>
<td>Show prices incl. tax</td>
<td>
<select name="vat">
<option value="true" selected>Yes</option>
<option value="false">No</option>
</select>
</td>
</tr>
<tr>
<td class="BoldText">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="BoldText">When clients register:</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Require client's birthdate </td>
<td>
<select name="dob">
<option value="true">Yes</option>
<option value="false" selected>No</option>
</select>
</td>
</tr>
<tr>
<td>Require client's gender</td>
<td>
<select name="sex">
<option value="true">Yes</option>
<option value="false" selected>No</option>
</select>
</td>
</tr>
<tr>
<td>Require company name</td>
<td>
<select name="company">
<option value="true">Yes</option>
<option value="false" selected>No</option>
</select>
</td>
</tr>
<tr>
<td>Require suburb</td>
<td>
<select name="suburb">
<option value="true">Yes</option>
<option value="false" selected>No</option>
</select>
</td>
</tr>
<tr>
<td>Require State</td>
<td>
<select name="state">
<option value="true" selected>Yes</option>
<option value="false" selected>No</option>
</select>
</td>
</tr>
</table>
<p align="center">
<input type="submit" name="action" value="Install <?=$humanapp ?>">
<input type="hidden" name="thisapp" value="<?=$thisapp ?>">
<input type='hidden' name='mysqluser' value='<?=$mysqluser ?>'>
<input type='hidden' name='thisfinddb' value='osc'>
<input type='hidden' name='continuepage' value='autoinstalloscdo.php'>
</p>
</form>

    <?php
}
?>

<cpanel include="includes/fantasticofooter.html">
