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

<table class="stdtable" cellspacing="0">
  <caption><em>{t}System information{/t}</em></caption>
  <tr>
    <th colspan="2"> {t}Database system{/t} </th>
  </tr>

  <tr class="{cycle values="odd,even"}">
    <td> {t}Database system{/t} </td>
    <td> {$sysinfo.rdbms.name|wash} </td>
  </tr>

  <tr class="{cycle values="odd,even"}">
    <td> {t}Version{/t} </td>
    <td> {$sysinfo.rdbms.version|wash} </td>
  </tr>

  <tr class="{cycle values="odd,even"}">
    <td> {t}Host{/t} </td>
    <td> {$smarty.const.PHPAGA_DB_HOST|wash|default:"(socket)"} </td>
  </tr>

  <tr class="{cycle values="odd,even"}">
    <td> {t}Database{/t} </td>
    <td> {$smarty.const.PHPAGA_DB_NAME|wash} </td>
  </tr>

  <tr class="{cycle values="odd,even"}">
    <td> {t}DB user{/t} </td>
    <td> {$smarty.const.PHPAGA_DB_LOGIN|wash} </td>
  </tr>

  <tr>
    <th colspan="2"> {t}PHP{/t} </th>
  </tr>

  <tr class="{cycle values="odd,even"}">
    <td> {t}Version{/t} </td>
    <td> {$smarty.const.PHP_VERSION|wash} </td>
  </tr>

  <tr class="{cycle values="odd,even"}">
    <td> {t}OS{/t} </td>
    <td> {$smarty.const.PHP_OS|wash} </td>
  </tr>
</table>

<table class="stdtable" cellspacing="0">
  <caption><em>{t}Records{/t}</em></caption>
  <tr>
    <th> {t}Entity{/t} </th>
    <th class="number"> {t}Count{/t} </th>
    <th class="time"> {t}First{/t} </th>
    <th class="time"> {t}Last{/t} </th>
  </tr>

  {section name=x loop=$sysinfo.stats}
  <tr class="{cycle values="odd,even"}">
    <td> {$sysinfo.stats[x].name|wash} </td>
    <td class="number"> {$sysinfo.stats[x].num} &nbsp; </td>
    <td class="time"> {$sysinfo.stats[x].first|date_format:$smarty.const.PHPAGA_DATEFORMAT_SHORT|default:"&nbsp;"} </td>
    <td class="time"> {$sysinfo.stats[x].last|date_format:$smarty.const.PHPAGA_DATEFORMAT_SHORT|default:"&nbsp;"} </td>
  </tr>
  {/section}

</table>


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