2022-09-26 23:06:12 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2023-05-28 18:34:43 +00:00
|
|
|
<meta charset="utf-8">
|
2022-09-26 23:06:12 +00:00
|
|
|
<title><?=($self->header_title ?? 'flash.moe');?></title>
|
2023-05-28 18:34:43 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
|
|
<link href="/assets/2021.css" type="text/css" rel="stylesheet">
|
|
|
|
<link href="/assets/sprite.css" type="text/css" rel="stylesheet">
|
|
|
|
<link href="/assets/fonts/electrolize/style.css" type="text/css" rel="stylesheet">
|
2022-09-26 23:06:12 +00:00
|
|
|
</head>
|
2022-09-26 23:34:02 +00:00
|
|
|
<body class="<?php if(isset($self->header_is_index)) { echo 'index ';} if(isset($self->header_full)) { echo 'fullscreen-header ';} if(isset($self->header_now_playing)) { echo 'now-playing ';} if(isset($self->header_minimal)) { echo 'header-minimal ';} ?>">
|
2022-09-26 23:06:12 +00:00
|
|
|
<div class="header">
|
|
|
|
<div class="header-background">
|
2023-05-28 18:34:43 +00:00
|
|
|
<img src="<?=($self->header_bgs[array_rand($self->header_bgs)]);?>" alt="">
|
2022-09-26 23:06:12 +00:00
|
|
|
</div>
|
|
|
|
<div class="header-foreground"<?php if(isset($self->header_offset) && $self->header_offset > 0) echo " style=\"padding-bottom: {$self->header_offset}px\""; ?>>
|
|
|
|
<a class="header-logo" href="/">
|
2022-09-26 23:34:02 +00:00
|
|
|
<div class="header-flash"><?=($self->header_logo_flash ?? 'flash');?></div>
|
|
|
|
<div class="header-wave"><?=($self->header_logo_wave ?? 'wave');?></div>
|
2022-09-26 23:06:12 +00:00
|
|
|
</a>
|
|
|
|
<div class="header-right">
|
|
|
|
<div class="header-now-playing header-now-playing-hidden">
|
|
|
|
<div class="header-now-playing-icon" title="Now listening to...">
|
|
|
|
<a href="/now-listening"><div class="fmi fmi-music"></div></a>
|
|
|
|
</div>
|
|
|
|
<div class="header-now-playing-cover">
|
2023-05-28 18:34:43 +00:00
|
|
|
<img src="//now.flash.moe/resources/no-cover.png" alt="">
|
2022-09-26 23:06:12 +00:00
|
|
|
</div>
|
|
|
|
<div class="header-now-playing-details">
|
|
|
|
<div class="header-now-playing-title"><a href="#" target="_blank" rel="noopener"></a></div>
|
|
|
|
<div class="header-now-playing-artist"><a href="#" target="_blank" rel="noopener"></a></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="header-menu">
|
|
|
|
<?php foreach($self->header_nav as $link): ?>
|
|
|
|
<a href="<?=$link['link'];?>"<?php if($link['link'][0] === '/' && substr($link['link'], 0, 2) !== '//') { echo ''; } ?>><?=$link['title'];?></a>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="container">
|
|
|
|
<?=$self->getBlock('container');?>
|
|
|
|
</div>
|
|
|
|
<div class="footer">
|
2022-09-27 01:58:32 +00:00
|
|
|
<div class="footer-text">© flashwave <?=($self->footer_copy_start ?? '2010');?>-<?=($self->footer_copy_end ?? date('Y'));?> - <?=($self->footer_quotes[array_rand($self->footer_quotes)]);?></div>
|
2022-09-26 23:06:12 +00:00
|
|
|
</div>
|
|
|
|
<?php if(isset($self->footer_onload) && is_array($self->footer_onload)): ?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
window.fm = { onload: <?=json_encode($self->footer_onload);?> };
|
|
|
|
</script>
|
|
|
|
<?php endif; ?>
|
|
|
|
<script src="/assets/2021.js" charset="utf-8" type="text/javascript"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|