minor fixes for php5 compability

git-svn-id: svn://svn.cccv.de/engel-system@318 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
ichdasich 2008-12-13 23:10:00 +00:00
parent 87816b347f
commit f22f5194e2
3 changed files with 7 additions and 7 deletions

View File

@ -1,9 +1,9 @@
<?PHP <?PHP
/*############################################################################################## /*##############################################################################################
S c h e d u l e s c h e d u l e
##############################################################################################*/ ##############################################################################################*/
echo "\n\n<h1>Schudle:</h1>\n"; echo "\n\n<h1>Schedule:</h1>\n";
function SaveSchedule() function SaveSchedule()

View File

@ -101,7 +101,7 @@ case 'new':
break; break;
case 'newsave': case 'newsave':
$vars = $HTTP_GET_VARS; $vars = $_GET;
$count = count($vars) - 1; $count = count($vars) - 1;
$vars = array_splice($vars, 0, $count); $vars = array_splice($vars, 0, $count);
$Keys=""; $Keys="";
@ -158,7 +158,7 @@ case 'change':
break; break;
case 'changesave': case 'changesave':
$vars = $HTTP_GET_VARS; $vars = $_GET;
$count = count($vars) - 2; $count = count($vars) - 2;
$vars = array_splice($vars, 0, $count); $vars = array_splice($vars, 0, $count);
$keys=""; $keys="";

View File

@ -82,7 +82,7 @@ case 'new':
break; break;
case 'newsave': case 'newsave':
$vars = $HTTP_GET_VARS; $vars = $_GET;
$count = count($vars) - 1; $count = count($vars) - 1;
$vars = array_splice($vars, 0, $count); $vars = array_splice($vars, 0, $count);
$Keys = ""; $Keys = "";
@ -107,7 +107,7 @@ case 'change':
if( mysql_num_rows( $ERG)>0) if( mysql_num_rows( $ERG)>0)
{ {
echo "Raum ab&auml;ndern:\n"; echo "Raum ab&auml;ndern:\n";
echo "Hier kannst du eintragen, welche und wieviele Engel f&uuml;r den Raum zur Verfügung stehen m&uuml;ssen."; echo "Hier kannst du eintragen, welche und wieviele Engel f&uuml;r den Raum zur Verf?gung stehen m&uuml;ssen.";
echo "<form action=\"./room.php\" method=\"GET\">\n"; echo "<form action=\"./room.php\" method=\"GET\">\n";
echo "<table>\n"; echo "<table>\n";
@ -154,7 +154,7 @@ case 'change':
case 'changesave': case 'changesave':
$sql=""; $sql="";
$vars = $HTTP_GET_VARS; $vars = $_GET;
$count = count($vars) - 2; $count = count($vars) - 2;
$vars = array_splice($vars, 0, $count); $vars = array_splice($vars, 0, $count);
foreach($vars as $key => $value) foreach($vars as $key => $value)