
外掛是
版主: 版主管理群
代碼: 選擇全部
Parse error: parse error in /home/ipscbb/index.php on line 428代碼: 選擇全部
$template->assign_vars(array(
'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
'TOTAL_USERS' => sprintf($l_total_user_s, $total_users),
'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">',
'icon_url' => $images['icon_latest_reply'], // TOP5
'icon_alt' => $lang['View_latest_post'], // TOP5
'L_AUTHOR' => $lang['Author'], // TOP5 $newest_user, '</a>'), Man520 寫:它說我在line 428 發生錯誤我公佈一下我在line 424-430代碼: 選擇全部
Parse error: parse error in /home/ipscbb/index.php on line 428請問有錯嗎?代碼: 選擇全部
$template->assign_vars(array( 'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts), 'TOTAL_USERS' => sprintf($l_total_user_s, $total_users), 'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', 'icon_url' => $images['icon_latest_reply'], // TOP5 'icon_alt' => $lang['View_latest_post'], // TOP5 'L_AUTHOR' => $lang['Author'], // TOP5 $newest_user, '</a>'),
有....Man520 寫:它說我在line 428 發生錯誤我公佈一下我在line 424-430代碼: 選擇全部
Parse error: parse error in /home/ipscbb/index.php on line 428請問有錯嗎?代碼: 選擇全部
$template->assign_vars(array( 'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts), 'TOTAL_USERS' => sprintf($l_total_user_s, $total_users), 'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', 'icon_url' => $images['icon_latest_reply'], // TOP5 'icon_alt' => $lang['View_latest_post'], // TOP5 'L_AUTHOR' => $lang['Author'], // TOP5 $newest_user, '</a>'),
代碼: 選擇全部
'L_AUTHOR' => $lang['Author'], // TOP5 [color=blue]$newest_user, '</a>'[/color]), 代碼: 選擇全部
$lang['Newest_user'] = '最新註冊的會員: <b>[color=orange]%s%s%s[/color]</b>';代碼: 選擇全部
'NEWEST_USER' => sprintf($lang['Newest_user'], [color=red]'<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">'[/color], 代碼: 選擇全部
'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">',[color=violet] $newest_user, '</a>'), [/color]
'icon_url' => $images['icon_latest_reply'], // TOP5
'icon_alt' => $lang['View_latest_post'], // TOP5
[color=violet] 'L_AUTHOR' => $lang['Author'], // TOP5 [/color]~倉木麻衣~ 寫:Man520 寫:它說我在line 428 發生錯誤我公佈一下我在line 424-430代碼: 選擇全部
Parse error: parse error in /home/ipscbb/index.php on line 428請問有錯嗎?代碼: 選擇全部
$template->assign_vars(array( 'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts), 'TOTAL_USERS' => sprintf($l_total_user_s, $total_users), 'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', 'icon_url' => $images['icon_latest_reply'], // TOP5 'icon_alt' => $lang['View_latest_post'], // TOP5 'L_AUTHOR' => $lang['Author'], // TOP5 $newest_user, '</a>'),有....Man520 寫:它說我在line 428 發生錯誤我公佈一下我在line 424-430代碼: 選擇全部
Parse error: parse error in /home/ipscbb/index.php on line 428請問有錯嗎?代碼: 選擇全部
$template->assign_vars(array( 'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts), 'TOTAL_USERS' => sprintf($l_total_user_s, $total_users), 'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', 'icon_url' => $images['icon_latest_reply'], // TOP5 'icon_alt' => $lang['View_latest_post'], // TOP5 'L_AUTHOR' => $lang['Author'], // TOP5 $newest_user, '</a>'),
光看這句也會覺得奇怪\r再來就是$lang['Newest_user']這部份~代碼: 選擇全部
'L_AUTHOR' => $lang['Author'], // TOP5 [color=blue]$newest_user, '</a>'[/color]),
在lang_main.php裡~它的內容是\r也就是說~它需要傳三個參數進去才行代碼: 選擇全部
$lang['Newest_user'] = '最新註冊的會員: <b>[color=orange]%s%s%s[/color]</b>';
反觀您提供的資料~僅傳了第一個參數(底下紅色部份)~而少了剩下的二個所以結論是~你改錯了~正確的應該是\r代碼: 選擇全部
'NEWEST_USER' => sprintf($lang['Newest_user'], [color=red]'<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">'[/color],代碼: 選擇全部
'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">',[color=violet] $newest_user, '</a>'), [/color] 'icon_url' => $images['icon_latest_reply'], // TOP5 'icon_alt' => $lang['View_latest_post'], // TOP5 [color=violet] 'L_AUTHOR' => $lang['Author'], // TOP5 [/color]