Verfasst: 28.07.2004 10:31
Zeit habe ich abends so ab 20 Uhr. Ist das okay?
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
$GLOBALS['cm_posting']->update_delete($mode, $post_data, $forum_id, $topic_id, $post_id);
Allerdings gibt es dann auch kein Geld mehr für die Leute. Kann man diese Zeilen nicht irgendwie überspringen lassen, wenn die functions_post.php von der quiz.php includet wird?$cash_message = $GLOBALS['cm_posting']->update_post($mode, $post_data, $forum_id, $topic_id, $post_id, $topic_type, $bbcode_uid, $post_username, $post_message);,
sicher; am besten du schließt die beiden zeilen jeweils inraphael hat geschrieben:Kann man diese Zeilen nicht irgendwie überspringen lassen, wenn die functions_post.php von der quiz.php includet wird?
Code: Alles auswählen
if ( isset($GLOBALS['cm_posting']) )
{
// hier die jeweilige zeile
}
Hier der Code:Parse error: parse error, unexpected '=' in /homepages/45/d71307693/htdocs/wsc71307692/forum/includes/functions_post.php on line 374
Code: Alles auswählen
if ( isset($GLOBALS['cm_posting']) )
{
$cash_message = $GLOBALS['cm_posting']->update_post($mode, $post_data, $forum_id, $topic_id, $post_id, $topic_type, $bbcode_uid, $post_username, $post_message);
}
Code: Alles auswählen
if ($delete_option_sql != '')
{
$sql = "DELETE FROM " . VOTE_RESULTS_TABLE . "
WHERE vote_option_id IN ($delete_option_sql)
AND vote_id = $poll_id";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Error deleting pruned poll options', '', __LINE__, __FILE__, $sql);
}
}
}
if ( isset($GLOBALS['cm_posting']) )
{
$cash_message = $GLOBALS['cm_posting']->update_post($mode, $post_data, $forum_id, $topic_id, $post_id, $topic_type, $bbcode_uid, $post_username, $post_message);
}
$meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">';
$message = $lang['Stored'] . '<br />' . $cash_message . '<br /><br />' . sprintf($lang['Click_view_message'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_forum'], '<a href="' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a>');
return false;
}
//
// Update post stats and details
//