Vergleich online.php - 1.8.3 - 1.8.4

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 51Zeile 51
	// Add pagination
$perpage = $mybb->settings['threadsperpage'];


	// Add pagination
$perpage = $mybb->settings['threadsperpage'];


	if($mybb->get_input('page', 1) > 0)

	if($mybb->get_input('page', MyBB::INPUT_INT) > 0)

	{

	{

		$page = $mybb->get_input('page', 1);

		$page = $mybb->get_input('page', MyBB::INPUT_INT);

		$start = ($page-1) * $perpage;
$pages = ceil($todaycount / $perpage);
if($page > $pages)

		$start = ($page-1) * $perpage;
$pages = ceil($todaycount / $perpage);
if($page > $pages)

Zeile 182Zeile 182
	// How many pages are there?
$perpage = $mybb->settings['threadsperpage'];


	// How many pages are there?
$perpage = $mybb->settings['threadsperpage'];


	if($mybb->get_input('page', 1) > 0)

	if($mybb->get_input('page', MyBB::INPUT_INT) > 0)

	{

	{

		$page = $mybb->get_input('page', 1);

		$page = $mybb->get_input('page', MyBB::INPUT_INT);

		$start = ($page-1) * $perpage;
$pages = ceil($online_count / $perpage);
if($page > $pages)

		$start = ($page-1) * $perpage;
$pages = ceil($online_count / $perpage);
if($page > $pages)