minor fixes for php5 compability

git-svn-id: svn://svn.cccv.de/engel-system@318 29ba0400-6e00-0410-a75a-ca02368028f8
main
ichdasich 16 years ago
parent 87816b347f
commit f22f5194e2

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

@ -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="";

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

Loading…
Cancel
Save