Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html *
|
* $Id: index.php 3167 2007-06-28 05:34:18Z chris $
| * $Id: index.php 3717 2008-03-16 22:09:01Z Tikitiki $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 37 | Zeile 37 |
---|
{ archive_error_no_permission(); }
|
{ archive_error_no_permission(); }
|
| check_forum_password_archive($forum['fid']);
|
} $announcement['subject'] = htmlspecialchars_uni($parser->parse_badwords($announcement['subject']));
| } $announcement['subject'] = htmlspecialchars_uni($parser->parse_badwords($announcement['subject']));
|
Zeile 77 | Zeile 79 |
---|
// Fetch the forum this thread is in $forum = get_forum($thread['fid']); if(!$forum['fid'] || $forum['password'] != '')
|
// Fetch the forum this thread is in $forum = get_forum($thread['fid']); if(!$forum['fid'] || $forum['password'] != '')
|
{
| {
|
archive_error($lang->error_invalidforum);
|
archive_error($lang->error_invalidforum);
|
}
| }
|
// Check if we have permission to view this thread $forumpermissions = forum_permissions($forum['fid']);
| // Check if we have permission to view this thread $forumpermissions = forum_permissions($forum['fid']);
|
Zeile 87 | Zeile 89 |
---|
{ archive_error_no_permission(); }
|
{ archive_error_no_permission(); }
|
| check_forum_password_archive($forum['fid']);
|
// Build the navigation build_forum_breadcrumb($forum['fid'], 1);
| // Build the navigation build_forum_breadcrumb($forum['fid'], 1);
|
Zeile 199 | Zeile 203 |
---|
{ archive_error_no_permission(); }
|
{ archive_error_no_permission(); }
|
| check_forum_password_archive($forum['fid']);
|
// Paginate this forum $query = $db->simple_select(TABLE_PREFIX."threads", "COUNT(tid) AS threads", "fid='{$id}' AND visible='1'");
| // Paginate this forum $query = $db->simple_select(TABLE_PREFIX."threads", "COUNT(tid) AS threads", "fid='{$id}' AND visible='1'");
|