fhiiqm/start.php
changeset 41 9c668cd391fa
parent 40 6f4b105daa24
child 44 d652bbba2d43
--- a/fhiiqm/start.php	Thu Sep 12 09:04:56 2013 +0200
+++ b/fhiiqm/start.php	Fri Dec 20 15:19:32 2013 +0100
@@ -44,12 +44,12 @@
         echo "<p>&nbsp;&nbsp;&nbsp;<a href='/fhiiqm/infos/251_fhiiqm_keytyp.pdf' title='Schl&uuml;sselverwaltung' target='_blank'>Schl&uuml;sselverwaltung</a></p>\n";
     if (in_array("ddr",$_SESSION["recht"]) || in_array("dde",$_SESSION["recht"]))
         echo "<p>&nbsp;&nbsp;&nbsp;<a href='/fhiiqm/infos/186_fhiiqm_raumverantw.pdf' title='Raumverantwortliche' target='_blank'>Raumverantwortliche erfassen</a></p>\n";
-    if (date("Y-m-d") < date("Y-m-d", mktime(0,0,0,12,25,2012)))
+    if (date("Y-m-d") < date("Y-m-d", mktime(0,0,0,12,25,2013)))
     {
         echo "<p>&nbsp;</p><p class='red'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             <img src='/fhiiqm/img/weihnachtsmann.gif' height='75' />";
         $heute = new DateTime();
-        $weih = new DateTime('2012-12-24');
+        $weih = new DateTime('2013-12-24');
         $tage = $weih -> diff($heute)->days+1;
         if ($tage <2) $tag = "Tag"; else $tag="Tage";
         echo "<span class='valignt red bigger'>noch <b>$tage</b> $tag bis <em>Weihnachten</em>!</span></p>\n";