{literal} {/literal} {if count($errors)} {include file="block_errors.html" errtitle="<#There were errors in your input#>"} {/if} {if $success}
{$success}

{/if}
<#Database Information#>
<#Mysql Server:#> <#{$dbinfo.version} running on {$dbinfo.dbhost} as {$dbinfo.current_user}#>
<#Database:#> <#{$dbinfo.dbname} has {$dbinfo.totaltables} tables totaling {$dbinfo.totalsize|abbrnum} in size#>
<#History Range:#> <#Historical stats range from#> {$dbinfo.minstatdate|date:'Y-m-d'} <#to#> {$dbinfo.maxstatdate|date:'Y-m-d'} ({$dbinfo.statdatedays} <#days#>)

<#Database Controls#>
<#Note: Only 1 command may be performed at a time.#> <#Clicking 'Go' only affects the matching control.#>
<#Trim History:#>

<#Total days to keep:#> ({$dbinfo.statdatedays} <#days available#>)
<#ADMIN_DB_HISTORY_BLURB#> {* Trim the historical stats from the DB. Leaving the most recent 'max days' of history. This does not affect players (except skill charts). *}

<#Delete Player:#>

<#Player ID to delete:#>  
<#ADMIN_DB_DELPLR_BLURB#> {* Deleting a player can not be undone! You must specify a player ID (not steamid/wonid or name). Click the 'User Search' button for help finding a player w/o their ID. *}

<#Delete Map:#>

<#Map to delete:#> {literal} {/literal}
<#ADMIN_DB_DELMAP_BLURB#> {* Deleting a map can not be undone! All global and player stats for the selected map will be deleted. *}


<#Tables for#> {$dbinfo.dbname}
{foreach from=$dbinfo.tables item='t'} {/foreach}
<#Table#> <#Records#> <#Data#> <#Index#> <#Total#>
{$t.Name|escape} {$t.Rows|commify} {$t.Data_length|abbrnum:2:'  B'} {$t.Index_length|abbrnum:2:'  B'} {$t.Data_length+$t.Index_length|abbrnum}
<#Overall Values:#> {$dbinfo.totalrecords|commify} {$dbinfo.datasize|abbrnum} {$dbinfo.indexsize|abbrnum} {$dbinfo.totalsize|abbrnum}