Vergleich inc/functions_archive.php - 1.8.6 - 1.8.26

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 106Zeile 106
				$nav .= "<a href=\"".$navbit['url']."\">".$navbit['name']."</a>$sep";
}
}

				$nav .= "<a href=\"".$navbit['url']."\">".$navbit['name']."</a>$sep";
}
}

 
		$navsize = count($navbits);
$navbit = $navbits[$navsize-1];

	}

	}

	$navsize = count($navbits);
$navbit = $navbits[$navsize-1];

 
	if(!empty($nav))
{
$activesep = $navsep;

	if(!empty($nav))
{
$activesep = $navsep;

Zeile 172Zeile 172
<div class="navigation"><?php echo $nav; ?></div>
</div>
<div id="footer">

<div class="navigation"><?php echo $nav; ?></div>
</div>
<div id="footer">

<?php echo $lang->powered_by; ?> <a href="http://www.mybb.com">MyBB</a><?php echo $mybbversion; ?>, &copy; 2002-<?php echo date("Y"); ?> <a href="http://www.mybb.com">MyBB Group</a>

<?php echo $lang->powered_by; ?> <a href="https://mybb.com">MyBB</a><?php echo $mybbversion; ?>, &copy; 2002-<?php echo date("Y"); ?> <a href="https://mybb.com">MyBB Group</a>

</div>
</body>
</html>

</div>
</body>
</html>

Zeile 239Zeile 239
		}
}


		}
}


	// Loop through each of parent forums to ensure we have a password for them too
$parents = explode(',', $forum_cache[$fid]['parentlist']);
rsort($parents);
if(!empty($parents))

	if(!forum_password_validated($forum_cache[$fid], true, true))




	{

	{

		foreach($parents as $parent_id)
{
if($parent_id == $fid || $parent_id == $pid)
{
continue;
}

if($forum_cache[$parent_id]['password'] != "")
{
check_forum_password_archive($parent_id, $fid);
}
}
}

$password = $forum_cache[$fid]['password'];
if($password)
{
if(!$mybb->cookies['forumpass'][$fid] || ($mybb->cookies['forumpass'][$fid] && md5($mybb->user['uid'].$password) !== $mybb->cookies['forumpass'][$fid]))
{
archive_error_no_permission();
}

		archive_error_no_permission();





















	}
}

	}
}