import from old webserver
This commit is contained in:
commit
364078d29e
640 changed files with 85959 additions and 0 deletions
22
eh_countdown.php
Normal file
22
eh_countdown.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
$eh_start_time = mktime(0,0,0,04,22,2011);
|
||||
$now_time = time();
|
||||
$diff = $eh_start_time - $now_time;
|
||||
$days = ceil($diff/(60*60*24));
|
||||
if( $days == 0 )
|
||||
{
|
||||
echo 'Heute beginnt das Easterhegg 2011';
|
||||
}
|
||||
elseif( $days >= -3 && $days < 0 )
|
||||
{
|
||||
echo 'Das Easterhegg 2011 läuft bereits!';
|
||||
}
|
||||
elseif ( $days < -3 )
|
||||
{
|
||||
echo 'Das Easterhegg 2011 ist vorbei';
|
||||
}
|
||||
else
|
||||
{
|
||||
echo 'Noch '. $days .' Tage';
|
||||
}
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue