Vergleich admin/smilies.php - 1.04 - 1.18

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
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'])."'");