/lenasys/trunk

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