mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update conference_session_details.php
This commit is contained in:
@@ -151,7 +151,7 @@
|
|||||||
$sql .= "limit $rows_per_page offset $offset ";
|
$sql .= "limit $rows_per_page offset $offset ";
|
||||||
$prep_statement = $db->prepare(check_sql($sql));
|
$prep_statement = $db->prepare(check_sql($sql));
|
||||||
$prep_statement->execute();
|
$prep_statement->execute();
|
||||||
$result = $prep_statement->fetchAll();
|
$conference_session_details = $prep_statement->fetchAll();
|
||||||
$result_count = count($result);
|
$result_count = count($result);
|
||||||
unset ($prep_statement, $sql);
|
unset ($prep_statement, $sql);
|
||||||
|
|
||||||
@@ -177,8 +177,8 @@
|
|||||||
}
|
}
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
|
||||||
if ($result_count > 0) {
|
if (is_array($conference_session_details)) {
|
||||||
foreach($result as $row) {
|
foreach($conference_session_details as $row) {
|
||||||
if (defined('TIME_24HR') && TIME_24HR == 1) {
|
if (defined('TIME_24HR') && TIME_24HR == 1) {
|
||||||
$start_date = date("j M Y H:i:s", $row['start_epoch']);
|
$start_date = date("j M Y H:i:s", $row['start_epoch']);
|
||||||
$end_date = date("j M Y H:i:s", $row['end_epoch']);
|
$end_date = date("j M Y H:i:s", $row['end_epoch']);
|
||||||
@@ -191,7 +191,7 @@
|
|||||||
$time_difference = $row['end_epoch'] - $row['start_epoch'];
|
$time_difference = $row['end_epoch'] - $row['start_epoch'];
|
||||||
$time_difference = gmdate("G:i:s", $time_difference);
|
$time_difference = gmdate("G:i:s", $time_difference);
|
||||||
}
|
}
|
||||||
$tr_link = (permission_exists('conference_session_details')) ? "href='/app/xml_cdr/xml_cdr_details.php?uuid=".escape($row['uuid'])."'" : null;
|
$tr_link = (permission_exists('conference_session_details')) ? "href='/app/xml_cdr/xml_cdr_details.php?id=".escape($row['uuid'])."'" : null;
|
||||||
echo "<tr ".$tr_link.">\n";
|
echo "<tr ".$tr_link.">\n";
|
||||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['meeting_uuid']." </td>\n";
|
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['meeting_uuid']." </td>\n";
|
||||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['conference_session_uuid']." </td>\n";
|
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['conference_session_uuid']." </td>\n";
|
||||||
@@ -204,13 +204,13 @@
|
|||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$end_date." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".$end_date." </td>\n";
|
||||||
if (permission_exists('conference_session_details')) {
|
if (permission_exists('conference_session_details')) {
|
||||||
echo " <td class='list_control_icon'>";
|
echo " <td class='list_control_icon'>";
|
||||||
echo " <a href='/app/xml_cdr/xml_cdr_details.php?uuid=".escape($row['uuid'])."' alt='".$text['button-view']."'>$v_link_label_view</a>";
|
echo " <a href='/app/xml_cdr/xml_cdr_details.php?id=".escape($row['uuid'])."' alt='".$text['button-view']."'>$v_link_label_view</a>";
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
}
|
}
|
||||||
echo "</tr>\n";
|
echo "</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, $conference_session_details);
|
||||||
} //end if results
|
} //end if results
|
||||||
|
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user