<br/><br/> <center> <?php $stat = new CallsStatistics(); try { $total_calls = $stat->getTotalCalls(); } catch (StatisticException $e) { $total_calls = "ERROR {$e}"; } try { $total_minutes = $stat->getTotalMinutes(); } catch (StatisticException $e) { $total_minutes = "ERROR {$e}"; } try { $avg_call_duration = $stat->getAverageCallDuration(); } catch (StatisticException $e) { $avg_call_duration = "ERROR {$e}"; } ?> Total calls: <b><?php echo $total_calls; ?> </b> | Total minutes: <b><?php echo $total_minutes; ?> </b> | Average call duration: <b><?php echo $avg_call_duration; ?> </b><br/><br/>