<tr class="impair">
<td>
<strong>QUERY:</strong><br />
- {$query.query|regex_replace:"/(\n|^|$) */":"\n "|replace:" ":" "|nl2br}
+ {$query.query|regex_replace:"/(\n|^|$) */":"\n "|replace:" ":" "|nl2br}
<br />
</td>
</tr>
</tr>
{/if}
</table>
-<table class="bicol" style="width: 75%; font-family: fixed; margin-left: 2px; margin-bottom: 3px; margin-top: -1px;">
+{if $query.explain}
+<table class="bicol" style="width: 75%; font-family: fixed; margin-left: 2px; margin-bottom: 3px;">
<tr>
{foreach key=key item=item from=$query.explain}
<th>{$key}</th>
{/foreach}
</tr>
</table>
+{/if}
{/foreach}
{/dynamic}