{if !$localDownload} {/if} {$head} {if count($debugList)>0 || count($qLog)>0}
Debug log (X)
{foreach from=$debugList item=cDebug}
{$cDebug|nl2br}
{/foreach} {assign var="total" value=0} {foreach from=$qLog item=cQLog}
{$cQLog.query}
({$cQLog.time|string_format:"%f"} secs) {assign var="total" value="`$total+$cQLog.time`"}
{/foreach}

Total SQL {$total|string_format:"%f"} ({$qLog|@count} queries)

{assign var=endTime value=microtime()} {assign var="totaltotal" value="`$vars.time.startTime+$endTime`"}

Total page {$totaltotal|string_format:"%f"}

{/if} {$inner}