Vergleich warnings.php - 1.4.4 - 1.4.9

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 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 4324 2009-03-05 21:23:18Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 234Zeile 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 307Zeile 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'])