Vergleich archive/index.php - 1.4.5 - 1.4.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * 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: index.php 4304 2009-01-02 01:11:56Z chris $

 * $Id: index.php 4384 2009-06-19 11:49:42Z Tomm $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 134Zeile 134

$pids = implode(",", $pids);



$pids = implode(",", $pids);


		// Build attachments cache
$query = $db->simple_select("attachments", "*", "pid IN ({$pids})");
while($attachment = $db->fetch_array($query))

		if($pids)



		{

		{

			$acache[$attachment['pid']][$attachment['aid']] = $attachment;






			// Build attachments cache
$query = $db->simple_select("attachments", "*", "pid IN ({$pids})");
while($attachment = $db->fetch_array($query))
{
$acache[$attachment['pid']][$attachment['aid']] = $attachment;
}

		}

// Start fetching the posts

		}

// Start fetching the posts

Zeile 316Zeile 319
				echo "<ol>\n";
while($sticky = $db->fetch_array($query))
{

				echo "<ol>\n";
while($sticky = $db->fetch_array($query))
{

 
					$sticky['subject'] = htmlspecialchars_uni($parser->parse_badwords($sticky['subject']));

					if($sticky['replies'] != 1)
{
$lang_reply_text = $lang->archive_replies;

					if($sticky['replies'] != 1)
{
$lang_reply_text = $lang->archive_replies;