| @@ 359-365 (lines=7) @@ | ||
| 356 | * @param int stop |
|
| 357 | * @return void |
|
| 358 | */ |
|
| 359 | public function updateInspection($userID, $start, $stop) |
|
| 360 | { |
|
| 361 | global $xoopsDB; |
|
| 362 | $newstop = $time() + $stop; |
|
| 363 | $sql = 'UPDATE ' . $xoopsDB->prefix('smallworld_admin') . " SET inspect_start = '" . $time() . "', instect_stop = '" . $newstop . "' WHERE userid ='" . (int)$userID . "'"; |
|
| 364 | $result = $xoopsDB->queryF($sql); |
|
| 365 | } |
|
| 366 | ||
| 367 | /** |
|
| 368 | * handleImageEdit function |
|
| @@ 362-368 (lines=7) @@ | ||
| 359 | * @param int stop |
|
| 360 | * @return void |
|
| 361 | */ |
|
| 362 | public function updateInspection($userID, $start, $stop) |
|
| 363 | { |
|
| 364 | global $xoopsDB; |
|
| 365 | $newstop = $time() + $stop; |
|
| 366 | $sql = 'UPDATE ' . $xoopsDB->prefix('smallworld_admin') . " SET inspect_start = '" . $time() . "', instect_stop = '" . $newstop . "' WHERE userid ='" . (int)$userID . "'"; |
|
| 367 | $result = $xoopsDB->queryF($sql); |
|
| 368 | } |
|
| 369 | ||
| 370 | /** |
|
| 371 | * handleImageEdit function |
|