{$method->exe("voip","activity")} {if ($method->result == FALSE)} {$block->display("core:method_error")} {else} {popup_init src="includes/overlib/overlib.js"} {literal} {/literal}

{translate module=voip}in_calls{/translate}

{if $in}
{foreach from=$in item=record} {/foreach}
{translate module=voip}field_date_orig{/translate} {translate module=voip}field_dst{/translate} {translate module=voip}field_src{/translate} {translate module=voip}field_duration{/translate} {translate module=voip}field_amount{/translate}
 {$list->date_time($record.date_orig)}  {$record.clid}   {$record.dst}   {$record.duration} min {$currency}{$record.amount}
{else}

{translate module=voip}no_calls{/translate}

{/if}

{translate module=voip}out_calls{/translate}

{if $out}
{foreach from=$out item=record} {/foreach}
{translate module=voip}field_date_orig{/translate} {translate module=voip}field_dst{/translate} {translate module=voip}field_src{/translate} {translate module=voip}field_duration{/translate} {translate module=voip}field_amount{/translate}
 {$list->date_time($record.date_orig)}   {$record.clid}  {$record.dst}   {$record.duration} min {$currency}{$record.amount}
{else}

{translate module=voip}no_calls{/translate}

{/if} {if $in}

{translate module=voip}color_guide{/translate}

{translate module=voip}color_a{/translate}
{translate module=voip}color_v{/translate}
{translate module=voip}color_f{/translate}
{translate module=voip}color_c{/translate}
{/if} {/if}