Vergleich misc.php - 1.2.1 - 1.2.7

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

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

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

 *

 *

 * $Id: misc.php 2224 2006-09-14 00:35:33Z chris $

 * $Id: misc.php 3030 2007-04-26 00:19:47Z Tikitiki $

 */

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 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();
}