array(), 'undelete' => array(), 'ignore' => array()); if(is_array($moderate)) { foreach($moderate as $pid => $action) { $moderation[$action][] = intval($pid); } } $postsdel = $postsundel = 0; if($moderation['delete']) { $postsdel = recyclebinpostdelete($moderation['delete'], $posttableid); } if($moderation['undelete']) { $postsundel = recyclebinpostundelete($moderation['undelete'], $posttableid); } if($operation == 'search') { $cpmsg = cplang('recyclebinpost_succeed', array('postsdel' => $postsdel, 'postsundel' => $postsundel)); ?> $postsdel, 'postsundel' => $postsundel)); } } $lpp = empty($_GET['lpp']) ? 20 : $_GET['lpp']; $start = ($page - 1) * $lpp; $start_limit = ($page - 1) * $lpp; $multi = ''; if(!$operation) { shownav('topic', 'nav_recyclebinpost'); showsubmenu('nav_recyclebinpost', array( array('recyclebinpost_list', 'recyclebinpost', 1), array('search', 'recyclebinpost&operation=search', 0), array('clean', 'recyclebinpost&operation=clean', 0) )); showtagheader('div', 'postlist', 1); showformheader('recyclebinpost', '', 'rbform'); showhiddenfields(array('posttableid' => $posttableid)); showtableheader('recyclebinpost'); $postlistcount = C::t('forum_post')->count_by_invisible($posttableid, '-5'); if($postlistcount && recyclebinpostshowpostlist(null, null, null, null, null, $start_limit, $lpp)) { $multi = multi($postlistcount, $lpp, $page, ADMINSCRIPT."?action=recyclebinpost"); } showsubmit('rbsubmit', 'submit', '', ''.cplang('recyclebin_all_delete').'  '.cplang('recyclebin_all_undelete').'  '.cplang('recyclebin_all_ignore').'  ', $multi); showtablefooter(); showformfooter(); echo ''; showtagfooter('div'); } elseif($operation == 'search') { $inforum = $_GET['inforum']; $authors = $_GET['authors']; $keywords = $_GET['keywords']; $pstarttime = $_GET['pstarttime']; $pendtime = $_GET['pendtime']; $appService = Cloud::loadClass('Service_App'); $secStatus = $appService->getCloudAppStatus('security'); if($secStatus){ $security = $_GET['security']; } $searchsubmit = $_GET['searchsubmit']; require_once libfile('function/forumlist'); $forumselect = ''; if($inforum) { $forumselect = preg_replace("/(\