mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Code cleanup.
This commit is contained in:
@@ -92,7 +92,6 @@ require_once "resources/paging.php";
|
|||||||
$row_style["0"] = "row_style0";
|
$row_style["0"] = "row_style0";
|
||||||
$row_style["1"] = "row_style1";
|
$row_style["1"] = "row_style1";
|
||||||
|
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
|
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
@@ -145,6 +144,5 @@ require_once "resources/paging.php";
|
|||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -91,7 +91,6 @@ require_once "resources/paging.php";
|
|||||||
$row_style["0"] = "row_style0";
|
$row_style["0"] = "row_style0";
|
||||||
$row_style["1"] = "row_style1";
|
$row_style["1"] = "row_style1";
|
||||||
|
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
|
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
@@ -135,6 +134,5 @@ require_once "resources/paging.php";
|
|||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -114,7 +114,6 @@ require_once "resources/paging.php";
|
|||||||
$row_style["0"] = "row_style0";
|
$row_style["0"] = "row_style0";
|
||||||
$row_style["1"] = "row_style1";
|
$row_style["1"] = "row_style1";
|
||||||
|
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<th>".$text['label-extension']."</th>\n";
|
echo "<th>".$text['label-extension']."</th>\n";
|
||||||
@@ -169,8 +168,6 @@ require_once "resources/paging.php";
|
|||||||
echo " </table>\n";
|
echo " </table>\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -107,7 +107,6 @@ require_once "resources/paging.php";
|
|||||||
$row_style["0"] = "row_style0";
|
$row_style["0"] = "row_style0";
|
||||||
$row_style["1"] = "row_style1";
|
$row_style["1"] = "row_style1";
|
||||||
|
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<th>".$text['label-phone_label']."</th>\n";
|
echo "<th>".$text['label-phone_label']."</th>\n";
|
||||||
@@ -171,6 +170,5 @@ require_once "resources/paging.php";
|
|||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -47,11 +47,6 @@ $order_by = $_GET["order_by"];
|
|||||||
$order = $_GET["order"];
|
$order = $_GET["order"];
|
||||||
|
|
||||||
|
|
||||||
echo "<div align='center'>";
|
|
||||||
echo "<table border='0' width='100%' cellpadding='0' cellspacing='2'>\n";
|
|
||||||
echo "<tr class='border'>\n";
|
|
||||||
echo " <td align=\"left\">\n";
|
|
||||||
|
|
||||||
echo "<table width='100%'>";
|
echo "<table width='100%'>";
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td align='left'>";
|
echo "<td align='left'>";
|
||||||
@@ -87,7 +82,6 @@ $order = $_GET["order"];
|
|||||||
$row_style["0"] = "row_style0";
|
$row_style["0"] = "row_style0";
|
||||||
$row_style["1"] = "row_style1";
|
$row_style["1"] = "row_style1";
|
||||||
|
|
||||||
echo "<div align='left'>\n";
|
|
||||||
echo "<table class='tr_hover' width='100%' border='0' cellpadding='2' cellspacing='0'>\n";
|
echo "<table class='tr_hover' width='100%' border='0' cellpadding='2' cellspacing='0'>\n";
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo th_order_by('rss_title', $text['label-title'], $order_by, $order);
|
echo th_order_by('rss_title', $text['label-title'], $order_by, $order);
|
||||||
@@ -179,17 +173,11 @@ $order = $_GET["order"];
|
|||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
echo "</div>\n";
|
echo "<br><br>";
|
||||||
|
|
||||||
echo " <br>";
|
|
||||||
echo " </td>\n";
|
|
||||||
echo "</tr>\n";
|
|
||||||
echo "</table>\n";
|
|
||||||
//echo "<input type='button' class='btn' name='' onclick=\"window.location='rsssearch.php'\" value='Search'> \n";
|
//echo "<input type='button' class='btn' name='' onclick=\"window.location='rsssearch.php'\" value='Search'> \n";
|
||||||
//echo "<input type='button' class='btn' name='' onclick=\"window.location='rssadd.php'\" value='Add $module_title'> \n";
|
//echo "<input type='button' class='btn' name='' onclick=\"window.location='rssadd.php'\" value='Add $module_title'> \n";
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
echo "<br><br>";
|
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|
||||||
unset ($result_count);
|
unset ($result_count);
|
||||||
|
|||||||
@@ -77,11 +77,6 @@ if (count($_POST)>0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
require_once "resources/header.php";
|
require_once "resources/header.php";
|
||||||
echo "<div align='center'>";
|
|
||||||
echo "<table border='0' cellpadding='0' cellspacing='2'>\n";
|
|
||||||
echo "<tr class='border'>\n";
|
|
||||||
echo " <td align=\"left\">\n";
|
|
||||||
echo " <br>";
|
|
||||||
|
|
||||||
echo "<form method='post' action=''>";
|
echo "<form method='post' action=''>";
|
||||||
echo "<table>";
|
echo "<table>";
|
||||||
@@ -111,10 +106,5 @@ echo " </tr>";
|
|||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
|
|
||||||
echo " </td>";
|
|
||||||
echo " </tr>";
|
|
||||||
echo "</table>";
|
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
?>
|
?>
|
||||||
@@ -86,13 +86,6 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
require_once "resources/header.php";
|
require_once "resources/header.php";
|
||||||
echo "<div align='center'>";
|
|
||||||
echo "<table border='0' cellpadding='0' cellspacing='2'>\n";
|
|
||||||
|
|
||||||
echo "<tr class='border'>\n";
|
|
||||||
echo " <td align=\"left\">\n";
|
|
||||||
echo " <br>";
|
|
||||||
|
|
||||||
|
|
||||||
echo "<form method='post' action=''>";
|
echo "<form method='post' action=''>";
|
||||||
echo "<table>";
|
echo "<table>";
|
||||||
@@ -119,18 +112,13 @@ echo " </tr>";
|
|||||||
echo " <tr>";
|
echo " <tr>";
|
||||||
echo " <td colspan='2' align='right'>";
|
echo " <td colspan='2' align='right'>";
|
||||||
echo " <input type='hidden' name='rss_sub_category_uuid' value='$rss_sub_category_uuid'>";
|
echo " <input type='hidden' name='rss_sub_category_uuid' value='$rss_sub_category_uuid'>";
|
||||||
|
echo " <br><br>";
|
||||||
echo " <input type='submit' name='submit' value='".$text['button-update']."'>";
|
echo " <input type='submit' name='submit' value='".$text['button-update']."'>";
|
||||||
echo " </td>";
|
echo " </td>";
|
||||||
echo " </tr>";
|
echo " </tr>";
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
|
echo "<br><br>";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
|
|
||||||
|
|
||||||
echo " </td>";
|
|
||||||
echo " </tr>";
|
|
||||||
echo "</table>";
|
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
|
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -57,14 +57,6 @@ if (count($_POST)>0) {
|
|||||||
|
|
||||||
require_once "resources/header.php";
|
require_once "resources/header.php";
|
||||||
|
|
||||||
echo "<div align='center'>";
|
|
||||||
echo "<table border='0' cellpadding='0' cellspacing='2'>\n";
|
|
||||||
|
|
||||||
echo "<tr class='border'>\n";
|
|
||||||
echo " <td align=\"left\">\n";
|
|
||||||
echo " <br>";
|
|
||||||
|
|
||||||
|
|
||||||
$sql = "";
|
$sql = "";
|
||||||
$sql .= "select * from v_rss_sub ";
|
$sql .= "select * from v_rss_sub ";
|
||||||
$sql .= "where ";
|
$sql .= "where ";
|
||||||
@@ -114,9 +106,9 @@ if (count($_POST)>0) {
|
|||||||
$row_style["1"] = "background-color: #FFFFFF;";
|
$row_style["1"] = "background-color: #FFFFFF;";
|
||||||
|
|
||||||
echo "<b>".$text['label-search']."</b><br>";
|
echo "<b>".$text['label-search']."</b><br>";
|
||||||
echo "<div align='left'>\n";
|
|
||||||
echo "<table border='0' cellpadding='1' cellspacing='1'>\n";
|
echo "<table border='0' cellpadding='1' cellspacing='1'>\n";
|
||||||
echo "<tr><td colspan='100%'><img src='/images/spacer.gif' width='100%' height='1' style='background-color: #BBBBBB;'></td></tr>";
|
echo " <tr><td colspan='100%'><img src='/images/spacer.gif' width='100%' height='1' style='background-color: #BBBBBB;'></td></tr>";
|
||||||
|
|
||||||
if ($result_count == 0) { //no results
|
if ($result_count == 0) { //no results
|
||||||
echo "<tr><td> </td></tr>";
|
echo "<tr><td> </td></tr>";
|
||||||
@@ -124,18 +116,18 @@ if (count($_POST)>0) {
|
|||||||
else { //received results
|
else { //received results
|
||||||
|
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<th nowrap> ".$text['label-sub-id']." </th>";
|
echo "<th nowrap> ".$text['label-sub-id']." </th>";
|
||||||
echo "<th nowrap> ".$text['label-id']." </th>";
|
echo "<th nowrap> ".$text['label-id']." </th>";
|
||||||
echo "<th nowrap> ".$text['label-title']." </th>";
|
echo "<th nowrap> ".$text['label-title']." </th>";
|
||||||
//echo "<th nowrap> Link </th>";
|
//echo "<th nowrap> Link </th>";
|
||||||
//echo "<th nowrap> rss_sub_description </th>";
|
//echo "<th nowrap> rss_sub_description </th>";
|
||||||
//echo "<th nowrap> rss_sub_optional_1 </th>";
|
//echo "<th nowrap> rss_sub_optional_1 </th>";
|
||||||
//echo "<th nowrap> rss_sub_optional_2 </th>";
|
//echo "<th nowrap> rss_sub_optional_2 </th>";
|
||||||
//echo "<th nowrap> rss_sub_optional_3 </th>";
|
//echo "<th nowrap> rss_sub_optional_3 </th>";
|
||||||
//echo "<th nowrap> rss_sub_optional_4 </th>";
|
//echo "<th nowrap> rss_sub_optional_4 </th>";
|
||||||
//echo "<th nowrap> rss_sub_optional_5 </th>";
|
//echo "<th nowrap> rss_sub_optional_5 </th>";
|
||||||
//echo "<th nowrap> rss_sub_add_date </th>";
|
//echo "<th nowrap> rss_sub_add_date </th>";
|
||||||
//echo "<th nowrap> rss_sub_add_user </th>";
|
//echo "<th nowrap> rss_sub_add_user </th>";
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
echo "<tr><td colspan='100%'><img src='/images/spacer.gif' width='100%' height='1' style='background-color: #BBBBBB;'></td></tr>\n";
|
echo "<tr><td colspan='100%'><img src='/images/spacer.gif' width='100%' height='1' style='background-color: #BBBBBB;'></td></tr>\n";
|
||||||
|
|
||||||
@@ -155,26 +147,16 @@ if (count($_POST)>0) {
|
|||||||
//echo "<td valign='top'>".$row[rss_sub_add_date]."</td>";
|
//echo "<td valign='top'>".$row[rss_sub_add_date]."</td>";
|
||||||
//echo "<td valign='top'>".$row[rss_sub_add_user]."</td>";
|
//echo "<td valign='top'>".$row[rss_sub_add_user]."</td>";
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
|
|
||||||
echo "<tr><td colspan='100%'><img src='/images/spacer.gif' width='100%' height='1' style='background-color: #BBBBBB;'></td></tr>\n";
|
echo "<tr><td colspan='100%'><img src='/images/spacer.gif' width='100%' height='1' style='background-color: #BBBBBB;'></td></tr>\n";
|
||||||
if ($c==0) { $c=1; } else { $c=0; }
|
if ($c==0) { $c=1; } else { $c=0; }
|
||||||
} //end foreach
|
} //end foreach
|
||||||
unset($sql, $result, $row_count);
|
unset($sql, $result, $row_count);
|
||||||
|
|
||||||
echo "</table>\n";
|
|
||||||
echo "</div>\n";
|
|
||||||
|
|
||||||
|
|
||||||
echo " <br><br>";
|
|
||||||
echo " </td>\n";
|
|
||||||
echo "</tr>\n";
|
|
||||||
|
|
||||||
} //end if results
|
} //end if results
|
||||||
|
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
echo "<br><br>";
|
echo "<br><br>";
|
||||||
|
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|
||||||
unset ($result_count);
|
unset ($result_count);
|
||||||
@@ -183,82 +165,68 @@ if (count($_POST)>0) {
|
|||||||
unset ($val);
|
unset ($val);
|
||||||
unset ($c);
|
unset ($c);
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
echo "\n"; require_once "resources/header.php";
|
|
||||||
echo "<div align='center'>";
|
|
||||||
echo "<table border='0' cellpadding='0' cellspacing='2'>\n";
|
|
||||||
|
|
||||||
echo "<tr class='border'>\n";
|
|
||||||
echo " <td align=\"left\">\n";
|
|
||||||
echo " <br>";
|
|
||||||
|
|
||||||
|
require_once "resources/header.php";
|
||||||
|
|
||||||
echo "<form method='post' action=''>";
|
echo "<form method='post' action=''>";
|
||||||
echo "<table>";
|
echo "<table>";
|
||||||
echo " <tr>";
|
echo " <tr>";
|
||||||
echo " <td>".$text['label-sub-id']."</td>";
|
echo " <td>".$text['label-sub-id']."</td>";
|
||||||
echo " <td><input type='text' class='txt' name='rss_sub_uuid'></td>";
|
echo " <td><input type='text' class='txt' name='rss_sub_uuid'></td>";
|
||||||
echo " </tr>";
|
echo " </tr>";
|
||||||
echo " <tr>";
|
echo " <tr>";
|
||||||
echo " <td>".$text['label-id']."</td>";
|
echo " <td>".$text['label-id']."</td>";
|
||||||
echo " <td><input type='text' class='txt' name='rss_uuid'></td>";
|
echo " <td><input type='text' class='txt' name='rss_uuid'></td>";
|
||||||
echo " </tr>";
|
echo " </tr>";
|
||||||
echo " <tr>";
|
echo " <tr>";
|
||||||
echo " <td>".$text['label-sub-title']."</td>";
|
echo " <td>".$text['label-sub-title']."</td>";
|
||||||
echo " <td><input type='text' class='txt' name='rss_sub_title'></td>";
|
echo " <td><input type='text' class='txt' name='rss_sub_title'></td>";
|
||||||
echo " </tr>";
|
echo " </tr>";
|
||||||
echo " <tr>";
|
echo " <tr>";
|
||||||
echo " <td>".$text['label-sub-link']."</td>";
|
echo " <td>".$text['label-sub-link']."</td>";
|
||||||
echo " <td><input type='text' class='txt' name='rss_sub_link'></td>";
|
echo " <td><input type='text' class='txt' name='rss_sub_link'></td>";
|
||||||
echo " </tr>";
|
echo " </tr>";
|
||||||
echo " <tr>";
|
echo " <tr>";
|
||||||
echo " <td>".$text['label-sub-desc']."</td>";
|
echo " <td>".$text['label-sub-desc']."</td>";
|
||||||
echo " <td><input type='text' class='txt' name='rss_sub_description'></td>";
|
echo " <td><input type='text' class='txt' name='rss_sub_description'></td>";
|
||||||
echo " </tr>";
|
echo " </tr>";
|
||||||
//echo " <tr>";
|
//echo " <tr>";
|
||||||
//echo " <td>rss_sub_optional_1</td>";
|
//echo " <td>rss_sub_optional_1</td>";
|
||||||
//echo " <td><input type='text' class='txt' name='rss_sub_optional_1'></td>";
|
//echo " <td><input type='text' class='txt' name='rss_sub_optional_1'></td>";
|
||||||
//echo " </tr>";
|
//echo " </tr>";
|
||||||
//echo " <tr>";
|
//echo " <tr>";
|
||||||
//echo " <td>rss_sub_optional_2</td>";
|
//echo " <td>rss_sub_optional_2</td>";
|
||||||
//echo " <td><input type='text' class='txt' name='rss_sub_optional_2'></td>";
|
//echo " <td><input type='text' class='txt' name='rss_sub_optional_2'></td>";
|
||||||
//echo " </tr>";
|
//echo " </tr>";
|
||||||
//echo " <tr>";
|
//echo " <tr>";
|
||||||
//echo " <td>rss_sub_optional_3</td>";
|
//echo " <td>rss_sub_optional_3</td>";
|
||||||
//echo " <td><input type='text' class='txt' name='rss_sub_optional_3'></td>";
|
//echo " <td><input type='text' class='txt' name='rss_sub_optional_3'></td>";
|
||||||
//echo " </tr>";
|
//echo " </tr>";
|
||||||
//echo " <tr>";
|
//echo " <tr>";
|
||||||
//echo " <td>rss_sub_optional_4</td>";
|
//echo " <td>rss_sub_optional_4</td>";
|
||||||
//echo " <td><input type='text' class='txt' name='rss_sub_optional_4'></td>";
|
//echo " <td><input type='text' class='txt' name='rss_sub_optional_4'></td>";
|
||||||
//echo " </tr>";
|
//echo " </tr>";
|
||||||
//echo " <tr>";
|
//echo " <tr>";
|
||||||
//echo " <td>rss_sub_optional_5</td>";
|
//echo " <td>rss_sub_optional_5</td>";
|
||||||
//echo " <td><input type='text' class='txt' name='rss_sub_optional_5'></td>";
|
//echo " <td><input type='text' class='txt' name='rss_sub_optional_5'></td>";
|
||||||
//echo " </tr>";
|
//echo " </tr>";
|
||||||
//echo " <tr>";
|
//echo " <tr>";
|
||||||
//echo " <td>rss_sub_add_date</td>";
|
//echo " <td>rss_sub_add_date</td>";
|
||||||
//echo " <td><input type='text' class='txt' name='rss_sub_add_date'></td>";
|
//echo " <td><input type='text' class='txt' name='rss_sub_add_date'></td>";
|
||||||
//echo " </tr>";
|
//echo " </tr>";
|
||||||
//echo " <tr>";
|
//echo " <tr>";
|
||||||
//echo " <td>rss_sub_add_user</td>";
|
//echo " <td>rss_sub_add_user</td>";
|
||||||
//echo " <td><input type='text' class='txt' name='rss_sub_add_user'></td>";
|
//echo " <td><input type='text' class='txt' name='rss_sub_add_user'></td>";
|
||||||
//echo " </tr>";
|
//echo " </tr>";
|
||||||
echo " <tr>";
|
echo " <tr>";
|
||||||
echo " <td colspan='2' align='right'><input type='submit' name='submit' class='btn' value='".$text['button-search']."'></td>";
|
echo " <td colspan='2' align='right'><input type='submit' name='submit' class='btn' value='".$text['button-search']."'></td>";
|
||||||
echo " </tr>";
|
echo " </tr>";
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
|
|
||||||
|
require_once "resources/footer.php";
|
||||||
echo " </td>";
|
|
||||||
echo " </tr>";
|
|
||||||
echo "</table>";
|
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
|
|
||||||
require_once "resources/footer.php";
|
|
||||||
|
|
||||||
} //end if not post
|
} //end if not post
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ if (count($_POST)>0 && $_POST["persistform"] == "0") {
|
|||||||
if (strlen($msg) > 0) {
|
if (strlen($msg) > 0) {
|
||||||
require_once "resources/persist_form.php";
|
require_once "resources/persist_form.php";
|
||||||
require_once "resources/header.php";
|
require_once "resources/header.php";
|
||||||
echo "<div align='center' style='' >";
|
echo "<div align='center'>";
|
||||||
echo "<table>";
|
echo "<table>";
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td>";
|
echo "<td>";
|
||||||
|
|||||||
@@ -94,7 +94,6 @@ function sf() { document.forms[0].savetopath.focus(); }
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div align='center'>
|
|
||||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="" >
|
<td class="" >
|
||||||
@@ -157,7 +156,6 @@ function sf() { document.forms[0].savetopath.focus(); }
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|||||||
@@ -94,8 +94,7 @@ else {
|
|||||||
echo " </script>";
|
echo " </script>";
|
||||||
|
|
||||||
//show the header
|
//show the header
|
||||||
echo "<div align='center'>";
|
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='2'>\n";
|
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td colspan='2' align='left' nowrap=\"nowrap\"><b>".$text['label-execute']."</b></td>\n";
|
echo "<td colspan='2' align='left' nowrap=\"nowrap\"><b>".$text['label-execute']."</b></td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
@@ -196,7 +195,6 @@ else {
|
|||||||
echo "</form>";
|
echo "</form>";
|
||||||
|
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
//show the footer
|
//show the footer
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|||||||
@@ -44,13 +44,7 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//begin content
|
//begin content
|
||||||
echo "<div align='center'>";
|
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'>\n";
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='2'>\n";
|
|
||||||
echo "<tr class='border'>\n";
|
|
||||||
echo " <td align=\"center\">\n";
|
|
||||||
echo " <br>";
|
|
||||||
|
|
||||||
echo "<table width='100%' border='0'>\n";
|
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td width='50%' nowrap='nowrap' align='left'><b>".$text['header-option_list']."</b></td>\n";
|
echo "<td width='50%' nowrap='nowrap' align='left'><b>".$text['header-option_list']."</b></td>\n";
|
||||||
echo "<td width='50%' align='right'> </td>\n";
|
echo "<td width='50%' align='right'> </td>\n";
|
||||||
@@ -162,14 +156,6 @@ else {
|
|||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
|
|
||||||
echo "<br><br>";
|
|
||||||
echo "<br><br>";
|
|
||||||
|
|
||||||
echo "</td>";
|
|
||||||
echo "</tr>";
|
|
||||||
echo "</table>";
|
|
||||||
echo "</div>";
|
|
||||||
echo "<br><br>";
|
echo "<br><br>";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -71,9 +71,6 @@ if (permission_exists('log_download')) {
|
|||||||
|
|
||||||
require_once "resources/header.php";
|
require_once "resources/header.php";
|
||||||
|
|
||||||
echo "<br />\n";
|
|
||||||
echo "<div align='center'>\n";
|
|
||||||
|
|
||||||
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'>\n";
|
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'>\n";
|
||||||
echo " <tr>\n";
|
echo " <tr>\n";
|
||||||
echo " <td align=\"left\" valign='middle' width='100%' style='padding-right: 15px;' nowrap>\n";
|
echo " <td align=\"left\" valign='middle' width='100%' style='padding-right: 15px;' nowrap>\n";
|
||||||
@@ -281,8 +278,6 @@ if (permission_exists('log_view')) {
|
|||||||
echo " </td>";
|
echo " </td>";
|
||||||
echo " </tr>\n";
|
echo " </tr>\n";
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
echo "</div>\n";
|
|
||||||
|
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -147,12 +147,6 @@ require_once "resources/check_auth.php";
|
|||||||
require_once "resources/header.php";
|
require_once "resources/header.php";
|
||||||
|
|
||||||
//begin the content
|
//begin the content
|
||||||
echo "<div align='center'>";
|
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='2'>\n";
|
|
||||||
echo "<tr class='border'>\n";
|
|
||||||
echo " <td align=\"center\">\n";
|
|
||||||
echo " <br>";
|
|
||||||
|
|
||||||
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
|
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
|
||||||
echo " <tr>\n";
|
echo " <tr>\n";
|
||||||
echo " <td align='left'>\n";
|
echo " <td align='left'>\n";
|
||||||
@@ -161,10 +155,9 @@ require_once "resources/check_auth.php";
|
|||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
echo " </tr>\n";
|
echo " </tr>\n";
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
|
|
||||||
echo "<br />\n";
|
echo "<br />\n";
|
||||||
|
|
||||||
echo " <table border='0' width='100%' cellpadding=\"0\" cellspacing=\"0\">\n";
|
echo "<table border='0' width='100%' cellpadding=\"0\" cellspacing=\"0\">\n";
|
||||||
echo " <tr>\n";
|
echo " <tr>\n";
|
||||||
echo " <td align='left' width='50%'>\n";
|
echo " <td align='left' width='50%'>\n";
|
||||||
echo " ";
|
echo " ";
|
||||||
@@ -180,7 +173,8 @@ require_once "resources/check_auth.php";
|
|||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
}
|
}
|
||||||
echo " </tr>\n";
|
echo " </tr>\n";
|
||||||
echo " </table><br><br>\n";
|
echo "</table>";
|
||||||
|
echo "<br><br>\n";
|
||||||
|
|
||||||
$sql = "select * from v_recordings ";
|
$sql = "select * from v_recordings ";
|
||||||
$sql .= "where domain_uuid = '$domain_uuid' ";
|
$sql .= "where domain_uuid = '$domain_uuid' ";
|
||||||
@@ -275,24 +269,15 @@ require_once "resources/check_auth.php";
|
|||||||
} //end if results
|
} //end if results
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
|
|
||||||
echo " <table width='100%' cellpadding='0' cellspacing='0'>\n";
|
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n";
|
||||||
echo " <tr>\n";
|
echo " <tr>\n";
|
||||||
echo " <td width='33.3%' nowrap> </td>\n";
|
echo " <td width='33.3%' nowrap> </td>\n";
|
||||||
echo " <td width='33.3%' align='center' nowrap>$paging_controls</td>\n";
|
echo " <td width='33.3%' align='center' nowrap>$paging_controls</td>\n";
|
||||||
echo " <td class='list_control_icons'>";
|
echo " <td class='list_control_icons'>";
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
echo " </tr>\n";
|
echo " </tr>\n";
|
||||||
echo " </table>\n";
|
echo "</table>\n";
|
||||||
|
echo "<br><br>\n";
|
||||||
echo "</td>\n";
|
|
||||||
echo "</tr>\n";
|
|
||||||
echo "</table>";
|
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
echo "<br>\n";
|
|
||||||
echo "<br>\n";
|
|
||||||
echo "<br>\n";
|
|
||||||
echo "<br>\n";
|
|
||||||
|
|
||||||
//include the footer
|
//include the footer
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|||||||
@@ -544,8 +544,7 @@ else {
|
|||||||
echo " </tr>\n";
|
echo " </tr>\n";
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
|
|
||||||
//begin the div and table that will hold the html form
|
//begin the table that will hold the html form
|
||||||
echo "<div align='center'>";
|
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='10'>\n";
|
echo "<table width='100%' border='0' cellpadding='0' cellspacing='10'>\n";
|
||||||
|
|
||||||
//determine if a file should be uploaded
|
//determine if a file should be uploaded
|
||||||
@@ -971,7 +970,6 @@ else {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
echo "</div>\n";
|
|
||||||
|
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -86,13 +86,7 @@ if (strlen($_GET["a"]) > 0) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<div align='center'>";
|
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'>\n";
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='2'>\n";
|
|
||||||
echo "<tr class='border'>\n";
|
|
||||||
echo " <td align=\"center\">\n";
|
|
||||||
echo " <br>";
|
|
||||||
|
|
||||||
echo "<table width='100%' border='0'>\n";
|
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td width='50%' align='left' nowrap='nowrap'><b>Services</b></td>\n";
|
echo "<td width='50%' align='left' nowrap='nowrap'><b>Services</b></td>\n";
|
||||||
echo "<td width='50%' align='right'> </td>\n";
|
echo "<td width='50%' align='right'> </td>\n";
|
||||||
@@ -131,7 +125,6 @@ if (strlen($_GET["a"]) > 0) {
|
|||||||
$row_style["0"] = "row_style0";
|
$row_style["0"] = "row_style0";
|
||||||
$row_style["1"] = "row_style1";
|
$row_style["1"] = "row_style1";
|
||||||
|
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo th_order_by('service_name', 'Name', $order_by, $order);
|
echo th_order_by('service_name', 'Name', $order_by, $order);
|
||||||
@@ -227,14 +220,6 @@ if (strlen($_GET["a"]) > 0) {
|
|||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "</div>";
|
|
||||||
echo "<br><br>";
|
|
||||||
echo "<br><br>";
|
|
||||||
|
|
||||||
echo "</td>";
|
|
||||||
echo "</tr>";
|
|
||||||
echo "</table>";
|
|
||||||
echo "</div>";
|
|
||||||
echo "<br><br>";
|
echo "<br><br>";
|
||||||
|
|
||||||
//include the footer
|
//include the footer
|
||||||
|
|||||||
@@ -85,7 +85,6 @@ require_once "resources/paging.php";
|
|||||||
$row_style["0"] = "row_style0";
|
$row_style["0"] = "row_style0";
|
||||||
$row_style["1"] = "row_style1";
|
$row_style["1"] = "row_style1";
|
||||||
|
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo th_order_by('sip_profile_setting_name', $text['label-setting_name'], $order_by, $order, null, null, "id=".$sip_profile_uuid);
|
echo th_order_by('sip_profile_setting_name', $text['label-setting_name'], $order_by, $order, null, null, "id=".$sip_profile_uuid);
|
||||||
@@ -147,14 +146,6 @@ require_once "resources/paging.php";
|
|||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "</div>";
|
|
||||||
echo "<br /><br />";
|
|
||||||
echo "<br /><br />";
|
|
||||||
|
|
||||||
echo "</td>";
|
|
||||||
echo "</tr>";
|
|
||||||
echo "</table>";
|
|
||||||
echo "</div>";
|
|
||||||
echo "<br /><br />";
|
echo "<br /><br />";
|
||||||
|
|
||||||
//include the footer
|
//include the footer
|
||||||
|
|||||||
@@ -65,8 +65,6 @@ else {
|
|||||||
echo " });\n";
|
echo " });\n";
|
||||||
echo " </script>";
|
echo " </script>";
|
||||||
|
|
||||||
echo "<div align='center'>";
|
|
||||||
|
|
||||||
echo "<form method='post' target='frame' action='sql_query_result.php' >";
|
echo "<form method='post' target='frame' action='sql_query_result.php' >";
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
|
|
||||||
@@ -159,8 +157,6 @@ else {
|
|||||||
echo "</table><br>";
|
echo "</table><br>";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
|
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
echo "<iframe id='frame' height='400' FRAMEBORDER='0' name='frame' style='width: 100%; background-color : #FFFFFF; border: 1px solid #c0c0c0;'></iframe>\n";
|
echo "<iframe id='frame' height='400' FRAMEBORDER='0' name='frame' style='width: 100%; background-color : #FFFFFF; border: 1px solid #c0c0c0;'></iframe>\n";
|
||||||
|
|
||||||
//show the footer
|
//show the footer
|
||||||
|
|||||||
@@ -91,8 +91,6 @@ if ($_GET['a'] == "default" && permission_exists('var_edit')) {
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div align='center'>
|
|
||||||
|
|
||||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@@ -159,7 +157,6 @@ if ($_GET['a'] == "default" && permission_exists('var_edit')) {
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|||||||
@@ -228,12 +228,6 @@ else {
|
|||||||
echo "</script>";
|
echo "</script>";
|
||||||
|
|
||||||
echo "<form action=\"\" method=\"POST\" enctype=\"multipart/form-data\" name=\"frm\" onSubmit=\"\">\n";
|
echo "<form action=\"\" method=\"POST\" enctype=\"multipart/form-data\" name=\"frm\" onSubmit=\"\">\n";
|
||||||
echo "<div align='center'>";
|
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='2'>\n";
|
|
||||||
echo "<tr class='border'>\n";
|
|
||||||
echo " <td align=\"center\">\n";
|
|
||||||
echo " <br>";
|
|
||||||
|
|
||||||
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
|
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
|
||||||
echo " <tr>\n";
|
echo " <tr>\n";
|
||||||
echo " <td align='left' nowrap>\n";
|
echo " <td align='left' nowrap>\n";
|
||||||
@@ -378,19 +372,11 @@ else {
|
|||||||
echo " <td width='33.3%' align='right'> </td>\n";
|
echo " <td width='33.3%' align='right'> </td>\n";
|
||||||
echo " </tr>\n";
|
echo " </tr>\n";
|
||||||
echo " </table>\n";
|
echo " </table>\n";
|
||||||
|
echo " <br><br>";
|
||||||
|
|
||||||
echo "</td>\n";
|
|
||||||
echo "</tr>\n";
|
|
||||||
echo "</table>";
|
|
||||||
echo "</div>";
|
|
||||||
echo "<input type='hidden' name='id' value='$voicemail_id'>\n";
|
echo "<input type='hidden' name='id' value='$voicemail_id'>\n";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
|
|
||||||
echo "<br>\n";
|
|
||||||
echo "<br>\n";
|
|
||||||
echo "<br>\n";
|
|
||||||
echo "<br>\n";
|
|
||||||
|
|
||||||
//include the footer
|
//include the footer
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|
||||||
|
|||||||
@@ -166,7 +166,6 @@ else {
|
|||||||
$row_style["0"] = "row_style0";
|
$row_style["0"] = "row_style0";
|
||||||
$row_style["1"] = "row_style1";
|
$row_style["1"] = "row_style1";
|
||||||
|
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td align='left'><b>".$text['label-summary']."</b> </td>\n";
|
echo "<td align='left'><b>".$text['label-summary']."</b> </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]."'>".$duration."</td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$hangup_cause."</td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".$hangup_cause."</td>\n";
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
//breaking space
|
|
||||||
echo "<br /><br />\n";
|
echo "<br /><br />\n";
|
||||||
|
|
||||||
//channel data loop
|
//channel data loop
|
||||||
$c = 0;
|
$c = 0;
|
||||||
$row_style["0"] = "row_style0";
|
$row_style["0"] = "row_style0";
|
||||||
$row_style["1"] = "row_style1";
|
$row_style["1"] = "row_style1";
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td align='left'><b>".$text['label-channel']."</b> </td>\n";
|
echo "<td align='left'><b>".$text['label-channel']."</b> </td>\n";
|
||||||
@@ -253,16 +248,12 @@ else {
|
|||||||
if ($c==0) { $c=1; } else { $c=0; }
|
if ($c==0) { $c=1; } else { $c=0; }
|
||||||
}
|
}
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
//breaking space
|
|
||||||
echo "<br /><br />\n";
|
echo "<br /><br />\n";
|
||||||
|
|
||||||
//variable loop
|
//variable loop
|
||||||
$c = 0;
|
$c = 0;
|
||||||
$row_style["0"] = "row_style0";
|
$row_style["0"] = "row_style0";
|
||||||
$row_style["1"] = "row_style1";
|
$row_style["1"] = "row_style1";
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo " <td align='left'><b>Variables</b> </td>\n";
|
echo " <td align='left'><b>Variables</b> </td>\n";
|
||||||
@@ -317,16 +308,12 @@ else {
|
|||||||
if ($c==0) { $c=1; } else { $c=0; }
|
if ($c==0) { $c=1; } else { $c=0; }
|
||||||
}
|
}
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
//breaking space
|
|
||||||
echo "<br /><br />\n";
|
echo "<br /><br />\n";
|
||||||
|
|
||||||
//app_log
|
//app_log
|
||||||
$c = 0;
|
$c = 0;
|
||||||
$row_style["0"] = "row_style0";
|
$row_style["0"] = "row_style0";
|
||||||
$row_style["1"] = "row_style1";
|
$row_style["1"] = "row_style1";
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td align='left'><b>".$text['label-application-log']."</b> </td>\n";
|
echo "<td align='left'><b>".$text['label-application-log']."</b> </td>\n";
|
||||||
@@ -351,9 +338,6 @@ else {
|
|||||||
if ($c==0) { $c=1; } else { $c=0; }
|
if ($c==0) { $c=1; } else { $c=0; }
|
||||||
}
|
}
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
//breaking space
|
|
||||||
echo "<br /><br />\n";
|
echo "<br /><br />\n";
|
||||||
|
|
||||||
//call flow
|
//call flow
|
||||||
@@ -525,12 +509,6 @@ else {
|
|||||||
echo "</table>";
|
echo "</table>";
|
||||||
}
|
}
|
||||||
|
|
||||||
//testing
|
|
||||||
//echo "<pre>\n";
|
|
||||||
//echo htmlentities($xml_string);
|
|
||||||
//print_r($xml);
|
|
||||||
//echo "</pre>\n";
|
|
||||||
|
|
||||||
//get the footer
|
//get the footer
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
?>
|
?>
|
||||||
@@ -43,7 +43,6 @@ else {
|
|||||||
require_once "resources/header.php";
|
require_once "resources/header.php";
|
||||||
|
|
||||||
//page title and description
|
//page title and description
|
||||||
echo "<div align='center'>";
|
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo " <td width='30%' align='left' valign='top' nowrap='nowrap'><b>".$text['label-call-statistics']."</b></td>\n";
|
echo " <td width='30%' align='left' valign='top' nowrap='nowrap'><b>".$text['label-call-statistics']."</b></td>\n";
|
||||||
|
|||||||
@@ -24,8 +24,5 @@
|
|||||||
Ken Rice <krice@tollfreegateway.com>
|
Ken Rice <krice@tollfreegateway.com>
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
*/
|
*/
|
||||||
echo "<div align='center'>\n";
|
echo "<div align='center'>".$error."</div>\n";
|
||||||
echo "<table><tr><td>\n";
|
|
||||||
echo $error . "\n";
|
|
||||||
echo "</td></tr></table>\n";
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
<div align='center'>
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||||
|
|
||||||
<table width="100%" border="0" cellpadding="6" cellspacing="0">
|
|
||||||
<tr>
|
<tr>
|
||||||
<td align='left'><b><?php echo $text['header-xmpp']?></b><br>
|
<td align='left'><b><?php echo $text['header-xmpp']?></b><br>
|
||||||
<?php echo $text['description-xmpp-list']?>
|
<?php echo $text['description-xmpp-list']?>
|
||||||
@@ -68,5 +66,4 @@ if ($c==0) { $c=1; } else { $c=0; }
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
@@ -179,183 +179,168 @@ require_once "resources/header.php";
|
|||||||
$order_by = $_GET["order_by"];
|
$order_by = $_GET["order_by"];
|
||||||
$order = $_GET["order"];
|
$order = $_GET["order"];
|
||||||
|
|
||||||
echo "<div align='center'>";
|
$sql = "select * from v_menu_items ";
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
$sql .= "where menu_uuid = '".$menu_uuid."' ";
|
||||||
|
$sql .= "and menu_item_parent_uuid is null ";
|
||||||
|
if (strlen($order_by)> 0) {
|
||||||
|
$sql .= "order by $order_by $order ";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$sql .= "order by menu_item_order asc ";
|
||||||
|
}
|
||||||
|
$prep_statement = $db->prepare(check_sql($sql));
|
||||||
|
$prep_statement->execute();
|
||||||
|
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
||||||
|
$result_count = count($result);
|
||||||
|
|
||||||
echo "<tr class='border'>\n";
|
$c = 0;
|
||||||
echo " <td align=\"left\">\n";
|
$row_style["0"] = "row_style0";
|
||||||
|
$row_style["1"] = "row_style0";
|
||||||
|
|
||||||
$sql = "select * from v_menu_items ";
|
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
$sql .= "where menu_uuid = '".$menu_uuid."' ";
|
|
||||||
$sql .= "and menu_item_parent_uuid is null ";
|
if ($result_count == 0) {
|
||||||
if (strlen($order_by)> 0) {
|
//no results
|
||||||
$sql .= "order by $order_by $order ";
|
echo "<tr><td> </td></tr>";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
echo "<tr>";
|
||||||
|
echo "<th align='left' nowrap>".$text['label-title']."</th>";
|
||||||
|
echo "<th align='left' nowrap>".$text['label-groups']."</th>";
|
||||||
|
echo "<th align='left'nowrap>".$text['label-category']."</th>";
|
||||||
|
echo "<th nowrap style='text-align: center;'>".$text['label-protected']."</th>";
|
||||||
|
echo "<th nowrap width='70' style='text-align: center;'>".$text['label-menu_order']."</th>";
|
||||||
|
echo "<td class='list_control_icons'>";
|
||||||
|
if (permission_exists('menu_add')) {
|
||||||
|
echo "<a href='menu_item_edit.php?id=".$menu_uuid."' alt='".$text['button-add']."'>$v_link_label_add</a>";
|
||||||
}
|
}
|
||||||
else {
|
echo "</td>\n";
|
||||||
$sql .= "order by menu_item_order asc ";
|
echo "</tr>";
|
||||||
}
|
|
||||||
$prep_statement = $db->prepare(check_sql($sql));
|
|
||||||
$prep_statement->execute();
|
|
||||||
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
|
||||||
$result_count = count($result);
|
|
||||||
|
|
||||||
$c = 0;
|
foreach($result as $row) {
|
||||||
$row_style["0"] = "row_style0";
|
//set the db values as php variables
|
||||||
$row_style["1"] = "row_style0";
|
$menu_item_uuid = $row['menu_item_uuid'];
|
||||||
|
$menu_item_category = $row['menu_item_category'];
|
||||||
|
$menu_item_title = $row['menu_item_title'];
|
||||||
|
$menu_item_link = $row['menu_item_link'];
|
||||||
|
$menu_item_protected = $row['menu_item_protected'];
|
||||||
|
|
||||||
echo "<div align='left'>\n";
|
//get the groups that have been assigned to the menu
|
||||||
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
$sql = "select group_name from v_menu_item_groups ";
|
||||||
|
$sql .= "where menu_uuid = '$menu_uuid' ";
|
||||||
if ($result_count == 0) {
|
$sql .= "and menu_item_uuid = '$menu_item_uuid' ";
|
||||||
//no results
|
$sub_prep_statement = $db->prepare(check_sql($sql));
|
||||||
echo "<tr><td> </td></tr>";
|
$sub_prep_statement->execute();
|
||||||
}
|
$sub_result = $sub_prep_statement->fetchAll(PDO::FETCH_NAMED);
|
||||||
else {
|
$group_list = "";
|
||||||
echo "<tr>";
|
$x = 0;
|
||||||
echo "<th align='left' nowrap>".$text['label-title']."</th>";
|
foreach ($sub_result as &$sub_row) {
|
||||||
echo "<th align='left' nowrap>".$text['label-groups']."</th>";
|
if ($x == 0) {
|
||||||
echo "<th align='left'nowrap>".$text['label-category']."</th>";
|
$group_list = $sub_row["group_name"];
|
||||||
echo "<th nowrap style='text-align: center;'>".$text['label-protected']."</th>";
|
|
||||||
echo "<th nowrap width='70' style='text-align: center;'>".$text['label-menu_order']."</th>";
|
|
||||||
echo "<td class='list_control_icons'>";
|
|
||||||
if (permission_exists('menu_add')) {
|
|
||||||
echo "<a href='menu_item_edit.php?id=".$menu_uuid."' alt='".$text['button-add']."'>$v_link_label_add</a>";
|
|
||||||
}
|
|
||||||
echo "</td>\n";
|
|
||||||
echo "</tr>";
|
|
||||||
|
|
||||||
foreach($result as $row) {
|
|
||||||
//set the db values as php variables
|
|
||||||
$menu_item_uuid = $row['menu_item_uuid'];
|
|
||||||
$menu_item_category = $row['menu_item_category'];
|
|
||||||
$menu_item_title = $row['menu_item_title'];
|
|
||||||
$menu_item_link = $row['menu_item_link'];
|
|
||||||
$menu_item_protected = $row['menu_item_protected'];
|
|
||||||
|
|
||||||
//get the groups that have been assigned to the menu
|
|
||||||
$sql = "select group_name from v_menu_item_groups ";
|
|
||||||
$sql .= "where menu_uuid = '$menu_uuid' ";
|
|
||||||
$sql .= "and menu_item_uuid = '$menu_item_uuid' ";
|
|
||||||
$sub_prep_statement = $db->prepare(check_sql($sql));
|
|
||||||
$sub_prep_statement->execute();
|
|
||||||
$sub_result = $sub_prep_statement->fetchAll(PDO::FETCH_NAMED);
|
|
||||||
$group_list = "";
|
|
||||||
$x = 0;
|
|
||||||
foreach ($sub_result as &$sub_row) {
|
|
||||||
if ($x == 0) {
|
|
||||||
$group_list = $sub_row["group_name"];
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$group_list .= ", ".$sub_row["group_name"];
|
|
||||||
}
|
|
||||||
$x++;
|
|
||||||
}
|
|
||||||
unset ($sub_prep_statement);
|
|
||||||
|
|
||||||
//add the type link based on the typd of the menu
|
|
||||||
switch ($menu_item_category) {
|
|
||||||
case "internal":
|
|
||||||
$menu_item_title = "<a href='".PROJECT_PATH . $menu_item_link."'>$menu_item_title</a>";
|
|
||||||
break;
|
|
||||||
case "external":
|
|
||||||
if (substr($menu_item_link, 0,1) == "/") {
|
|
||||||
$menu_item_link = PROJECT_PATH . $menu_item_link;
|
|
||||||
}
|
|
||||||
$menu_item_title = "<a href='$menu_item_link' target='_blank'>$menu_item_title</a>";
|
|
||||||
break;
|
|
||||||
case "email":
|
|
||||||
$menu_item_title = "<a href='mailto:$menu_item_link'>$menu_item_title</a>";
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
//display the content of the list
|
|
||||||
$tr_link = (permission_exists('menu_edit')) ? "href='menu_item_edit.php?id=".$menu_uuid."&menu_item_uuid=".$row['menu_item_uuid']."&menu_uuid=".$menu_uuid."'" : null;
|
|
||||||
echo "<tr style='".$row_style[$c]."' ".$tr_link.">\n";
|
|
||||||
echo "<td valign='top' class='".$row_style[$c]."'>".$menu_item_title." </td>";
|
|
||||||
echo "<td valign='top' class='".$row_style[$c]."'>".$group_list." </td>";
|
|
||||||
//echo "<td valign='top' class='".$row_style[$c]."'>".$menu_item_link." </td>";
|
|
||||||
echo "<td valign='top' class='".$row_style[$c]."'>".$menu_item_category." </td>";
|
|
||||||
//echo "<td valign='top' class='".$row_style[$c]."'>".$row[menu_item_description]."</td>";
|
|
||||||
//echo "<td valign='top' class='".$row_style[$c]."'>".$row['menu_item_parent_uuid']." </td>";
|
|
||||||
//echo "<td valign='top' class='".$row_style[$c]."'>".$row['menu_item_order']." </td>";
|
|
||||||
|
|
||||||
if ($menu_item_protected == "true") {
|
|
||||||
echo "<td valign='top' class='".$row_style[$c]."' style='text-align: center;'><strong>".$text['label-true']."</strong> </td>";
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo "<td valign='top' class='".$row_style[$c]."' style='text-align: center;'>".$text['label-false']." </td>";
|
$group_list .= ", ".$sub_row["group_name"];
|
||||||
}
|
}
|
||||||
|
$x++;
|
||||||
|
}
|
||||||
|
unset ($sub_prep_statement);
|
||||||
|
|
||||||
echo "<td valign='top' nowrap class='".$row_style[$c]."' style='text-align: center;'>";
|
//add the type link based on the typd of the menu
|
||||||
echo " ".$row[menu_item_order]." ";
|
switch ($menu_item_category) {
|
||||||
echo "</td>";
|
case "internal":
|
||||||
|
$menu_item_title = "<a href='".PROJECT_PATH . $menu_item_link."'>$menu_item_title</a>";
|
||||||
|
break;
|
||||||
|
case "external":
|
||||||
|
if (substr($menu_item_link, 0,1) == "/") {
|
||||||
|
$menu_item_link = PROJECT_PATH . $menu_item_link;
|
||||||
|
}
|
||||||
|
$menu_item_title = "<a href='$menu_item_link' target='_blank'>$menu_item_title</a>";
|
||||||
|
break;
|
||||||
|
case "email":
|
||||||
|
$menu_item_title = "<a href='mailto:$menu_item_link'>$menu_item_title</a>";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
//echo "<td valign='top' align='center' nowrap class='".$row_style[$c]."'>";
|
//display the content of the list
|
||||||
//if (permission_exists('menu_edit')) {
|
$tr_link = (permission_exists('menu_edit')) ? "href='menu_item_edit.php?id=".$menu_uuid."&menu_item_uuid=".$row['menu_item_uuid']."&menu_uuid=".$menu_uuid."'" : null;
|
||||||
// echo " <input type='button' class='btn' name='' onclick=\"window.location='menu_item_move_up.php?menu_uuid=".$menu_uuid."&menu_item_parent_uuid=".$row['menu_item_parent_uuid']."&menu_item_uuid=".$row['menu_item_uuid']."&menu_item_order=".$row['menu_item_order']."'\" value='<' title='".$row['menu_item_order'].". ".$text['button-move_up']."'>";
|
echo "<tr style='".$row_style[$c]."' ".$tr_link.">\n";
|
||||||
// echo " <input type='button' class='btn' name='' onclick=\"window.location='menu_item_move_down.php?menu_uuid=".$menu_uuid."&menu_item_parent_uuid=".$row['menu_item_parent_uuid']."&menu_item_uuid=".$row['menu_item_uuid']."&menu_item_order=".$row['menu_item_order']."'\" value='>' title='".$row['menu_item_order'].". ".$text['button-move_down']."'>";
|
echo "<td valign='top' class='".$row_style[$c]."'>".$menu_item_title." </td>";
|
||||||
//}
|
echo "<td valign='top' class='".$row_style[$c]."'>".$group_list." </td>";
|
||||||
//echo "</td>";
|
//echo "<td valign='top' class='".$row_style[$c]."'>".$menu_item_link." </td>";
|
||||||
|
echo "<td valign='top' class='".$row_style[$c]."'>".$menu_item_category." </td>";
|
||||||
|
//echo "<td valign='top' class='".$row_style[$c]."'>".$row[menu_item_description]."</td>";
|
||||||
|
//echo "<td valign='top' class='".$row_style[$c]."'>".$row['menu_item_parent_uuid']." </td>";
|
||||||
|
//echo "<td valign='top' class='".$row_style[$c]."'>".$row['menu_item_order']." </td>";
|
||||||
|
|
||||||
echo " <td class='list_control_icons'>";
|
if ($menu_item_protected == "true") {
|
||||||
if (permission_exists('menu_edit')) {
|
echo "<td valign='top' class='".$row_style[$c]."' style='text-align: center;'><strong>".$text['label-true']."</strong> </td>";
|
||||||
echo "<a href='menu_item_edit.php?id=".$menu_uuid."&menu_item_uuid=".$row['menu_item_uuid']."&menu_uuid=".$menu_uuid."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
}
|
||||||
}
|
else {
|
||||||
if (permission_exists('menu_delete')) {
|
echo "<td valign='top' class='".$row_style[$c]."' style='text-align: center;'>".$text['label-false']." </td>";
|
||||||
echo "<a href='menu_item_delete.php?id=".$menu_uuid."&menu_item_uuid=".$row['menu_item_uuid']."&menu_uuid=".$menu_uuid."' onclick=\"return confirm('".$text['confirm-delete']."')\" alt='".$text['button-delete']."'>$v_link_label_delete</a>";
|
}
|
||||||
}
|
|
||||||
echo " </td>\n";
|
|
||||||
echo "</tr>";
|
|
||||||
|
|
||||||
//update the menu order
|
echo "<td valign='top' nowrap class='".$row_style[$c]."' style='text-align: center;'>";
|
||||||
if ($row[menu_item_order] != $tmp_menu_item_order) {
|
echo " ".$row[menu_item_order]." ";
|
||||||
$sql = "update v_menu_items set ";
|
echo "</td>";
|
||||||
$sql .= "menu_item_title = '".$row['menu_item_title']."', ";
|
|
||||||
$sql .= "menu_item_order = '".$tmp_menu_item_order."' ";
|
|
||||||
$sql .= "where menu_uuid = '".$menu_uuid."' ";
|
|
||||||
$sql .= "and menu_item_uuid = '".$row[menu_item_uuid]."' ";
|
|
||||||
//$db->exec(check_sql($sql));
|
|
||||||
}
|
|
||||||
$tmp_menu_item_order++;
|
|
||||||
|
|
||||||
//check for sub menus
|
//echo "<td valign='top' align='center' nowrap class='".$row_style[$c]."'>";
|
||||||
$menu_item_level = 0;
|
//if (permission_exists('menu_edit')) {
|
||||||
if (strlen($row['menu_item_uuid']) > 0) {
|
// echo " <input type='button' class='btn' name='' onclick=\"window.location='menu_item_move_up.php?menu_uuid=".$menu_uuid."&menu_item_parent_uuid=".$row['menu_item_parent_uuid']."&menu_item_uuid=".$row['menu_item_uuid']."&menu_item_order=".$row['menu_item_order']."'\" value='<' title='".$row['menu_item_order'].". ".$text['button-move_up']."'>";
|
||||||
$c = build_db_child_menu_list($db, $menu_item_level, $row['menu_item_uuid'], $c);
|
// echo " <input type='button' class='btn' name='' onclick=\"window.location='menu_item_move_down.php?menu_uuid=".$menu_uuid."&menu_item_parent_uuid=".$row['menu_item_parent_uuid']."&menu_item_uuid=".$row['menu_item_uuid']."&menu_item_order=".$row['menu_item_order']."'\" value='>' title='".$row['menu_item_order'].". ".$text['button-move_down']."'>";
|
||||||
}
|
//}
|
||||||
|
//echo "</td>";
|
||||||
|
|
||||||
if ($c==0) { $c=1; } else { $c=0; }
|
echo " <td class='list_control_icons'>";
|
||||||
} //end foreach
|
if (permission_exists('menu_edit')) {
|
||||||
unset($sql, $result, $row_count);
|
echo "<a href='menu_item_edit.php?id=".$menu_uuid."&menu_item_uuid=".$row['menu_item_uuid']."&menu_uuid=".$menu_uuid."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
||||||
|
}
|
||||||
|
if (permission_exists('menu_delete')) {
|
||||||
|
echo "<a href='menu_item_delete.php?id=".$menu_uuid."&menu_item_uuid=".$row['menu_item_uuid']."&menu_uuid=".$menu_uuid."' onclick=\"return confirm('".$text['confirm-delete']."')\" alt='".$text['button-delete']."'>$v_link_label_delete</a>";
|
||||||
|
}
|
||||||
|
echo " </td>\n";
|
||||||
|
echo "</tr>";
|
||||||
|
|
||||||
} //end if results
|
//update the menu order
|
||||||
|
if ($row[menu_item_order] != $tmp_menu_item_order) {
|
||||||
|
$sql = "update v_menu_items set ";
|
||||||
|
$sql .= "menu_item_title = '".$row['menu_item_title']."', ";
|
||||||
|
$sql .= "menu_item_order = '".$tmp_menu_item_order."' ";
|
||||||
|
$sql .= "where menu_uuid = '".$menu_uuid."' ";
|
||||||
|
$sql .= "and menu_item_uuid = '".$row[menu_item_uuid]."' ";
|
||||||
|
//$db->exec(check_sql($sql));
|
||||||
|
}
|
||||||
|
$tmp_menu_item_order++;
|
||||||
|
|
||||||
echo "<tr>\n";
|
//check for sub menus
|
||||||
echo "<td colspan='6' align='left'>\n";
|
$menu_item_level = 0;
|
||||||
echo " <table border='0' width='100%' cellpadding='0' cellspacing='0'>\n";
|
if (strlen($row['menu_item_uuid']) > 0) {
|
||||||
echo " <tr>\n";
|
$c = build_db_child_menu_list($db, $menu_item_level, $row['menu_item_uuid'], $c);
|
||||||
echo " <td width='33.3%' nowrap> </td>\n";
|
}
|
||||||
echo " <td width='33.3%' align='center' nowrap> </td>\n";
|
|
||||||
echo " <td width='33.3%' align='right'>\n";
|
|
||||||
if (permission_exists('menu_add') && $action == "update") {
|
|
||||||
echo " <a href='menu_item_edit.php?id=".$menu_uuid."' alt='".$text['button-add']."'>$v_link_label_add</a>\n";
|
|
||||||
}
|
|
||||||
echo " </td>\n";
|
|
||||||
echo " </tr>\n";
|
|
||||||
echo " </table>\n";
|
|
||||||
|
|
||||||
echo "</td>\n";
|
if ($c==0) { $c=1; } else { $c=0; }
|
||||||
echo "</tr>\n";
|
} //end foreach
|
||||||
echo "</table>\n";
|
unset($sql, $result, $row_count);
|
||||||
echo "</div>\n";
|
|
||||||
echo "<br><br>";
|
|
||||||
|
|
||||||
echo " </td>\n";
|
} //end if results
|
||||||
echo "</tr>\n";
|
|
||||||
echo "</table>\n";
|
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
echo "<br><br>";
|
echo "<tr>\n";
|
||||||
require_once "resources/footer.php";
|
echo "<td colspan='6' align='left'>\n";
|
||||||
|
echo " <table border='0' width='100%' cellpadding='0' cellspacing='0'>\n";
|
||||||
|
echo " <tr>\n";
|
||||||
|
echo " <td width='33.3%' nowrap> </td>\n";
|
||||||
|
echo " <td width='33.3%' align='center' nowrap> </td>\n";
|
||||||
|
echo " <td width='33.3%' align='right'>\n";
|
||||||
|
if (permission_exists('menu_add') && $action == "update") {
|
||||||
|
echo " <a href='menu_item_edit.php?id=".$menu_uuid."' alt='".$text['button-add']."'>$v_link_label_add</a>\n";
|
||||||
|
}
|
||||||
|
echo " </td>\n";
|
||||||
|
echo " </tr>\n";
|
||||||
|
echo " </table>\n";
|
||||||
|
|
||||||
|
echo "</td>\n";
|
||||||
|
echo "</tr>\n";
|
||||||
|
echo "</table>\n";
|
||||||
|
echo "<br><br>";
|
||||||
|
|
||||||
|
require_once "resources/footer.php";
|
||||||
?>
|
?>
|
||||||
@@ -43,10 +43,9 @@ else {
|
|||||||
$document['title'] = $text['title-user_manager'];
|
$document['title'] = $text['title-user_manager'];
|
||||||
|
|
||||||
//show the user list
|
//show the user list
|
||||||
echo "<div align='center'>";
|
|
||||||
echo " <table width='100%' border='0'>";
|
echo " <table width='100%' border='0'>";
|
||||||
echo " <tr>";
|
echo " <tr>";
|
||||||
echo " <td align='left' width='100%'>";
|
echo " <td align='left' width='100%'>";
|
||||||
require_once "users.php";
|
require_once "users.php";
|
||||||
echo " <br />";
|
echo " <br />";
|
||||||
echo " <br />";
|
echo " <br />";
|
||||||
@@ -54,7 +53,6 @@ else {
|
|||||||
echo " </td>";
|
echo " </td>";
|
||||||
echo " </tr>";
|
echo " </tr>";
|
||||||
echo " </table>";
|
echo " </table>";
|
||||||
echo "</div>";
|
|
||||||
|
|
||||||
//include the footer
|
//include the footer
|
||||||
include "resources/footer.php";
|
include "resources/footer.php";
|
||||||
|
|||||||
@@ -42,11 +42,6 @@ $order = $_GET["order"];
|
|||||||
$field_name = $_REQUEST["field_name"];
|
$field_name = $_REQUEST["field_name"];
|
||||||
$field_value = $_REQUEST["field_value"];
|
$field_value = $_REQUEST["field_value"];
|
||||||
|
|
||||||
echo "<div align='center'>";
|
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='2'>\n";
|
|
||||||
echo "<tr class='border'>\n";
|
|
||||||
echo " <td align=\"center\">\n";
|
|
||||||
|
|
||||||
//page title and description
|
//page title and description
|
||||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
echo "<form method='post' action=''>";
|
echo "<form method='post' action=''>";
|
||||||
@@ -145,7 +140,6 @@ echo " <td align=\"center\">\n";
|
|||||||
$row_style["1"] = "row_style1";
|
$row_style["1"] = "row_style1";
|
||||||
|
|
||||||
//show the data
|
//show the data
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||||
|
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
@@ -224,14 +218,6 @@ echo " <td align=\"center\">\n";
|
|||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
echo "</div>";
|
|
||||||
echo "<br><br>";
|
echo "<br><br>";
|
||||||
echo "<br><br>";
|
|
||||||
|
|
||||||
echo "</td>";
|
|
||||||
echo "</tr>";
|
|
||||||
echo "</table>";
|
|
||||||
echo "</div>";
|
|
||||||
echo "<br><br>";
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
Reference in New Issue
Block a user