| Server IP : 104.21.21.239 / Your IP : 216.73.216.11 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/hotel-dev/public_html/mod/ |
Upload File : |
<?php include('_mod_security.php'); ?>
<script>
function pending_action(action, pending_id, select_obj) {
//alert(action + ' - ' + pending_id);
//console.log(select_obj);
$.ajax({
url: 'ajax.php?call=concierges_pending_ajax&func=update&action=' + action + '&pending_id=' + pending_id,
dataType: 'json',
success: function(json) {
//console.log(json);
//alert(json.result);
if (json.result == 'Success') {
$(select_obj).closest('tr').hide();
var rec_count = parseInt($('#db_grid_main_total_count').text());
$('#db_grid_main_total_count').text(rec_count - 1);
} else {
alert('Error: ' + json.result);
}
},
error: function (request, status, error) {
alert('Error! ' + status + ' ' + error);
},
});
}
function show_details(id) {
hide_details();
$('#' + id).show();
}
function hide_details() {
$('div.grid_popup').hide();
}
</script>
<h1>Pending Concierge List</h1>
<?php
$ix_form = 'concierge_form';
db_navigator_bar(['table_id'=>'db_grid_main', 'form'=>$ix_form, 'print_section'=>'db_grid_main', 'call'=>'concierges_pending_ajax', 'sort_col'=>'5', 'sort_order'=>'0', 'parm1'=>'', 'func'=>'grid', 'filter_cols'=>'0,0,0,0,0,0,1,0', 'btn_addnew' => 'false' ]);
?>