Vergleich admin/announcements.php - 1.2.4 - 1.2.8

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 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: announcements.php 2200 2006-09-05 08:31:54Z chris $

 * $Id: announcements.php 3171 2007-06-29 04:57:39Z chris $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 73Zeile 73
	$startdatehour = intval($mybb->input['startdatehour']);
$enddateampm = $mybb->input['enddateampm'];
$enddatehour = intval($mybb->input['enddatehour']);

	$startdatehour = intval($mybb->input['startdatehour']);
$enddateampm = $mybb->input['enddateampm'];
$enddatehour = intval($mybb->input['enddatehour']);

 

if(!$mybb->input['subject'] || !$mybb->input['message'])
{
cperror($lang->error_fill_form);
}


if($startdateampm == "pm")
{


if($startdateampm == "pm")
{

Zeile 80Zeile 85
		if($startdatehour >= 24)
{
$startdatehour = "00";

		if($startdatehour >= 24)
{
$startdatehour = "00";

		}
}

		}
}

	if($enddateampm == "pm")
{
$enddatehour = 12+$enddatehour;

	if($enddateampm == "pm")
{
$enddatehour = 12+$enddatehour;

Zeile 89Zeile 94
		{
$enddatehour = "00";
}

		{
$enddatehour = "00";
}

	}

	}

	$startdate = gmmktime($startdatehour, intval($mybb->input['startdatemin']), 0, intval($mybb->input['startdatemonth']), intval($mybb->input['startdateday']), intval($mybb->input['startdateyear']));
if($mybb->input['end'] == "never")

	$startdate = gmmktime($startdatehour, intval($mybb->input['startdatemin']), 0, intval($mybb->input['startdatemonth']), intval($mybb->input['startdateday']), intval($mybb->input['startdateyear']));
if($mybb->input['end'] == "never")

	{

	{

		$enddate = '0';

		$enddate = '0';

	}
else
{

	}
else
{

		$enddate = gmmktime($enddatehour, intval($mybb->input['enddatemin']), 0, intval($mybb->input['enddatemonth']), intval($mybb->input['enddateday']), intval($mybb->input['enddateyear']));
}
$sqlarray = array(

		$enddate = gmmktime($enddatehour, intval($mybb->input['enddatemin']), 0, intval($mybb->input['enddatemonth']), intval($mybb->input['enddateday']), intval($mybb->input['enddateyear']));
}
$sqlarray = array(

Zeile 135Zeile 140
	$startdatehour = intval($mybb->input['startdatehour']);
$enddateampm = $mybb->input['enddateampm'];
$enddatehour = intval($mybb->input['enddatehour']);

	$startdatehour = intval($mybb->input['startdatehour']);
$enddateampm = $mybb->input['enddateampm'];
$enddatehour = intval($mybb->input['enddatehour']);

 

if(!$mybb->input['subject'] || !$mybb->input['message'])
{
cperror($lang->error_fill_form);
}


if($startdateampm == "pm")
{


if($startdateampm == "pm")
{