Vergleich moderation.php - 1.4.5 - 1.4.14

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1Zeile 1
<?php
/**
* MyBB 1.4

<?php
/**
* MyBB 1.4

 * Copyright � 2008 MyBB Group, All Rights Reserved

 * Copyright © 2008 MyBB Group, All Rights Reserved

 *
* Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 *
* Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: moderation.php 4308 2009-01-14 03:58:30Z Tikitiki $

 * $Id: moderation.php 4466 2009-10-01 13:21:26Z Tomm $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 1364Zeile 1364
		if($pids)
{
$query = $db->simple_select("threads", "tid", "firstpost IN({$pids})");

		if($pids)
{
$query = $db->simple_select("threads", "tid", "firstpost IN({$pids})");

			while($tid = $db->fetch_field($query, "tid"))

			while($threadid = $db->fetch_field($query, "tid"))

			{

			{

				$tids[] = $tid;

				$tids[] = $threadid;

			}
}


			}
}


Zeile 1506Zeile 1506
			FROM ".TABLE_PREFIX."posts p
LEFT JOIN ".TABLE_PREFIX."posts q ON (p.tid=q.tid)
WHERE p.pid IN ($pidin)

			FROM ".TABLE_PREFIX."posts p
LEFT JOIN ".TABLE_PREFIX."posts q ON (p.tid=q.tid)
WHERE p.pid IN ($pidin)

			GROUP BY p.pid

			GROUP BY p.tid, p.pid

		");
$threads = $pcheck = array();
while($tcheck = $db->fetch_array($query))

		");
$threads = $pcheck = array();
while($tcheck = $db->fetch_array($query))

Zeile 1525Zeile 1525
			FROM ".TABLE_PREFIX."posts p
LEFT JOIN ".TABLE_PREFIX."posts q ON (p.tid=q.tid)
WHERE p.pid IN ($pidin) AND q.pid NOT IN ($pidin)

			FROM ".TABLE_PREFIX."posts p
LEFT JOIN ".TABLE_PREFIX."posts q ON (p.tid=q.tid)
WHERE p.pid IN ($pidin) AND q.pid NOT IN ($pidin)

			GROUP BY p.pid

			GROUP BY p.tid, p.pid

		");
$pcheck2 = array();
while($tcheck = $db->fetch_array($query))

		");
$pcheck2 = array();
while($tcheck = $db->fetch_array($query))