delete cache files

This commit is contained in:
printempw 2016-07-21 22:07:06 +08:00
parent a709a1065b
commit 15faca947d
16 changed files with 0 additions and 1694 deletions

View File

@ -1,98 +0,0 @@
<?php $__env->startSection('title', '皮肤库'); ?>
<?php $__env->startSection('content'); ?>
<!-- Full Width Column -->
<div class="content-wrapper">
<div class="container">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
皮肤库
<small>Skin Library</small>
</h1>
<ol class="breadcrumb">
<li><i class="fa fa-tags"></i> 当前正显示</li>
<li>
<?php if($filter == "skin"): ?>
皮肤<small>(任意模型)</small>
<?php elseif($filter == "steve"): ?>
皮肤<small>Steve 模型)</small>
<?php elseif($filter == "alex"): ?>
皮肤<small>Alex 模型)</small>
<?php elseif($filter == "cape"): ?>
披风
<?php elseif($filter == "user"): ?>
用户uid.<?php echo e(isset($_GET['uid']) ? $_GET['uid'] : 0); ?>)上传
<?php endif; ?>
</li>
<li class="active">
<?php if($sort == "time"): ?>
最新上传
<?php elseif($sort == "likes"): ?>
最多收藏
<?php endif; ?>
</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="box box-default">
<div class="box-body">
<?php $__empty_1 = true; foreach($textures as $texture): $__empty_1 = false; ?>
<a href="./skinlib/show?tid=<?php echo e($texture['tid']); ?>">
<div class="item" tid="<?php echo e($texture['tid']); ?>">
<div class="item-body">
<img src="./preview/<?php echo e($texture['tid']); ?>.png">
</div>
<div class="item-footer">
<span><?php echo e($texture['name']); ?> <small>(<?php echo e($texture['type']); ?>)</small></span>
<?php if(isset($_SESSION['email'])): ?>
<?php if($user->closet->has($texture['tid'])): ?>
<a href="javascript:removeFromCloset(<?php echo e($texture['tid']); ?>);" class="more like liked" tid="<?php echo e($texture['tid']); ?>" title="从衣柜中移除" data-placement="top" data-toggle="tooltip">
<?php else: ?>
<a href="javascript:addToCloset(<?php echo e($texture['tid']); ?>);" class="more like" tid="<?php echo e($texture['tid']); ?>" title="添加至衣柜" data-placement="top" data-toggle="tooltip">
<?php endif; ?>
<?php else: ?>
<a href="javascript:;" class="more like" title="请先登录" data-placement="top" data-toggle="tooltip">
<?php endif; ?>
<i class="fa fa-heart"></i>
</a>
<?php if($texture['public'] == "0"): ?>
<small class="more" tid="<?php echo e($texture['tid']); ?>">私密</small>
<?php endif; ?>
</div>
</div>
</a>
<?php endforeach; if ($__empty_1): ?>
<p style="text-align: center; margin: 30px 0;">无结果</p>
<?php endif; ?>
</div><!-- /.box-body -->
<div class="box-footer">
<ul class="pagination pagination-sm no-margin pull-right">
<li><a href="?page=1">«</a></li>
<?php if($page != 1): ?>
<li><a href="?page=<?php echo e($page-1); ?>"><?php echo e($page - 1); ?></a></li>
<?php endif; ?>
<li><a href="?page=<?php echo e($page); ?>" class="active"><?php echo e($page); ?></a></li>
<?php if($total_pages > $page): ?>
<li><a href="?page=<?php echo e($page+1); ?>"><?php echo e($page+1); ?></a></li>
<?php endif; ?>
<li><a href="?page=<?php echo e($total_pages); ?>">»</a></li>
</ul>
<p class="pull-right">第 <?php echo e($page); ?> 页,共 <?php echo e($total_pages); ?> 页</p>
</div>
</div><!-- /.box -->
</section><!-- /.content -->
</div><!-- /.container -->
</div><!-- /.content-wrapper -->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('skinlib.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

View File

@ -1,131 +0,0 @@
<?php $__env->startSection('title', '仪表盘'); ?>
<?php $__env->startSection('content'); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
仪表盘
<small>Dashboard</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
</div><!-- /.row -->
<div class="row">
<div class="col-md-8">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">使用情况</h3>
</div><!-- /.box-header -->
<div class="box-body">
<div class="row">
<div class="col-md-8">
<div class="progress-group">
<span class="progress-text">角色数量</span>
<?php $players_available = count($user->getPlayers()) + floor($user->getScore() / 100); ?>
<span class="progress-number"><b><?php echo e(count($user->getPlayers())); ?></b>/<?php echo e($players_available); ?></span>
<div class="progress sm">
<div class="progress-bar progress-bar-aqua" style="width: <?php echo e(count($user->getPlayers()) / $players_available * 100); ?>%"></div>
</div>
</div><!-- /.progress-group -->
<div class="progress-group">
<span class="progress-text">存储空间</span>
<span class="progress-number"><b><?php echo e($user->getStorageUsed()); ?></b>/<?php echo e($user->getStorageUsed() + $user->getScore()); ?> KB</span>
<div class="progress sm">
<div class="progress-bar progress-bar-yellow" style="width: <?php echo e($user->getStorageUsed() / ($user->getStorageUsed() + $user->getScore()) * 100); ?>%"></div>
</div>
</div><!-- /.progress-group -->
</div><!-- /.col -->
<div class="col-md-4">
<p class="text-center">
<strong>当前积分</strong>
</p>
<p id="score" data-toggle="modal" data-target="#modal-score-instruction">
<?php echo e($user->getScore()); ?>
</p>
<p class="text-center" style="font-size: smaller; margin-top: 20px;">点击积分查看说明</p>
</div><!-- /.col -->
</div><!-- /.row -->
</div><!-- ./box-body -->
<div class="box-footer">
<?php if($user->canSign()): ?>
<button id="sign-button" class="btn btn-primary pull-left" onclick="sign()">
<i class="fa fa-calendar-check-o" aria-hidden="true"></i> &nbsp;每日签到
</button>
<?php else: ?>
<button class="btn btn-primary pull-left" disabled="disabled">
<i class="fa fa-calendar-check-o" aria-hidden="true"></i> &nbsp;<?php echo e($user->canSign(true)); ?> 小时后可签到
</button>
<?php endif; ?>
</div><!-- /.box-footer -->
</div><!-- /.box -->
</div><!-- /.col -->
<div class="col-md-4">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">公告</h3>
</div><!-- /.box-header -->
<div class="box-body">
<?php echo nl2br(Option::get('announcement')); ?>
</div><!-- /.box-body -->
</div>
</div>
</div>
</section><!-- /.content -->
</div><!-- /.content-wrapper -->
<div id="modal-score-instruction" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title">积分是个啥?</h4>
</div>
<div class="modal-body">
<p>「既然你诚心诚意地发问了!」</p>
<p>「那我们就大发慈悲地告诉你!」</p>
<p>「为了守护皮肤站的和平」</p>
<p>「为了防止皮肤站被破坏」</p>
<p>「贯彻爱与真实的。。呸!」上面只是卖下萌~</p>
<hr />
<p>为了不出现用户一个劲上传材质导致存储空间爆满,我们决定启用积分系统。</p>
<p>添加角色以及上传材质都会消耗积分,而删除已经添加的角色和已上传的材质时积分将会被返还。</p>
<p>本站用户初始积分为 <?php echo e(\Option::get('user_initial_score')); ?>,每日签到可以随机获得 10~100 积分</p>
<p>添加皮肤库里的材质到衣柜不消耗积分。</p>
<hr />
<div class="row">
<div class="col-md-6">
<p class="text-center">1 积分 = 1 KB 存储空间</p>
</div>
<div class="col-md-6">
<p class="text-center">100 积分 = 1 个角色</p>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('user.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

View File

@ -1,53 +0,0 @@
<?php $__env->startSection('title', '找回密码'); ?>
<?php $__env->startSection('content'); ?>
<div class="login-box">
<div class="login-logo">
<a href="../"><?php echo e(Option::get('site_name')); ?></a>
</div>
<!-- /.login-logo -->
<div class="login-box-body">
<p class="login-box-msg">我们将会给您发送一封密码重置邮件</p>
<form id="login-form">
<div class="form-group has-feedback">
<input id="email" type="email" class="form-control" placeholder="Email">
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
</div>
<div class="row" id="captcha-form">
<div class="col-xs-8">
<div class="form-group has-feedback">
<input id="captcha" type="text" class="form-control" placeholder="输入验证码">
</div>
</div>
<!-- /.col -->
<div class="col-xs-4">
<img class="pull-right captcha" src="./captcha" alt="CAPTCHA" title="点击以更换图片" data-placement="top" data-toggle="tooltip">
</div>
<!-- /.col -->
</div>
<div id="msg" class="alert hide"></div>
<div class="row">
<div class="col-xs-8">
<a href="./login" class="text-center">我又想起来了</a>
</div>
<!-- /.col -->
<div class="col-xs-4">
<button id="forgot-button" class="btn btn-primary btn-block btn-flat">发送</button>
</div>
<!-- /.col -->
</div>
</form>
</div>
<!-- /.login-box-body -->
</div>
<!-- /.login-box -->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('auth.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

View File

@ -1,145 +0,0 @@
<?php $__env->startSection('title', '配置生成'); ?>
<?php $__env->startSection('style'); ?>
<link rel="stylesheet" href="../assets/libs/highlight/styles/arduino-light.css">
<style> pre { border: 0; } td[class='key'], td[class='value'] { border-top: 0 !important; } </style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
配置生成
<small>Configuration Generator</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-6">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">MOD 需求</h3>
</div><!-- /.box-header -->
<div class="box-body">
<p>本站支持的皮肤 MOD 有 <a href="http://www.mcbbs.net/forum.php?mod=viewthread&tid=358932" target="_blank">UniSkinMod</a><a href="http://www.mcbbs.net/thread-269807-1-1.html" target="_blank">CustomSkinLoader</a> 各自的新版和旧版,以及任何支持传统皮肤加载链接的皮肤 MOD。</p>
<p>详细教程:<a href="https://github.com/printempw/blessing-skin-server#客户端配置" target="_blank">@GitHub</a></p>
</div><!-- /.box-body -->
</div><!-- /.box -->
<div class="box box-default">
<div class="box-header with-border">
<h3 class="box-title">配置生成</h3>
</div><!-- /.box-header -->
<div class="box-body">
<table class="table">
<tbody>
<tr>
<td class="key">MOD</td>
<td class="value">
<select class="form-control" id="mod-select">
<option value="csl">Custom Skin Loader</option>
<option value="usm">Universal Skin Mod</option>
</select>
</td>
</tr>
<tr>
<td class="key">版本</td>
<td class="value">
<select class="form-control" id="version-select">
<option value="13_1-upper">13.1 版及以上(推荐)</option>
<option value="13_1-lower">13.1 版以下</option>
</select>
</td>
</tr>
</tbody>
</table>
</div><!-- /.box-body -->
</div><!-- /.box -->
</div>
<div class="col-md-6">
<div class="box box-default">
<div class="box-header with-border">
<h3 class="box-title">配置文件</h3>
</div><!-- /.box-header -->
<div class="box-body">
<pre id="config-13_1-upper">
{
"enable": true,
"loadlist": [
{
"name": "<?php echo Option::get('site_name'); ?>",
"type": "CustomSkinAPI",
"root": "<?php echo Option::get('site_url')."/csl/"; ?>"
},
{
"name": "Mojang",
"type": "MojangAPI"
}
]
}
</pre>
<pre id="config-13_1-lower" class="hljs ini" style="display: none;">
# skinurls.txt
<?php echo Option::get('site_url'); ?>/skin/*.png
http://skins.minecraft.net/MinecraftSkins/*.png
# capeurls.txt
<?php echo Option::get('site_url'); ?>/cape/*.png
</pre>
<pre id="config-1_4-upper" style="display: none;">
{
"rootURIs": [
"<?php echo Option::get('site_url'); ?>/usm",
"http://www.skinme.cc/uniskin"
],
"legacySkinURIs": [],
"legacyCapeURIs": []
}
</pre>
<pre id="config-1_2-1_3" class="hljs ini" style="display: none;">
# <?php echo Option::get('site_name')."\n"; ?>
Root: <?php echo Option::get('site_url'); ?>/usm
</pre>
<pre id="config-1_2-lower" class="hljs ini" style="display: none;">
# <?php echo Option::get('site_name')."\n"; ?>
Skin: <?php echo Option::get('site_url'); ?>/skin/%s.png
Cape: <?php echo Option::get('site_url'); ?>/cape/%s.png
# Mojang
Skin: http://skins.minecraft.net/MinecraftSkins/%s.png
Cape: http://skins.minecraft.net/MinecraftCloaks/%s.png
</pre>
</div><!-- /.box-body -->
</div><!-- /.box -->
</div>
</div>
</section><!-- /.content -->
</div><!-- /.content-wrapper -->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<script type="text/javascript" src="../assets/libs/highlight/highlight.min.js"></script>
<script>
$(document).ready(function() {
$('pre').each(function(i, block) {
hljs.highlightBlock(block);
});
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('user.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

View File

@ -1,35 +0,0 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex,nofollow" />
<title><?php echo $__env->yieldContent('title'); ?> - Blessing Skin Server</title>
<link rel="stylesheet" type="text/css" href="https://cdn.moefont.com/fonts/css?family=Ubuntu">
<link rel="stylesheet" type="text/css" href="https://work.prinzeugen.net/font/Minecraft.css">
</head>
<body class="container">
<p id="logo"><a href="https://github.com/printempw/blessing-skin-server" tabindex="-1">Blessing Skin Server</a></p>
<?php echo $__env->yieldContent('content'); ?>
</body>
<style type="text/css">
html { background: #f1f1f1; margin: 0 20px; font-weight: 400; }
body { background: #FFF none repeat scroll 0% 0%; color: #444; font-family: Ubuntu, 'Microsoft Yahei', 'Microsoft Jhenghei', sans-serif; margin: 140px auto 25px; padding: 20px 20px 10px; max-width: 700px; box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.13); }
h1, h2 { border-bottom: 1px solid #DEDEDE; clear: both; color: #666; font-size: 24px; }
a:active, a:hover { color: #00a0d2; }
a { color: #0073aa; }
#logo a, p, h1, h2 { font-weight: 400; }
#logo, h1, h2 { padding: 0px 0px 7px; }
p { padding-bottom: 2px; font-size: 14px; line-height: 1.5; }
#logo a { font-family: Minecraft, sans-serif; transition: all .2s ease-in-out; font-size: 50px; color: #666; height: 84px; line-height: 1.3em; margin: -130px auto 25px; padding: 0; outline: 0; text-decoration: none; overflow: hidden; display: block; }
#logo a:hover { color: #42a5f5; }
#logo { margin: 6px 0 14px; border-bottom: none; text-align: center; }
/* Mobile phone */
@media (max-width: 48em) { #logo a { font-size: 40px; } }
@media (max-width: 35.5em) { #logo a { font-size: 30px; } }
</style>
</html>

File diff suppressed because one or more lines are too long

View File

@ -1,116 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo e(Option::get('site_name')); ?></title>
<link rel="shortcut icon" href="../assets/images/favicon.ico">
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- App Styles -->
<link rel="stylesheet" href="../assets/dist/app.min.css">
<!-- AdminLTE Skins -->
<link rel="stylesheet" href="../assets/libs/skins/<?php echo e(Option::get('color_scheme')); ?>.min.css">
<link rel="stylesheet" href="../assets/dist/css/index.min.css">
<style><?php echo e(Option::get('custom_css')); ?></style>
</head>
<body class="hold-transition <?php echo e(Option::get('color_scheme')); ?> layout-top-nav">
<div class="wrapper" style="background-image: url('./assets/images/bg.jpg') !important;">
<header class="main-header">
<nav class="navbar navbar-static-top">
<div class="container">
<div class="navbar-header">
<a href="<?php echo e(Option::get('site_url')); ?>" class="navbar-brand"><?php echo e(Option::get('site_name')); ?></a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse pull-left" id="navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="./">首页</a></li>
<li><a href="../skinlib">皮肤库</a></li>
</ul>
</div><!-- /.navbar-collapse -->
<!-- Navbar Right Menu -->
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<?php if(!is_null($user)): ?>
<!-- User Account Menu -->
<li class="dropdown user user-menu">
<!-- Menu Toggle Button -->
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<!-- The user image in the navbar-->
<img src="../avatar/25/<?php echo e(base64_encode($_SESSION['email'])); ?>.png" class="user-image" alt="User Image">
<!-- hidden-xs hides the username on small devices so only the image appears. -->
<span class="hidden-xs nickname"><?php echo e(($user->getNickName() == '') ? $_SESSION['email'] : $user->getNickName()); ?></span>
</a>
<ul class="dropdown-menu">
<!-- The user image in the menu -->
<li class="user-header">
<img src="../avatar/128/<?php echo e(base64_encode($_SESSION['email'])); ?>.png" alt="User Image">
<p><?php echo e($_SESSION['email']); ?></p>
</li>
<!-- Menu Footer-->
<li class="user-footer">
<div class="pull-left">
<a href="../user" class="btn btn-default btn-flat">用户中心</a>
</div>
<div class="pull-right">
<a href="javascript:logout();" class="btn btn-default btn-flat">登出</a>
</div>
</li>
</ul>
</li>
<?php else: ?> <?php /* Anonymous User */ ?>
<!-- User Account Menu -->
<li class="dropdown user user-menu">
<a href="./auth/login" class="btn btn-login">登录</a>
</li>
<?php endif; ?>
</ul>
</div><!-- /.navbar-custom-menu -->
</div><!-- /.container-fluid -->
</nav>
</header>
<!-- Full Width Column -->
<div class="content-wrapper">
<div class="container">
<div class="splash">
<h1 class="splash-head"><?php echo e(Option::get('site_name')); ?></h1>
<p class="splash-subhead">
<?php echo e(Option::get('site_description')); ?>
</p>
<p>
<?php if(is_null($user)): ?>
<a href="./auth/register" class="button">现在注册</a>
<?php else: ?>
<a href="./user" class="button">用户中心</a>
<?php endif; ?>
</p>
</div>
</div>
</div><!-- /.content-wrapper -->
<!-- Main Footer -->
<footer class="main-footer">
<div class="container text-center">
Copyright &copy; 2016 <a href="<?php echo e(Option::get('site_url')); ?>"><?php echo e(Option::get('site_name')); ?></a>. All rights reserved.
</div>
</footer>
</div><!-- ./wrapper -->
<!-- App Scripts -->
<script type="text/javascript" src="../assets/dist/app.min.js"></script>
<?php echo $__env->yieldContent('script'); ?>
<script><?php echo e(Option::get('custom_js')); ?></script>
</body>
</html>

View File

@ -1,139 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo $__env->yieldContent('title'); ?> - <?php echo e(Option::get('site_name')); ?></title>
<link rel="shortcut icon" href="../assets/images/favicon.ico">
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- App Styles -->
<link rel="stylesheet" href="../assets/dist/app.min.css">
<!-- AdminLTE Skins -->
<link rel="stylesheet" href="../assets/libs/skins/<?php echo e(Option::get('color_scheme')); ?>.min.css">
<link rel="stylesheet" href="../assets/dist/css/user.min.css">
<?php echo $__env->yieldContent('style'); ?>
<style><?php echo e(Option::get('custom_css')); ?></style>
</head>
<body class="hold-transition <?php echo e(Option::get('color_scheme')); ?> sidebar-mini">
<div class="wrapper">
<!-- Main Header -->
<header class="main-header">
<!-- Logo -->
<a href="<?php echo e(Option::get('site_url')); ?>" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"> <i class="fa fa-bookmark"></i> </span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><?php echo e(Option::get('site_name')); ?></span>
</a>
<!-- Header Navbar -->
<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>
</a>
<!-- Navbar Right Menu -->
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<!-- User Account Menu -->
<li class="dropdown user user-menu">
<!-- Menu Toggle Button -->
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-user"></i>
<!-- hidden-xs hides the username on small devices so only the image appears. -->
<span class="hidden-xs nickname"><?php echo e(($user->getNickName() == '') ? $_SESSION['email'] : $user->getNickName()); ?></span>
</a>
<ul class="dropdown-menu">
<!-- The user image in the menu -->
<li class="user-header">
<img src="../avatar/128/<?php echo e(base64_encode($_SESSION['email'])); ?>.png" alt="User Image">
<p><?php echo e($_SESSION['email']); ?></p>
</li>
<!-- Menu Footer-->
<li class="user-footer">
<div class="pull-left">
<a href="../user/profile" class="btn btn-default btn-flat">我的资料</a>
</div>
<div class="pull-right">
<a href="javascript:logout();" class="btn btn-default btn-flat">登出</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
</nav>
</header>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel (optional) -->
<div class="user-panel">
<div class="pull-left image">
<img src="../avatar/45/<?php echo base64_encode($_SESSION['email']); ?>.png" alt="User Image">
</div>
<div class="pull-left info">
<p class="nickname"><?php echo e(($user->getNickName() == '') ? $_SESSION['email'] : $user->getNickName()); ?></p>
<i class="fa fa-circle text-success"></i> Online
</div>
</div>
<!-- Sidebar Menu -->
<ul class="sidebar-menu">
<li class="header">用户中心</li>
<?php $menu = require BASE_DIR."/config/menu.php"; ?>
<?php foreach($menu['user'] as $key => $value): ?>
<li class="<?php echo e(($__env->yieldContent('title') == $value['title']) ? 'active' : ''); ?>">
<a href="<?php echo e($value['link']); ?>"><i class="fa <?php echo e($value['icon']); ?>"></i> <span><?php echo e($value['title']); ?></span></a>
</li>
<?php endforeach; ?>
<li class="header">浏览</li>
<li><a href="../skinlib"><i class="fa fa-archive"></i> <span>皮肤库</span></a></li>
<?php if($user->is_admin): ?>
<li class="header">管理</li>
<li><a href="../admin"><i class="fa fa-cog"></i> <span>管理面板</span></a></li>
<?php endif; ?>
</ul><!-- /.sidebar-menu -->
</section>
<!-- /.sidebar -->
</aside>
<?php echo $__env->yieldContent('content'); ?>
<!-- Main Footer -->
<footer class="main-footer">
<?php if(Option::get('show_footer_copyright')): ?>
<!-- To the right -->
<div class="pull-right hidden-xs">
Powered with ❤ by <a href="https://github.com/printempw/blessing-skin-server">Blessing Skin Server</a>.
</div>
<?php endif; ?>
<!-- Default to the left -->
<strong>Copyright &copy; 2016 <a href="<?php echo e(Option::get('site_url')); ?>"><?php echo e(Option::get('site_name')); ?></a>.</strong> All rights reserved.
</footer>
</div><!-- ./wrapper -->
<!-- App Scripts -->
<script type="text/javascript" src="../assets/dist/app.min.js"></script>
<script type="text/javascript" src="../assets/dist/js/user.min.js"></script>
<?php echo $__env->yieldContent('script'); ?>
<script><?php echo e(Option::get('custom_js')); ?></script>
</body>
</html>

View File

@ -1,9 +0,0 @@
<?php $__env->startSection('title', '404 Not Found'); ?>
<?php $__env->startSection('content'); ?>
<h1>404 Not Found</h1>
<p>详细信息:<?php echo e($message); ?></p>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('errors.general', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

View File

@ -1,152 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo $__env->yieldContent('title'); ?> - <?php echo e(Option::get('site_name')); ?></title>
<link rel="shortcut icon" href="../assets/images/favicon.ico">
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- App Styles -->
<link rel="stylesheet" href="../assets/dist/app.min.css">
<!-- AdminLTE Skins -->
<link rel="stylesheet" href="../assets/libs/skins/<?php echo e(Option::get('color_scheme')); ?>.min.css">
<link rel="stylesheet" href="../assets/dist/css/skinlib.min.css">
<?php echo $__env->yieldContent('style'); ?>
<style><?php echo e(Option::get('custom_css')); ?></style>
</head>
<body class="hold-transition <?php echo e(Option::get('color_scheme')); ?> layout-top-nav">
<div class="wrapper">
<header class="main-header">
<nav class="navbar navbar-static-top">
<div class="container">
<div class="navbar-header">
<a href="<?php echo e(Option::get('site_url')); ?>" class="navbar-brand"><?php echo e(Option::get('site_name')); ?></a>
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
<i class="fa fa-bars"></i>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse pull-left" id="navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="../skinlib">皮肤库</a></li>
<li><a href="../user/closet">我的衣柜</a></li>
<?php if ( ! (isset($with_out_filter))): ?>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-filter" aria-hidden="true"></i> 过滤器 <span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li><a href='?<?php echo e(isset($_GET["q"]) ? "q=$q&" : ""); ?>filter=skin&sort=<?php echo e($sort); ?>'>皮肤<small>(任意模型)</small></a></li>
<li><a href='?<?php echo e(isset($_GET["q"]) ? "q=$q&" : ""); ?>filter=steve&sort=<?php echo e($sort); ?>'>皮肤<small>Steve 模型)</small></a></li>
<li><a href='?<?php echo e(isset($_GET["q"]) ? "q=$q&" : ""); ?>filter=alex&sort=<?php echo e($sort); ?>'>皮肤<small>Alex 模型)</small></a></li>
<li class="divider"></li>
<li><a href='?<?php echo e(isset($_GET["q"]) ? "q=$q&" : ""); ?>filter=cape&sort=<?php echo e($sort); ?>'>披风</a></li>
<?php if(!is_null($user)): ?>
<li class="divider"></li>
<li><a href="?filter=user&uid=<?php echo e($user->uid); ?>&sort=<?php echo e($sort); ?>">我的上传</a></li>
<?php endif; ?>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-sort-amount-desc" aria-hidden="true"></i> 排序 <span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li><a href='?<?php echo e(isset($_GET["q"]) ? "q=$q&" : ""); ?>filter=<?php echo e($filter); ?><?php echo e(isset($_GET['uid']) ? "&uid={$_GET['uid']}" : ""); ?>&sort=likes'>最多收藏</a></li>
<li class="divider"></li>
<li><a href='?<?php echo e(isset($_GET["q"]) ? "q=$q&" : ""); ?>filter=<?php echo e($filter); ?><?php echo e(isset($_GET['uid']) ? "&uid={$_GET['uid']}" : ""); ?>&sort=time'>最新上传</a></li>
</ul>
</li>
<?php endif; ?>
</ul>
<form class="navbar-form navbar-left" role="search" action="../skinlib/search">
<div class="form-group">
<input type="text" class="form-control" id="navbar-search-input" name="q" placeholder="搜索材质" value="<?php echo e(isset($q) ? $q : ''); ?>" />
</div>
</form>
</div><!-- /.navbar-collapse -->
<!-- Navbar Right Menu -->
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<?php if ( ! (isset($with_out_filter))): ?>
<li><a href="./skinlib/upload"><i class="fa fa-upload" aria-hidden="true"></i> 上传新皮肤</a></li>
<?php endif; ?>
<?php if(!is_null($user)): ?>
<!-- User Account Menu -->
<li class="dropdown user user-menu">
<!-- Menu Toggle Button -->
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<!-- The user image in the navbar-->
<img src="../avatar/25/<?php echo e(base64_encode($_SESSION['email'])); ?>.png" class="user-image" alt="User Image">
<!-- hidden-xs hides the username on small devices so only the image appears. -->
<span class="hidden-xs nickname"><?php echo e(($user->getNickName() == '') ? $_SESSION['email'] : $user->getNickName()); ?></span>
</a>
<ul class="dropdown-menu">
<!-- The user image in the menu -->
<li class="user-header">
<img src="../avatar/128/<?php echo e(base64_encode($_SESSION['email'])); ?>.png" alt="User Image">
<p><?php echo e($_SESSION['email']); ?></p>
</li>
<!-- Menu Footer-->
<li class="user-footer">
<div class="pull-left">
<a href="../user" class="btn btn-default btn-flat">用户中心</a>
</div>
<div class="pull-right">
<a href="javascript:logout();" class="btn btn-default btn-flat">登出</a>
</div>
</li>
</ul>
</li>
<?php else: ?> <?php /* Anonymous User */ ?>
<!-- User Account Menu -->
<li class="dropdown user user-menu">
<!-- Menu Toggle Button -->
<a href="../auth/login">
<i class="fa fa-user"></i>
<!-- hidden-xs hides the username on small devices so only the image appears. -->
<span class="hidden-xs nickname">未登录</span>
</a>
</li>
<?php endif; ?>
</ul>
</div><!-- /.navbar-custom-menu -->
</div><!-- /.container-fluid -->
</nav>
</header>
<?php echo $__env->yieldContent('content'); ?>
<!-- Main Footer -->
<footer class="main-footer">
<div class="container">
<?php if(Option::get('show_footer_copyright')): ?>
<!-- To the right -->
<div class="pull-right hidden-xs">
Powered with ❤ by <a href="https://github.com/printempw/blessing-skin-server">Blessing Skin Server</a>.
</div>
<?php endif; ?>
<!-- Default to the left -->
<strong>Copyright &copy; 2016 <a href="<?php echo e(Option::get('site_url')); ?>"><?php echo e(Option::get('site_name')); ?></a>.</strong> All rights reserved.
</div>
</footer>
</div><!-- ./wrapper -->
<!-- App Scripts -->
<script type="text/javascript" src="../assets/dist/app.min.js"></script>
<script type="text/javascript" src="../assets/dist/js/skinlib.min.js"></script>
<?php echo $__env->yieldContent('script'); ?>
<script><?php echo e(Option::get('custom_js')); ?></script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,134 +0,0 @@
<?php $__env->startSection('title', '个人资料'); ?>
<?php $__env->startSection('content'); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
个人资料
<small>User Profile</small>
</h1>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-6">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">更改密码</h3>
</div><!-- /.box-header -->
<div class="box-body">
<div class="form-group">
<label for="password">旧的密码</label>
<input type="password" class="form-control" id="password" value="">
</div>
<div class="form-group">
<label for="new-passwd">新密码</label>
<input type="password" class="form-control" id="new-passwd" value="">
</div>
<div class="form-group">
<label for="confirm-pwd">确认密码</label>
<input type="password" class="form-control" id="confirm-pwd" value="">
</div>
</div><!-- /.box-body -->
<div class="box-footer">
<button onclick="changePassword()" class="btn btn-primary">修改密码</button>
</div>
</div><!-- /.box -->
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">更改头像?</h3>
</div><!-- /.box-header -->
<div class="box-body">
<p>请在衣柜中任意皮肤的右下角「更多」处选择「设为头像」,会自动截取该皮肤的头部作为头像哦~</p>
</div><!-- /.box-body -->
</div>
</div>
<div class="col-md-6">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">更改昵称</h3>
</div><!-- /.box-header -->
<div class="box-body">
<div class="form-group has-feedback">
<input id="new-nickname" type="text" class="form-control" placeholder="<?php echo e(($user->getNickName() == '') ? '当前未设置昵称,' : ''); ?>可使用除一些特殊符号外的任意字符">
<span class="glyphicon glyphicon-user form-control-feedback"></span>
</div>
</div><!-- /.box-body -->
<div class="box-footer">
<button onclick="changeNickName()" class="btn btn-primary">提交</button>
</div>
</div>
<div class="box box-warning">
<div class="box-header with-border">
<h3 class="box-title">更改邮箱</h3>
</div><!-- /.box-header -->
<div class="box-body">
<div class="form-group has-feedback">
<input id="new-email" type="email" class="form-control" placeholder="新邮箱">
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
</div>
<div class="form-group has-feedback" style="display: none;">
<input id="current-password" type="password" class="form-control" placeholder="当前密码">
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
</div><!-- /.box-body -->
<div class="box-footer">
<button onclick="changeEmail()" class="btn btn-warning">修改邮箱</button>
</div>
</div>
<div class="box box-danger">
<div class="box-header with-border">
<h3 class="box-title">删除账号</h3>
</div><!-- /.box-header -->
<div class="box-body">
<?php if(!$user->is_admin): ?>
<p>确定要删除你在 <?php echo e(Option::get('site_name')); ?> 上的账号吗?</p>
<button id="delete" class="btn btn-danger" data-toggle="modal" data-target="#modal-delete-account">删除我的账户</button>
<?php else: ?>
<p>管理员账号不能被删除哟</p>
<button class="btn btn-danger" disabled="disabled">删除我的账户</button>
<?php endif; ?>
</div><!-- /.box-body -->
</div>
</div>
</div>
</section><!-- /.content -->
</div><!-- /.content-wrapper -->
<div id="modal-delete-account" class="modal modal-danger fade" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title">这是危险操作,输入密码以继续</h4>
</div>
<div class="modal-body">
<p>此操作不可恢复!</p>
<p>你所上传至皮肤库的材质仍会被保留,但你的角色将被永久删除。</p>
<p>我们不提供任何备份,或者神奇的撤销按钮。</p>
<p>我们警告过你了,确定要这样做吗?</p>
<br />
<input type="password" class="form-control" id="password" placeholder="当前密码">
<br />
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline" data-dismiss="modal">关闭</button>
<a href="javascript:deleteAccount();" class="btn btn-outline">提交</a>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('user.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

View File

@ -1,64 +0,0 @@
<?php $__env->startSection('title', '登录'); ?>
<?php $__env->startSection('content'); ?>
<div class="login-box">
<div class="login-logo">
<a href="../"><?php echo e(Option::get('site_name')); ?></a>
</div>
<!-- /.login-logo -->
<div class="login-box-body">
<p class="login-box-msg">登录以管理您的角色及皮肤</p>
<form id="login-form">
<div class="form-group has-feedback">
<input id="email" type="email" class="form-control" placeholder="邮箱">
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input id="password"type="password" class="form-control" placeholder="密码">
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
<div class="row" id="captcha-form" style="<?php echo e((\Utils::getValue('login_fails', $_SESSION) > 3) ? '' : 'display: none;'); ?>">
<div class="col-xs-8">
<div class="form-group has-feedback">
<input id="captcha" type="text" class="form-control" placeholder="输入验证码">
</div>
</div>
<!-- /.col -->
<div class="col-xs-4">
<img class="pull-right captcha" src="./captcha" alt="CAPTCHA" title="点击以更换图片" data-placement="top" data-toggle="tooltip">
</div>
<!-- /.col -->
</div>
<div id="msg" class="alert hide"></div>
<div class="row">
<div class="col-xs-8">
<div class="checkbox icheck">
<label for="keep">
<input id="keep" type="checkbox"> 保持登录状态
</label>
</div>
</div>
<!-- /.col -->
<div class="col-xs-4">
<button id="login-button" class="btn btn-primary btn-block btn-flat">登录</button>
</div>
<!-- /.col -->
</div>
</form>
<a href="./forgot">忘记密码了?</a><br>
<a href="./register" class="text-center">注册新账号</a>
</div>
<!-- /.login-box-body -->
</div>
<!-- /.login-box -->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('auth.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

View File

@ -1,37 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo $__env->yieldContent('title'); ?> - <?php echo e(Option::get('site_name')); ?></title>
<link rel="shortcut icon" href="../assets/images/favicon.ico">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- App Styles -->
<link rel="stylesheet" href="../assets/dist/app.min.css">
<link rel="stylesheet" href="../assets/libs/skins/<?php echo e(Option::get('color_scheme')); ?>.min.css">
<link rel="stylesheet" href="../assets/css/style.css">
<link rel="stylesheet" href="../assets/css/auth.css">
<style><?php echo e(Option::get('custom_css')); ?></style>
</head>
<body class="hold-transition login-page">
<?php echo $__env->yieldContent('content'); ?>
<!-- App Scripts -->
<script type="text/javascript" src="../assets/dist/app.min.js"></script>
<script type="text/javascript" src="../assets/js/utils.js"></script>
<script type="text/javascript" src="../assets/js/auth.js"></script>
<?php if(isset($_SESSION['msg'])): ?>
<script>
toastr.info('<?php echo e($_SESSION['msg']); ?>'); <?php unset($_SESSION['msg']) ?>
</script>
<?php endif; ?>
<script><?php echo e(Option::get('custom_js')); ?></script>
</body>
</html>

View File

@ -1,65 +0,0 @@
<?php $__env->startSection('title', '注册'); ?>
<?php $__env->startSection('content'); ?>
<div class="register-box">
<div class="register-logo">
<a href="../"><?php echo e(Option::get('site_name')); ?></a>
</div>
<div class="register-box-body">
<p class="login-box-msg">欢迎使用 <?php echo e(Option::get('site_name')); ?></p>
<form id="register-form">
<div class="form-group has-feedback">
<input id="email" type="email" class="form-control" placeholder="邮箱">
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input id="password" type="password" class="form-control" placeholder="密码">
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input id="confirm-pwd" type="password" class="form-control" placeholder="重复一遍密码">
<span class="glyphicon glyphicon-log-in form-control-feedback"></span>
</div>
<div class="form-group has-feedback" title="昵称可使用汉字,随时可以修改" data-placement="top" data-toggle="tooltip">
<input id="nickname" type="text" class="form-control" placeholder="昵称">
<span class="glyphicon glyphicon-pencil form-control-feedback"></span>
</div>
<div class="row">
<div class="col-xs-8">
<div class="form-group has-feedback">
<input id="captcha" type="text" class="form-control" placeholder="输入验证码">
</div>
</div>
<!-- /.col -->
<div class="col-xs-4">
<img class="pull-right captcha" src="./captcha" alt="CAPTCHA" title="点击以更换图片" data-placement="top" data-toggle="tooltip">
</div>
<!-- /.col -->
</div>
<div id="msg" class="alert hide"></div>
<div class="row">
<div class="col-xs-8">
<a href="./login" class="text-center">已经有账号了?登录</a>
</div>
<!-- /.col -->
<div class="col-xs-4">
<button id="register-button" class="btn btn-primary btn-block btn-flat">注册</button>
</div>
<!-- /.col -->
</div>
</form>
</div>
<!-- /.form-box -->
</div>
<!-- /.register-box -->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('auth.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>