1
0
mirror of https://e.coding.net/circlecloud/McAccount.git synced 2025-11-03 17:56:24 +00:00

fix many bugs...

Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
502647092
2015-10-13 19:29:11 +08:00
parent 056187c79f
commit 7f19057e1a
14 changed files with 197 additions and 715 deletions

View File

@@ -1,117 +1,129 @@
<?php
if(empty($_SESSION['username']))
header('Location:'.Url('index' , 'login'));
<?php
if (empty ( $_SESSION ['username'] ))
header ( 'Location:' . Url ( 'index', 'login' ) );
?>
<!DOCTYPE html>
<html>
<head>
<title><?=$title?></title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="View/public/member.css" />
<!-- bootstrap -->
<link href="View/public/css/bootstrap/bootstrap.css" rel="stylesheet" />
<link href="View/public/css/bootstrap/bootstrap-responsive.css" rel="stylesheet" />
<link href="View/public/css/bootstrap/bootstrap-overrides.css" type="text/css" rel="stylesheet" />
<title><?=$title?></title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="View/public/member.css" />
<!-- bootstrap -->
<link href="View/public/css/bootstrap/bootstrap.css" rel="stylesheet" />
<link href="View/public/css/bootstrap/bootstrap-responsive.css"
rel="stylesheet" />
<link href="View/public/css/bootstrap/bootstrap-overrides.css"
type="text/css" rel="stylesheet" />
<!-- libraries -->
<link href="View/public/css/lib/jquery-ui-1.10.2.custom.css" rel="stylesheet" type="text/css" />
<link href="View/public/css/lib/font-awesome.css" type="text/css" rel="stylesheet" />
<!-- libraries -->
<link href="View/public/css/lib/jquery-ui-1.10.2.custom.css"
rel="stylesheet" type="text/css" />
<link href="View/public/css/lib/font-awesome.css" type="text/css"
rel="stylesheet" />
<!-- global styles -->
<link rel="stylesheet" type="text/css" href="View/public/css/layout.css" />
<link rel="stylesheet" type="text/css" href="View/public/css/elements.css" />
<link rel="stylesheet" type="text/css" href="View/public/css/icons.css" />
<!-- global styles -->
<link rel="stylesheet" type="text/css" href="View/public/css/layout.css" />
<link rel="stylesheet" type="text/css"
href="View/public/css/elements.css" />
<link rel="stylesheet" type="text/css" href="View/public/css/icons.css" />
<!-- this page specific styles -->
<link rel="stylesheet" href="View/public/css/compiled/index.css" type="text/css" media="screen" />
<!-- this page specific styles -->
<link rel="stylesheet" href="View/public/css/compiled/index.css"
type="text/css" media="screen" />
<!--[if lt IE 9]>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<!-- navbar -->
<!-- navbar -->
<?=load('header')?>
<!-- end navbar -->
<!-- sidebar -->
<!-- sidebar -->
<? include 'left.php';?>
<!-- end sidebar -->
<!-- main container -->
<div class="content">
<div class="container-fluid">
<div id="pad-wrapper">
<div class="main">
<div class="main_head"></div>
<div class="mains">
<!--{left-->
<div class="right">
<!--头像 start{-->
<div class="body"><a href="javascript:void(0);"><img src="View/public/logo.jpg" width="100" height="100"></a></div>
<div class="center">
<div class="content">
<div class="container-fluid">
<div id="pad-wrapper">
<div class="main">
<div class="main_head"></div>
<div class="mains">
<!--{left-->
<div class="right">
<!--头像 start{-->
<div class="body">
<a href="javascript:void(0);"><img src="View/public/logo.jpg"
width="100" height="100"></a>
</div>
<div class="center"></div>
<!--}头像 end-->
</div>
<!--left end}-->
<div class="left">
<!--{帐户信息-->
<div class="user">
<p>
<strong>欢迎你,<?=$_SESSION['username']?></strong>
<span class="c_999">(普通会员)</span>
<a href="/e/space/?userid=3" class="zone">我的空间</a>
</p>
</div>
<!--说明 start{-->
<div class="sm" style="">
<table class="table table-hover">
<tbody>
<!-- row -->
<tr class="first">
<td>绑定邮箱</td>
<td class="description" id="mail"></td>
<td id="status"></td>
</tr>
<!-- row -->
<tr>
<td>游戏密码</td>
<td class="pass" id="pass"></td>
<td><a href="<?=Url('index', 'pass')?>">点击更改密码</a></td>
</tr>
<!-- row -->
<tr>
<td>游戏币</td>
<td class="description" id="money"></td>
</tr>
</tbody>
</table>
</div>
<!--}说明 end-->
<!--}信息列表 end-->
</div>
</div>
<div class="main_foot"></div>
</div>
<!--}头像 end-->
</div>
<!--left end}-->
<div class="left">
<!--{帐户信息-->
<div class="user">
<p><strong>欢迎你,<?=$_SESSION['username']?></strong> <span class="c_999">(普通会员)</span> <a href="/e/space/?userid=3" class="zone">我的空间</a></p>
</div>
<!--说明 start{-->
<div class="sm" style="">
<table class="table table-hover">
<tbody>
<!-- row -->
<tr class="first">
<td>绑定邮箱 </td>
<td class="description" id="mail"> </td>
<td id="status"> </td>
</tr>
<!-- row -->
<tr>
<td>游戏密码</td>
<td class="pass" id="pass"></td>
<td><a href="<?=Url('index', 'pass')?>">点击更改密码</a></td>
</tr>
<!-- row -->
<tr>
<td>游戏币</td>
<td class="description" id="money"></td>
</tr>
</tbody>
</table>
</div>
<!--}说明 end-->
<!--}信息列表 end-->
</div>
</div>
<div class="main_foot"></div>
</div>
<!-- end table sample -->
</div>
</div>
</div>
<!-- end table sample -->
</div>
</div>
</div>
<!-- scripts -->
<script src="View/public/js/jquery-latest.js"></script>
<script src="View/public/js/bootstrap.min.js"></script>
<script src="View/public/js/jquery-ui-1.10.2.custom.min.js"></script>
<!-- knob -->
<script src="View/public/js/jquery.knob.js"></script>
<!-- flot charts -->
<script src="View/public/js/jquery.flot.js"></script>
<script src="View/public/js/jquery.flot.stack.js"></script>
<script src="View/public/js/jquery.flot.resize.js"></script>
<script src="View/public/js/theme.js"></script>
<script type="text/javascript">
<script src="View/public/js/jquery-latest.js"></script>
<script src="View/public/js/bootstrap.min.js"></script>
<script src="View/public/js/jquery-ui-1.10.2.custom.min.js"></script>
<!-- knob -->
<script src="View/public/js/jquery.knob.js"></script>
<!-- flot charts -->
<script src="View/public/js/jquery.flot.js"></script>
<script src="View/public/js/jquery.flot.stack.js"></script>
<script src="View/public/js/jquery.flot.resize.js"></script>
<script src="View/public/js/theme.js"></script>
<script type="text/javascript">
select();
status();
@@ -129,7 +141,6 @@ function select(){
{
$("#pass").html( content.password );
$("#mail").html( content.email )
// $("#mail").val(content.email);
}
}
)},