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

<table class="stdtable" cellspacing="0">
  <tr>
    <td class="header" colspan="4"> {t}System information{/t} </td>
  </tr>

  <tr>
    <td class="section" colspan="4"> {t}Database system{/t} </td>
  </tr>

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

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

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

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

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

  <tr>
    <td class="section" colspan="4"> {t}PHP{/t} </td>
  </tr>

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

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

  <tr>
    <td class="section" colspan="4"> {t}Data{/t} </td>
  </tr>

  <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} -->
