From 57f172c7ed28edfa9913b06d15003844286985bb Mon Sep 17 00:00:00 2001 From: j502647092 Date: Sun, 8 Nov 2015 23:58:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=A7=E5=8C=BA=E8=8E=B7?= =?UTF-8?q?=E5=8F=96Action...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: j502647092 --- .buildpath | 5 -- .project | 28 --------- .settings/org.eclipse.php.core.prefs | 2 - ....eclipse.wst.common.project.facet.core.xml | 7 --- Controller/index.php | 4 ++ View/servers.php | 59 ++++++++++++++++--- 6 files changed, 54 insertions(+), 51 deletions(-) delete mode 100644 .buildpath delete mode 100644 .project delete mode 100644 .settings/org.eclipse.php.core.prefs delete mode 100644 .settings/org.eclipse.wst.common.project.facet.core.xml diff --git a/.buildpath b/.buildpath deleted file mode 100644 index 606f236..0000000 --- a/.buildpath +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/.project b/.project deleted file mode 100644 index c0c8302..0000000 --- a/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - McAccount - - - - - - org.eclipse.wst.common.project.facet.core.builder - - - - - org.eclipse.wst.validation.validationbuilder - - - - - org.eclipse.dltk.core.scriptbuilder - - - - - - org.eclipse.php.core.PHPNature - org.eclipse.wst.common.project.facet.core.nature - - diff --git a/.settings/org.eclipse.php.core.prefs b/.settings/org.eclipse.php.core.prefs deleted file mode 100644 index 0ece408..0000000 --- a/.settings/org.eclipse.php.core.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -include_path=0;/McAccount diff --git a/.settings/org.eclipse.wst.common.project.facet.core.xml b/.settings/org.eclipse.wst.common.project.facet.core.xml deleted file mode 100644 index 3e03589..0000000 --- a/.settings/org.eclipse.wst.common.project.facet.core.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/Controller/index.php b/Controller/index.php index 29480b3..7d4c4ed 100644 --- a/Controller/index.php +++ b/Controller/index.php @@ -25,4 +25,8 @@ class index extends AmysqlController { $this->title = "Minecraft 密码找回"; $this->_View ( "forge" ); } + function serverlist() { + $this->title = "Minecraft 服务器列表"; + $this->_View ( "servers" ); + } } \ No newline at end of file diff --git a/View/servers.php b/View/servers.php index c04bc65..810b6fa 100644 --- a/View/servers.php +++ b/View/servers.php @@ -1,9 +1,50 @@ - - - -<?=$title?> - - -
- - +{ + "areas":[ + { + "name":"纯净大区", + "servers":[ + { + "name":"MFCRAFT", + "address":"s1.mfcraft.cn", + "port":25510, + "info":"MFCRAFT \u000d 稳定 声誉 生存 地皮 小游戏", + "version":"1.8-Forge", + "url":"four.mengcraft.com", + "depend":"1.8" + }, + { + "name":"IZCRAFT", + "address":"mc.izcraft.com", + "port":25565, + "info":"IZCRAFT \u000d 稳定 声誉 生存 地皮 小游戏", + "version":"1.8-Forge", + "url":"http://cloud.citycraft.cn/Version", + "depend":"1.8" + }, + { + "name":"MFCRAFT3", + "address":"s3.mfcraft.cn", + "port":25512, + "info":"MFCRAFT3 \u000d 稳定 声誉 生存 地皮 小游戏", + "version":"1.8", + "url":"four.mengcraft.com", + "depend":"1.8" + } + ] + }, + { + "name":"模组大区", + "servers":[ + { + "name":"梦幻之都", + "address":"three.mengcraft.com", + "port":11333, + "info":"梦幻之都\u000dMOD服务器\u000d豆腐 家具 工业2 能源应用2", + "version":"1.7.10-Forge-CT", + "url":"http://cloud.citycraft.cn/Version", + "depend":"1.7.10" + } + ] + } + ] +} \ No newline at end of file