<td><?php echo is_array($_tmp = $this->_tpl_vars['selected']['clicks']->count->unique) ? $this->_run_mod_handler('number_span', true, $_tmp) : smarty_modifier_number_span($_tmp); ?> </td> </tr> <tr class="dark"> <td><?php echo smarty_function_localize(array('str' => 'cost'), $this); ?> </td> <td><?php echo is_array($_tmp = smarty_function_ratio(array('p1' => $this->_tpl_vars['selected']['transactions']->commission->all, 'p2' => $this->_tpl_vars['selected']['clicks']->count->raw), $this)) ? $this->_run_mod_handler('currency_span', true, $_tmp) : smarty_modifier_currency_span($_tmp); ?> </td> <td><?php echo is_array($_tmp = smarty_function_ratio(array('p1' => $this->_tpl_vars['selected']['transactions']->commission->all, 'p2' => $this->_tpl_vars['selected']['clicks']->count->unique), $this)) ? $this->_run_mod_handler('currency_span', true, $_tmp) : smarty_modifier_currency_span($_tmp); ?> </td> </tr> <tr class="light"> <td><?php echo smarty_function_localize(array('str' => 'CTR'), $this); ?> </td> <td><span class="NumberData"><?php echo smarty_function_ratioPercentage(array('p1' => $this->_tpl_vars['selected']['clicks']->count->raw, 'p2' => $this->_tpl_vars['selected']['impressions']->count->raw), $this); ?> </span></td> <td><span class="NumberData"><?php echo smarty_function_ratioPercentage(array('p1' => $this->_tpl_vars['selected']['clicks']->count->unique, 'p2' => $this->_tpl_vars['selected']['impressions']->count->unique), $this); ?>
/<span class="NumberData"><?php echo is_array($_tmp = smarty_function_ratio(array('p1' => $this->_tpl_vars['sumTransaction']->commission->paid, 'p2' => $this->_tpl_vars['impressions']->count->unique), $this)) ? $this->_run_mod_handler('currency_span', true, $_tmp) : smarty_modifier_currency_span($_tmp); ?> </span></td> </tr> <tr> <td align="left"><?php echo smarty_function_localize(array('str' => 'Avg. commission per sale'), $this); ?> </td> <td align="right"><span class="NumberData"><?php echo is_array($_tmp = smarty_function_ratio(array('p1' => $this->_tpl_vars['sumTransaction']->commission->pending, 'p2' => $this->_tpl_vars['sales']->count->pending), $this)) ? $this->_run_mod_handler('currency_span', true, $_tmp) : smarty_modifier_currency_span($_tmp); ?> </span></td> <td align="right"><span class="NumberData"><?php echo is_array($_tmp = smarty_function_ratio(array('p1' => $this->_tpl_vars['sumTransaction']->commission->declined, 'p2' => $this->_tpl_vars['sales']->count->declined), $this)) ? $this->_run_mod_handler('currency_span', true, $_tmp) : smarty_modifier_currency_span($_tmp); ?> </span></td> <td align="right"><span class="NumberData"><?php echo is_array($_tmp = smarty_function_ratio(array('p1' => $this->_tpl_vars['sumTransaction']->commission->approved, 'p2' => $this->_tpl_vars['sales']->count->approved), $this)) ? $this->_run_mod_handler('currency_span', true, $_tmp) : smarty_modifier_currency_span($_tmp); ?> </span></td> <td align="right"><span class="NumberData"><?php echo is_array($_tmp = smarty_function_ratio(array('p1' => $this->_tpl_vars['sumTransaction']->commission->paid, 'p2' => $this->_tpl_vars['sales']->count->paid), $this)) ? $this->_run_mod_handler('currency_span', true, $_tmp) : smarty_modifier_currency_span($_tmp); ?> </span></td> </tr> </table> </div> </div> </div>