Vergleich search.php - 1.00 - 1.03

  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 507Zeile 507
	{
$lookin = "p.subject";
}

	{
$lookin = "p.subject";
}

	if($mybb->input['srchtype'] == 1)
{
$op = "AND";
}
elseif($mybb->input['srchtype'] == 3)
{
$op = "||";
}
else
{
$op = "";
}

	$op = "";












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

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

Zeile 665Zeile 654
	$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