Vergleich archive/global.php - 1.6.3 - 1.6.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: global.php 5380 2011-02-21 12:04:43Z Tomm $

 * $Id: global.php 5365 2011-02-16 21:59:02Z MattR $

 */

// If archive mode does not work, uncomment the line below and try again

 */

// If archive mode does not work, uncomment the line below and try again

Zeile 81Zeile 81
	$todo = explode("-", $endpart, 3);
if($todo[0])
{

	$todo = explode("-", $endpart, 3);
if($todo[0])
{

		$action = $todo[0];

		$action = $action2 = $todo[0];

	}
$page = intval($todo[2]);
$id = intval($todo[1]);

	}
$page = intval($todo[2]);
$id = intval($todo[1]);

Zeile 104Zeile 104
	}
elseif($action == "thread")
{

	}
elseif($action == "thread")
{

		$query = $db->simple_select("threads", "*", "tid='{$id}' AND visible='1' AND closed NOT LIKE 'moved|%'");

		$query = $db->simple_select("threads", "*", "tid='{$id}' AND closed NOT LIKE 'moved|%'");

		$thread = $db->fetch_array($query);
if(!$thread['tid'])
{

		$thread = $db->fetch_array($query);
if(!$thread['tid'])
{

Zeile 120Zeile 120
			$action = "404";
}
}

			$action = "404";
}
}

	else if($action != 'index')

	elseif($action != 'index')

	{
$action = "404";
}

	{
$action = "404";
}