Browse Source

refactor: update file structure

master
Dnomd343 3 years ago
parent
commit
aaec00b11c
  1. 0
      assets/fonts/RobotoMono-Regular.woff
  2. 0
      assets/fonts/lato-black.woff
  3. 0
      assets/fonts/lato-normal.woff
  4. 0
      assets/style.css
  5. 0
      backend/kms-cli.php
  6. 4
      backend/kms-help.php
  7. 0
      backend/kms-keys.db
  8. 0
      backend/kms-keys.php
  9. 2
      backend/kms-web.php
  10. 0
      backend/route.php

0
fonts/RobotoMono-Regular.woff → assets/fonts/RobotoMono-Regular.woff

0
fonts/lato-black.woff → assets/fonts/lato-black.woff

0
fonts/lato-normal.woff → assets/fonts/lato-normal.woff

0
style.css → assets/style.css

0
kms-cli.php → backend/kms-cli.php

4
kms-help.php → backend/kms-help.php

@ -26,13 +26,13 @@ function webHelp() {
echo '<!DOCTYPE html><html><head><meta charset="utf-8">';
echo '<meta name="viewport" content="width=device-width, initial-scale=1.0"><title>';
echo 'Windows Activation';
echo '</title><link rel="stylesheet" href="./style.css" /></head>';
echo '</title><link rel="stylesheet" href="./assets/style.css" /></head>';
echo '<body><div><h2>Windows KMS Activation</h2><pre>';
echo '<code> slmgr /upk' . PHP_EOL;
echo ' slmgr /ipk {KMS_KEY}' . PHP_EOL;
echo ' slmgr /skms ' . $webSite . PHP_EOL;
echo ' slmgr /ato' . PHP_EOL;
echo ' slmgr /dlv</code>';
echo ' slmgr /dlv </code>';
echo '</pre><p><a href="';
echo 'http://' . $webSite . '/win';
echo '">KMS_KEY (Windows)</a><br><a href="';

0
kms-keys.db → backend/kms-keys.db

0
kms-keys.php → backend/kms-keys.php

2
kms-web.php → backend/kms-web.php

@ -8,7 +8,7 @@ function webKmsKeys($kmsKeys, $title) { // 网页显示KMS密钥
echo '<!DOCTYPE html><html><head><meta charset="utf-8">';
echo '<meta name="viewport" content="width=device-width, initial-scale=1.0"><title>';
echo $title;
echo '</title><link rel="stylesheet" href="./style.css" /></head><body><div>';
echo '</title><link rel="stylesheet" href="./assets/style.css" /></head><body><div>';
foreach ($kmsKeys as $versionName => $versionContent) {
echo '<h2>' . $versionName . '</h2>';
echo '<table><thead><tr><th>操作系统</th><th>KMS密钥</th></tr></thead><tbody>';

0
route.php → backend/route.php

Loading…
Cancel
Save