Vergleich admin/maintenance.php - 1.2.1 - 1.2.2

  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: maintenance.php 2278 2006-09-27 10:29:17Z chris $

 * $Id: maintenance.php 2449 2006-11-27 22:57:17Z CraKteR $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 249Zeile 249
	{
$fids[] = $forum['fid'];
}

	{
$fids[] = $forum['fid'];
}

	$fids = implode(',', $fids);




	if(is_array($fids))
{
$fids = implode(',', $fids);
}

	if($fids)
{
$fids = " AND FID NOT IN($fids)";

	if($fids)
{
$fids = " AND FID NOT IN($fids)";

Zeile 307Zeile 310
	$start = ($page-1) * $per_page;
$end = $start + $per_page;


	$start = ($page-1) * $per_page;
$end = $start + $per_page;


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

	require_once MYBB_ROOT."inc/functions_image.php";

	
$query = $db->simple_select(TABLE_PREFIX."attachments", "*", '', array('order_by' => 'aid', 'order_dir' => 'asc', 'limit_start' => $start, 'limit' => $per_page));
while($attachment = $db->fetch_array($query))

	
$query = $db->simple_select(TABLE_PREFIX."attachments", "*", '', array('order_by' => 'aid', 'order_dir' => 'asc', 'limit_start' => $start, 'limit' => $per_page));
while($attachment = $db->fetch_array($query))