diff --git a/admin/manage.php b/admin/manage.php index b2a21747..5191091f 100644 --- a/admin/manage.php +++ b/admin/manage.php @@ -3,115 +3,21 @@ * @Author: printempw * @Date: 2016-03-06 14:19:20 * @Last Modified by: printempw - * @Last Modified time: 2016-03-27 09:12:25 + * @Last Modified time: 2016-03-27 09:45:54 */ require "../libraries/session.inc.php"; if (!$user->is_admin) header('Location: ../index.php?msg=看起来你并不是管理员'); View::show('admin/header', array('page_title' => "用户管理")); $db = new Database\Database(); -?> - -
- -
-

- 用户管理 - User Manage -

-
- -
-
-
- - - - - - - - - - +if (isset($_GET['show'])) { + View::show('admin/show', ['uid' => (int)$_GET['show']]); +} else { + View::show('admin/list'); +} - - query("SELECT * FROM users ORDER BY `uid` LIMIT ".(string)(($page_now-1)*30).", 30"); - $page_total = round($db->getRecordNum()/30); - while ($row = $result->fetch_array()) { ?> - - - - - - - - - -
#用户名预览材质更改材质操作
- src="../skin/-steve.png" /> - src="../skin/-alex.png" /> - src="../cape/.png" /> - - 皮肤 - 披风 - 优先模型 - () - - 删除材质 - 更改密码 - > - 删除用户 - -
-
-
- - - -
-
- + getTexture('skin')) { diff --git a/user/index.php b/user/index.php index d0174752..4151c949 100644 --- a/user/index.php +++ b/user/index.php @@ -3,7 +3,7 @@ * @Author: printempw * @Date: 2016-01-21 13:56:40 * @Last Modified by: printempw - * @Last Modified time: 2016-03-26 22:28:24 + * @Last Modified time: 2016-03-27 09:45:18 */ require "../libraries/session.inc.php"; $data['style'] = <<< 'EOT' @@ -70,6 +70,7 @@ View::show('header', $data); EOT; View::show('footer', $data); ?> diff --git a/user/upload.php b/user/upload.php index 2a6bb611..5f2a39cf 100644 --- a/user/upload.php +++ b/user/upload.php @@ -3,7 +3,7 @@ * @Author: printempw * @Date: 2016-03-18 21:41:21 * @Last Modified by: printempw - * @Last Modified time: 2016-03-26 21:43:42 + * @Last Modified time: 2016-03-27 09:45:12 */ require "../libraries/session.inc.php"; $data['style'] = <<< 'EOT' @@ -82,6 +82,7 @@ $data['script'] = <<< 'EOT' + EOT;