Vergleich archive/index.php - 1.2.5 - 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: index.php 2208 2006-09-10 02:01:17Z chris $

 * $Id: index.php 2951 2007-03-16 05:40:28Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 108Zeile 108
		
$pids = array();
// Fetch list of post IDs to be shown

		
$pids = array();
// Fetch list of post IDs to be shown

		$query = $db->simple_select(TABLE_PREFIX."posts", "pid", "tid='{$id}' AND visible='1'", array('limit_start' => $start, 'limit' => $perpage));

		$query = $db->simple_select(TABLE_PREFIX."posts", "pid", "tid='{$id}' AND visible='1'", array('order_by' => 'dateline', 'limit_start' => $start, 'limit' => $perpage));

		while($post = $db->fetch_array($query))
{
$pids[$post['pid']] = $post['pid'];

		while($post = $db->fetch_array($query))
{
$pids[$post['pid']] = $post['pid'];

Zeile 210Zeile 210
		{
$page = 1;
}

		{
$page = 1;
}

		if($page)

		if($page > 0)

		{
$start = ($page-1) * $perpage;
}

		{
$start = ($page-1) * $perpage;
}