You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
3.2 KiB
64 lines
3.2 KiB
9 months ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
{include file="common/meta" /}
|
||
|
<link href="__CDN__/assets/css/user.css?v={$Think.config.site.version|htmlentities}" rel="stylesheet">
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<nav class="navbar navbar-white navbar-fixed-top" role="navigation">
|
||
|
<div class="container">
|
||
|
<div class="navbar-header">
|
||
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#header-navbar">
|
||
|
<span class="sr-only">Toggle navigation</span>
|
||
|
<span class="icon-bar"></span>
|
||
|
<span class="icon-bar"></span>
|
||
|
<span class="icon-bar"></span>
|
||
|
</button>
|
||
|
<a class="navbar-brand" href="{:url('/')}">{$site.name|htmlentities}</a>
|
||
|
</div>
|
||
|
<div class="collapse navbar-collapse" id="header-navbar">
|
||
|
<ul class="nav navbar-nav navbar-right">
|
||
|
<li><a href="{:url('/')}">{:__('Home')}</a></li>
|
||
|
<li class="dropdown">
|
||
|
{if $user}
|
||
|
<a href="{:url('user/index')}" class="dropdown-toggle" data-toggle="dropdown">
|
||
|
<span class="avatar-img"><img src="{$user.avatar|htmlentities|cdnurl}" alt=""></span>
|
||
|
<span class="visible-xs-inline-block" style="padding:5px;">{$user.nickname} <b class="caret"></b></span>
|
||
|
</a>
|
||
|
{else /}
|
||
|
<a href="{:url('user/index')}" class="dropdown-toggle" data-toggle="dropdown">{:__('Member center')} <b class="caret"></b></a>
|
||
|
{/if}
|
||
|
<ul class="dropdown-menu">
|
||
|
{if $user}
|
||
|
<li><a href="{:url('user/index')}"><i class="fa fa-user-circle fa-fw"></i>{:__('User center')}</a></li>
|
||
|
<li><a href="{:url('user/profile')}"><i class="fa fa-user-o fa-fw"></i>{:__('Profile')}</a></li>
|
||
|
<li><a href="{:url('user/changepwd')}"><i class="fa fa-key fa-fw"></i>{:__('Change password')}</a></li>
|
||
|
<li><a href="{:url('user/logout')}"><i class="fa fa-sign-out fa-fw"></i>{:__('Sign out')}</a></li>
|
||
|
{else /}
|
||
|
<li><a href="{:url('user/login')}"><i class="fa fa-sign-in fa-fw"></i> {:__('Sign in')}</a></li>
|
||
|
<li><a href="{:url('user/register')}"><i class="fa fa-user-o fa-fw"></i> {:__('Sign up')}</a></li>
|
||
|
{/if}
|
||
|
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</nav>
|
||
|
|
||
|
<main class="content">
|
||
|
{__CONTENT__}
|
||
|
</main>
|
||
|
|
||
|
<footer class="footer" style="clear:both">
|
||
|
<p class="copyright">Copyright © {:date("Y")} {$site.name|htmlentities} All Rights Reserved <a href="https://beian.miit.gov.cn" target="_blank">{$site.beian|htmlentities}</a></p>
|
||
|
</footer>
|
||
|
|
||
|
{include file="common/script" /}
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|