@@ 51-55 (lines=5) @@ | ||
48 | } |
|
49 | // Get action |
|
50 | $action = 'default'; |
|
51 | if (isset($_POST['action'])) { |
|
52 | $action = $_POST['action']; |
|
53 | } elseif (isset($_GET['action'])) { |
|
54 | $action = $_GET['action']; |
|
55 | } |
|
56 | // Get commend id |
|
57 | $commend_id = 0; |
|
58 | if (isset($_POST['commend_id'])) { |
|
@@ 58-62 (lines=5) @@ | ||
55 | } |
|
56 | // Get commend id |
|
57 | $commend_id = 0; |
|
58 | if (isset($_POST['commend_id'])) { |
|
59 | $commend_id = (int)$_POST['commend_id']; |
|
60 | } elseif (isset($_GET['commend_id'])) { |
|
61 | $commend_id = (int)$_GET['commend_id']; |
|
62 | } |
|
63 | ||
64 | $xoopsTpl->assign('op', $op); |
|
65 | $xoopsTpl->assign('mod_pref', $mod_pref); |