forked from orvice/ss-panel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_main.php
137 lines (124 loc) · 5.74 KB
/
_main.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<?php
require_once '../lib/config.php';
require_once '_check.php';
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title><?php echo $site_name; ?></title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<!-- Bootstrap 3.3.2 -->
<link href="../asset/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<!-- Font Awesome Icons -->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<!-- Ionicons -->
<link href="https://code.ionicframework.com/ionicons/2.0.0/css/ionicons.min.css" rel="stylesheet" type="text/css" />
<!-- Theme style -->
<link href="../asset/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link href="../asset/css/skins/_all-skins.min.css" rel="stylesheet" type="text/css" />
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body class="skin-blue">
<!-- Site wrapper -->
<div class="wrapper">
<header class="main-header">
<a href="index.php" class="logo"><?php echo $site_name; ?></a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top" role="navigation">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<!-- User Account: style can be found in dropdown.less -->
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<img src="<?php echo \Ss\User\Comm::Gravatar($U->GetEmail()); ?>" class="user-image" alt="User Image"/>
<span class="hidden-xs"><?php echo $U->GetUserName(); ?></span>
</a>
<ul class="dropdown-menu">
<!-- User image -->
<li class="user-header">
<img src="<?php echo \Ss\User\Comm::Gravatar($U->GetEmail()); ?>" class="img-circle" alt="User Image" />
<p>
<?php echo $U->GetEmail(); ?>
<small>加入时间:<?php echo $U->RegDate(); ?></small>
</p>
</li>
<li class="user-footer">
<div class="pull-left">
<a href="my.php" class="btn btn-default btn-flat">个人信息</a>
</div>
<div class="pull-right">
<a href="logout.php" class="btn btn-default btn-flat">退出</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
</nav>
</header>
<!-- =============================================== -->
<!-- Left side column. contains the sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<img src="<?php echo \Ss\User\Comm::Gravatar($U->GetEmail()); ?>" class="img-circle" alt="User Image" />
</div>
<div class="pull-left info">
<p><?php echo $U->GetUserName(); ?></p>
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
</div>
</div>
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu">
<li>
<a href="index.php">
<i class="fa fa-dashboard"></i> <span>用户中心</span>
</a>
</li>
<li>
<a href="node.php">
<i class="fa fa-sitemap"></i> <span>节点列表</span>
</a>
</li>
<li >
<a href="my.php">
<i class="fa fa-user"></i> <span>我的信息</span>
</a>
</li>
<li >
<a href="update.php">
<i class="fa fa-pencil"></i> <span>修改资料</span>
</a>
</li>
<li>
<a href="invite.php">
<i class="fa fa-users"></i> <span>邀请好友</span>
</a>
</li>
<li >
<a href="sys.php">
<i class="fa fa-align-left"></i> <span>系统信息</span>
</a>
</li>
</ul>
</section>
<!-- /.sidebar -->
</aside>