pokemon-showdown-client/replays/503.php
Guangcong Luo 029b691be1
Add replay database code to version control (#1301)
This required a new architecture for serving replays from inside the
client repository, because that seems like a better call than
introducing yet another PS repository.

(Experience gives me the impression that separating repositories wasn't
a good idea, and we should be working to make PS more mono-repo-like,
rather than less.)

License for replay code is tentatively AGPLv3, although feel free to ask
for a more permissive license if you have plans to use it in an
open-source project that requires it.
2019-06-14 17:48:34 +09:00

44 lines
905 B
PHP

<?php
error_reporting(0);
header('HTTP/1.1 503 Service Unavailable');
include_once 'theme/panels.lib.php';
$page = '503';
$pageTitle = "Service Unavailable";
$panels->setPageTitle("Replay not found");
$panels->noScripts();
$panels->start();
?>
<div class="pfx-panel"><div class="pfx-body pfx-body-padded" style="max-width:8in;">
<div class="main">
<h1>Technical difficulties</h1>
<p>
<?= @$Replays->offlineReason ? $Replays->offlineReason : "We're currently experiencing some technical difficulties. Please try again later. Sorry." ?>
</p>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-6535472412829264";
/* PS replay */
google_ad_slot = "8206205605";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="//pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</div></div>
<?php
$panels->end();
?>