} $creditnames = pwCreditNames(); if ($atcdb['attachs']) { $attachShow = new attachShow($pwpost->isGM || pwRights($pwpost->isBM, 'delattach'), $pwforum->forumset['uploadset']); $attachShow->setData($atcdb['attachs']); $attachShow->parseAttachs($pid, $content, $winduid == $atcdb['authorid']); } $alterinfo && ($content .= "<div id=\"alert_{$pid}\" style=\"color:gray;margin-top:30px\">[ {$alterinfo} ]</div>"); $atcdb['icon'] = $atcdb['icon'] ? "<img src=\"{$imgpath}/post/emotion/{$atcdb['icon']}.gif\" align=\"left\" border=\"0\" />" : ''; echo "success\t" . stripslashes($atc_title) . "\t" . str_replace(array("\r", "\t"), array("", ""), stripslashes($content)); ajax_footer(); } } elseif ($a == 'join') { define('F_M', true); $groupid == 'guest' && Showmsg('not_login'); if (($return = $newColony->checkJoinStatus($winduid)) !== true) { Showmsg($return); } S::gp(array('frombbs')); $return = $newColony->addColonyUser($winduid, $windid, $frombbs); Showmsg($return); } elseif ($a == 'out') { define('AJAX', 1); define('F_M', true); !$colony['ifcyer'] && Showmsg('undefined_action'); if ($windid == $colony['admin']) { Showmsg('colony_out_admin'); } if (empty($_POST['step'])) { require_once PrintEot('m_ajax'); ajax_footer();