'; echo ''; echo $title; echo '
'; foreach ($kmsKeys as $versionName => $versionContent) { echo '

' . $versionName . '

'; echo ''; foreach ($versionContent as $row) { echo ''; echo ''; } echo '
操作系统KMS密钥
' . $row['name'] . '' . $row['key'] . '
'; } echo '
'; } function webWinKeys() { // 网页显示Windows的KMS密钥 $kmsKeys = getKmsKeys('win'); webKmsKeys($kmsKeys, 'Windows KMS Keys'); } function webWinServerKeys() { // 网页显示Windows Server的KMS密钥 $kmsKeys = array_reverse(getKmsKeys('win-server')); webKmsKeys($kmsKeys, 'Windows Server KMS Keys'); } ?>