| @@ 563-576 (lines=14) @@ | ||
| 560 | exit(); |
|
| 561 | } |
|
| 562 | ||
| 563 | function ignoreBrokenLinks() |
|
| 564 | { |
|
| 565 | global $xoopsDB; |
|
| 566 | ||
| 567 | $bknrptid = mylinksUtility::mylinks_cleanVars($_POST, 'bknrptid', 0, 'int', array('min'=>0)); |
|
| 568 | $sql = sprintf('DELETE FROM %s WHERE reportid = %u', $xoopsDB->prefix('mylinks_broken'), $bknrptid); |
|
| 569 | $result = $xoopsDB->queryF($sql); |
|
| 570 | if (!result) { |
|
| 571 | mylinksUtility::show_message(_MD_MYLINKS_NORECORDFOUND); |
|
| 572 | } else { |
|
| 573 | mylinksUtility::show_message(_MD_MYLINKS_BROKENDELETED); |
|
| 574 | } |
|
| 575 | exit(); |
|
| 576 | } |
|
| 577 | ||
| 578 | function listModReq() |
|
| 579 | { |
|
| @@ 756-769 (lines=14) @@ | ||
| 753 | exit(); |
|
| 754 | } |
|
| 755 | ||
| 756 | function ignoreModReq() |
|
| 757 | { |
|
| 758 | global $xoopsDB; |
|
| 759 | ||
| 760 | $requestid = mylinksUtility::mylinks_cleanVars($_POST, 'requestid', 0, 'int', array('min'=>0)); |
|
| 761 | $sql = sprintf('DELETE FROM %s WHERE requestid = %u', $xoopsDB->prefix('mylinks_mod'), $requestid); |
|
| 762 | $result = $xoopsDB->query($sql); |
|
| 763 | if (!result) { |
|
| 764 | mylinksUtility::show_message(_MD_MYLINKS_DBNOTUPDATED); |
|
| 765 | } else { |
|
| 766 | mylinksUtility::show_message(_MD_MYLINKS_MODREQDELETED); |
|
| 767 | } |
|
| 768 | exit(); |
|
| 769 | } |
|
| 770 | ||
| 771 | function modLinkS() |
|
| 772 | { |
|