2017-03-30 01:29:53 +02:00
|
|
|
<?php
|
|
|
|
|
2017-03-30 01:49:26 +02:00
|
|
|
error_reporting(E_ALL);
|
|
|
|
ini_set('display_errors', 1);
|
|
|
|
|
2017-03-30 01:29:53 +02:00
|
|
|
define('ROOT_PAGE', 1);
|
|
|
|
|
|
|
|
require_once './LBRY.class.php';
|
|
|
|
|
|
|
|
$name = ltrim(urldecode($_SERVER['REQUEST_URI']), '/');
|
2017-03-30 01:49:26 +02:00
|
|
|
if ($name == 'publish')
|
|
|
|
{
|
|
|
|
include './publish.php';
|
|
|
|
exit(0);
|
|
|
|
}
|
|
|
|
elseif ($name)
|
2017-03-30 01:29:53 +02:00
|
|
|
{
|
|
|
|
include './image.php';
|
|
|
|
exit(0);
|
|
|
|
}
|
|
|
|
?>
|
2017-03-29 22:22:15 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<h1>spee.ch</h1>
|
2017-03-30 01:49:26 +02:00
|
|
|
<p>spee.ch is a single-serving site that reads (and will soon publish) images to and from the LBRY blockchain.</p>
|
|
|
|
<p>You can watch live right now as it is being built!</p>
|
2017-03-29 22:22:15 +02:00
|
|
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/C9LCapt_OYw" frameborder="0" allowfullscreen></iframe>
|
2017-03-30 01:49:26 +02:00
|
|
|
<p>Here are some sample images:</p>
|
|
|
|
<ul>
|
|
|
|
<?php foreach(['thailand', 'doitlive', 'coconuts', 'cow-air-balloon'] as $name): ?>
|
|
|
|
<li><a href="/<?php echo $name ?>">spee.ch/<?php echo $name ?></a></li>
|
|
|
|
<?php endforeach ?>
|
|
|
|
</ul>
|
|
|
|
<p>Publishing coming in just a few minutes!</p>
|