Vergleich admin/forums.php - 1.2.2 - 1.2.9

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html

 *

 *

 * $Id: forums.php 2385 2006-11-06 23:40:55Z Tikitiki $

 * $Id: forums.php 3030 2007-04-26 00:19:47Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 78Zeile 78
	reset($iforumcache);
if(is_array($iforumcache[$pid]))
{

	reset($iforumcache);
if(is_array($iforumcache[$pid]))
{

 
		$comma = "";

		foreach($iforumcache[$pid] as $key => $main)
{

		foreach($iforumcache[$pid] as $key => $main)
{

			$comma = "";

 
			foreach($main as $key => $forum)
{
$forum['name'] = $forum['name'];

			foreach($main as $key => $forum)
{
$forum['name'] = $forum['name'];

Zeile 1048Zeile 1048
		tableheader($lang->forum_moderators);
makelabelcode($lang->mods_colors_note, '', 2);
tablesubheader("<div align=\"right\"><input type=\"button\" value=\"$lang->add_mod\" onclick=\"hopto('forums.php?".SID."&amp;action=addmod&amp;fid=$fid');\" class=\"submitbutton\"></div>");

		tableheader($lang->forum_moderators);
makelabelcode($lang->mods_colors_note, '', 2);
tablesubheader("<div align=\"right\"><input type=\"button\" value=\"$lang->add_mod\" onclick=\"hopto('forums.php?".SID."&amp;action=addmod&amp;fid=$fid');\" class=\"submitbutton\"></div>");

		$parentlist = build_parent_list($fid, 'm.fid');



		$options = array(
"order_by" => "u.username"
);

		$options = array(
"order_by" => "u.username"
);

		$modquery = $db->simple_select(TABLE_PREFIX."moderators m LEFT JOIN ".TABLE_PREFIX."users u ON (m.uid=u.uid)", "m.mid, m.uid, m.fid, u.username", $parentlist, $options);

		$modquery = $db->simple_select(TABLE_PREFIX."moderators m LEFT JOIN ".TABLE_PREFIX."users u ON (m.uid=u.uid)", "m.mid, m.uid, m.fid, u.username", "m.fid = '{$fid}'", $options);

		$nummods = $db->num_rows($modquery);
if(!$nummods)
{

		$nummods = $db->num_rows($modquery);
if(!$nummods)
{