diff --git a/www/ajax/ul_entries.php b/www/ajax/ul_entries.php new file mode 100644 index 0000000..7f35a4b --- /dev/null +++ b/www/ajax/ul_entries.php @@ -0,0 +1,28 @@ + +
+ + + + + + + + + + + + + + + + + +
IPVersionTimestamp
+
\ No newline at end of file diff --git a/www/index.php b/www/index.php index 0f36d84..1d2d1de 100644 --- a/www/index.php +++ b/www/index.php @@ -43,6 +43,7 @@ $URL_RULES = [ 'url' => ['api', 'webhook', '${target}'], 'target' => 'pages/api_webhook.php', 'options' => [ '_opt' => 'http', 'target' => '%URL%', 'secret' => '%GET%', ],], [ 'url' => ['admin'], 'target' => 'pages/admin.php', 'options' => [ '_opt' => 'password'], ], + [ 'url' => ['admin', 'updateslog', '${name}'], 'target' => 'pages/admin_ul-list.php', 'options' => [ '_opt' => 'password', 'name' => '%URL%'],], [ 'url' => ['admin', 'cmd', '?{cmd}'], 'target' => 'pages/admin_cmd.php', 'options' => [ '_opt' => 'password', 'cmd' => '%URL%'], ], [ 'url' => ['admin', 'egh', '?{cmd}'], 'target' => 'pages/su_ajax.php', 'options' => [ 'suffix' => 'egh', 'cmd' => '%URL%', 'secret' => '%GET%' ], ], diff --git a/www/internals/updateslog.php b/www/internals/updateslog.php new file mode 100644 index 0000000..1a30516 --- /dev/null +++ b/www/internals/updateslog.php @@ -0,0 +1,40 @@ + +
+
UpdatesLog
+ +
+ +
+
+
+
+ +
+
+
+
+ + +
Highscores
@@ -160,7 +178,7 @@ function dumpConsistency($c) { -
+
".$data['Version']."
".$data['Link']); \ No newline at end of file + UpdatesLog::insert($name, $data['version']); + + print($name."
".$data['version']."
".$data['url']); \ No newline at end of file diff --git a/www/pages/su_ajax.php b/www/pages/su_ajax.php index 4fba709..15ea7a4 100644 --- a/www/pages/su_ajax.php +++ b/www/pages/su_ajax.php @@ -16,5 +16,6 @@ if ($cmd === 'egh::refresh') { include (__DIR__ . '/../ajax/egh_refresh.php'); e if ($cmd === 'egh::redraw') { include (__DIR__ . '/../ajax/egh_redraw.php'); exit; } if ($cmd === 'alephnotetable') { include (__DIR__ . '/../ajax/an_activeusers.php'); exit; } +if ($cmd === 'updateslog') { include (__DIR__ . '/../ajax/ul_entries.php'); exit; } die('Wrong command.'); \ No newline at end of file