Vergleich admin/smilies.php - 1.00 - 1.18

  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$

 * $Id: smilies.php 869 2005-10-25 11:26:52Z chris $

 */

require "./global.php";

 */

require "./global.php";

Zeile 43Zeile 43
		"find" => addslashes($mybb->input['find']),
"image" => addslashes($mybb->input['path']),
"disporder" => intval($mybb->input['disporder']),

		"find" => addslashes($mybb->input['find']),
"image" => addslashes($mybb->input['path']),
"disporder" => intval($mybb->input['disporder']),

		"showclickable" => $mybb->input['showclickable']

		"showclickable" =>addslashes( $mybb->input['showclickable'])

		);

$db->insert_query(TABLE_PREFIX."smilies", $newsmilie);

		);

$db->insert_query(TABLE_PREFIX."smilies", $newsmilie);

Zeile 55Zeile 55
{
if($mybb->input['deletesubmit'])
{

{
if($mybb->input['deletesubmit'])
{

		$db->query("DELETE FROM ".TABLE_PREFIX."smilies WHERE sid='".$mybb->input['sid']."'");

		$db->query("DELETE FROM ".TABLE_PREFIX."smilies WHERE sid='".intval($mybb->input['sid'])."'");

		$cache->updatesmilies();
cpredirect("smilies.php", $lang->smilie_deleted);
}

		$cache->updatesmilies();
cpredirect("smilies.php", $lang->smilie_deleted);
}

Zeile 76Zeile 76
		"find" => addslashes($mybb->input['find']),
"image" => addslashes($mybb->input['path']),
"disporder" => intval($mybb->input['disporder']),

		"find" => addslashes($mybb->input['find']),
"image" => addslashes($mybb->input['path']),
"disporder" => intval($mybb->input['disporder']),

		"showclickable" => $mybb->input['showclickable']

		"showclickable" =>addslashes( $mybb->input['showclickable'])

		);

$db->update_query(TABLE_PREFIX."smilies", $smilie, "sid='".intval($mybb->input['sid'])."'");

		);

$db->update_query(TABLE_PREFIX."smilies", $smilie, "sid='".intval($mybb->input['sid'])."'");