<html>
<head>
<title>EQCB Team-Fehlermeldung </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<link href="../stylesheet_ie.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#CCCCCC">
<?php
include("../taal.php");
function Weergeven_team(){
// defignieren van de Array
include ("../config.inc.php");
$query = "SELECT *FROM eqcb_rk WHERE Rk_View ='1' ORDER BY Volgorde_Rk ASC ";
}
}
?>
<form name="
<?php echo $_SERVER['PHP_SELF']?>" method="post" action="">
<?php
include "../uren_automatic.php";
//echo "<strong> EQCB Kalender<br>Working EQ : $Ploeg ($Werkuren)</strong>";
include ("../admin/header_admin.php");
echo "knop : " .$_POST['Submit'] . "<br>"; if(isset($_POST['Submit'])) { //**************************
if ($_POST['Submit'] == "Back") {
echo "<meta http-equiv='refresh' content='0;URL=" . $_SERVER["PHP_SELF"] . "'"; }
if ($_POST['Submit'] == "Reset") {
echo "<meta http-equiv='refresh' content='0;URL=" . $_SERVER["PHP_SELF"] . "'"; }
//****************************************************************************************
if ($_POST['Submit'] == "Save") {
include ("../config.inc.php");
$query = "SELECT * from eqcb_rk ORDER BY Volgorde_Rk ASC ";
//echo stripslashes(nl2br($rij->Rk_rk )) ."<br>";
}
//mysql_query($query) or die (mysql_error());
$array_counter = 0;
foreach( $Rk_rk_array as $key => $value ) {
//ophalen van de info uit de pagina
$Rk_rk = $value;
echo $_POST['Rk_input_'. $array_counter .''] . "*"; echo "(". $_POST['Rk_input_'. $array_counter .''] . ")"; $Rk_input = $_POST['Rk_input_'. $array_counter .''];
if ($Rk_input != "1") {
$Rk_input = "0";
}
echo "(". $_POST['Rk_View_'. $array_counter .''] . ")"; $Rk_View = $_POST['Rk_View_'. $array_counter .''];
if ($Rk_View != "1") {
$Rk_View = "0";
}
$query = "UPDATE eqcb_rk SET Rk_input = '$Rk_input' , Rk_View='$Rk_View' WHERE Rk_rk='$Rk_rk' ";
$array_counter++;
}
//mysql_query($query) or die (mysql_error());
}
} ?>
<table width="750" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td><div align="center">
<table width="403" border="1" align="center" bgcolor="#CCCCCC" bordercolor="#FFFFFF">
<tr>
<td> <div align="center"><strong> Team </strong> </div>
<div align="center">
<?php
$Rk_input_array = array(); $Rk_View_array = array(); $Rk_Atelier_array = array(); $Rk_Afdeling_array = array(); $Volgorde_Rk_array = array();
include ("../config.inc.php");
$query = "SELECT * from eqcb_rk ORDER BY Volgorde_Rk ASC ";
//echo stripslashes(nl2br($rij->Rk_rk )) ."<br>";
}
echo "<table width='600' border='1' bordercolor='#FFFFFF'>"; echo "<td width ='100'>Team</td>"; echo "<td width ='100'><div align='center'>Feed Forward</div></td>"; echo "<td width ='100'><div align='center'>Aktief</div></td>"; echo "<td width ='100'><div align='center'>Atelier</div></td>"; echo "<td width ='100'><div align='center'>PM</div></td>"; echo "<td width ='100'><div align='center'>IpNr</div></td>";
echo "<table width='600' border='1'>"; $array_counter = 0;
foreach( $Rk_rk_array as $key => $value ) {
//echo $array_counter . "- ";
if (($value) != "SB29") {
echo "<td width ='100'>";
//Rk_input_array
echo "<td width ='100'>"; echo "<div align='center'>"; if ($Rk_input_array[$array_counter] == "1") {
echo "<input name=\"Rk_input_$array_counter\" type=\"checkbox\" value=\"1\" CHECKED>"; } else {
echo "<input name=\"Rk_input_$array_counter\" type=\"checkbox\" value=\"0\" UNCHECKED>"; }
//Rk_View_array
echo "<td width ='100'>"; echo "<div align='center'>"; if ($Rk_View_array[$array_counter] == "1") {
echo "<input name=\"Rk_View_$array_counter\" type=\"checkbox\" value=\"1\" CHECKED >"; } else {
echo "<input name=\"Rk_View_$array_counter\" type=\"checkbox\" value=\"0\" UNCHECKED>"; }
//Rk_Atelier_array
echo "<td width ='100'>"; echo "<div align='center'>"; echo "$Rk_Atelier_array[$array_counter]";
//Rk_Afdeling_array
echo "<td width ='100'>"; echo "<div align='center'>"; echo "$Rk_Afdeling_array[$array_counter]";
//IpNr
echo "<td width ='100'>"; echo "<div align='center'>"; echo "$IpNr_array[$array_counter]";
}
$array_counter++;
}
?>
</div></td>
</tr>
</table>
<div align="center">
<input type="submit" name="Submit" value="Save" >
<input type="submit" name="Submit" value="Reset" >
</div>
</div></td>
</tr>
</table>
</form>
</body>
</html>