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 4304 2009-01-02 01:11:56Z chris $
| * $Id: index.php 5379 2011-02-21 11:06: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;
|