Vergleich search.php - 1.00 - 1.02

  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: search.php 929 2005-12-05 13:54:29Z chris $

 */
define("KILL_GLOBALS", 1);


 */
define("KILL_GLOBALS", 1);


Zeile 517Zeile 517
	}
else
{

	}
else
{

		$op = "";

		$op = "AND";

	}
if($mybb->input['keywords']) {
$wheresql = "(1=0 ";

	}
if($mybb->input['keywords']) {
$wheresql = "(1=0 ";

Zeile 665Zeile 665
	$plugins->run_hooks("search_do_search_process");
$sid = $db->insert_id();
$plugins->run_hooks("search_do_search_end");

	$plugins->run_hooks("search_do_search_process");
$sid = $db->insert_id();
$plugins->run_hooks("search_do_search_end");

 
	$mybb->input['sortby'] = htmlspecialchars($mybb->input['sortby']);
$mybb->input['sortordr'] = htmlspecialchars($mybb->input['sortordr']);

	redirect("search.php?action=results&sid=$sid&sortby=".$mybb->input['sortby']."&order=".$mybb->input['sortordr'], $lang->redirect_searchresults);
}
else

	redirect("search.php?action=results&sid=$sid&sortby=".$mybb->input['sortby']."&order=".$mybb->input['sortordr'], $lang->redirect_searchresults);
}
else