/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk
1 by Henrik G.
First seed of Lenasys ... Needs to be Organized Further
1
<h1>Registration list</h1>
2
<?php
3
echo "<h3>Added:".$succeeded."</h3>";
4
echo "<h3>Existed:".$failed."</h3>";
5
echo "<br />";
6
echo "<table class='dataTable'>";
7
echo "<caption>Added students</caption>";
8
foreach($students as $student){
9
	//echo "</br> ssn:".$student['ssn']."|name:".$student['name']."|login:".$student['login']."|<br />";
10
	if($student['passw']!="HAS PASSWORD"){
11
		echo "<tr>";
12
		foreach($student as $data){
13
			echo "<td>".$data."</td>";
14
		}
15
		echo "</tr>";
16
	}
17
}
18
echo "</table>";
19
echo "<form name='printViewStudnetsForm' action='registerStudents/print.html.php' method='post' target='_blank' >";
20
echo "<input type='submit' name='printViewSubmit' value='Print' />";
21
$studentsSerialized=serialize($students);
22
echo "<input type='hidden' name='courseName' value='".$_POST['course']."' />";
23
echo "<input type='hidden' name='courseOccasion' value='".$occation."' />";
24
echo "<input type='hidden' name='students' value='".$studentsSerialized."' />";
25
echo "</form>";
26
echo "<br />";
27
echo "<table class='dataTable'>";
28
echo "<caption>All parsed students</caption>";
29
foreach($students as $student){
30
		echo "<tr>";
31
		foreach($student as $data){
32
			echo "<td>".$data."</td>";
33
		}
34
		echo "</tr>";
35
}
36
echo "</table>";
37
?>
38
<a href=".">Back</a>