Esempio n. 1
0
			$total_tmc = intval($totalminutes/$totalcall);			
		}
	 
	 ?>                   	
	</tr>
	<!-- 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 //-->
Esempio n. 2
0
    ?>
</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 
						</table>
						</td>
						<td bgcolor="<?php echo $FG_TABLE_ALTERNATE_ROW_COLOR [$i]?>"
							align="right" nowrap="nowrap"><font class="fontstyle_006"><?php echo $data [1]?></font></td>
				     <?php
					$j ++;
				}
				
				?>                   	
				</tr>
					<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 display_2dec($totalsum)?> </font></td>
						<td align="center" nowrap="nowrap"><font class="fontstyle_003"><?php echo $totalcount?></font></td>
					</tr>
					<!-- END TOTAL -->

				</tbody>
			</table>
			<!-- END ARRAY GLOBAL //--></td>
		</tr>
	</tbody>
</table>
</center>
<br>
<?php } else { ?>
<center>
<h3><?php echo gettext ( "No calls in your selection");?>.</h3>