<h1>{$form_name} - {$view_name}</h1>

<table cellpadding="2" cellspacing="0" width="100%" class="print_table">
<tr>
  {foreach from=$display_fields item=column}
    <th>{$column.field_title}</th>
  {/foreach}
</tr>
{strip}
{foreach from=$submissions item=submission}
  {assign var=submission_id value=$submission.submission_id}
  <tr>
    {foreach from=$display_fields item=field_info}
      {assign var=col_name value=$field_info.col_name}
      {assign var=value value=$submission.$col_name}
      <td>
        {smart_display_field form_id=$form_id view_id=$view_id
          submission_id=$submission_id field_info=$field_info
          field_types=$field_types settings=$settings value=$value
          escape="excel"}
      </td>
    {/foreach}
  </tr>
{/foreach}
{/strip}
</table>