    Johncms 4xx
 - 
---------------------------
        
---------------------------
1.  
2.  http://_/install.php.
3.  install.php
4.    forum/index.php     : 
  if ($user_id && $user_id != $res['user_id']) {
                        echo '<a href="index.php?act=say&amp;id=' . $res['id'] . '&amp;start=' . $start . '">' . $lng_forum['reply_btn'] . '</a>&#160;' . '<a href="index.php?act=say&amp;id=' . $res['id'] . '&amp;start=' . $start . '&amp;cyt">' . $lng_forum['cytate_btn'] . '</a> '

 //( 566 )//

 :
. '<a href="spam.php?act=add&amp;id=' . $res['id'] . '" onclick="return confirm(\'   ?\')">[c]</a> ';
}
5.  ( incfiles/classes/functions.php)       :
/*
-----------------------------------------------------------------
 
-----------------------------------------------------------------
*/
function stat_forum() {
  global $user_id, $rights, $set;
  $spam = mysql_result(mysql_query("SELECT COUNT(*) FROM `cms_forum_spam` "), 0);
  $total_thm = mysql_result(mysql_query("SELECT COUNT(*) FROM `forum` WHERE `type` = 't'" . ($rights >= 7 ? "" : " AND `close` != '1'")), 0);
        $total_msg = mysql_result(mysql_query("SELECT COUNT(*) FROM `forum` WHERE `type` = 'm'" . ($rights >= 7 ? "" : " AND `close` != '1'")), 0);
        $out = $total_thm . '&#160;/&#160;' . $total_msg . '';

        if ($user_id) {
            $new = self::forum_new();
            if ($new)
                $out .= '&#160;/&#160;<span class="red"><a href="' . $set['homeurl'] . '/forum/index.php?act=new">+' . $new . '</a></span>';
        }
		if (($rights == 3 || $rights >= 6) && $spam > 0)
            $out = $out . "&#160;/&#160;<a href='" . $set['homeurl'] . "/forum/spam.php'><font color='#FF0000'>: $spam</font></a>";


        return $out;
    }
6.  ...:)!