●快速架站程式:竹貓提供的phpBB2.0.11升級到2.0.13了
●您的上網方式:ADSL
●您的 phpBB2 版本:phpBB (2.0.13)。
●您的 domain(網域名稱) :playgame.no-ip.org
●您的 phpBB2 連結網址: http://playgame.no-ip.org/phpbb2/
安裝mod:
付費文章
金錢2.2.2
閃光id
隱藏文章
跑馬燈
廣告圖片
縮圖<===沒有效果
flashcode
所有連結變彩色\r
檔案上傳mod
管理員紀錄mod
薪資發放\r
visual_confirmation_guide_1.1.3
ClanzDarkness
代碼: 選擇全部
Warning: Missing argument 21 for submit_post() in e:\appserv\www\phpbb2\includes\functions_post.php on line 216
代碼: 選擇全部
//
// Post a new topic/reply/poll or edit existing post/poll
//
function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, &$post_username, &$post_subject, &$post_message, &$poll_title, &$poll_options, &$poll_length, &$pay_money)
{
global $board_config, $lang, $db, $phpbb_root_path, $phpEx;
global $userdata, $user_ip;
include($phpbb_root_path . 'includes/functions_search.'.$phpEx);
$current_time = time();
if ($mode == 'newtopic' || $mode == 'reply' || $mode == 'editpost')
{
//
// Flood control
//
$where_sql = ($userdata['user_id'] == ANONYMOUS) ? "poster_ip = '$user_ip'" : 'poster_id = ' . $userdata['user_id'];
$sql = "SELECT MAX(post_time) AS last_post_time
FROM " . POSTS_TABLE . "
WHERE $where_sql";
if ($result = $db->sql_query($sql))
{
if ($row = $db->sql_fetchrow($result))
{
if (intval($row['last_post_time']) > 0 && ($current_time - intval($row['last_post_time'])) < intval($board_config['flood_interval']))
{
message_die(GENERAL_MESSAGE, $lang['Flood_Error']);
}
}
}
//
// Double Post Control
//
沒反應.......只能用打字輸入顏色碼才能用............

