Vergleich admin/index.php - 1.2.0 - 1.2.5

  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: index.php 2171 2006-08-30 14:46:23Z chris $

 * $Id: index.php 2771 2007-02-11 16:42:08Z CraKteR $

 */

define("IN_MYBB", 1);


 */

define("IN_MYBB", 1);


require_once "./global.php";;

require_once "./global.php";


// Load language packs for this section


// Load language packs for this section

global $lang;

 
$lang->load("index");

$plugins->run_hooks("admin_index_start");

$lang->load("index");

$plugins->run_hooks("admin_index_start");

Zeile 181Zeile 180
	tableheader($lang->mybb_credits);
tablesubheader($lang->contributed);
makelabelcode("<b>$lang->product_managers</b>", "<a href=\"http://www.surfionline.com\" target=\"_blank\">Chris Boulton</a>");

	tableheader($lang->mybb_credits);
tablesubheader($lang->contributed);
makelabelcode("<b>$lang->product_managers</b>", "<a href=\"http://www.surfionline.com\" target=\"_blank\">Chris Boulton</a>");

	makelabelcode("<b>$lang->developers</b>", "<a href=\"http://www.surfionline.com/\" target=\"_blank\">Chris Boulton</a><br /><a href=\"http://mods.mybboard.com/\" target=\"_blank\">Musicalmidget</a><br /><a href=\"http://www.dennistt.net/\" target=\"_blank\">DennisTT</a><br /><a href=\"http://www.peterakkies.com\" target=\"_blank\">Peter</a><br /><a href=\"http://www.tiki.rct3x.net\" target=\"_blank\">Tikitiki</a><br /><a href=\"http://www.decswxaqz.co.uk/\" target=\"_blank\">decswxaqz</a>");

	makelabelcode("<b>$lang->developers</b>", "<a href=\"http://www.surfionline.com/\" target=\"_blank\">Chris Boulton</a><br /><a href=\"http://mods.mybboard.com/\" target=\"_blank\">Musicalmidget</a><br /><a href=\"http://www.dennistt.net/\" target=\"_blank\">DennisTT</a><br /><a href=\"http://www.peterakkies.com\" target=\"_blank\">Peter</a><br /><a href=\"http://www.tiki.rct3x.net\" target=\"_blank\">Tikitiki</a><br /><a href=\"http://www.decswxaqz.co.uk/\" target=\"_blank\">decswxaqz</a><br /><a href=\"http://www.mcdcpp.net/blog/\" target=\"_blank\">CraKteR</a>");

	makelabelcode("<b>$lang->graphics_and_style</b>", "<a href=\"http://www.surfionline.com\" target=\"_blank\">Chris Boulton</a><br /><a href=\"http://www.templatesforall.com\" target=\"_blank\">Scott Hough</a>");
endtable();


	makelabelcode("<b>$lang->graphics_and_style</b>", "<a href=\"http://www.surfionline.com\" target=\"_blank\">Chris Boulton</a><br /><a href=\"http://www.templatesforall.com\" target=\"_blank\">Scott Hough</a>");
endtable();


Zeile 245Zeile 244

$plugins->run_hooks("admin_index_vercheck");



$plugins->run_hooks("admin_index_vercheck");


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

	require_once MYBB_ROOT."inc/class_feedparser.php";

	$feed_parser = new FeedParser();
$feed_parser->parse_feed("http://www.mybboard.com/latest_news.php");
echo $feed_parser->error;

	$feed_parser = new FeedParser();
$feed_parser->parse_feed("http://www.mybboard.com/latest_news.php");
echo $feed_parser->error;

Zeile 307Zeile 306
echo "<html ".($lang->settings['rtl'] ? "dir=\"rtl\" " : "")."lang=\"".($lang->settings['htmllang'])."\">\n";
echo "<head>\n";
echo "<title>$lang->mybb_admin</title>\n";

echo "<html ".($lang->settings['rtl'] ? "dir=\"rtl\" " : "")."lang=\"".($lang->settings['htmllang'])."\">\n";
echo "<head>\n";
echo "<title>$lang->mybb_admin</title>\n";

 
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset={$lang->settings['charset']}\" />\n";

?>
<base target="body" />
<link type="text/css" rel="stylesheet" href="<?php echo $style; ?>" />

?>
<base target="body" />
<link type="text/css" rel="stylesheet" href="<?php echo $style; ?>" />

Zeile 493Zeile 493
	if(!empty($mybb->input['goto']))
{
// Strip session ID from goto

	if(!empty($mybb->input['goto']))
{
// Strip session ID from goto

		$goto = preg_replace("#adminsid=[a-zA-Z0-9]{32}#i", "", $mybb->input['goto']);









		$goto = $mybb->input['goto'];
if(strpos($goto, '&') !== false)
{
$goto = preg_replace('#(&?|&amp;?|\??)adminsid=([a-zA-Z0-9]{1,32})(&?|&amp;?)#i', '\\1', $goto);
}
else
{
$goto = preg_replace('#\?adminsid=([a-zA-Z0-9]{1,32})#i', '', $goto);
}

		$parsed_url = parse_url($goto);
$goto = htmlspecialchars_uni($goto);
if(!$parsed_url['query'])

		$parsed_url = parse_url($goto);
$goto = htmlspecialchars_uni($goto);
if(!$parsed_url['query'])