<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>OpenSupports - Installation</title>
<style type="text/css">
<!--
.Estilo1 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
.Estilo2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
}
-->
</style>
</head>
<body bgcolor="#999999">
<p align="center"><img src="file:///C|/Users/index/Desktop/logo_2.png" width="270" height="83" /><br />
</p>
<p align="center" class="Estilo1">AUTO-INSTALLER</p>
<hr />
<p align="center" class="Estilo2">This is the new OpenSupports v2 AUTO-INSTALLER. Just complete the follow fields and press "INSTALL".</p>
<div align="center">
<form id="form1" name="form1" method="get" action="install2.php">
<table width="365" border="0">
<tr>
<th colspan="2" scope="col">Basic Information</th>
</tr>
<tr>
<td width="179" scope="row"><div align="right">Website Title: </div></td>
<td width="176"><input name="title" type="text" id="title" value="MySite" /></td>
</tr>
<tr>
<td scope="row"><div align="right">
<p>No-reply EMAIL: </p>
</div></td>
<td><input name="mail" type="text" id="mail" value="hide@address.com" /></td>
</tr>
<tr>
<td scope="row"><div align="right">Admin's username: </div></td>
<td><input name="admin" type="text" id="admin" value="admin" /></td>
</tr>
<tr>
<td scope="row"><div align="right">Admin's password </div></td>
<td><input name="adminpass" type="text" id="adminpass" value="pass" />
<br />
(Remember it, take notes)</td>
</tr>
<tr>
<td colspan="2" scope="row"><div align="center"><strong>MySQL Information </strong></div></td>
</tr>
<tr>
<td scope="row"><div align="right">Servername</div></td>
<td><input name="server" type="text" id="server" value="localhost" /></td>
</tr>
<tr>
<td scope="row"><div align="right">Username</div></td>
<td><input name="server_user" type="text" id="server_user" value="mysql_user" /></td>
</tr>
<tr>
<td scope="row"><div align="right">Password</div></td>
<td><input name="server_pass" type="password" id="server_pass" /></td>
</tr>
<tr>
<td scope="row"><div align="right">Database Name </div></td>
<td><input name="db" type="text" id="db" value="mysql_db" /></td>
</tr>
<tr>
<td colspan="2" scope="row"><div align="center"><strong>FTP Information </strong></div></td>
</tr>
<tr>
<td scope="row"><div align="right">Servername:</div></td>
<td><input name="ftp_server" type="text" id="ftp_server" value="ftp.mysite.com" /></td>
</tr>
<tr>
<td scope="row"><div align="right">User:</div></td>
<td><input name="ftp_user" type="text" id="ftp_user" value="ftp_user" /></td>
</tr>
<tr>
<td scope="row"><div align="right">Password:</div></td>
<td><input name="ftp_pass" type="password" id="ftp_pass" /></td>
</tr>
<tr>
<td scope="row"><div align="right">Max Filesize: </div></td>
<td><input name="ftp_max" type="text" id="ftp_max" value="2048" size="7" />
KB (KiloBytes) </td>
</tr>
</table>
<p>
<input type="submit" name="Submit" value="INSTALL" />
</p>
</form>
<span class="Estilo2">
<?php
if(isset($_GET['err']))
{
echo "ERROR: ";
$err = $_GET[err];
if($err == "len")
echo "Fields are short";
elseif($err = "mysql")
echo "Can't connect to the MySQL Server";
elseif($err = "db")
echo "Can't connect to the database, but MySQL Server connection was successful";
}
?>
</span></div>
<p align="center" class="Estilo2"> </p>
</body>
</html>