Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: warnings.php 4265 2008-11-08 23:52:49Z Tikitiki $
| * $Id: warnings.php 5379 2011-02-21 11:06:42Z Tomm $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 234 | Zeile 234 |
---|
$new_warning = array( "uid" => $user['uid'],
|
$new_warning = array( "uid" => $user['uid'],
|
"tid" => $warning_type['tid'], "pid" => $post['pid'],
| "tid" => intval($warning_type['tid']), "pid" => intval($post['pid']),
|
"title" => $db->escape_string($warning_title), "points" => intval($points), "dateline" => TIME_NOW, "issuedby" => $mybb->user['uid'], "expires" => $warning_expires, "expired" => 0,
|
"title" => $db->escape_string($warning_title), "points" => intval($points), "dateline" => TIME_NOW, "issuedby" => $mybb->user['uid'], "expires" => $warning_expires, "expired" => 0,
|
| "revokereason" => '',
|
"notes" => $db->escape_string($mybb->input['notes']) ); $db->insert_query("warnings", $new_warning);
| "notes" => $db->escape_string($mybb->input['notes']) ); $db->insert_query("warnings", $new_warning);
|
Zeile 307 | Zeile 308 |
---|
if($year > 0) {
|
if($year > 0) {
|
$time += 60*60*24*265*$year;
| $time += 60*60*24*365*$year;
|
} if($time == $action['length'])
| } if($time == $action['length'])
|