From f633f4abecf44333766e051a28b8126d62190582 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 19 Mar 2020 15:10:50 +0000 Subject: [PATCH] order more --- ext/et_server/main.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ext/et_server/main.php b/ext/et_server/main.php index 8dc56316..08afefde 100644 --- a/ext/et_server/main.php +++ b/ext/et_server/main.php @@ -22,10 +22,13 @@ class ETServer extends Extension elseif ($user->can(Permissions::VIEW_REGISTRATIONS)) { $page->set_title("Registrations"); $page->set_heading("Registrations"); + $n = 0; foreach($database->get_all("SELECT responded, data FROM registration ORDER BY responded DESC") as $row) { $page->add_block(new Block( $row["responded"], - (string)PRE(["style"=>"text-align: left; overflow: scroll;"], $row["data"]) + (string)PRE(["style"=>"text-align: left; overflow: scroll;"], $row["data"]), + "main", + $n++ )); } }