@@ 9-13 (lines=5) @@ | ||
6 | global $xoopsModule; |
|
7 | $module_id = $xoopsModule->getVar('mid'); |
|
8 | $start = $limit = 0; |
|
9 | if (isset($_REQUEST['limit'])) { |
|
10 | $limit = intval($_REQUEST['limit']); |
|
11 | } else { |
|
12 | $limit = 15; |
|
13 | } |
|
14 | if (isset($_REQUEST['start'])) { |
|
15 | $start = intval($_REQUEST['start']); |
|
16 | } |
@@ 199-203 (lines=5) @@ | ||
196 | ||
197 | $lastPage = $_xhelpSession->get("xhelp_return_op"); |
|
198 | ||
199 | if(isset($_REQUEST['uid'])){ |
|
200 | $uid = intval($_REQUEST['uid']); |
|
201 | } else { |
|
202 | $uid = 0; |
|
203 | } |
|
204 | if($uid == 0){ |
|
205 | redirect_header(XHELP_ADMIN_URL."/staff.php?op=$lastPage", 3, _AM_XHELP_MSG_NEED_UID); |
|
206 | } |
|
@@ 404-408 (lines=5) @@ | ||
401 | $xhelp_id = intval($_REQUEST['id']); |
|
402 | } |
|
403 | ||
404 | if(isset($_REQUEST['uid'])){ |
|
405 | $uid = intval($_REQUEST['uid']); |
|
406 | } else { |
|
407 | $uid = 0; |
|
408 | } |
|
409 | ||
410 | $hRole =& xhelpGetHandler('role'); |
|
411 | $role =& $hRole->get($xhelp_id); |