快速架站程式:Appserv 2.4.2
上網方式:Hinet 浮動IP
安裝程式:Apache+MySQL+PHP+Perl+PhpMyAdmin
phpBB2 版本:PhpBB 2011
最近安裝birthday_1.5.6em
黃牌1412
出現這樣的錯誤.......><.....我下面有哪裡改錯....謝謝各位

下面是83行後面的之資料紅色地方就是100行
代碼: 選擇全部
$field_names = array(
'auth_view' => $lang['View'],
'auth_read' => $lang['Read'],
'auth_post' => $lang['Post'],
'auth_reply' => $lang['Reply'],
'auth_edit' => $lang['Edit'],
'auth_delete' => $lang['Delete'],
'auth_sticky' => $lang['Sticky'],
'auth_announce' => $lang['Announce'],
'auth_vote' => $lang['Vote'],
'auth_pollcreate' => $lang['Pollcreate']);
attach_setup_usergroup_auth($forum_auth_fields, $auth_field_match, $field_names,
// ---------------
// Start Functions
//
[color=red]function check_auth($type, $key, $u_access, $is_admin)[/color]
{
$auth_user = 0;
if( count($u_access) )
{
for($j = 0; $j < count($u_access, $j++)
'auth_ban' => $lang['ban_card'],
'auth_greencard' => $lang['Greencard'] ,
'auth_bluecard' => $lang['Bluecard']);
{
$result = 0;
switch($type)
{
case AUTH_ACL:
$result = $u_access[$j][$key];
case AUTH_MOD:
$result = $result || $u_access[$j]['auth_mod'];
case AUTH_ADMIN:
$result = $result || $is_admin;
break;
}
$auth_user = $auth_user || $result;
}
}
else
{
$auth_user = $is_admin;
}
return $auth_user;
}
//
// End Functions
// -------------
