function get_dropdown_list_array($type) { global $lC_Language; $list_arr = array(); switch ($type) { case 'manufacturer': $list_str = $lC_Language->get('text_select_manufacturers'); $list_arr = lC_Manufacturers_Admin::getManufacturersArray(); break; case 'supplier': $list_str = $lC_Language->get('text_select_supplier'); // $list_arr = lC_Orders_Admin::getOrderStatusArray(); break; case 'order_status': // $list_str = $lC_Language->get('text_statuses'); $list_arr = lC_Orders_Admin::getOrderStatusArray(); break; } $i = 0; if ($list_str != '') { $i = 1; $return_arr[0] = array('id' => '', 'text' => $list_str); } if (is_array($list_arr) && count($list_arr) > 0) { foreach ($list_arr as $k => $arr) { $return_arr[$k + $i] = $arr; } } return $return_arr; }
.dataColTime { text-align: center; } .dataColStatus { text-align: left; } .dataColAction { text-align: right; } .dataTables_info { position:absolute; bottom: 42px; color:#4c4c4c; } .selectContainer { position:absolute; bottom:29px; left:30px } </style> <div class="with-padding-no-top"> <div id="statusSelectorContainer"> <div id="statusSelector"> <form name="orders_status_filter" id="orders_status_filter" action="" onchange="updateOrderList();"> <label for="filter" class="white mid-margin-right"><?php echo $lC_Language->get('text_status'); ?> :</label> <?php echo lc_draw_pull_down_menu('filter', lC_Orders_Admin::getOrderStatusArray(), null, 'class="input with-small-padding"'); ?> </form> </div> </div> <form name="batch" id="batch" action="#" method="post"> <table border="0" width="100%" cellspacing="0" cellpadding="0" class="table responsive-table" id="dataTable"> <thead> <tr> <th scope="col" class="hide-on-mobile align-left"><input onclick="toggleCheck();" id="check-all" type="checkbox" value="1" name="check-all"></th> <th scope="col" class="align-left"><?php echo $lC_Language->get('table_heading_oid'); ?> </th> <th scope="col" class="align-left hide-on-mobile-portrait"><?php echo $lC_Language->get('table_heading_customers');