} if (empty($MobLine)) { $expor_excel->MontaConteudo($linha + 3, 4, sumTotal($InAll[5], 0)); } if (empty($NationalLine)) { $expor_excel->MontaConteudo($linha + 3, 5, sumTotal($InAll[6], 0)); } if ($pages > 1 or $debug) { $expor_excel->MontaConteudo($linha + 4, 0, $GUI_LANG['Altogether'] . ":"); $expor_excel->MontaConteudo($linha + 4, 1, totalTableFooter('4', 1)); if (empty($CityLine)) { $expor_excel->MontaConteudo($linha + 4, 2, sumTotal(totalTableFooter('5', 1), 0)); } if (empty($TrunkLine)) { $expor_excel->MontaConteudo($linha + 4, 3, sumTotal(totalTableFooter('6', 1), 0)); } if (empty($MobLine)) { $expor_excel->MontaConteudo($linha + 4, 4, sumTotal(totalTableFooter('7', 1), 0)); } if (empty($NationalLine)) { $expor_excel->MontaConteudo($linha + 4, 5, sumTotal(totalTableFooter('8', 1), 0)); } } } if (!empty($export)) { $expor_excel->GeraArquivo(); } // ------------------------------------------------------------------------------------------------------ } else { echo "<font size=+1>" . $GUI_LANG['NoSuchData'] . "</font>"; }
print "</tr>\n"; if ($pages > 1 or $debug) { echo "<tr " . $COLORS['TotalTrBgcolor'] . "><td>" . $GUI_LANG['Altogether'] . ": </td>"; echo "<td colspan=3>"; echo totalTableFooter('5', 0); echo totalTableFooter('6', 0); echo totalTableFooter('7', 0); echo totalTableFooter('8', 0); echo " </td>"; print "</tr>\n"; } print "</table>\n\n </td></tr></table>"; } else { array($TTF); $TTF[3] = $GUI_LANG['GeneralDuration'] . ": " . sumTotal($InAll[3], 2); if ($pages > 1 or $debug) { array($TTFa); $TTFa[5] = totalTableFooter('5', 2); $TTFa[6] = totalTableFooter('6', 2); $TTFa[7] = totalTableFooter('7', 2); $TTFa[8] = totalTableFooter('8', 2); } TTFprint(); } if (!empty($export)) { $expor_excel->GeraArquivo(); } // ------------------------------------------------------------------------------------------------------ } else { print "<br><font size=+1>" . $GUI_LANG['NoSuchData'] . "</font>"; }