<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<!-- BEGIN {$smarty.template} -->

<title>{t}phpaga: Installation{/t}</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="robots" content="noarchive,nofollow,noindex" />
<style type="text/css" title="{$userskin}">@import "styles/{$smarty.const.PHPAGA_DEFAULT_SKIN}.css";</style>
</head>
<body>

<div id="install">

<h1>phpaga | {t}Installation: DB structure missing{/t}</h1>

<table class="stdtable" cellspacing="0">
  <caption><em>{t}Database information{/t}</em></caption>
  <tr> <td class="label"> {t}System{/t}: </td> <td class="data"> {$smarty.const.PHPAGA_DB_SYSTEM} </td> </tr>
  <tr> <td class="label"> {t}Host{/t}: </td> <td class="data"> {$smarty.const.PHPAGA_DB_HOST} </td> </tr>
  <tr> <td class="label"> {t}Database{/t}: </td> <td class="data"> {$smarty.const.PHPAGA_DB_NAME} </td> </tr>
  <tr> <td class="label"> {t}Login{/t}: </td> <td class="data"> {$smarty.const.PHPAGA_DB_LOGIN} </td> </tr>
</table>

{*
<p>{t}Please install the database structure as detailed in the installation documentation, then klick on "Proceed".{/t}</p>

{if ($smarty.const.PHPAGA_DB_SYSTEM == "pgsql") || ($smarty.const.PHPAGA_DB_SYSTEM == "mysql") }
<div id="shell">

cd {$smarty.const.PHPAGA_BASEPATH}sql/ <br />
{if ($smarty.const.PHPAGA_DB_SYSTEM == "pgsql")}
psql {if strlen($smarty.const.PHPAGA_DB_HOST)}-h {$smarty.const.PHPAGA_DB_HOST} {/if}-U {$smarty.const.PHPAGA_DB_LOGIN} {$smarty.const.PHPAGA_DB_NAME} &lt; phpaga_postgresql.pgsql
{elseif ($smarty.const.PHPAGA_DB_SYSTEM == "mysql")}
mysql -u{$smarty.const.PHPAGA_DB_LOGIN} {if strlen($smarty.const.PHPAGA_DB_HOST)}-h {$smarty.const.PHPAGA_DB_HOST} {/if}-p {$smarty.const.PHPAGA_DB_NAME} &lt; phpaga_tables.mysql <br />
mysql -u{$smarty.const.PHPAGA_DB_LOGIN} {if strlen($smarty.const.PHPAGA_DB_HOST)}-h {$smarty.const.PHPAGA_DB_HOST} {/if}-p {$smarty.const.PHPAGA_DB_NAME} &lt; phpaga_data.sql <br />
mysql -u{$smarty.const.PHPAGA_DB_LOGIN} {if strlen($smarty.const.PHPAGA_DB_HOST)}-h {$smarty.const.PHPAGA_DB_HOST} {/if}-p {$smarty.const.PHPAGA_DB_NAME} &lt; phpaga_sequences.mysql
{/if}
</div>

{/if}
*}

<p>{t}Select "Proceed" to install the database structure and core data.{/t}</p>

<form action="{$smarty.const.PHPAGA_SELF}" method="post">
<input type="hidden" name="action" value="dbinst">
<input type="submit" value="{t}Proceed{/t}">
</form>


</div>
</body>
</html>

<!-- END {$smarty.template} -->
