$query_per_page = $pgdata['query_per_page']; $sort_by = $pgdata['sort_by']; $first_record = $pgdata['first_record']; $search_parameter = $pgdata['search_parameter']; $search_value = $pgdata['search_value']; $search_query = $pgdata['search_query']; $search = $pgdata['search']; if (isset($_REQUEST['src'])) { $_REQUEST['src'] = $_REQUEST['src']; } else { $_REQUEST['src'] = ''; } $full_order = $_get->fullOrderIndex($search_query, $sort_by, $first_record, $query_per_page, $_status); $total_query = $full_order['total_query']; $total_page = $full_order['total_page']; $listing_order = $_get->orderIndex($search_query, $sort_by, $first_record, $query_per_page, $_status); /* --- HANDLING ARROW SORTING --- */ $arr_order_number = ''; $arr_order_date = ''; $arr_confirm_name = ''; $arr_confirm_bank = ''; $arr_confirm_amount = ''; $arr_payment_status = ''; $arr_fulfillment_status = ''; if (isset($_REQUEST['srt'])) { if ($_REQUEST['srt'] == "order_number DESC") { $arr_order_number = "<span class=\"sort-arrow-up\"></span>"; } else { if ($_REQUEST['srt'] == "order_number") { $arr_order_number = "<span class=\"sort-arrow-down\"></span>"; } else {