Vergleich admin/announcements.php - 1.2.7 - 1.2.9

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html
*

 * $Id: announcements.php 2932 2007-03-10 05:48:55Z 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")
{