drnk.me/templates/pages/homepage.php
2023-12-02 21:20:19 +01:00

20 lines
504 B
PHP

<?php
require(__DIR__ . "/../layout/top.php");
?>
<div class="page-header">
<h1>drnk.me</h1>
<h2>URL Shortener</h2>
</div>
<img class="bottle" src="/static/img/bottle.png" alt="picture of a vile with a tag 'Drnk Me'" />
<div class="center-panel">
<form action="/manage" method="POST">
<input type="text" name="url" placeholder="<?php echo $data["url"] ?? "URL" ?>">
<input type="submit" value="Submit">
</form>
</div>
<?php
require(__DIR__ . "/../layout/bottom.php");