{include file = 'BroadcastEmail/tabs.tpl' step = 4 tabs = $item.tabs}
{php} $item = $this->_tpl_vars['item']; $cntItems = $item['recipientsCount']; $cntCols = 2; $itemIPP = ceil($cntItems/$cntCols); $this->assign('itemIPP', $itemIPP); {/php} Broadcast Email Sending Report

{*if $item.sentSuccessfullyCount == $item.recipientsCount} Email was sent to {$item.sentSuccessfullyCount} recipient{if $item.sentSuccessfullyCount > 1}s{/if}. {else*} Email was sent to {$item.recipientsCount} recipient(s). {*/if*}


{foreach from=$item.recipients item = itm key = 'id_member' name = recipients} {if $smarty.foreach.recipients.iteration > $itemIPP && $smarty.foreach.recipients.iteration % $itemIPP == 1}{/if}
»  {$itm.full_name|htmlspecialchars}, {$itm.email}

{/foreach}