2015-07-04 19:53:15 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<!-- META -->
|
|
|
|
<meta charset="{{ sakura.charset }}" />
|
2015-10-11 23:37:54 +00:00
|
|
|
<title>{% block title %}{{ sakura.siteName }}{% endblock %}</title>
|
|
|
|
<meta name="description" content="{{ sakura.siteDesc }}" />
|
|
|
|
<meta name="keywords" content="{{ sakura.siteTags }}" />
|
2015-07-04 19:53:15 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
2015-10-11 23:37:54 +00:00
|
|
|
<meta name="msapplication-TileColor" content="#9475b2" />
|
2015-08-23 22:08:36 +00:00
|
|
|
<meta name="msapplication-TileImage" content="/content/images/icons/ms-icon-144x144.png" />
|
|
|
|
<meta name="theme-color" content="#9475B2" />
|
2015-10-11 23:37:54 +00:00
|
|
|
{% if page.redirect %}
|
|
|
|
<meta http-equiv="refresh" content="{{ page.redirectTimeout ? page.redirectTimeout : '3' }}; URL={{ page.redirect }}" />
|
|
|
|
{% endif %}
|
2015-08-23 22:08:36 +00:00
|
|
|
<link rel="apple-touch-icon" sizes="57x57" href="/content/images/icons/apple-icon-57x57.png" />
|
|
|
|
<link rel="apple-touch-icon" sizes="60x60" href="/content/images/icons/apple-icon-60x60.png" />
|
|
|
|
<link rel="apple-touch-icon" sizes="72x72" href="/content/images/icons/apple-icon-72x72.png" />
|
|
|
|
<link rel="apple-touch-icon" sizes="76x76" href="/content/images/icons/apple-icon-76x76.png" />
|
|
|
|
<link rel="apple-touch-icon" sizes="114x114" href="/content/images/icons/apple-icon-114x114.png" />
|
|
|
|
<link rel="apple-touch-icon" sizes="120x120" href="/content/images/icons/apple-icon-120x120.png" />
|
|
|
|
<link rel="apple-touch-icon" sizes="144x144" href="/content/images/icons/apple-icon-144x144.png" />
|
|
|
|
<link rel="apple-touch-icon" sizes="152x152" href="/content/images/icons/apple-icon-152x152.png" />
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/content/images/icons/apple-icon-180x180.png" />
|
|
|
|
<link rel="icon" type="image/png" sizes="192x192" href="/content/images/icons/android-icon-192x192.png" />
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/content/images/icons/favicon-32x32.png" />
|
|
|
|
<link rel="icon" type="image/png" sizes="96x96" href="/content/images/icons/favicon-96x96.png" />
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/content/images/icons/favicon-16x16.png" />
|
|
|
|
<link rel="manifest" href="/manifest.json" />
|
2015-10-11 23:37:54 +00:00
|
|
|
{{ block('meta') }}
|
2015-07-04 19:53:15 +00:00
|
|
|
<!-- CSS -->
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ sakura.resources }}/css/misaki.css" />
|
2015-10-11 23:37:54 +00:00
|
|
|
{{ block('css') }}
|
2015-07-04 19:53:15 +00:00
|
|
|
<!-- JS -->
|
|
|
|
<script type="text/javascript" src="{{ sakura.resources }}/js/misaki.js"></script>
|
2015-08-23 22:08:36 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
// Create an object so we can access certain settings from remote JavaScript files
|
|
|
|
var sakuraVars = {
|
|
|
|
|
|
|
|
"cookie": {
|
|
|
|
|
|
|
|
"prefix": "{{ sakura.cookie.prefix }}",
|
|
|
|
"domain": "{{ sakura.cookie.domain }}",
|
|
|
|
"path": "{{ sakura.cookie.path }}"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
2015-10-11 23:37:54 +00:00
|
|
|
"siteName": "{{ sakura.siteName }}",
|
2015-08-23 22:08:36 +00:00
|
|
|
"urlMain": "{{ sakura.urlMain }}",
|
|
|
|
"content": "{{ sakura.contentPath }}",
|
|
|
|
"resources": "{{ sakura.resources }}",
|
|
|
|
"recaptchaEnabled": "{{ sakura.recaptchaEnabled }}",
|
|
|
|
|
|
|
|
"minUserLen": {{ sakura.minUsernameLength }},
|
|
|
|
"maxUserLen": {{ sakura.maxUsernameLength }},
|
|
|
|
"minPwdEntropy": {{ sakura.minPwdEntropy }},
|
|
|
|
"checkLogin": {% if session.checkLogin %}true{% else %}false{% endif %}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
// Space for things that need to happen onload
|
|
|
|
window.addEventListener("load", function() {
|
|
|
|
|
2015-10-11 23:37:54 +00:00
|
|
|
{% if php.self == '/profile.php' ? (profile.data.user_data.profileBackground and not profile.data.user_data.userOptions.disableProfileParallax) : (user.checkPermission('SITE', 'CREATE_BACKGROUND') and user.data.user_data.userOptions.profileBackgroundSiteWide and user.data.user_data.profileBackground and not user.data.user_data.userOptions.disableProfileParallax) %}
|
2015-08-23 22:08:36 +00:00
|
|
|
initialiseParallax('userBackground');
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
2015-10-11 23:37:54 +00:00
|
|
|
{{ block('js') }}
|
2015-07-04 19:53:15 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="container">
|
|
|
|
<span id="top"></span>
|
|
|
|
<div class="header-fade"></div>
|
|
|
|
<div id="notifications"></div>
|
|
|
|
<div id="header">
|
2015-10-11 23:37:54 +00:00
|
|
|
<a href="/" title="{{ sakura.siteName }}">
|
|
|
|
<div class="logo"{% if sakura.siteLogo %} style="background-image: url('{{ sakura.siteLogo }}');"{% endif %}></div>
|
2015-08-28 20:32:31 +00:00
|
|
|
</a>
|
|
|
|
<div class="social">
|
|
|
|
<ul>
|
|
|
|
<li><a target="_blank" title="Flashii on Twitter" class="fa fa-twitter" href="https://twitter.com/_flashii"></a></li>
|
|
|
|
<li><a target="_blank" title="Flashii on YouTube" class="fa fa-youtube-play" href="https://youtube.com/user/flashiinet"></a></li>
|
|
|
|
<li><a target="_blank" title="Flashii on Steam" class="fa fa-steam" href="https://steamcommunity.com/groups/flashiinet"></a></li>
|
|
|
|
<li><a target="_blank" title="Circlestorm on BitBucket" class="fa fa-bitbucket" href="https://bitbucket.org/circlestorm"></a></li>
|
|
|
|
<li><a target="_blank" title="Flashii on osu!" class="fa fa-dot-circle-o" href="https://osu.ppy.sh/#"></a></li>
|
|
|
|
<li><a title="Subscribe to the news page feed" class="fa fa-rss" href="/news.xml"></a></li>
|
|
|
|
</ul>
|
|
|
|
<div class="clear"></div>
|
2015-07-04 19:53:15 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="wrapper">
|
2015-10-11 23:37:54 +00:00
|
|
|
{% if php.self == '/profile.php' ? profile.data.user_data.profileBackground : (user.checkPermission('SITE', 'CREATE_BACKGROUND') and user.data.user_data.userOptions.profileBackgroundSiteWide and user.data.user_data.profileBackground) %}
|
|
|
|
<div id="userBackground" style="background-image: url('{{ urls.format('IMAGE_BACKGROUND', [(php.self == '/profile.php' ? profile : user).data.user_id]) }}');"></div>
|
2015-07-04 19:53:15 +00:00
|
|
|
{% endif %}
|
|
|
|
<div id="content">
|
|
|
|
<div id="navigation">
|
|
|
|
<ul class="nav-left floatLeft">
|
2015-10-11 23:37:54 +00:00
|
|
|
<li><a href="{{ urls.format('SITE_HOME') }}">Home</a></li>
|
|
|
|
<li><a href="{{ urls.format('SITE_NEWS') }}">News</a></li>
|
2015-08-23 22:08:36 +00:00
|
|
|
<li><a href="//chat.{{ sakura.urlMain }}/">Chat</a></li>
|
2015-10-11 23:37:54 +00:00
|
|
|
<li><a href="{{ urls.format('FORUM_INDEX') }}">Forum</a></li>
|
|
|
|
<li><a href="{{ urls.format('MEMBERLIST_INDEX') }}">Members</a></li>
|
|
|
|
<li><a href="{{ urls.format('SITE_SEARCH') }}">Search</a></li>
|
|
|
|
<li><a href="{{ urls.format('SITE_PREMIUM') }}">Support us</a></li>
|
2015-07-04 19:53:15 +00:00
|
|
|
</ul>
|
|
|
|
<ul class="nav-right floatRight">
|
|
|
|
<li class="nav-usermenu">
|
2015-08-23 22:08:36 +00:00
|
|
|
<a href="#"{% if session.checkLogin %} style="color: {{ user.colour }};"{% endif %}>{% if session.checkLogin %}{{ user.data.username }}{% else %}Guest{% endif %}</a>
|
2015-07-04 19:53:15 +00:00
|
|
|
<ul>
|
2015-08-23 22:08:36 +00:00
|
|
|
{% if session.checkLogin %}
|
2015-10-11 23:37:54 +00:00
|
|
|
<li><a href="{{ urls.format('USER_PROFILE', [user.data.user_id]) }}">My Profile</a></li>
|
|
|
|
<li><a href="{{ urls.format('SETTING_CAT', ['messages']) }}">Private Messages</a></li>
|
|
|
|
<li><a href="{{ urls.format('SETTINGS_INDEX') }}">User Settings</a></li>
|
|
|
|
<li><a href="{{ urls.format('MANAGE_INDEX') }}">Site Management</a></li>
|
|
|
|
<li><a href="{{ urls.format('USER_LOGOUT', [php.time, php.sessionid, sakura.currentPage]) }}">Logout</a></li>
|
2015-07-04 19:53:15 +00:00
|
|
|
{% else %}
|
2015-10-11 23:37:54 +00:00
|
|
|
<li><a href="{{ urls.format('SITE_LOGIN') }}">Login or Register</a></li>
|
2015-07-04 19:53:15 +00:00
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
2015-10-11 23:37:54 +00:00
|
|
|
<li><a href="{{ urls.format('USER_PROFILE', [user.data.user_id]) }}" class="ignore"><img src="{{ sakura.contentPath }}/pixel.png" alt="{{ user.data.username }}" style="background-image: url('{{ urls.format('IMAGE_AVATAR', [user.data.user_id]) }}');" class="nav-avatar" /></a></li>
|
2015-07-04 19:53:15 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2015-10-11 23:37:54 +00:00
|
|
|
{% block content %}
|
|
|
|
<h1>{{ php.self }} is now printing!</h1>
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="footer">
|
|
|
|
<div class="inner">
|
|
|
|
<div class="ft-logo"></div>
|
|
|
|
<div class="ft-text">
|
|
|
|
<div>Copyright © 2013-2015 <a href="http://flash.moe/" target="_blank">Flashwave</a>, <a href="http://circlestorm.net/" target="_blank">et al</a>.</div>
|
|
|
|
<div><a href="{{ urls.format('INFO_PAGE', ['terms']) }}">Terms of Service</a> | <a href="{{ urls.format('INFO_PAGE', ['contact']) }}">Contact</a> | <a href="{{ urls.format('SITE_FAQ') }}">FAQ</a> | <a href="{{ urls.format('INFO_PAGE', ['rules']) }}">Rules</a> | <a href="{{ urls.format('CHANGELOG') }}">Changelog</a> | <a href="https://fiistat.us/">Status</a></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|