2015-11-01 14:29:21 +00:00
|
|
|
<?php
|
|
|
|
class index extends AmysqlController {
|
|
|
|
// 默认首页
|
|
|
|
function IndexAction() {
|
|
|
|
$this->title = 'Minecraft 用户中心'; // 直接赋值模板
|
|
|
|
$this->_view ( 'message' ); // 载入index模板
|
|
|
|
}
|
|
|
|
function login() {
|
|
|
|
$this->title = "Minecraft 用户登陆";
|
|
|
|
$this->_view ( 'login' );
|
|
|
|
}
|
|
|
|
function register() {
|
|
|
|
$this->title = "Minecraft 帐号注册";
|
|
|
|
$this->_view ( "register" );
|
|
|
|
}
|
|
|
|
function pass() {
|
|
|
|
$this->title = "Minecraft 修改密码";
|
|
|
|
$this->_view ( "password" );
|
|
|
|
}
|
|
|
|
function mail() {
|
|
|
|
$this->title = "Minecraft 邮箱验证";
|
|
|
|
$this->_View ( "mail/mailstatus" );
|
|
|
|
}
|
|
|
|
function forge() {
|
|
|
|
$this->title = "Minecraft 密码找回";
|
|
|
|
$this->_View ( "forge" );
|
|
|
|
}
|
2015-11-08 15:58:03 +00:00
|
|
|
function serverlist() {
|
|
|
|
$this->title = "Minecraft 服务器列表";
|
|
|
|
$this->_View ( "servers" );
|
|
|
|
}
|
2015-11-10 12:28:22 +00:00
|
|
|
function news() {
|
|
|
|
$this->title = "Minecraft 服务器列表";
|
|
|
|
$this->_View ( "news" );
|
|
|
|
}
|
|
|
|
function pics() {
|
|
|
|
$this->title = "Minecraft 服务器列表";
|
|
|
|
$this->_View ( "pics" );
|
|
|
|
}
|
2015-10-13 06:26:47 +00:00
|
|
|
}
|