Vergleich archive/index.php - 1.2.13 - 1.2.14

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 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 37Zeile 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 77Zeile 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 87Zeile 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 199Zeile 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'");