Zeile 3 | Zeile 3 |
---|
* MyBB 1.2 * Copyright � 2006 MyBB Group, All Rights Reserved *
|
* MyBB 1.2 * Copyright � 2006 MyBB Group, All Rights Reserved *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html
| * Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html
|
*
|
*
|
* $Id: search.php 2475 2006-12-01 04:58:21Z Tikitiki $
| * $Id: search.php 3055 2007-05-13 15:01:15Z Tikitiki $
|
*/
| */
|
Zeile 62 | Zeile 62 |
---|
$plugins->run_hooks("search_results_start");
// Decide on our sorting fields and sorting order.
|
$plugins->run_hooks("search_results_start");
// Decide on our sorting fields and sorting order.
|
$order = strtolower($mybb->input['order']); $sortby = $mybb->input['sortby'];
| $order = strtolower(htmlspecialchars($mybb->input['order'])); $sortby = htmlspecialchars($mybb->input['sortby']);
|
switch($sortby) {
| switch($sortby) {
|
Zeile 857 | Zeile 857 |
---|
$db->insert_query(TABLE_PREFIX."searchlog", $searcharray);
|
$db->insert_query(TABLE_PREFIX."searchlog", $searcharray);
|
if(strtolower($mybb->input['sortordr']) == "asc" || strtolower($mybb->input['sortordr'] == "desc"))
| if(strtolower($mybb->input['sortordr']) == "asc" || strtolower($mybb->input['sortordr']) == "desc")
|
{ $sortorder = $mybb->input['sortordr']; }
| { $sortorder = $mybb->input['sortordr']; }
|