</font></td> <td align="center" nowrap="nowrap" colspan="2"><font class="fontstyle_003"><?php echo $totalminutes; ?> </font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php echo $totalcall; ?> </font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php echo $total_tmc; ?> </font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php display_2dec_percentage($totalsuccess * 100 / $totalcall); ?> </font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php display_2bill($totalcost); ?> </font></td> </tr> <!-- END TOTAL --> </tbody> </table> <!-- END ARRAY GLOBAL //--></td> </tr> </tbody> </table>
<!-- FIN DETAIL --> <!-- FIN BOUCLE --> <!-- TOTAL --> <tr bgcolor="bgcolor_019"> <td align="right" nowrap="nowrap"><font class="fontstyle_003"><?php echo gettext("TOTAL");?></font></td> <td align="center" nowrap="nowrap" colspan="2"><font class="fontstyle_003"><?php echo $totalminutes?> </font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php echo $totalcall?></font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php echo $total_tmc?></font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php display_2dec($totalsuccess/$totalcall)?> </font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php display_2bill($totalcost) ?></font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php display_2bill($totalbuycost) ?></font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php display_2bill($totalcost - $totalbuycost) ?></font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php if ($totalcost!=0){ display_2dec_percentage((($totalcost - $totalbuycost)/$totalcost)*100); }else{ echo "NULL";} ?></font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php if ($totalbuycost!=0){ display_2dec_percentage((($totalcost - $totalbuycost)/$totalbuycost)*100); }else{ echo "NULL";} ?></font></td> </tr> <!-- END TOTAL --> </tbody></table> <!-- END ARRAY GLOBAL //--> </td></tr></tbody></table> <br> <!-- SECTION EXPORT //--> <a href="export_csv.php?var_export=<?php echo $FG_EXPORT_SESSION_VAR ?>&var_export_type=type_csv" target="_blank" ><img src="<?php echo Images_Path;?>/excel.gif" border="0" height="30"/><?php echo gettext("Export CSV");?></a> - <a href="export_csv.php?var_export=<?php echo $FG_EXPORT_SESSION_VAR ?>&var_export_type=type_xml" target="_blank" ><img src="<?php echo Images_Path;?>/icons_xml.gif" border="0" height="32"/><?php echo gettext("Export XML");?></a>
</font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php display_2bill($totalcost - $totalbuycost); ?> </font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php if ($totalcost != 0) { display_2dec_percentage(($totalcost - $totalbuycost) / $totalcost * 100); } else { echo "NULL"; } ?> </font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php if ($totalbuycost != 0) { display_2dec_percentage(($totalcost - $totalbuycost) / $totalbuycost * 100); } else { echo "NULL"; } ?> </font></td> </tr> <!-- END TOTAL --> </tbody></table> <!-- END ARRAY GLOBAL //--> </td></tr></tbody></table> <br> <!-- SECTION EXPORT //-->
?> </tr> <!-- END DETAIL --> <!-- END LOOP --> <!-- TOTAL --> <tr bgcolor="bgcolor_019"> <td align="right" nowrap="nowrap"><font class="fontstyle_003"><?php echo gettext ( "TOTAL" ); ?></font></td> <td align="center" nowrap="nowrap" colspan="2"><font class="fontstyle_003"><?php echo $totalminutes?> </font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php echo $totalcall?></font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php echo $total_tmc?></font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php display_2dec_percentage ( $totalsuccess*100 / $totalcall )?> </font></td> <td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php display_2bill ( $totalcost )?></font></td> </tr> <!-- END TOTAL --> </tbody> </table> <!-- END ARRAY GLOBAL //--></td> </tr> </tbody> </table> <br> <!-- SECTION EXPORT //--> <a href="export_csv.php?var_export=<?php echo $FG_EXPORT_SESSION_VAR?>&var_export_type=type_csv"