zeitzohne instellbar

git-svn-id: svn://svn.cccv.de/engel-system@256 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
cookie 2007-12-28 12:38:18 +00:00
parent 8f176d375b
commit 2cef94af74
3 changed files with 7 additions and 4 deletions

View File

@ -20,6 +20,11 @@ $LETZTES_AUSTRAGEN=3;
$crypt_system="md5"; $crypt_system="md5";
//$crypt_system="crypt"; //$crypt_system="crypt";
// the archangels
$arch_angels="Daisy, BugBlue, TabascoEye";
// timezonen offsett
$gmdateOffset=3600;
// für Developen 1, sonst = 0 // für Developen 1, sonst = 0
$DEBUG = 0; $DEBUG = 0;

View File

@ -24,8 +24,8 @@ if( $DebugDECT)
$SQL .= "WHERE (Shifts.DateS>'2007-07-09 09:45:00' AND ". $SQL .= "WHERE (Shifts.DateS>'2007-07-09 09:45:00' AND ".
"Shifts.DateS<='2007-07-09 11:00:00');"; "Shifts.DateS<='2007-07-09 11:00:00');";
else else
$SQL .= "WHERE ((`Shifts`.`DateS`>'". gmdate("Y-m-d H:i:s", time()+3600+120+3600). "') AND ". $SQL .= "WHERE ((`Shifts`.`DateS`>'". gmdate("Y-m-d H:i:s", time()+120+$gmdateOffset). "') AND ".
"(`Shifts`.`DateS`<='". gmdate("Y-m-d H:i:s", time()+3600+120+3600+$StartTimeBeforEvent). "') );"; "(`Shifts`.`DateS`<='". gmdate("Y-m-d H:i:s", time()+120+$gmdateOffset+$StartTimeBeforEvent). "') );";
$Erg = mysql_query($SQL, $con); $Erg = mysql_query($SQL, $con);
echo mysql_error($con); echo mysql_error($con);

View File

@ -3,8 +3,6 @@ $title = "Himmel";
$header = "Schichtpl&auml;ne"; $header = "Schichtpl&auml;ne";
$submenus = 2; $submenus = 2;
$gmdateOffset=3600+3600;
if( isset($_GET["ausdatum"])) if( isset($_GET["ausdatum"]))
$ausdatum = $_GET["ausdatum"]; $ausdatum = $_GET["ausdatum"];
if( isset($_GET["raum"])) if( isset($_GET["raum"]))