Vergleich admin/announcements.php - 1.2.9 - 1.2.12

  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 3171 2007-06-29 04:57:39Z chris $

 * $Id: announcements.php 3188 2007-07-06 16:07:28Z musicalmidget $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 254Zeile 254
	}
$month = gmdate("m", time());
$monthsel[$month] = "selected";

	}
$month = gmdate("m", time());
$monthsel[$month] = "selected";

	$startdatemonth .= "<option value=\"01\" $monthsel[01]>January</option>\n";
$enddatemonth .= "<option value=\"01\" $monthsel[01]>January</option>\n";
$startdatemonth .= "<option value=\"02\" $monthsel[02]>February</option>\n";
$enddatemonth .= "<option value=\"02\" $monthsel[02]>February</option>\n";
$startdatemonth .= "<option value=\"03\" $monthsel[03]>March</option>\n";
$enddatemonth .= "<option value=\"03\" $monthsel[03]>March</option>\n";
$startdatemonth .= "<option value=\"04\" $monthsel[04]>April</option>\n";
$enddatemonth .= "<option value=\"04\" $monthsel[04]>April</option>\n";
$startdatemonth .= "<option value=\"05\" $monthsel[05]>May</option>\n";
$enddatemonth .= "<option value=\"05\" $monthsel[05]>May</option>\n";
$startdatemonth .= "<option value=\"06\" $monthsel[06]>June</option>\n";
$enddatemonth .= "<option value=\"06\" $monthsel[06]>June</option>\n";
$startdatemonth .= "<option value=\"07\" $monthsel[07]>July</option>\n";
$enddatemonth .= "<option value=\"07\" $monthsel[07]>July</option>\n";
$startdatemonth .= "<option value=\"08\" $monthsel[08]>August</option>\n";
$enddatemonth .= "<option value=\"08\" $monthsel[08]>August</option>\n";
$startdatemonth .= "<option value=\"09\" $monthsel[09]>September</option>\n";
$enddatemonth .= "<option value=\"09\" $monthsel[09]>September</option>\n";
$startdatemonth .= "<option value=\"10\" $monthsel[10]>October</option>\n";
$enddatemonth .= "<option value=\"10\" $monthsel[10]>October</option>\n";
$startdatemonth .= "<option value=\"11\" $monthsel[11]>November</option>\n";
$enddatemonth .= "<option value=\"11\" $monthsel[11]>November</option>\n";
$startdatemonth .= "<option value=\"12\" $monthsel[12]>December</option>\n";
$enddatemonth .= "<option value=\"12\" $monthsel[12]>December</option>\n";

	$startdatemonth .= "<option value=\"01\" $monthsel[01]>{$lang->month_1}</option>\n";
$enddatemonth .= "<option value=\"01\" $monthsel[01]>{$lang->month_1}</option>\n";
$startdatemonth .= "<option value=\"02\" $monthsel[02]>{$lang->month_2}</option>\n";
$enddatemonth .= "<option value=\"02\" $monthsel[02]>{$lang->month_2}</option>\n";
$startdatemonth .= "<option value=\"03\" $monthsel[03]>{$lang->month_3}</option>\n";
$enddatemonth .= "<option value=\"03\" $monthsel[03]>{$lang->month_3}</option>\n";
$startdatemonth .= "<option value=\"04\" $monthsel[04]>{$lang->month_4}</option>\n";
$enddatemonth .= "<option value=\"04\" $monthsel[04]>{$lang->month_4}</option>\n";
$startdatemonth .= "<option value=\"05\" $monthsel[05]>{$lang->month_5}</option>\n";
$enddatemonth .= "<option value=\"05\" $monthsel[05]>{$lang->month_5}</option>\n";
$startdatemonth .= "<option value=\"06\" $monthsel[06]>{$lang->month_6}</option>\n";
$enddatemonth .= "<option value=\"06\" $monthsel[06]>{$lang->month_6}</option>\n";
$startdatemonth .= "<option value=\"07\" $monthsel[07]>{$lang->month_7}</option>\n";
$enddatemonth .= "<option value=\"07\" $monthsel[07]>{$lang->month_7}</option>\n";
$startdatemonth .= "<option value=\"08\" $monthsel[08]>{$lang->month_8}</option>\n";
$enddatemonth .= "<option value=\"08\" $monthsel[08]>{$lang->month_8}</option>\n";
$startdatemonth .= "<option value=\"09\" $monthsel[09]>{$lang->month_9}</option>\n";
$enddatemonth .= "<option value=\"09\" $monthsel[09]>{$lang->month_9}</option>\n";
$startdatemonth .= "<option value=\"10\" $monthsel[10]>{$lang->month_10}</option>\n";
$enddatemonth .= "<option value=\"10\" $monthsel[10]>{$lang->month_10}</option>\n";
$startdatemonth .= "<option value=\"11\" $monthsel[11]>{$lang->month_11}</option>\n";
$enddatemonth .= "<option value=\"11\" $monthsel[11]>{$lang->month_11}</option>\n";
$startdatemonth .= "<option value=\"12\" $monthsel[12]>{$lang->month_12}</option>\n";
$enddatemonth .= "<option value=\"12\" $monthsel[12]>{$lang->month_12}</option>\n";

	$startdateyear = gmdate("Y", time());
$enddateyear = gmdate("Y", time()) + 1;


	$startdateyear = gmdate("Y", time());
$enddateyear = gmdate("Y", time()) + 1;


Zeile 422Zeile 422
	}
$startmonthsel[$startdate[1]] = "selected";
$endmonthsel[$enddate[1]] = "selected";

	}
$startmonthsel[$startdate[1]] = "selected";
$endmonthsel[$enddate[1]] = "selected";

	$startdatemonth .= "<option value=\"01\" $startmonthsel[01]>January</option>\n";
$enddatemonth .= "<option value=\"01\" $endmonthsel[01]>January</option>\n";
$startdatemonth .= "<option value=\"02\" $startmonthsel[02]>February</option>\n";
$enddatemonth .= "<option value=\"02\" $endmonthsel[02]>February</option>\n";
$startdatemonth .= "<option value=\"03\" $startmonthsel[03]>March</option>\n";
$enddatemonth .= "<option value=\"03\" $endmonthsel[03]>March</option>\n";
$startdatemonth .= "<option value=\"04\" $startmonthsel[04]>April</option>\n";
$enddatemonth .= "<option value=\"04\" $endmonthsel[04]>April</option>\n";
$startdatemonth .= "<option value=\"05\" $startmonthsel[05]>May</option>\n";
$enddatemonth .= "<option value=\"05\" $endmonthsel[05]>May</option>\n";
$startdatemonth .= "<option value=\"06\" $startmonthsel[06]>June</option>\n";
$enddatemonth .= "<option value=\"06\" $endmonthsel[06]>June</option>\n";
$startdatemonth .= "<option value=\"07\" $startmonthsel[07]>July</option>\n";
$enddatemonth .= "<option value=\"07\" $endmonthsel[07]>July</option>\n";
$startdatemonth .= "<option value=\"08\" $startmonthsel[08]>August</option>\n";
$enddatemonth .= "<option value=\"08\" $endmonthsel[08]>August</option>\n";
$startdatemonth .= "<option value=\"09\" $startmonthsel[09]>September</option>\n";
$enddatemonth .= "<option value=\"09\" $endmonthsel[09]>September</option>\n";
$startdatemonth .= "<option value=\"10\" $startmonthsel[10]>October</option>\n";
$enddatemonth .= "<option value=\"10\" $endmonthsel[10]>October</option>\n";
$startdatemonth .= "<option value=\"11\" $startmonthsel[11]>November</option>\n";
$enddatemonth .= "<option value=\"11\" $endmonthsel[11]>November</option>\n";
$startdatemonth .= "<option value=\"12\" $startmonthsel[12]>December</option>\n";
$enddatemonth .= "<option value=\"12\" $endmonthsel[12]>December</option>\n";

	$startdatemonth .= "<option value=\"01\" $startmonthsel[01]>{$lang->month_1}</option>\n";
$enddatemonth .= "<option value=\"01\" $endmonthsel[01]>{$lang->month_1}</option>\n";
$startdatemonth .= "<option value=\"02\" $startmonthsel[02]>{$lang->month_2}</option>\n";
$enddatemonth .= "<option value=\"02\" $endmonthsel[02]>{$lang->month_2}</option>\n";
$startdatemonth .= "<option value=\"03\" $startmonthsel[03]>{$lang->month_3}</option>\n";
$enddatemonth .= "<option value=\"03\" $endmonthsel[03]>{$lang->month_3}</option>\n";
$startdatemonth .= "<option value=\"04\" $startmonthsel[04]>{$lang->month_4}</option>\n";
$enddatemonth .= "<option value=\"04\" $endmonthsel[04]>{$lang->month_4}</option>\n";
$startdatemonth .= "<option value=\"05\" $startmonthsel[05]>{$lang->month_5}</option>\n";
$enddatemonth .= "<option value=\"05\" $endmonthsel[05]>{$lang->month_5}</option>\n";
$startdatemonth .= "<option value=\"06\" $startmonthsel[06]>{$lang->month_6}</option>\n";
$enddatemonth .= "<option value=\"06\" $endmonthsel[06]>{$lang->month_6}</option>\n";
$startdatemonth .= "<option value=\"07\" $startmonthsel[07]>{$lang->month_7}</option>\n";
$enddatemonth .= "<option value=\"07\" $endmonthsel[07]>{$lang->month_7}</option>\n";
$startdatemonth .= "<option value=\"08\" $startmonthsel[08]>{$lang->month_8}</option>\n";
$enddatemonth .= "<option value=\"08\" $endmonthsel[08]>{$lang->month_8}</option>\n";
$startdatemonth .= "<option value=\"09\" $startmonthsel[09]>{$lang->month_9}</option>\n";
$enddatemonth .= "<option value=\"09\" $endmonthsel[09]>{$lang->month_9}</option>\n";
$startdatemonth .= "<option value=\"10\" $startmonthsel[10]>{$lang->month_10}</option>\n";
$enddatemonth .= "<option value=\"10\" $endmonthsel[10]>{$lang->month_10}</option>\n";
$startdatemonth .= "<option value=\"11\" $startmonthsel[11]>{$lang->month_11}</option>\n";
$enddatemonth .= "<option value=\"11\" $endmonthsel[11]>{$lang->month_11}</option>\n";
$startdatemonth .= "<option value=\"12\" $startmonthsel[12]>{$lang->month_12}</option>\n";
$enddatemonth .= "<option value=\"12\" $endmonthsel[12]>{$lang->month_12}</option>\n";

	
if($announcement['enddate'])
{

	
if($announcement['enddate'])
{