| @@ 33-39 (lines=7) @@ | ||
| 30 | ||
| 31 | $start = isset($_GET['start']) ? intval($_GET['start']) : 0; |
|
| 32 | $filter3 = $totalOrder = 0; |
|
| 33 | if (isset($_POST['filter3'])) { |
|
| 34 | $filter3 = intval($_POST['filter3']); |
|
| 35 | } elseif (isset($_SESSION['filter3'])) { |
|
| 36 | $filter3 = intval($_SESSION['filter3']); |
|
| 37 | } else { |
|
| 38 | $filter3 = 1; |
|
| 39 | } |
|
| 40 | $_SESSION['filter3'] = $filter3; |
|
| 41 | $selected = array('', '', '', '', '', ''); |
|
| 42 | $conditions = array(OLEDRION_STATE_NOINFORMATION, OLEDRION_STATE_VALIDATED, OLEDRION_STATE_PENDING, OLEDRION_STATE_FAILED, OLEDRION_STATE_CANCELED, OLEDRION_STATE_FRAUD, OLEDRION_STATE_PACKED, OLEDRION_STATE_SUBMITED, OLEDRION_STATE_DELIVERYED); |
|
| @@ 48-52 (lines=5) @@ | ||
| 45 | } |
|
| 46 | ||
| 47 | $productId = 0; |
|
| 48 | if (isset($_POST['product_id'])) { |
|
| 49 | $productId = intval($_POST['product_id']); |
|
| 50 | } elseif (isset($_GET['product_id'])) { |
|
| 51 | $productId = intval($_GET['product_id']); |
|
| 52 | } |
|
| 53 | ||
| 54 | $xoopsTpl->assign('op', $op); |
|
| 55 | $xoopsTpl->assign('confEmpty', oledrion_utils::javascriptLinkConfirm(_OLEDRION_EMPTY_CART_SURE, true)); |
|
| @@ 59-63 (lines=5) @@ | ||
| 56 | } |
|
| 57 | // Get commend id |
|
| 58 | $commend_id = 0; |
|
| 59 | if (isset($_POST['commend_id'])) { |
|
| 60 | $commend_id = intval($_POST['commend_id']); |
|
| 61 | } elseif (isset($_GET['commend_id'])) { |
|
| 62 | $commend_id = intval($_GET['commend_id']); |
|
| 63 | } |
|
| 64 | ||
| 65 | $xoopsTpl -> assign('op', $op); |
|
| 66 | $xoopsTpl -> assign('mod_pref', $mod_pref); |
|