r20151018.2

Signed-off-by: Flashwave <me@flash.moe>
This commit is contained in:
Pachira 2015-10-18 21:06:30 +02:00
parent b5043980d9
commit 32b7622791
43 changed files with 311 additions and 263 deletions

View file

@ -5,6 +5,10 @@
namespace Sakura;
/**
* Class Bans
* @package Sakura
*/
class Bans
{
// Check if a user is banned

View file

@ -5,6 +5,10 @@
namespace Sakura;
/**
* Class Comments
* @package Sakura
*/
class Comments
{
public $comments = []; // Array containing comments

View file

@ -5,6 +5,10 @@
namespace Sakura;
/**
* Class Configuration
* @package Sakura
*/
class Configuration
{
// Configuration data
@ -49,7 +53,7 @@ class Configuration
$_DATA = Database::fetch('config', true);
// Create variable to temporarily store values in
$_DBCN = array();
$_DBCN = [];
// Properly sort the values
foreach ($_DATA as $_CONF) {
@ -92,7 +96,7 @@ class Configuration
if ($subkey) {
// If we do we make sure that the parent key is an array
if (!isset(self::$local[$key])) {
self::$local[$key] = array();
self::$local[$key] = [];
}
// And then assign the value

View file

@ -5,6 +5,10 @@
namespace Sakura;
/**
* Class Database
* @package Sakura
*/
class Database
{
// Database container

View file

@ -5,6 +5,10 @@
namespace Sakura;
/**
* Class Forum
* @package Sakura
*/
class Forum
{
// Empty forum template

View file

@ -31,6 +31,10 @@
namespace Sakura;
/**
* Class Hashing
* @package Sakura
*/
class Hashing
{
// These variables can be changed without break the existing hashes
@ -61,12 +65,12 @@ class Hashing
)
);
$passwordData = array(
$passwordData = [
self::$hashAlgorithm,
self::$iterations,
$salt,
$hash,
);
];
return $passwordData;

View file

@ -8,6 +8,10 @@ namespace Sakura;
use Parsedown;
use PHPMailer;
/**
* Class Main
* @package Sakura
*/
class Main
{
// Constructor
@ -210,11 +214,11 @@ class Main
h2 { margin: 0 -10px; }
.container { border: 1px solid #CAA; margin: 10px auto; background: #FFF;
box-shadow: 2px 2px 1em #888; max-width: 1024px; border-radius: 10px; }
.container .inner { padding: 0px 10px; }
.container .inner { padding: 0 10px; }
.container .inner .error { background: #555; color: #EEE; border-left: 5px solid #C22;
padding: 4px 6px; text-shadow: 0px 1px 1px #888; white-space: pre-wrap;
padding: 4px 6px; text-shadow: 0 1px 1px #888; white-space: pre-wrap;
word-wrap: break-word; margin: 12px 0; border-radius: 5px; box-shadow: inset 0 0 1em #333; }
.container .footer { border-top: 1px solid #CAA; font-size: x-small; padding: 0px 5px 1px; }
.container .footer { border-top: 1px solid #CAA; font-size: x-small; padding: 0 5px 1px; }
a { color: #77E; text-decoration: none; }
a:hover { text-decoration: underline; }
a:active { color: #E77; }
@ -283,7 +287,7 @@ class Main
$mail = new PHPMailer();
// Set to SMTP
$mail->IsSMTP();
$mail->isSMTP();
// Set the SMTP server host
$mail->Host = Configuration::getConfig('smtp_server');
@ -304,14 +308,14 @@ class Main
}
// Add a reply-to header
$mail->AddReplyTo(Configuration::getConfig('smtp_replyto_mail'), Configuration::getConfig('smtp_replyto_name'));
$mail->addReplyTo(Configuration::getConfig('smtp_replyto_mail'), Configuration::getConfig('smtp_replyto_name'));
// Set a from address as well
$mail->SetFrom(Configuration::getConfig('smtp_from_email'), Configuration::getConfig('smtp_from_name'));
$mail->setFrom(Configuration::getConfig('smtp_from_email'), Configuration::getConfig('smtp_from_name'));
// Set the addressee
foreach ($to as $email => $name) {
$mail->AddBCC($email, $name);
$mail->addBCC($email, $name);
}
// Subject line
@ -335,10 +339,10 @@ class Main
$mail->AltBody = $body;
// Send the message
$send = $mail->Send();
$send = $mail->send();
// Clear the addressee list
$mail->ClearAddresses();
$mail->clearAddresses();
// If we got an error return the error
if (!$send) {
@ -695,7 +699,7 @@ class Main
$logsDB = Database::fetch('logs', true, $conditions, ['id', true]);
// Storage array
$logs = array();
$logs = [];
// Iterate over entries
foreach ($logsDB as $log) {

View file

@ -5,6 +5,10 @@
namespace Sakura;
/**
* Class Manage
* @package Sakura
*/
class Manage
{

View file

@ -5,6 +5,10 @@
namespace Sakura;
/**
* Class News
* @package Sakura
*/
class News
{
private $posts = []; // Posts array

View file

@ -15,6 +15,10 @@ use \PayPal\Api\PaymentExecution;
use \PayPal\Api\RedirectUrls;
use \PayPal\Api\Transaction;
/**
* Class Payments
* @package Sakura
*/
class Payments
{
// Container for PayPal API
@ -32,7 +36,7 @@ class Payments
Configuration::getConfig('paypal_secret')
)
);
} catch (Exception $e) {
} catch (\Exception $e) {
return false;
}
@ -107,7 +111,7 @@ class Payments
// Try to create payment
try {
$payment->create(self::$paypal);
} catch (Exception $ex) {
} catch (\Exception $ex) {
return false;
}
@ -132,7 +136,7 @@ class Payments
// Attempt to charge the fucker
try {
$payment->execute($execute, self::$paypal);
} catch (Exception $ex) {
} catch (\Exception $ex) {
return false;
}

View file

@ -5,6 +5,10 @@
namespace Sakura;
/**
* Class Permissions
* @package Sakura
*/
class Permissions
{
// Fallback permission data

View file

@ -5,6 +5,10 @@
namespace Sakura;
/**
* Class Rank
* @package Sakura
*/
class Rank
{
// Rank data

View file

@ -5,6 +5,10 @@
namespace Sakura;
/**
* Class Session
* @package Sakura
*/
class Session
{
// Current user data
@ -91,8 +95,11 @@ class Session
return 0;
}
// IP Check
$ipCheck = Configuration::getConfig('session_check');
// Origin checking
if ($ipCheck = Configuration::getConfig('session_check')) {
if ($ipCheck) {
// Split both IPs up
$sessionIP = explode('.', $session['user_ip']);
$userIP = explode('.', Main::getRemoteIP());

View file

@ -9,6 +9,10 @@ use Twig_Environment;
use Twig_Extension_StringLoader;
use Twig_Loader_Filesystem;
/**
* Class Templates
* @package Sakura
*/
class Templates
{
// Engine container, template folder name and options

View file

@ -5,6 +5,10 @@
namespace Sakura;
/**
* Class Upload
* @package Sakura
*/
class Upload
{

View file

@ -5,6 +5,10 @@
namespace Sakura;
/**
* Class Urls
* @package Sakura
*/
class Urls
{
// Unformatted links [0] = no mod_rewrite, [1] = mod_rewrite

View file

@ -5,6 +5,10 @@
namespace Sakura;
/**
* Class User
* @package Sakura
*/
class User
{
// User data
@ -296,7 +300,7 @@ class User
}
// Assign field to output with value
$profile[$fieldName] = array();
$profile[$fieldName] = [];
$profile[$fieldName]['name'] = $field['field_name'];
$profile[$fieldName]['value'] = $this->data['user_data']['profileFields'][$fieldName];
$profile[$fieldName]['islink'] = $field['field_link'];

View file

@ -5,6 +5,10 @@
namespace Sakura;
/**
* Class Users
* @package Sakura
*/
class Users
{
@ -202,14 +206,12 @@ class Users
{
// Check if user is logged in
if (!self::checkLogin()) {
if (!$check = self::checkLogin()) {
return false;
}
// Remove the active session from the database
if (!(new Session)->destroy()) {
return false;
}
// Destroy the active session
(new Session($check[0], $check[1]))->destroy();
// Unset User ID
setcookie(
@ -922,7 +924,7 @@ class Users
}
// Assign field to output with value
$profile[$fieldName] = array();
$profile[$fieldName] = [];
$profile[$fieldName]['name'] = $field['name'];
$profile[$fieldName]['value'] = $profileData[$fieldName];
$profile[$fieldName]['islink'] = $field['islink'];
@ -1161,7 +1163,7 @@ class Users
}
// Make output array
$rank = array();
$rank = [];
// Go over all users and check if they have the rank id
foreach ($users as $user) {
@ -1246,7 +1248,7 @@ class Users
{
// Prepare conditions
$conditions = array();
$conditions = [];
$conditions['user_id'] = [($uid ? $uid : self::checkLogin()[0]), '='];
if ($timediff) {
@ -1327,7 +1329,7 @@ class Users
]);
// Prepare a storage array
$store = array();
$store = [];
// Go over each message and check if they are for the current user
foreach ($messages as $message) {

View file

@ -29,6 +29,10 @@
namespace Sakura;
/**
* Class Whois
* @package Sakura
*/
class Whois
{
// Variables
@ -161,7 +165,7 @@ class Whois
$servers = self::$servers['ip'];
// Set variable to keep results in
$results = array();
$results = [];
// Query servers
foreach ($servers as $server) {

View file

@ -9,6 +9,10 @@ use PDO;
use PDOException;
use \Sakura\Configuration;
/**
* Class MySQL
* @package Sakura\DBWrapper
*/
class MySQL
{
// Variable that will contain the SQL connection

View file

@ -54,7 +54,7 @@ foreach (glob(ROOT . '_sakura/components/database/*.php') as $driver) {
}
// Set Error handler
set_error_handler(array('Sakura\Main', 'errorHandler'));
set_error_handler(['Sakura\Main', 'errorHandler']);
// Initialise Main Class
Main::init(ROOT . '_sakura/config/config.ini');

View file

@ -128,14 +128,15 @@
{% block content %}
<h1>{{ php.self }} is now printing!</h1>
{% endblock %}
</div>
</div>
</div>
<div id="footer">
<div class="inner">
<div class="ft-logo"></div>
<div class="ft-text">
<div>Copyright &copy; 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 id="footer">
<div class="inner">
<div class="ft-logo"></div>
<div class="ft-text">
<div>Copyright &copy; 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>
</div>

View file

@ -29,7 +29,7 @@
home page, and then look for links to the information you want.
</li>
<li>
Click the <img src="{{ sakura.resources }}/images/404-back.gif" /><a href="javascript:;" onclick="history.go(-1);">Back</a>
Click the <img src="{{ sakura.resources }}/images/404-back.gif" /><a href="javascript:void(0);" onclick="history.go(-1);">Back</a>
button to try another link.
</li>
<li>

View file

@ -6,8 +6,8 @@
<div style="width: 302px; height: 352px; position: absolute;">
<iframe src="https://www.google.com/recaptcha/api/fallback?k={{ sakura.recaptchaPublic }}" frameborder="0" scrolling="no" style="width: 302px; height:352px; border-style: none;"></iframe>
</div>
<div style="width: 250px; height: 80px; position: absolute; border-style: none; bottom: 21px; left: 25px; margin: 0px; padding: 0px; right: 25px;">
<textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 80px; border: 1px solid #c1c1c1; margin: 0px; padding: 0px; resize: none;" value=""></textarea>
<div style="width: 250px; height: 80px; position: absolute; border-style: none; bottom: 21px; left: 25px; margin: 0; padding: 0; right: 25px;">
<textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 80px; border: 1px solid #c1c1c1; margin: 0; padding: 0; resize: none;" value=""></textarea>
</div>
</div>
</div>

View file

@ -46,7 +46,7 @@
<label for="parseMode">Parsing Mode:</label>
<select id="parseMode" name="parseMode">
<option value="0">None</option>
<option value="1" selected="selected">BBCodes</option>
<option value="1" selected="selected">BBCode</option>
<option value="2">Markdown</option>
</select>
</div>

View file

@ -12,7 +12,7 @@
<tr class="post" id="p{{ post.post_id }}">
<td class="userpanel">
{% if not post.user.checkPermission('SITE', 'DEACTIVATED') or post.user.checkPermission('SITE', 'RESTRICTED') %}<a href="{{ urls.format('USER_PROFILE', [post.user.data.user_id]) }}" class="default username" style="color: {{ post.user.colour }}; text-shadow: 0 0 5px {% if post.user.colour != 'inherit' %}{{ post.user.colour }}{% else %}#222{% endif %};" title="Go to {{ post.user.data.username }}'s profile">{{ post.user.data.username }}</a>
<img src="{{ urls.format('IMAGE_AVATAR', [post.user.data.user_id]) }}" alt="{{ post.user.data.username }}" class="avatar" style="box-shadow: 0 3px 7px #{% if post.is_online %}484{% else %}844{% endif %};" />
<img src="{{ urls.format('IMAGE_AVATAR', [post.user.data.user_id]) }}" alt="{{ post.user.data.username }}" class="avatar" style="box-shadow: 0 3px 7px #{% if post.user.checkOnline %}484{% else %}844{% endif %};" />
{% else %}
<a class="username">[deleted user]</a>
{% endif %}

View file

@ -213,15 +213,15 @@
</form>
{% endif %}
{% if user.checkPermission('SITE', 'RESTRICTED') %}
<div class="headerNotify" style="background: repeating-linear-gradient(-45deg, #B33, #B33 10px, #B00 10px, #B00 20px); color: #FFF; border: 1px solid #C00; box-shadow: 0px 0px 3px #C00;">
<h1>Your account is current in <span style="font-width: 700 !important;">restricted mode</span>!</h1>
<div class="headerNotify" style="background: repeating-linear-gradient(-45deg, #B33, #B33 10px, #B00 10px, #B00 20px); color: #FFF; border: 1px solid #C00; box-shadow: 0 0 3px #C00;">
<h1>Your account is currently in <span style="font-weight: 700 !important;">restricted mode</span>!</h1>
<div>A staff member has set your account to restricted mode most likely due to violation of the rules. While restricted you won't be able to use most public features of the site. If you think this is a mistake please <a href="{{ urls.format('INFO_PAGE', ['contact']) }}" style="color: inherit;">get in touch with one of our staff members</a>.</div>
</div>
{% endif %}
<noscript>
<div class="headerNotify">
<h1>You have JavaScript disabled!</h1>
<p style="padding: 0 10px;">A lot of things on this site require JavaScript to be enabled (e.g. the chat), we try to keep both sides happy but it is highly recommended that you enable it (you'll also have to deal with this message being here if you don't enable it).</p>
<div>A lot of things on this site require JavaScript to be enabled (e.g. the chat), we try to keep both sides happy but it is highly recommended that you enable it (you'll also have to deal with this message being here if you don't enable it).</div>
</div>
</noscript>
@ -272,7 +272,7 @@
'#2AA', // Updated
'#2AA', // Fixed
'#A22', // Removed
'#62C', // Exported
'#62C' // Exported
];
window.addEventListener("load", function() {

View file

@ -29,7 +29,7 @@
home page, and then look for links to the information you want.
</li>
<li>
Click the <img src="{{ sakura.resources }}/images/404-back.gif" /><a href="javascript:;" onclick="history.go(-1);">Back</a>
Click the <img src="{{ sakura.resources }}/images/404-back.gif" /><a href="javascript:void(0);" onclick="history.go(-1);">Back</a>
button to try another link.
</li>
<li>

View file

@ -12,11 +12,11 @@
{% block content %}
<div class="headerNotify" style="margin-bottom: 1px;">
<h1 style="{% if page.active %}text-shadow: 0px 0px 5px {{ page.ranks[page.active].colour }}; color: {{ page.ranks[page.active].colour }};{% else %}text-shadow: 0px 0px 5px #555;{% endif %}">{{ rankTitle }}</h1>
<h1 style="{% if page.active %}text-shadow: 0 0 5px {{ page.ranks[page.active].colour }}; color: {{ page.ranks[page.active].colour }};{% else %}text-shadow: 0 0 5px #555;{% endif %}">{{ rankTitle }}</h1>
<h3>{{ rankDescription }}</h3>
</div>
<div class="membersPage" style="min-height: 500px;">
<div class="dropDown" style="margin: 0px auto; font-size: 1.5em; line-height: 1.5em; height: 30px;">
<div class="dropDown" style="margin: 0 auto; font-size: 1.5em; line-height: 1.5em; height: 30px;">
<div class="dropDownInner" style="float: left; color: #FFF;">
<a class="dropDownDesc">Rank:</a>
<a href="{% if page.page and page.sort %}{{ urls.format('MEMBERLIST_SORT_PAGE', [page.sort, (page.page + 1)]) }}{% elseif page.sort %}{{ urls.format('MEMBERLIST_SORT', [page.sort]) }}{% elseif page.page %}{{ urls.format('MEMBERLIST_PAGE', [(page.page + 1)]) }}{% else %}{{ urls.format('MEMBERLIST_INDEX') }}{% endif %}"{% if not page.active %} class="dropDownSelected"{% endif %}>All members</a>

View file

@ -35,7 +35,7 @@
<a class="fa fa-pencil-square-o" title="Edit your profile" href="{{ urls.format('SETTING_MODE', ['general', 'profile']) }}"></a>
{% else %}
{% if user.checkFriends(profile.data.user_id) != 0 %}<a class="fa fa-{% if user.checkFriends(profile.data.user_id) == 2 %}heart{% else %}star{% endif %}" title="You are friends"></a>{% endif %}
<a class="fa fa-user-{% if user.checkFriends(profile.data.user_id) == 0 %}plus{% else %}times{% endif %}" title="{% if user.checkFriends(profile.data.user_id) == 0 %}Add {{ legacyprofile.data.username }} as a friend{% else %}Remove friend{% endif %}" href="{% if user.checkFriends(profile.data.user_id) == 0 %}{{ urls.format('FRIEND_ADD', [profile.data.user_id, php.sessionid, php.time, sakura.currentPage]) }}{% else %}{{ urls.format('FRIEND_REMOVE', [profile.data.user_id, php.sessionid, php.time, sakura.currentPage]) }}{% endif %}" id="profileFriendToggle"></a>
<a class="fa fa-user-{% if user.checkFriends(profile.data.user_id) == 0 %}plus{% else %}times{% endif %}" title="{% if user.checkFriends(profile.data.user_id) == 0 %}Add {{ profile.data.username }} as a friend{% else %}Remove friend{% endif %}" href="{% if user.checkFriends(profile.data.user_id) == 0 %}{{ urls.format('FRIEND_ADD', [profile.data.user_id, php.sessionid, php.time, sakura.currentPage]) }}{% else %}{{ urls.format('FRIEND_REMOVE', [profile.data.user_id, php.sessionid, php.time, sakura.currentPage]) }}{% endif %}" id="profileFriendToggle"></a>
<a class="fa fa-exclamation-circle" title="Report {{ profile.data.username }}" href="{{ urls.format('USER_REPORT', [profile.data.user_id]) }}"></a>
{% endif %}
<hr class="default" />

View file

@ -12,7 +12,7 @@
<input type="hidden" name="sessid" value="{{ php.sessionid }}" />
<input type="hidden" name="timestamp" value="{{ php.time }}" />
<input type="hidden" name="mode" value="userpage" />
<div><textarea name="userpage" id="userPageEditor" placeholder="# Welcome to my user page!" class="inputStyling" style="width: calc(100% - 12px); height: 400px;" />{% if userPage %}{{ userPage }}{% else %}# Welcome to my user page!{% endif %}</textarea></div>
<div><textarea name="userpage" id="userPageEditor" placeholder="# Welcome to my user page!" class="inputStyling" style="width: calc(100% - 12px); height: 400px;">{% if userPage %}{{ userPage }}{% else %}# Welcome to my user page!{% endif %}</textarea></div>
<div class="profile-save">
<input type="submit" value="Save" name="submit" class="inputStyling" />
<input type="reset" value="Reset" name="reset" class="inputStyling" />

View file

@ -85,7 +85,7 @@ a:active {
.header > .nav > div > a {
color: #DDD;
text-decoration: none !important;
padding: 0px 5px 2px;
padding: 0 5px 2px;
transition: .2s;
}
.header > .nav > div > a:hover {

View file

@ -3,15 +3,15 @@ hr {
color: #9475B2;
background: #9475B2;
height: 1px;
border: 0px;
border: 0;
}
.hidden {
display: none;
visibility: none;
visibility: hidden;
}
h1,h2,h3,h4,h5,h6 {
margin: 2px;
padding: 0px;
padding: 0;
}
h1 {
display: inline-block;
@ -52,7 +52,7 @@ input[type="text"]:focus, input[type="password"]:focus, table.postForm > tbody t
border: 1px solid #746677;
}
#recaptcha_response_field {
margin: 0px 2px 0px 0px;
margin: 0 2px 0 0;
padding: 2px 4px 3px;
border: 1px solid #AAA;
outline: medium none;
@ -64,7 +64,7 @@ input[type="text"]:focus, input[type="password"]:focus, table.postForm > tbody t
cursor: pointer;
}
div#recaptcha_image {
margin: 0px 2px 0px 0px;
margin: 0 2px 0 0;
border: 1px solid #AAA;
outline: medium none;
}
@ -78,8 +78,8 @@ table.postForm{
border-spacing: 1px;
}
table.postForm > tbody > tr > td {
margin: 0px;
padding: 0px;
margin: 0;
padding: 0;
font-size: 10pt;
}
table.postForm > tbody > tr > td:first-child {
@ -87,7 +87,7 @@ table.postForm > tbody > tr > td:first-child {
border: 1px #746677 solid;
color: #400070;
font-weight: bold;
padding: 0px 5px 0px 10px;
padding: 0 5px 0 10px;
font-size: 10pt;
text-align: right;
}
@ -130,11 +130,11 @@ table.postForm > tbody > tr > td:first-child {
text-align: center;
}
.boardposting {
margin: 0px auto;
margin: 0 auto;
text-align: center;
}
.boardposting table {
margin: 0px auto;
margin: 0 auto;
text-align: left;
}
.copyright {
@ -149,7 +149,7 @@ fieldset .replylink {
background: #9475B2;
color: #306;
padding: 1px 5px;
margin: -9px 0px;
margin: -9px 0;
font-weight: bold;
overflow: hidden;
}

View file

@ -11,8 +11,8 @@ html {
}
body {
margin: 0px;
padding: 0px;
margin: 0;
padding: 0;
font-family: Verdana, Arial, Helvetica, sans-serif;
background: linear-gradient(180deg, #C2AFFE, #FBEEFF) repeat-x scroll center top #FBEEFF;
background-size: auto 200px;
@ -22,7 +22,7 @@ body {
img.logo {
height: 150px;
width: 450px;
border: 0px;
border: 0;
background: url('../images/logo.png') no-repeat scroll left top transparent;
background-size: cover;
}
@ -50,15 +50,14 @@ hr {
color: #9475B2;
background: #9475B2;
height: 1px;
border: 0px;
border: 0;
}
div.navbar ul {
display: table;
margin: 0px auto;
clear: both;
text-align: center;
margin-top: 5px;
margin: 5px auto 0;
border-top: 1px solid;
min-width: 880px;
max-width: 1024px;
@ -70,29 +69,25 @@ div.navbar li {
text-align: center;
margin-top: -1px;
position: relative;
left: 217.5px;
left: 217px;
z-index: 1;
}
li.notcurrent {
background: none repeat scroll 0% 0% #C9BBCC;
border-width: 1px 1px 1px medium;
border-style: solid solid solid none;
border-color: inherit;
background: none repeat scroll 0 0 #C9BBCC;
border: 1px solid inherit;
border-left: medium none;
border-image: none;
padding: 2px 1em;
}
li.current {
background: none repeat scroll 0% 0% #FBEEFF;
border-width: 1px 1px 1px 1px;
border-style: solid solid solid solid;
border-color: inherit;
background: none repeat scroll 0 0 #FBEEFF;
border-image: none;
padding: 2px 1em;
padding-bottom: 4px;
margin-left:-1px;
border-top: medium none;
padding: 2px 1em 4px;
margin-left: -1px;
border: 1px solid inherit;
border-top: medium none;
}
li.first {
@ -106,8 +101,7 @@ li.fill {
}
div.pagecontent, div.profile {
margin: 0px auto;
margin-top: 5px;
margin: 5px auto 0;
min-width: 880px;
max-width: 1024px;
border: solid 1px #9475B2;
@ -120,11 +114,11 @@ div.profile {
div.profile_cont {
text-align: left;
padding: 0px 20px;
padding: 0 20px;
}
div.profile_cont hr {
border: 0px solid #000;
border: 0 solid #000;
height: 1px;
color: #000;
background: #000;
@ -132,16 +126,14 @@ div.profile_cont hr {
}
div.mioboards, div.mioblog, div.miowhois {
margin: 0px auto;
margin-top: 5px;
margin: 5px auto 0;
min-width: 660px;
max-width: 924px;
border: solid 1px #9475B2;
}
div.miochatquote {
margin: 0px auto;
margin-top: 5px;
margin: 5px auto 0;
border: solid 1px #9475B2;
display: inline-block;
}
@ -164,30 +156,28 @@ div.miochatquote .chatquote div:nth-child(even) {
}
div.miodonate {
margin: 0px auto;
margin-top: 5px;
margin: 5px auto 0;
min-width: 660px;
max-width: 924px;
border: solid 1px #9475B2;
}
div.miodonate h3 {
margin: 0px;
margin: 0;
}
div.miodonate hr {
margin-bottom: 0px;
margin-bottom: 0;
}
div.miodonate h2 {
margin: 0px;
background: #9475B2;
border: solid 1px #9475B2;
text-align: right;
float: right;
border-bottom-left-radius: 12px;
display: inline-block;
margin-top: -1px;
margin: -1px 0 0;
padding: 5px;
}
@ -198,7 +188,6 @@ div.miodonate ul {
div.miodonate li {
list-style: none outside none;
background: #9475B2;
margin: 0px;
width: 815px;
margin: 8px;
height: 20px;
@ -215,7 +204,7 @@ div.mioucpbar {
}
div.miobottom{
margin: 0px auto;
margin: 0 auto;
overflow: auto;
height: auto !important;
}
@ -231,7 +220,7 @@ div.miobinner {
h3.miotitle {
background-color: #9475B2;
color: #330066;
margin-top: 0px;
margin-top: 0;
text-align: left;
padding: 3px;
}
@ -239,14 +228,14 @@ h3.miotitle {
h2.miotitle {
background-color: #9475B2;
color: #330066;
margin: 0px;
margin: 0;
text-align: center;
padding: 3px;
}
h1.miotitle {
color: #330066;
margin: 0px;
margin: 0;
text-align: center;
}
@ -267,7 +256,7 @@ h1.miomessage {
div.mioboxcontent {
text-align: left;
margin: 0px;
margin: 0;
line-height: 130%;
overflow: auto;
width: 100%;
@ -279,8 +268,7 @@ div.mioboxcontent h4 {
}
div.mioboards div.mioboxcontent {
padding: 0.25em 0.5em 0px;
padding-left: 20px;
padding: .25em .5em 0 20px;
}
div.miocolumn {
@ -300,18 +288,18 @@ a.boardlink:hover,a.boardlink:active {
div.postcontent {
text-align: left;
padding: 0px 10px 0px 10px;
padding: 0 10px 0 10px;
}
h3.title {
margin-top: 0px;
margin-top: 0;
background-color: #9475B2;
text-align: left;
padding: 3px;
}
h1.title{
margin-top: 0px;
margin-top: 0;
background-color: #9475B2;
text-align: left;
padding: 5px;
@ -349,7 +337,7 @@ span.permalink a:hover {
}
input[type="text"],input[type="password"],input[type="date"],textarea {
margin: 0px 2px 0px 0px;
margin: 0 2px 0 0;
padding: 2px 4px 3px;
border: 1px solid #AAA;
outline: medium none;
@ -413,53 +401,50 @@ div.ucp_avatar_cont {
.windowbutton-container {
float: right;
margin-top: -2px;
margin-right: -2px;
margin-left: -2px;
margin-bottom: -2px;
margin: -2px;
}
.closebutton {
cursor: pointer;
height: 23px;
width: 23px;
border: 0px;
background: url('../images/window-sprite.png') no-repeat scroll 0px 0px transparent;
border: 0;
background: url('../images/window-sprite.png') no-repeat scroll 0 0 transparent;
}
.maxbutton {
cursor: pointer;
height: 23px;
width: 23px;
border: 0px;
background: url('../images/window-sprite.png') no-repeat scroll 0px -23px transparent;
border: 0;
background: url('../images/window-sprite.png') no-repeat scroll 0 -23px transparent;
}
.minbutton {
cursor: pointer;
height: 23px;
width: 23px;
border: 0px;
background: url('../images/window-sprite.png') no-repeat scroll 0px -46px transparent;
border: 0;
background: url('../images/window-sprite.png') no-repeat scroll 0 -46px transparent;
}
.donate-btn {
cursor: pointer;
height: 26px;
width: 90px;
border: 0px;
background: url('../images/donate-btn.png') no-repeat scroll 0px 0px transparent;
border: 0;
background: url('../images/donate-btn.png') no-repeat scroll 0 0 transparent;
}
div.topLeftBar {
color: #000000;
position: absolute;
left: 0px;
left: 0;
background: #FBEEFF;
padding: 1px 9px;
border: 1px #9475B2 solid;
border-top: 0px;
border-left: 0px;
border-top: 0;
border-left: 0;
box-shadow: 0 0 1.5em #808080;
z-index: 997;
}
@ -500,8 +485,7 @@ table.miotable {
}
table.miotablestandalone {
margin: 0px auto;
margin-top: 5px;
margin: 5px auto 0;
min-width: 880px;
max-width: 1024px;
border: solid 1px #9475B2;
@ -578,7 +562,7 @@ table.miotablestandalone {
}
.registerbutton:hover, .loginbutton:hover {
text-shadow: 0px 0px 8px #F1F1F1;
text-shadow: 0 0 8px #F1F1F1;
}
/* Flashii Bar */
@ -591,13 +575,13 @@ div.flashii-bar .barAvatar {
div.flashii-bar {
color: #000000;
position: absolute;
right: 0px;
right: 0;
background: #FBEEFF;
padding: 1px 9px;
/*border-radius: 0px 0px 0px 8px;*/
border: 1px #9475B2 solid;
border-top: 0px;
border-right: 0px;
border-top: 0;
border-right: 0;
/*box-shadow: 0 0 1px grey;*/
box-shadow: 0 0 1.5em #808080;
z-index: 997;
@ -606,10 +590,10 @@ div.flashii-bar {
div.flashii-black {
background: rgba(0,0,0,0.5);
position: fixed;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: 100%;
width: 100%;
z-index: 998;
@ -629,7 +613,7 @@ div.flashii-horizon {
text-align: center;
position: absolute;
top: 30%;
left: 0px;
left: 0;
width: 100%;
height: 1px;
overflow: visible;
@ -644,13 +628,13 @@ div#flashii-login,div#flashii-register {
border: solid 1px #9475B2;
z-index: 999;
background: #FBEEFF;
margin: 0px auto;
margin: 0 auto;
}
div#flashii-login h3,div#flashii-register h3 {
background-color: #9475B2;
color: rgb(51,0,102);
margin-top: 0px;
margin-top: 0;
text-align: left;
padding: 3px;
}
@ -662,7 +646,7 @@ div#flashii-login h3 a,div#flashii-register h3 a {
}
div#flashii-login table,div#flashii-register table {
margin: 0px auto;
margin: 0 auto;
text-align: left;
}
@ -671,7 +655,7 @@ div#flashii-login tr td:first-child,div#flashii-register tr td:first-child{
border: 1px #746677 solid;
color: #400070;
font-weight: bold;
padding: 0px 5px;
padding: 0 5px;
font-size: 10pt;
width: 35% !important;
}
@ -687,7 +671,7 @@ div#flashii-login table tr:last-child td, div#flashii-register table tr:last-chi
}
div#flashii-login #recaptcha_response_field,div#flashii-login input[type="text"],div#flashii-login input[type="password"],div#flashii-register #recaptcha_response_field,div#flashii-register input[type="text"],div#flashii-register input[type="password"] {
margin: 0px 2px 0px 0px;
margin: 0 2px 0 0;
padding: 2px 4px 3px;
border: 1px solid #AAA;
outline: medium none;
@ -701,7 +685,7 @@ div#flashii-login #recaptcha_response_field,div#flashii-login input[type="text"]
}
div#recaptcha_image {
margin: 0px 2px 0px 0px;
margin: 0 2px 0 0;
border: 1px solid #AAA;
outline: medium none;
}
@ -717,7 +701,7 @@ div#recaptcha_image {
/* some more shit */
.group-select {
margin: 0px auto;
margin: 0 auto;
text-align: center;
min-width: 330px !important;
max-width: 945px;
@ -736,13 +720,13 @@ div#recaptcha_image {
height: 175px;
padding: 10px;
transition: background 0.5s, box-shadow 0.2s;
box-shadow: inset 0px 0px 1.5em #000;
box-shadow: inset 0 0 1.5em #000;
}
.group-select-user:hover {
background: #8364A1;
cursor: pointer;
box-shadow: inset 0px 0px 2em #000;
box-shadow: inset 0 0 2em #000;
}
.group-select-user-avatar {
@ -754,15 +738,15 @@ div#recaptcha_image {
.group-select-user-avatar img {
max-height: 150px;
max-width: 150px;
border: 0px;
padding: 0px;
margin: 0px;
border: 0;
padding: 0;
margin: 0;
}
.membersPage {
width: 100%;
padding: 10px 0px;
padding: 10px 0;
overflow: hidden;
text-align: center;
}
@ -784,7 +768,7 @@ div#recaptcha_image {
padding: 7px;
font-size: 15px;
min-width: 150px;
box-shadow: inset 0px 0px 1em #000;
box-shadow: inset 0 0 1em #000;
}
.membersPage .userBox {
@ -792,7 +776,7 @@ div#recaptcha_image {
line-height: 330%;
width: 200px;
height: 230px;
box-shadow: inset 0px 0px 1.5em #000;
box-shadow: inset 0 0 1.5em #000;
}
.membersPage .groupBox:hover, .membersPage .userBox:hover {
@ -801,18 +785,18 @@ div#recaptcha_image {
}
.membersPage .groupBox:hover {
box-shadow: inset 0px 0px 1em #000;
box-shadow: inset 0 0 1em #000;
}
.membersPage .userBox:hover {
box-shadow: inset 0px 0px 1.5em #000;
box-shadow: inset 0 0 1.5em #000;
}
.membersPage .userBox img {
width: 200px;
height: 200px;
display: block;
margin: 0px auto;
margin: 0 auto;
}
.membersPage .userBox .userBoxUserName {
@ -838,7 +822,7 @@ div#recaptcha_image {
}
.news-poster h2 {
line-height: 11px;
margin: -5px 0px 0px;
margin: -5px 0 0;
font-weight: 100;
background: #9475B2;
border-bottom-left-radius: 10px;
@ -847,5 +831,5 @@ div#recaptcha_image {
height: 15px;
}
.news-comments-container {
margin: 5px auto 0px;
margin: 5px auto 0;
}

View file

@ -7,8 +7,8 @@ html {
}
body {
margin: 0px;
padding: 0px;
margin: 0;
padding: 0;
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
background: url('//cdn.flashii.net/img/mionetics/body.png') #242424;
text-align: center;
@ -33,7 +33,7 @@ a:hover {
img.logo {
height: 125px;
width: 400px;
border: 0px;
border: 0;
background: url('//cdn.flashii.net/img/mionetics/cyberneticlogo.png') no-repeat scroll left top transparent;
background-size: cover;
}
@ -48,7 +48,7 @@ div.navbar {
border-width: 1px;
border-style: solid;
border-color: #3C3C3C transparent #131313 transparent;
margin: 5px auto 0px;
margin: 5px auto 0;
}
div.navbar a {
@ -59,12 +59,12 @@ hr {
color: #404040;
background: #404040;
height: 1px;
border: 0px;
border: 0;
}
div.navbar ul {
display: block;
margin: 0px auto;
margin: 0 auto;
clear: both;
text-align: center;
}
@ -78,14 +78,12 @@ li.notcurrent {
}
li.current {
padding: 2px 1em;
padding-bottom: 4px;
padding: 2px 1em 4px;
margin-left: -1px;
}
div.pagecontent, div.profile {
margin: 0px auto;
margin-top: 5px;
margin: 5px auto 0;
min-width: 880px;
max-width: 1024px;
border-width: 1px;
@ -100,11 +98,11 @@ div.profile {
div.profile_cont {
text-align: left;
padding: 0px 20px;
padding: 0 20px;
}
div.profile_cont hr {
border: 0px solid #000;
border: 0 solid #000;
height: 1px;
color: #000;
background: #000;
@ -112,8 +110,7 @@ div.profile_cont hr {
}
div.mioboards, div.mioblog, div.miowhois {
margin: 0px auto;
margin-top: 5px;
margin: 5px auto 0;
min-width: 660px;
max-width: 924px;
border-width: 1px;
@ -123,8 +120,7 @@ div.mioboards, div.mioblog, div.miowhois {
}
div.miodonate {
margin: 0px auto;
margin-top: 5px;
margin: 5px auto 0;
min-width: 660px;
max-width: 924px;
border-width: 1px;
@ -133,15 +129,14 @@ div.miodonate {
}
div.miodonate h3 {
margin: 0px;
margin: 0;
}
div.miodonate hr {
margin-bottom: 0px;
margin-bottom: 0;
}
div.miodonate h2 {
margin: 0px;
background: url('//cdn.flashii.net/img/mionetics/cell.png') repeat-x scroll left top #313131;
border-width: 1px;
border-style: solid;
@ -150,7 +145,7 @@ div.miodonate h2 {
float: right;
border-bottom-left-radius: 12px;
display: inline-block;
margin-top: -1px;
margin: -1px 0 0;
padding: 5px;
}
@ -161,7 +156,6 @@ div.miodonate ul {
div.miodonate li {
list-style: none outside none;
background: url("//cdn.flashii.net/img/mionetics/buttons.png") transparent;
margin: 0px;
width: 815px;
margin: 8px;
height: 20px;
@ -178,7 +172,7 @@ div.mioucpbar {
}
div.miobottom{
margin: 0px auto;
margin: 0 auto;
overflow: auto;
height: auto !important;
}
@ -193,7 +187,7 @@ div.miobinner {
h3.miotitle {
background: url('//cdn.flashii.net/img/mionetics/buttons.png');
margin-top: 0px;
margin-top: 0;
text-align: left;
padding: 3px;
text-shadow: 1px 1px 2px #000;
@ -201,15 +195,15 @@ h3.miotitle {
h2.miotitle {
background: url('//cdn.flashii.net/img/mionetics/buttons.png');
margin: 0px;
margin: 0;
text-align: center;
padding: 3px;
text-shadow: 0px 0px 2px #444;
text-shadow: 0 0 2px #444;
}
h1.miotitle {
color: #330066;
margin: 0px;
margin: 0;
text-align: center;
}
@ -234,7 +228,7 @@ div.content {
div.mioboxcontent {
text-align: left;
margin: 0px;
margin: 0;
line-height: 130%;
overflow: auto;
width: 100%;
@ -246,8 +240,7 @@ div.mioboxcontent h4 {
}
div.mioboards div.mioboxcontent {
padding: 0.25em 0.5em 0px;
padding-left: 20px;
padding: .25em .5em 0 20px;
}
div.miocolumn {
@ -267,18 +260,18 @@ a.boardlink:hover,a.boardlink:active {
div.postcontent {
text-align: left;
padding: 0px 10px 0px 10px;
padding: 0 10px 0 10px;
}
h3.title {
margin-top: 0px;
margin-top: 0;
background: url("//cdn.flashii.net/img/mionetics/buttons.png") transparent;
text-align: left;
padding: 3px;
}
h1.title{
margin-top: 0px;
margin-top: 0;
background-color: #9475B2;
text-align: left;
padding: 5px;
@ -316,7 +309,7 @@ span.permalink a:hover {
}
input[type="text"],input[type="password"],input[type="date"],textarea{
margin: 0px 2px 0px 0px;
margin: 0 2px 0 0;
padding: 2px 4px 3px;
border: 1px solid #AAA;
outline: medium none;
@ -383,53 +376,50 @@ div.ucp_avatar_cont {
.windowbutton-container {
float: right;
margin-top: -2px;
margin-right: -2px;
margin-left: -2px;
margin-bottom: -2px;
margin: -2px;
}
.closebutton {
cursor: pointer;
height: 23px;
width: 23px;
border: 0px;
background: url('//cdn.flashii.net/img/mionetics/window-sprite.png') no-repeat scroll 0px 0px transparent;
border: 0;
background: url('//cdn.flashii.net/img/mionetics/window-sprite.png') no-repeat scroll 0 0 transparent;
}
.maxbutton {
cursor: pointer;
height: 23px;
width: 23px;
border: 0px;
background: url('//cdn.flashii.net/img/mionetics/window-sprite.png') no-repeat scroll 0px -23px transparent;
border: 0;
background: url('//cdn.flashii.net/img/mionetics/window-sprite.png') no-repeat scroll 0 -23px transparent;
}
.minbutton {
cursor: pointer;
height: 23px;
width: 23px;
border: 0px;
background: url('//cdn.flashii.net/img/mionetics/window-sprite.png') no-repeat scroll 0px -46px transparent;
border: 0;
background: url('//cdn.flashii.net/img/mionetics/window-sprite.png') no-repeat scroll 0 -46px transparent;
}
.donate-btn {
cursor: pointer;
height: 26px;
width: 90px;
border: 0px;
background: url('//cdn.flashii.net/img/mionetics/donate-btn.png') no-repeat scroll 0px 0px transparent;
border: 0;
background: url('//cdn.flashii.net/img/mionetics/donate-btn.png') no-repeat scroll 0 0 transparent;
}
div.topLeftBar {
color: #000000;
position: absolute;
left: 0px;
left: 0;
background: #FBEEFF;
padding: 1px 9px;
border: 1px #9475B2 solid;
border-top: 0px;
border-left: 0px;
border-top: 0;
border-left: 0;
box-shadow: 0 0 1.5em #808080;
z-index: 997;
}
@ -470,8 +460,7 @@ table.miotable {
}
table.miotablestandalone {
margin: 0px auto;
margin-top: 5px;
margin: 5px auto 0;
min-width: 880px;
max-width: 1024px;
border: solid 1px #9475B2;
@ -548,7 +537,7 @@ table.miotablestandalone {
}
.registerbutton:hover, .loginbutton:hover {
text-shadow: 0px 0px 8px #F1F1F1;
text-shadow: 0 0 8px #F1F1F1;
}
/* Flashii Bar */
@ -561,25 +550,24 @@ div.flashii-bar .barAvatar {
div.flashii-bar {
color: #FFF;
position: absolute;
right: 0px;
right: 0;
background: url('//cdn.flashii.net/img/mionetics/cathead.png') repeat-x scroll left top #2C2C2C;
padding: 1px 9px;
box-shadow: 0 0 .5em #808080;
z-index: 997;
border-width: 1px;
border-style: solid;
border-color: #3C3C3C #121212 #131313 #404040;
border-top: 0px;
border-right: 0px;
border: 0 solid #3C3C3C;
border-right-color: #121212;
border-bottom: 1px #131313;
border-left: 1px #404040;
}
div.flashii-black {
background: rgba(0,0,0,0.5);
position: fixed;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: 100%;
width: 100%;
z-index: 998;
@ -599,7 +587,7 @@ div.flashii-horizon {
text-align: center;
position: absolute;
top: 30%;
left: 0px;
left: 0;
width: 100%;
height: 1px;
overflow: visible;
@ -614,13 +602,13 @@ div#flashii-login,div#flashii-register {
border: solid 1px #9475B2;
z-index: 999;
background: #FBEEFF;
margin: 0px auto;
margin: 0 auto;
}
div#flashii-login h3,div#flashii-register h3 {
background-color: #9475B2;
color: rgb(51,0,102);
margin-top: 0px;
margin-top: 0;
text-align: left;
padding: 3px;
}
@ -632,7 +620,7 @@ div#flashii-login h3 a,div#flashii-register h3 a {
}
div#flashii-login table,div#flashii-register table {
margin: 0px auto;
margin: 0 auto;
text-align: left;
}
@ -641,7 +629,7 @@ div#flashii-login tr td:first-child,div#flashii-register tr td:first-child{
border: 1px #746677 solid;
color: #400070;
font-weight: bold;
padding: 0px 5px;
padding: 0 5px;
font-size: 10pt;
width: 35% !important;
}
@ -657,7 +645,7 @@ div#flashii-login table tr:last-child td, div#flashii-register table tr:last-chi
}
div#flashii-login #recaptcha_response_field,div#flashii-login input[type="text"],div#flashii-login input[type="password"],div#flashii-register #recaptcha_response_field,div#flashii-register input[type="text"],div#flashii-register input[type="password"] {
margin: 0px 2px 0px 0px;
margin: 0 2px 0 0;
padding: 2px 4px 3px;
border: 1px solid #AAA;
outline: medium none;
@ -671,7 +659,7 @@ div#flashii-login #recaptcha_response_field,div#flashii-login input[type="text"]
}
div#recaptcha_image {
margin: 0px 2px 0px 0px;
margin: 0 2px 0 0;
border: 1px solid #AAA;
outline: medium none;
}
@ -687,7 +675,7 @@ div#recaptcha_image {
/* some more shit */
.group-select {
margin: 0px auto;
margin: 0 auto;
text-align: center;
min-width: 330px !important;
max-width: 945px;
@ -706,13 +694,13 @@ div#recaptcha_image {
height: 175px;
padding: 10px;
transition: background 0.5s, box-shadow 0.2s;
box-shadow: inset 0px 0px 1.5em #000;
box-shadow: inset 0 0 1.5em #000;
}
.group-select-user:hover {
background: #8364A1;
cursor: pointer;
box-shadow: inset 0px 0px 2em #000;
box-shadow: inset 0 0 2em #000;
}
.group-select-user-avatar {
@ -724,15 +712,15 @@ div#recaptcha_image {
.group-select-user-avatar img {
max-height: 150px;
max-width: 150px;
border: 0px;
padding: 0px;
margin: 0px;
border: 0;
padding: 0;
margin: 0;
}
.membersPage {
width: 100%;
padding: 10px 0px;
padding: 10px 0;
overflow: hidden;
text-align: center;
}
@ -753,7 +741,7 @@ div#recaptcha_image {
padding: 7px;
font-size: 15px;
min-width: 150px;
box-shadow: inset 0px 0px 1em #000;
box-shadow: inset 0 0 1em #000;
}
.membersPage .userBox {
@ -761,7 +749,7 @@ div#recaptcha_image {
line-height: 330%;
width: 200px;
height: 230px;
box-shadow: inset 0px 0px 1.5em #000;
box-shadow: inset 0 0 1.5em #000;
}
.membersPage .groupBox:hover, .membersPage .userBox:hover {
@ -769,18 +757,18 @@ div#recaptcha_image {
}
.membersPage .groupBox:hover {
box-shadow: inset 0px 0px 1em #000;
box-shadow: inset 0 0 1em #000;
}
.membersPage .userBox:hover {
box-shadow: inset 0px 0px 1.5em #000;
box-shadow: inset 0 0 1.5em #000;
}
.membersPage .userBox img {
width: 200px;
height: 200px;
display: block;
margin: 0px auto;
margin: 0 auto;
}
.membersPage .userBox .userBoxUserName {

View file

@ -54,7 +54,7 @@ ul {
}
li {
margin: 0px 0px 0.8em 3.46em;
margin: 0 0 .8em 3.46em;
line-height: 1.32em;
}

View file

@ -286,7 +286,7 @@ a:active {
font-family: "Exo2-0-LightItalic", sans-serif;
font-size: 2em;
line-height: 30px;
letter-spacing: 0px;
letter-spacing: 0;
text-shadow: 1px 1px 3px #111;
margin-bottom: 5px;
position: relative;
@ -353,8 +353,8 @@ a:active {
z-index: 900;
background: rgba(69, 56, 81, .5);
position: absolute;
top: 0px;
right: 0px;
top: 0;
right: 0;
list-style: none;
padding: 35px 4px 5px;
}

View file

@ -5,7 +5,7 @@ body {
}
html {
background: url('/images/satori-error.png') top right no-repeat #FFF;
background: url('/content/images/satori-error.png') top right no-repeat #FFF;
font-family: 'verdana', sans-serif;
font-size: .8em;
}
@ -54,7 +54,7 @@ ul {
}
li {
margin: 0px 0px 0.8em 3.46em;
margin: 0 0 .8em 3.46em;
line-height: 1.32em;
}

View file

@ -66,7 +66,7 @@
}
100% {
right: 0%;
right: 0;
}
}
@ -75,7 +75,7 @@
@keyframes slideOutToBottom { /* Read comment above */
0% {
bottom: 0%;
bottom: 0;
}
100% {
@ -181,7 +181,6 @@ img {
img.homepage-menu-avatar {
float: right;
max-width: 100px;
max-width: 100px;
margin-top: -25px;
margin-right: 0;
}
@ -322,8 +321,7 @@ a.default:active {
}
.homepage .content-right ul {
margin: 10px 0;
margin-left: 30px;
margin: 10px 0 10px 30px;
}
.dropDown {
@ -556,7 +554,6 @@ a.default:active {
margin: 0 7px -2px 6px;
display: inline-block;
border-bottom: 2px solid #8364A1;
color: inherit;
text-decoration: none;
text-align: center;
transition: background .3s, border-color .3s;
@ -714,7 +711,6 @@ a.default:active {
.loginPage > .registerCont > *,
.loginPage > .loginCont > * {
text-align: center;
border: 1px solid #9475B2;
margin: 10px auto;
padding: 2px 3px;
width: 400px;
@ -1001,9 +997,9 @@ a.default:active {
@media (max-width: 600px) {
#notifications {
top: 0px;
right: 0px;
left: 0px;
top: 0;
right: 0;
left: 0;
bottom: none;
max-width: 100%;
height: auto;
@ -1727,14 +1723,14 @@ input[type="text"].inputStyling.red,
input[type="password"].inputStyling.red,
input[type="date"].inputStyling.red,
input[type="url"].inputStyling.red {
box-shadow: inset 0px 0px 7px #EB5959;
box-shadow: inset 0 0 7px #EB5959;
}
input[type="text"].inputStyling.green,
input[type="password"].inputStyling.green,
input[type="date"].inputStyling.green,
input[type="url"].inputStyling.green {
box-shadow: inset 0px 0px 7px #A9EC8B;
box-shadow: inset 0 0 7px #A9EC8B;
}
input[type="range"].inputStyling {
@ -2119,10 +2115,10 @@ textarea.inputStyling {
}
#comments .comment > .comment-pointer {
width: 0px;
height: 0px;
width: 0;
height: 0;
border-style: solid;
border-width: 0px 15px 15px 0px;
border-width: 0 15px 15px 0;
border-color: transparent #F6F6F6 transparent transparent;
margin-top: 10px;
}

View file

@ -66,7 +66,7 @@ function hideYourMind(conflictions) {
function twoThousandSixteenIsTheYearWePhysicallyMergeWithCats() {
var diff = (new Date()).getTime() - startTime;
var vals = [-7 * 1 / Math.cos((diff / 500) * (.85 * Math.PI)), -7 * Math.tan((diff / 250) * (.85 * Math.PI))];
var vals = [-7 / Math.cos((diff / 500) * (.85 * Math.PI)), -7 * Math.tan((diff / 250) * (.85 * Math.PI))];
document.body.style.position = 'absolute';
document.body.style.left = vals[0] + 'px';

View file

@ -422,7 +422,7 @@ function ajaxPost(url, data, callback) {
}
}
};
// Set headers
request.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
@ -504,7 +504,7 @@ function formToObject(formId) {
var form = document.getElementById(formId);
// Make an object for the request parts
var requestParts = new Object();
var requestParts = {};
// Get all children with a name attribute
var children = form.querySelectorAll('[name]');
@ -622,8 +622,6 @@ function submitPostHandler(result, busyView, resetCaptchaOnFailure) {
}, 2000);
return;
}
// Encode UTF-8
@ -644,7 +642,7 @@ function utf8_decode(str) {
function uniqueChars(str) {
// Create storage array and count var
var usedChars = new Array();
var usedChars = [];
var count = 0;
// Count the amount of unique characters

View file

@ -30,7 +30,7 @@ if (Users::checkLogin()) {
$_MEMBERLIST_SORTS[0],
'page' => isset($_GET['page']) && ($_GET['page'] - 1) >= 0 ? $_GET['page'] - 1 : 0,
'users' => array_chunk($_MEMBERLIST_ACTIVE && !$_MEMBERLIST_NFOUND ?
Users::getUsersInRank($_MEMBERLIST_ACTIVE, null, true, true) :
Users::getUsersInRank($_MEMBERLIST_ACTIVE, null, true) :
Users::getAllUsers(), Configuration::getConfig('members_per_page'), true),
];

View file

@ -17,7 +17,7 @@ require_once str_replace(basename(__DIR__), '', dirname(__FILE__)) . '_sakura/sa
// Notifications
if (isset($_REQUEST['request-notifications']) && $_REQUEST['request-notifications']) {
// Create the notification container array
$notifications = array();
$notifications = [];
// Check if the user is logged in
if (Users::checkLogin()