ausgabe der des aktuelen jahres-montats-tages

git-svn-id: svn://svn.cccv.de/engel-system@8 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
cookie 2005-10-21 18:05:25 +00:00
parent 1cccb4a2ad
commit 339867d283
1 changed files with 6 additions and 4 deletions

View File

@ -33,6 +33,8 @@ echo "Hallo ".$_SESSION['Nick'].",<br>\n";
if (!IsSet($action)) if (!IsSet($action))
$action = "new"; $action = "new";
$Time = time()+3600+3600;
switch ($action){ switch ($action){
case 'new': case 'new':
@ -60,11 +62,11 @@ mehrere Schichten auf einmal erfasst werden:
<tr><td><u>Zeit:</u></td></tr> <tr><td><u>Zeit:</u></td></tr>
<tr> <tr>
<td align="right">Month.Jahr:</td> <td align="right">Month.Jahr:</td>
<td><input type="ext" name="MonthJahr" size="7" value="2004-12"></td> <td><input type="ext" name="MonthJahr" size="7" value="<?echo gmdate("Y-m", $Time)?>"></td>
</tr> </tr>
<tr> <tr>
<td align="right">Beginn:</td> <td align="right">Beginn:</td>
<td>Date<input type="text" name="SDatum" size="5" value="27"> <td>Date<input type="text" name="SDatum" size="5" value="<?echo gmdate("d", $Time)?>">
Time<input type="text" name="STime" size="5" value="10"></td> Time<input type="text" name="STime" size="5" value="10"></td>
</tr> </tr>
<tr> <tr>
@ -73,12 +75,12 @@ mehrere Schichten auf einmal erfasst werden:
</tr> </tr>
<tr> <tr>
<td align="right">End:</td> <td align="right">End:</td>
<td>Date<input type="text" name="EDatum" size="5" value="29"> <td>Date<input type="text" name="EDatum" size="5" value="<?echo gmdate("d", $Time)?>">
Time<input type="text" name="ETime" size="5" value="12"></td> Time<input type="text" name="ETime" size="5" value="12"></td>
</tr> </tr>
<tr> <tr>
<td align="right">L&auml;nge in h:</td> <td align="right">L&auml;nge in h:</td>
<td><input type="text" name="len" size="5" value="2"> (max 24h)</td> <td><input type="text" name="len" size="5" value="2"></td>
</tr> </tr>
<tr> <tr>
<td align="right">Sonderschichten ein:</td> <td align="right">Sonderschichten ein:</td>