Mercurial > hg > fapweb
comparison ajax.php @ 90:32c4654aad50
Comments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 18 Oct 2013 10:11:56 +0300 |
parents | 4d32e870dda7 |
children |
comparison
equal
deleted
inserted
replaced
89:6fdde6aca7ba | 90:32c4654aad50 |
---|---|
196 } | 196 } |
197 } | 197 } |
198 else | 198 else |
199 if ($type == "attendees") | 199 if ($type == "attendees") |
200 { | 200 { |
201 // List of attendees | |
201 echo | 202 echo |
202 "<table class=\"attendees\">\n". | 203 "<table class=\"attendees\">\n". |
203 " <tr>\n". | 204 " <tr>\n". |
204 " <th class=\"name\">Name</th>\n". | 205 " <th class=\"name\">Name</th>\n". |
205 " <th class=\"groups\">Groups</th>\n". | 206 " <th class=\"groups\">Groups</th>\n". |
210 " </tr>\n"; | 211 " </tr>\n"; |
211 $row = 0; | 212 $row = 0; |
212 foreach ($res as $item) | 213 foreach ($res as $item) |
213 stPrintAttendee($item, $row++, TRUE); | 214 stPrintAttendee($item, $row++, TRUE); |
214 | 215 |
216 // For adding a new one | |
215 $prefix = "ne"; | 217 $prefix = "ne"; |
216 echo | 218 echo |
217 "</table>\n". | 219 "</table>\n". |
218 "<hr />\n". | 220 "<hr />\n". |
219 "<table>\n". | 221 "<table>\n". |