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:
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ändern:\n";
|
echo "Raum abändern:\n";
|
||||||
echo "Hier kannst du eintragen, welche und wieviele Engel für den Raum zur Verfügung stehen müssen.";
|
echo "Hier kannst du eintragen, welche und wieviele Engel für den Raum zur Verf?gung stehen mü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…
Reference in New Issue