{if $users}

# | VISITOR | SPECS | LENGTH | STATUS
--- | --- | --- | --- | ---
{foreach from=$users item=i}
{literal}
{/literal} {$i.request_id} | {$i.name} | {if $i.country_name != '' && $i.country_name != 'Null' && $i.country_name != 'Undefined'} {else} {/if} | {$i.chat_length} | Ended
{/foreach}

{/if} {if $data}
{if $data.history} {foreach from=$data.history item=i} {$i} {/foreach} {literal}
{/literal} {/if}

#### Chat stats:

Date: {$data.chat_date|date_format:"%A, %B %e, %Y"}

Length: {$data.chat_length}

#### Visitors path:

{if $data.visitors_path} {foreach from=$data.visitors_path item=i} {$i} {/foreach} {/if}
{/if}