Vergleich search.php - 1.2.1 - 1.2.5

  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: search.php 2180 2006-09-02 07:36:22Z chris $

 * $Id: search.php 2475 2006-12-01 04:58:21Z Tikitiki $

 */



 */



Zeile 40Zeile 40
}

$now = time();

}

$now = time();

 

// Clear out searches older than a month
if($rand == 3)
{
$timecut = time()-60*60*24*30;
$db->delete_query(TABLE_PREFIX."searchlog", "dateline<='$timecut'");
}


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


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

Zeile 733Zeile 740
	{
$days = intval($mybb->input['days']);
}

	{
$days = intval($mybb->input['days']);
}

	$datecut = time()-(68400*$days);

	$datecut = time()-(86400*$days);


$where_sql = "t.lastpost >='".$datecut."'";



$where_sql = "t.lastpost >='".$datecut."'";


Zeile 814Zeile 821
		"matchusername" => $mybb->input['matchusername'],
"postdate" => $mybb->input['postdate'],
"pddir" => $mybb->input['pddir'],

		"matchusername" => $mybb->input['matchusername'],
"postdate" => $mybb->input['postdate'],
"pddir" => $mybb->input['pddir'],

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



		"forums" => $mybb->input['forums'],
"findthreadst" => $mybb->input['findthreadst'],
"numreplies" => $mybb->input['numreplies']

	);

if($config['dbtype'] == "mysql" || $config['dbtype'] == "mysqli")

	);

if($config['dbtype'] == "mysql" || $config['dbtype'] == "mysqli")