pokemon-showdown-client/pokemonshowdown.com/interstice.php
Guangcong Luo 5d41f3ec93
Reorganize directories (#2187)
Files meant to be served have been moved into
`play.pokemonshowdown.com/` and `pokemonshowdown.com/`.

We now have three directories for the three subdomains handled by this
repo:

- `pokemonshowdown.com/`
- `play.pokemonshowdown.com/`
- `replay.pokemonshowdown.com/`

Naming them after the subdomains will make it much easier to tell where
the files for each go.

The diff is probably useless; it'll be easier if you just look at the
new tree:
https://github.com/smogon/pokemon-showdown-client/tree/reorganize
2023-11-16 03:39:29 -08:00

52 lines
1.0 KiB
PHP

<?php
include_once __DIR__ . '/../config/config.inc.php';
header('X-Robots-Tag: noindex');
if (!isset($_REQUEST['uri'])) {
header('HTTP/1.1 303 See Other');
header('Location: /');
die();
}
$uri = htmlspecialchars($_REQUEST['uri']);
if (substr($uri, 0, 4) !== 'http') $uri = 'http://' . $uri;
include 'style/wrapper.inc.php';
$page = 'interstice';
$pageTitle = "External link";
includeHeaderTop();
?>
<meta name="robots" content="noindex" />
<?php
includeHeaderBottom();
?>
<p>
You clicked on a link to:
</p>
<blockquote><p>
<code><?php echo $uri ?></code>
</p></blockquote>
<div style="clear:both"></div>
<ul>
<li>This site is not related to us. We cannot guarantee its quality.</li>
<li>Unknown sites may contain offensive or shocking content or may harm your computer.</li>
</ul>
<p>If you trust the source of this link:</p>
<blockquote>
<a rel="nofollow" class="button bigbutton" href="<?php echo $uri ?>" title="<?php echo $uri ?>"><strong>Visit external site</strong></a>
</blockquote>
<?php
includeFooter();
?>