<input type="text" name="filter_price_to" value="<?php echo floatval($filter_price_to) > 0 ? floatval($filter_price_to) : ""; ?> " size="3"> </td> </tr> <tr> <td valign="top"><?php echo Loc::getMessage("SALE_F_STATUS"); ?> :<br /><img src="/bitrix/images/sale/mouse.gif" width="44" height="21" border="0" alt=""></td> <td valign="top"> <select name="filter_status[]" multiple size="3"> <?php $statusesList = \Bitrix\Sale\OrderStatus::getStatusesUserCanDoOperations($USER->GetID(), array('view')); $allStatusNames = \Bitrix\Sale\OrderStatus::getAllStatusesNames(); foreach ($statusesList as $statusCode) { if (!($statusName = $allStatusNames[$statusCode])) { continue; } ?> <option value="<?php echo htmlspecialcharsbx($statusCode); ?> "<?php if (is_array($filter_status) && in_array($statusCode, $filter_status)) { echo " selected"; } ?> >[<?php echo htmlspecialcharsbx($statusCode);