flash.moe/pages/related.php

45 lines
1.5 KiB
PHP
Raw Normal View History

2020-07-30 00:55:37 +00:00
<?php
if($reqPath === '/related.php' || $reqPath === '/related.html'
|| $reqPath === '/friends' || $reqPath === '/friends.html' || $reqPath === '/friends.php') {
if($reqMethod !== 'GET')
return FM_ERR | 405;
header('Location: /related');
return FM_HIT | 302;
}
if($reqPath === '/related') {
if($reqMethod !== 'GET')
return FM_ERR | 405;
fm_component('header', [
'title' => 'flash.moe / related',
]);
?>
<div class="section">
<div class="section-content">
<div class="section-background"></div>
<h1>Related Sites</h1>
</div>
</div>
<div class="related-sites">
<div class="related-site">
<a href="https://wart.host/" class="related-site-link"></a>
<div class="related-site-image">
<img src="//wart.host/Vintage/assets/cat.gif" alt=""/>
</div>
<div class="related-site-content">
<div class="related-site-title">
wart host
</div>
<div class="related-site-desc">
screenshot palace of my momther
</div>
</div>
</div>
</div>
<?php
fm_component('footer');
return FM_HIT;
}