showtablefooter(); } elseif ($_G['gp_anchor'] == 'member') { $memberperpage = $_G['setting']['memberperpage']; $start_limit = ($page - 1) * $memberperpage; $count = DB::result_first('SELECT count(*) FROM ' . DB::table('security_eviluser')); $multipage = multi($count, $memberperpage, $page, ADMINSCRIPT . '?action=cloud&operation=security&anchor=member'); list($datas, $eviluids) = getEvilList('user', $start_limit, $memberperpage); showtableheader(); showsubtitle(array('security_members_name', 'members_edit_info', 'security_members_eviltype', 'security_thread_member')); foreach ($datas as $value) { if ($value['username']) { $username = '******' . ADMINSCRIPT . '?action=members&operation=group&uid=' . $value['uid'] . '" target="_blank" title="' . $title . '">' . $value['username'] . '</a>'; } else { $username = $lang['security_userdeleted'] . "(uid:{$value['uid']})"; } $member = array($username, convertMemberInfo($value), convertIdtoStr($value['eviltype']), $value['grouptitle']); showtablerow('', array('width = "220px"'), $member); } if ($multipage) { showtablerow('', 'colspan = "5"', $multipage); } showtablefooter(); } $jsScript = <<<EOF \t\t<script type='text/javascript'> \t\t\tfunction toggle_mod(id) { \t\t\t\tif(\$(id).style.display == 'none') { \t\t\t\t\t\$(id).style.display = ''; \t\t\t\t} else { \t\t\t\t\t\$(id).style.display = 'none';
showformheader("members&operation=clean", ''); showtableheader(); showsubtitle(array('', 'security_members_name', 'members_edit_info', 'security_thread_member_group', 'security_createtime', '', '', '')); foreach ($datas as $value) { if ($value['username']) { $username = '******' . $value['uid'] . '&do=profile" target="_blank" title="' . $title . '">' . $value['username'] . '</a>'; } else { $username = $lang['security_userdeleted'] . "(uid:{$value['uid']})"; } $del = '<input type="checkbox" name="uidarray[]" value="' . $value['uid'] . '"' . ($value['adminid'] == 1 ? 'disabled' : '') . ' class="checkbox">'; $optmember = '<a href="' . ADMINSCRIPT . '?action=members&operation=ban&uid=' . $value['uid'] . '" target="_blank">' . cplang('members_ban') . '</a>'; $ignorethis = '<a href="' . ADMINSCRIPT . '?action=cloud&operation=security&anchor=member&ignoreuid=' . $value['uid'] . '&page=' . $page . '">' . cplang('security_member_ignore_this') . '</a>'; $createtime = date('Y-m-d', $value['createtime']); $evilthreads = '<a href="javascript:void(0);" onclick="searchevilpost_member(\'' . $value['username'] . '\', 1);return false;">' . cplang('security_thread_list') . '</a>'; $evilposts = '<a href="javascript:void(0);" onclick="searchevilpost_member(\'' . $value['username'] . '\', 2);return false;">' . cplang('security_post_list') . '</a>'; $member = array($del, $username, convertMemberInfo($value), $value['grouptitle'], $createtime, $evilthreads, $evilposts, $optmember, $ignorethis); showtablerow('', array('class="td25"'), $member); } showsubmit('deletesubmit', cplang('delete'), '', '', $multipage); showtablefooter(); showformfooter(); } elseif ($_GET['anchor'] == 'reopen') { Cloud::loadFile('Service_Client_Cloud'); $Cloud_Service_Client_Cloud = new Cloud_Service_Client_Cloud(); $return = $Cloud_Service_Client_Cloud->appOpenWithRegister('security'); if ($return['errCode']) { cpmsg($return['errMessage'], 'action=cloud&operation=security&anchor=index', 'error'); } else { dheader('location: ' . ADMINSCRIPT . '?action=cloud&operation=security&anchor=index'); } }