Vergleich misc.php - 1.2.0 - 1.2.6

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * $Id: misc.php 2163 2006-08-30 05:53:05Z chris $

 * $Id: misc.php 2702 2007-02-04 10:48:18Z CraKteR $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 42Zeile 42
		if($mybb->user['uid'] != 0)
{
$db->update_query(TABLE_PREFIX."users", array('lastvisit' => time()), "uid='".$mybb->user['uid']."'");

		if($mybb->user['uid'] != 0)
{
$db->update_query(TABLE_PREFIX."users", array('lastvisit' => time()), "uid='".$mybb->user['uid']."'");

			require_once MYBB_ROOT."/inc/functions_user.php";

			require_once MYBB_ROOT."inc/functions_user.php";

			update_pm_count('', 2);
}
else

			update_pm_count('', 2);
}
else

Zeile 61Zeile 61

if($mybb->input['fid'])
{


if($mybb->input['fid'])
{

		my_setcookie("forumpass[".intval($mybb->input['fid'])."]", '');

		my_unsetcookie("forumpass[".intval($mybb->input['fid'])."]");

		redirect("index.php", $lang->redirect_forumpasscleared);
}
}

		redirect("index.php", $lang->redirect_forumpasscleared);
}
}

Zeile 89Zeile 89
			$forum['rulestitle'] = sprintf($lang->forum_rules, $forum['name']);
}


			$forum['rulestitle'] = sprintf($lang->forum_rules, $forum['name']);
}


		require_once MYBB_ROOT."/inc/class_parser.php";

		require_once MYBB_ROOT."inc/class_parser.php";

		$parser = new postParser();
$parser_options = array(
"allow_html" => 'yes',

		$parser = new postParser();
$parser_options = array(
"allow_html" => 'yes',

Zeile 351Zeile 351
		$query = $db->simple_select(TABLE_PREFIX."smilies", "*", "", array('order_by' => 'disporder'));
while($smilie = $db->fetch_array($query))
{

		$query = $db->simple_select(TABLE_PREFIX."smilies", "*", "", array('order_by' => 'disporder'));
while($smilie = $db->fetch_array($query))
{

			$smiliefind = $smilie['find'];
$smilie['find'] = $db->escape_string($smilie['find']);

			$smilie['insert'] = addslashes($smilie['find']);
$smilie['find'] = htmlspecialchars_uni($smilie['find']);

			eval("\$smilies .= \"".$templates->get("misc_smilies_popup_smilie")."\";");
if($e == 2)
{

			eval("\$smilies .= \"".$templates->get("misc_smilies_popup_smilie")."\";");
if($e == 2)
{

Zeile 379Zeile 379
		$query = $db->simple_select(TABLE_PREFIX."smilies", "*", "", array('order_by' => 'disporder'));
while($smilie = $db->fetch_array($query))
{

		$query = $db->simple_select(TABLE_PREFIX."smilies", "*", "", array('order_by' => 'disporder'));
while($smilie = $db->fetch_array($query))
{

 
			$smilie['find'] = htmlspecialchars_uni($smilie['find']);

			eval("\$smilies .= \"".$templates->get("misc_smilies_smilie")."\";");
$class = alt_trow();
}

			eval("\$smilies .= \"".$templates->get("misc_smilies_smilie")."\";");
$class = alt_trow();
}