|
|
@ -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);
|
|
|
|