Vergleich newthread.php - 1.04 - 1.15

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 86Zeile 86
	}
else
{

	}
else
{

		$username = $mybb->input['username'];

		$username = htmlspecialchars_uni($mybb->input['username']);

	}
eval("\$loginbox = \"".$templates->get("loginbox")."\";");
}

	}
eval("\$loginbox = \"".$templates->get("loginbox")."\";");
}

Zeile 217Zeile 217
		$post = $db->fetch_array($query);
if(!$mybb->user['uid'] || !$post['username'])
{

		$post = $db->fetch_array($query);
if(!$mybb->user['uid'] || !$post['username'])
{

			$post['username'] = $mybb->input['username'];

			$post['username'] = htmlspecialchars_uni($mybb->input['username']);

		}
else
{

		}
else
{

Zeile 226Zeile 226
		}
$previewmessage = $mybb->input['message'];
$post['message'] = $previewmessage;

		}
$previewmessage = $mybb->input['message'];
$post['message'] = $previewmessage;

		$post['subject'] = $subject;
$post['icon'] = $icon;

        $post['subject'] = $mybb->input['subject'];
$post['icon'] = $mybb->input['icon'];

		$post['smilieoff'] = $postoptions['disablesmilies'];
$post['dateline'] = time();


		$post['smilieoff'] = $postoptions['disablesmilies'];
$post['dateline'] = time();


Zeile 667Zeile 667
	{
$url = "polls.php?action=newpoll&tid=$tid&polloptions=".intval($mybb->input['numpolloptions']);
$lang->redirect_newthread .= $lang->redirect_newthread_poll;

	{
$url = "polls.php?action=newpoll&tid=$tid&polloptions=".intval($mybb->input['numpolloptions']);
$lang->redirect_newthread .= $lang->redirect_newthread_poll;

 
		$cache->updatestats();
updatethreadcount($tid);
updateforumcount($fid);

	}
elseif(!$visible)
{

	}
elseif(!$visible)
{