Vergleich admin/moderate.php - 1.2.0 - 1.2.3

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

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

 * $Id: moderate.php 2154 2006-08-27 16:52:47Z Tikitiki $

 * $Id: moderate.php 2223 2006-09-13 23:11:01Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 71Zeile 71
			$db->update_query(TABLE_PREFIX."attachments", $sql_array, "aid IN ({$aids})");
}
}

			$db->update_query(TABLE_PREFIX."attachments", $sql_array, "aid IN ({$aids})");
}
}

	cpmessage($lang->attachments_moderated);

	cpredirect("moderate.php?".SID."&action=attachments", $lang->attachments_moderated);

}

if($mybb->input['action'] == "do_threads" || $mybb->input['action'] == "do_posts" || $mybb->input['action'] == "do_threadsposts")

}

if($mybb->input['action'] == "do_threads" || $mybb->input['action'] == "do_posts" || $mybb->input['action'] == "do_threadsposts")

Zeile 164Zeile 164
			update_forum_count($fid);
}
}

			update_forum_count($fid);
}
}

	cpmessage($lang->threadsposts_moderated);

	cpredirect("moderate.php?".SID."&action=".str_replace('do_', '', $mybb->input['action']), $lang->threadsposts_moderated);

}
if($mybb->input['action'] == "attachments")
{

}
if($mybb->input['action'] == "attachments")
{

Zeile 295Zeile 295
	$count = $db->num_rows($query);
if(!$tcount && !$count && $mybb->input['action'] == "threadsposts")
{

	$count = $db->num_rows($query);
if(!$tcount && !$count && $mybb->input['action'] == "threadsposts")
{

	  endform();

	  	endform();

		cpmessage($lang->no_threadsposts);
}


		cpmessage($lang->no_threadsposts);
}


Zeile 319Zeile 319
	while($post = $db->fetch_array($query))
{
if(!$donepid[$post['pid']])

	while($post = $db->fetch_array($query))
{
if(!$donepid[$post['pid']])

		{ // so we dont show new threads main post again


		{ 
// so we dont show new threads main post again

			$done = 1;
$thread['subject'] = htmlspecialchars_uni(stripslashes($thread['subject']));
makeinputcode($lang->post_subject, "postsubject[$post[pid]]", "$post[subject]");

			$done = 1;
$thread['subject'] = htmlspecialchars_uni(stripslashes($thread['subject']));
makeinputcode($lang->post_subject, "postsubject[$post[pid]]", "$post[subject]");

Zeile 330Zeile 331
			makeyesnocode($lang->validate_post, "postvalidate[$post[pid]]");
makeyesnocode($lang->delete_post, "postdelete[$post[pid]]", "no");
echo "<tr>\n<td class=\"subheader\" align=\"center\" colspan=\"2\" height=\"2\"><img src=\"pixel.gif\" width=\"1\" height=\"1\" alt=\"\" /></td>\n</tr>\n";

			makeyesnocode($lang->validate_post, "postvalidate[$post[pid]]");
makeyesnocode($lang->delete_post, "postdelete[$post[pid]]", "no");
echo "<tr>\n<td class=\"subheader\" align=\"center\" colspan=\"2\" height=\"2\"><img src=\"pixel.gif\" width=\"1\" height=\"1\" alt=\"\" /></td>\n</tr>\n";

		  ++$postscount;
}

		  	++$postscount;
}

	}
if($postscount < 1)
{

	}
if($postscount < 1)
{

    echo "<tr>\n";

    	echo "<tr>\n";

		echo "<td class=\"$bgcolor\" colspan=\"1\">".$lang->no_posts."</td>\n";
echo "</tr>\n";

		echo "<td class=\"$bgcolor\" colspan=\"1\">".$lang->no_posts."</td>\n";
echo "</tr>\n";

  }

  	}

	if($count >= 1)
{
endtable();

	if($count >= 1)
{
endtable();