<html>

<head>
<title>Gossamer Links Setup: Step 2</title>
</head>

<body bgcolor=white>
<form method="POST" action="setup.cgi">
<table border="1" cellpadding="0" cellspacing="0" width="500">
    <tr>
      <td bgcolor="#DDDDDD">
        <p align="center"><font face="Tahoma,Arial,Helvetica" size="2">&nbsp;</font><font face="Tahoma,Arial,Helvetica"><b><font size="3">Gossamer Links Setup - SQL Information</font></b>
        &nbsp;
  </font>
        </p>
      </td>
    </tr>
    <tr>
      <td>
  <blockquote>
  <br>
<%if error%>  
  <p><b><font face="Tahoma,Arial,Helvetica" size="2" color="red"> 
  Error:</font></b> <font face="Tahoma,Arial,Helvetica" size="2" color="red"> <%error%></font></p>
  <p><font face="Tahoma,Arial,Helvetica" size="2">Please fix the error below and try again:
<%endif%>
<%ifnot error%>
  </font>
  <p><font face="Tahoma,Arial,Helvetica" size="2">Please enter the following
  information:</font>
<%endif%>
  <table border="0" cellpadding="2" cellspacing="3">
    <tr>
      <td valign="top" align="left" width="150"><font face="Tahoma,Arial,Helvetica" size="2"><br>
        SQL Server Type:</font></td>
      <td valign="top" align="left" width="300"><font face="Tahoma,Arial,Helvetica" size="2"><br>
        <select size="1" name="driver">
          <option value="mysql"<%if driver eq 'mysql'%> selected<%endif%>>MySQL</option>
          <option value="MSSQL"<%if driver eq 'MSSQL' or driver eq 'ODBC'%> selected<%endif%>>MSSQL</option>
          <option value="Oracle"<%if driver eq 'Oracle'%> selected<%endif%>>Oracle</option>
		  <option value="Pg"<%if driver eq 'Pg'%> selected<%endif%>>Postgres</option>
        </select></font></td>
    </tr>
    <tr>
      <td valign="top" align="left" width="150"><font face="Tahoma,Arial,Helvetica" size="2">SQL
        Hostname:</font></td>
      <td valign="top" align="left" width="300"><font face="Tahoma,Arial,Helvetica" size="2"><input type="text" name="host" size="20" value="<%host%>"></font></td>
    </tr>
    <tr>
      <td valign="top" align="left" width="150"><font face="Tahoma,Arial,Helvetica" size="2">SQL
        Database:</font></td>
      <td valign="top" align="left" width="300"><font face="Tahoma,Arial,Helvetica" size="2"><input type="text" name="database" size="20" value="<%database%>"></font></td>
    </tr>
    <tr>
      <td valign="top" align="left" width="150"><font face="Tahoma,Arial,Helvetica" size="2">SQL
        Username:</font></td>
      <td valign="top" align="left" width="300"><font face="Tahoma,Arial,Helvetica" size="2"><input type="text" name="login" size="20" value="<%login%>"></font></td>
    </tr>
    <tr>
      <td valign="top" align="left" width="150"><font face="Tahoma,Arial,Helvetica" size="2">SQL
        Password:</font></td>
      <td valign="top" align="left" width="300"><font face="Tahoma,Arial,Helvetica" size="2"><input type="password" name="password" value="<%password%>" size="20"></font></td>
    </tr>
    <tr>
      <td valign="top" align="left" width="150"><font face="Tahoma,Arial,Helvetica" size="2">Table Prefix</font></td>
      <td valign="top" align="left" width="300"><font face="Tahoma,Arial,Helvetica" size="2"><input type="text" name="prefix" value="<%prefix || 'glinks_'%>"></font></td>
    </tr>
    <tr>
      <td valign="top" align="left" width="150"><font face="Tahoma,Arial,Helvetica" size="2">Overwrite</font></td>
      <td valign="top" align="left" width="300"><font face="Tahoma,Arial,Helvetica" size="2"><input type="checkbox" name="overwrite" value="ON"<%if overwrite%> CHECKED<%endif%>></font></td>
    </tr>
  </table>
  <p><font face="Tahoma,Arial,Helvetica" size="2">Gossamer Links will verify the
  program and create your SQL tables. If you have existing tables and would like
  Gossamer Links to drop and remove your data, click on Overwrite.</font></p>
  </blockquote>
  <p align="center"><center>&nbsp; <input type="submit" value="Next &gt;&gt;">
  <br>
  &nbsp; 
		</center></td>
    </tr>
  </table>
  <font face="Tahoma,Arial,Helvetica" size="2">
  <p><%include copyright.html%></p>
<input type=hidden name="do" value="init_setup">
</form>
</body>
</html>
