Zeile 6 | Zeile 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 3884 2008-06-05 10:42:44Z ZiNgaBuRgA $
| * $Id: index.php 4384 2009-06-19 11:49:42Z Tomm $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 134 | Zeile 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 316 | Zeile 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;
|