hajime/public/yuuno_settings.php

34 lines
1.3 KiB
PHP
Raw Permalink Normal View History

2023-08-11 22:16:32 +00:00
<?php
print desHeader($flashii->loggedIn() ? 'Account Settings' : 'Login to view');
if($flashii->loggedIn()) {
?>
<div class="content homepage settings">
<div class="content-right content-column">
<div class="head">Navigation</div>
<div class="right-menu-nav">
<?php foreach($settingsMenu as $sHeader => $sItems): ?>
<div><?=$sHeader;?></div>
<?php foreach($sItems as $siName => $siInfo): if(isset($siInfo[1]) && !$siInfo[1]) continue; ?>
<a href="<?=$siInfo[0];?>"><?=$siName;?></a>
<?php endforeach; ?>
<?php endforeach; ?>
</div>
</div>
<div class="content-left content-column">
<?=$settingsBody;?>
</div>
<div class="clear"></div>
</div>
<?php
} else {
?>
<div class="content standalone" style="padding: 20px;">
<h1>Login to view this page!</h1>
If you actually are logged in something went wrong and you should report this to <a href="/u/2" target="_blank" class="default">Flashwave</a>.<br />
If you aren't logged in please log in or create an account if you don't have one.
</div>
<?php
}
print desFooter();