Code cleanup.

This commit is contained in:
Nate Jones
2015-02-15 08:46:20 +00:00
parent 2a6e9dfbff
commit d96f016ea5
27 changed files with 230 additions and 450 deletions

View File

@@ -166,7 +166,6 @@ else {
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
echo "<div align='center'>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td align='left'><b>".$text['label-summary']."</b>&nbsp;</td>\n";
@@ -222,16 +221,12 @@ else {
echo " <td valign='top' class='".$row_style[$c]."'>".$duration."</td>\n";
echo " <td valign='top' class='".$row_style[$c]."'>".$hangup_cause."</td>\n";
echo "</table>";
echo "</div>";
//breaking space
echo "<br /><br />\n";
//channel data loop
$c = 0;
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
echo "<div align='center'>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td align='left'><b>".$text['label-channel']."</b>&nbsp;</td>\n";
@@ -253,16 +248,12 @@ else {
if ($c==0) { $c=1; } else { $c=0; }
}
echo "</table>";
echo "</div>";
//breaking space
echo "<br /><br />\n";
//variable loop
$c = 0;
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
echo "<div align='center'>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo " <td align='left'><b>Variables</b>&nbsp;</td>\n";
@@ -317,16 +308,12 @@ else {
if ($c==0) { $c=1; } else { $c=0; }
}
echo "</table>";
echo "</div>";
//breaking space
echo "<br /><br />\n";
//app_log
$c = 0;
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
echo "<div align='center'>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td align='left'><b>".$text['label-application-log']."</b>&nbsp;</td>\n";
@@ -351,9 +338,6 @@ else {
if ($c==0) { $c=1; } else { $c=0; }
}
echo "</table>";
echo "</div>";
//breaking space
echo "<br /><br />\n";
//call flow
@@ -525,12 +509,6 @@ else {
echo "</table>";
}
//testing
//echo "<pre>\n";
//echo htmlentities($xml_string);
//print_r($xml);
//echo "</pre>\n";
//get the footer
require_once "resources/footer.php";
?>

View File

@@ -43,7 +43,6 @@ else {
require_once "resources/header.php";
//page title and description
echo "<div align='center'>";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo " <td width='30%' align='left' valign='top' nowrap='nowrap'><b>".$text['label-call-statistics']."</b></td>\n";