order more
This commit is contained in:
parent
5c1925bc2d
commit
f633f4abec
1 changed files with 4 additions and 1 deletions
|
@ -22,10 +22,13 @@ class ETServer extends Extension
|
||||||
elseif ($user->can(Permissions::VIEW_REGISTRATIONS)) {
|
elseif ($user->can(Permissions::VIEW_REGISTRATIONS)) {
|
||||||
$page->set_title("Registrations");
|
$page->set_title("Registrations");
|
||||||
$page->set_heading("Registrations");
|
$page->set_heading("Registrations");
|
||||||
|
$n = 0;
|
||||||
foreach($database->get_all("SELECT responded, data FROM registration ORDER BY responded DESC") as $row) {
|
foreach($database->get_all("SELECT responded, data FROM registration ORDER BY responded DESC") as $row) {
|
||||||
$page->add_block(new Block(
|
$page->add_block(new Block(
|
||||||
$row["responded"],
|
$row["responded"],
|
||||||
(string)PRE(["style"=>"text-align: left; overflow: scroll;"], $row["data"])
|
(string)PRE(["style"=>"text-align: left; overflow: scroll;"], $row["data"]),
|
||||||
|
"main",
|
||||||
|
$n++
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue