Zeile 179 | Zeile 179 |
---|
$query = $db->simple_select("searchlog", "*", "uid='{$mybb->user['uid']}' AND dateline > '$timecut'", array('order_by' => "dateline", 'order_dir' => "DESC")); $last_search = $db->fetch_array($query); // Users last search was within the flood time, show the error
|
$query = $db->simple_select("searchlog", "*", "uid='{$mybb->user['uid']}' AND dateline > '$timecut'", array('order_by' => "dateline", 'order_dir' => "DESC")); $last_search = $db->fetch_array($query); // Users last search was within the flood time, show the error
|
if($last_search['sid'])
| if($last_search)
|
{ $remaining_time = $mybb->settings['searchfloodtime']-(TIME_NOW-$last_search['dateline']); if($remaining_time == 1)
| { $remaining_time = $mybb->settings['searchfloodtime']-(TIME_NOW-$last_search['dateline']); if($remaining_time == 1)
|
Zeile 405 | Zeile 405 |
---|
$langnamevar = "d".$helpdoc['hid']."_name"; $langdescvar = "d".$helpdoc['hid']."_desc"; $langdocvar = "d".$helpdoc['hid']."_document";
|
$langnamevar = "d".$helpdoc['hid']."_name"; $langdescvar = "d".$helpdoc['hid']."_desc"; $langdocvar = "d".$helpdoc['hid']."_document";
|
if($lang->$langnamevar)
| if(isset($lang->$langnamevar))
|
{ $helpdoc['name'] = $lang->$langnamevar; }
|
{ $helpdoc['name'] = $lang->$langnamevar; }
|
if($lang->$langdescvar)
| if(isset($lang->$langdescvar))
|
{ $helpdoc['description'] = $lang->$langdescvar; }
|
{ $helpdoc['description'] = $lang->$langdescvar; }
|
if($lang->$langdocvar)
| if(isset($lang->$langdocvar))
|
{ $helpdoc['document'] = $lang->$langdocvar; }
| { $helpdoc['document'] = $lang->$langdocvar; }
|
Zeile 476 | Zeile 476 |
---|
{ $langnamevar = "d".$helpdoc['hid'].'_name'; $langdescvar = "d".$helpdoc['hid'].'_desc';
|
{ $langnamevar = "d".$helpdoc['hid'].'_name'; $langdescvar = "d".$helpdoc['hid'].'_desc';
|
if($lang->$langnamevar)
| if(isset($lang->$langnamevar))
|
{ $helpdoc['name'] = $lang->$langnamevar; }
|
{ $helpdoc['name'] = $lang->$langnamevar; }
|
if($lang->$langdescvar)
| if(isset($lang->$langdescvar))
|
{ $helpdoc['description'] = $lang->$langdescvar; }
| { $helpdoc['description'] = $lang->$langdescvar; }
|
Zeile 529 | Zeile 529 |
---|
error_no_permission(); }
|
error_no_permission(); }
|
if(isset($mybb->input['removebuddy']) && verify_post_check($mybb->input['my_post_key']))
| if(isset($mybb->input['removebuddy']) && verify_post_check($mybb->get_input('my_post_key')))
|
{ $buddies = $mybb->user['buddylist']; $namesarray = explode(",", $buddies);
| { $buddies = $mybb->user['buddylist']; $namesarray = explode(",", $buddies);
|
Zeile 721 | Zeile 721 |
---|
$profile_link = build_profile_link($poster_name, $poster['uid']); } $numposts += $poster['posts'];
|
$profile_link = build_profile_link($poster_name, $poster['uid']); } $numposts += $poster['posts'];
|
| $poster['posts'] = my_number_format($poster['posts']);
|
eval("\$whoposted .= \"".$templates->get("misc_whoposted_poster")."\";"); $altbg = alt_trow(); } $numposts = my_number_format($numposts);
|
eval("\$whoposted .= \"".$templates->get("misc_whoposted_poster")."\";"); $altbg = alt_trow(); } $numposts = my_number_format($numposts);
|
$poster['posts'] = my_number_format($poster['posts']);
| |
if($modal) { eval("\$whop = \"".$templates->get("misc_whoposted", 1, 0)."\";");
| if($modal) { eval("\$whop = \"".$templates->get("misc_whoposted", 1, 0)."\";");
|