Vergleich misc.php - 1.4.2 - 1.4.16

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: misc.php 4081 2008-08-08 01:47:02Z Tikitiki $

 * $Id: misc.php 5379 2011-02-21 11:06:42Z Tomm $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 49Zeile 49
}
if($mybb->input['action'] == "markread")
{

}
if($mybb->input['action'] == "markread")
{

 
	if($mybb->user['uid'] && verify_post_check($mybb->input['my_post_key'], true) !== true)
{
// Protect our user's unread forums from CSRF
error($lang->invalid_post_code);
}


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

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

Zeile 185Zeile 191
				if($lang->$langdocvar)
{
$helpdoc['document'] = $lang->$langdocvar;

				if($lang->$langdocvar)
{
$helpdoc['document'] = $lang->$langdocvar;

 
					
if($langdocvar == "d3_document")
{
$helpdoc['document'] = $lang->sprintf($helpdoc['document'], $mybb->user['logoutkey']);
}

				}
}
add_breadcrumb($helpdoc['name']);

				}
}
add_breadcrumb($helpdoc['name']);





			$plugins->run_hooks("misc_help_helpdoc_end");

eval("\$helppage = \"".$templates->get("misc_help_helpdoc")."\";");
output_page($helppage);

			$plugins->run_hooks("misc_help_helpdoc_end");

eval("\$helppage = \"".$templates->get("misc_help_helpdoc")."\";");
output_page($helppage);

		}

		}

		else
{
error($lang->error_invalidhelpdoc);

		else
{
error($lang->error_invalidhelpdoc);

		}
}
else
{

		}
}
else
{

		$plugins->run_hooks("misc_help_section_start");

$query = $db->simple_select("helpdocs", "*", "", array('order_by' => 'sid, disporder'));

		$plugins->run_hooks("misc_help_section_start");

$query = $db->simple_select("helpdocs", "*", "", array('order_by' => 'sid, disporder'));

Zeile 276Zeile 287
					}
}
eval("\$sections .= \"".$templates->get("misc_help_section")."\";");

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

			}

			}

		}

$plugins->run_hooks("misc_help_section_end");

		}

$plugins->run_hooks("misc_help_section_end");

Zeile 501Zeile 512
elseif($mybb->input['action'] == "imcenter")
{
if($mybb->input['imtype'] != "aim" && $mybb->input['imtype'] != "icq" && $mybb->input['imtype'] != "msn" && $mybb->input['imtype'] != "yahoo")

elseif($mybb->input['action'] == "imcenter")
{
if($mybb->input['imtype'] != "aim" && $mybb->input['imtype'] != "icq" && $mybb->input['imtype'] != "msn" && $mybb->input['imtype'] != "yahoo")

	{
error($lang->error_invalidimtype);
}

	{
error($lang->error_invalidimtype);
}

	$uid = $mybb->input['uid'];
$user = get_user($uid);


	$uid = $mybb->input['uid'];
$user = get_user($uid);


Zeile 650Zeile 661
	eval("\$syndication = \"".$templates->get("misc_syndication")."\";");
output_page($syndication);
}

	eval("\$syndication = \"".$templates->get("misc_syndication")."\";");
output_page($syndication);
}



 

if($mybb->input['action'] == "clearcookies")
{
$plugins->run_hooks("misc_clearcookies");


if($mybb->input['action'] == "clearcookies")
{
$plugins->run_hooks("misc_clearcookies");

 
	
if($mybb->input['key'] != $mybb->user['logoutkey'])
{
error($lang->error_invalidkey);
}


$remove_cookies = array('mybb', 'mybbuser', 'mybb[password]', 'mybb[lastvisit]', 'mybb[lastactive]', 'collapsed', 'mybb[forumread]', 'mybb[threadsread]', 'mybbadmin');



$remove_cookies = array('mybb', 'mybbuser', 'mybb[password]', 'mybb[lastvisit]', 'mybb[lastactive]', 'collapsed', 'mybb[forumread]', 'mybb[threadsread]', 'mybbadmin');