| @@ 29-35 (lines=7) @@ | ||
| 26 | include __DIR__ . '/../../mainfile.php'; |
|
| 27 | //include_once(XOOPS_ROOT_PATH."/modules/".$xoopsModule->dirname()."/class/msg.php"); |
|
| 28 | include_once XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->dirname() . '/class/util.php'; |
|
| 29 | if (isset($_GET['msg_id'])) { |
|
| 30 | $msg_id = (int)$_GET['msg_id']; |
|
| 31 | } elseif (isset($_POST['msg_id'])) { |
|
| 32 | $msg_id = (int)$_POST['msg_id']; |
|
| 33 | } else { |
|
| 34 | $msg_id = 0; |
|
| 35 | } |
|
| 36 | ||
| 37 | if (isset($_GET['op'])) { |
|
| 38 | $op = $_GET['op']; |
|
| @@ 37-43 (lines=7) @@ | ||
| 34 | $msg_id = 0; |
|
| 35 | } |
|
| 36 | ||
| 37 | if (isset($_GET['op'])) { |
|
| 38 | $op = $_GET['op']; |
|
| 39 | } elseif (isset($_POST['op'])) { |
|
| 40 | $op = $_POST['op']; |
|
| 41 | } else { |
|
| 42 | $op = 'show_all'; |
|
| 43 | } |
|
| 44 | ||
| 45 | $msgHandler = xoops_getModuleHandler('msg'); |
|
| 46 | ||