Create submit_external-webserver_client.php

This commit is contained in:
luqaska 2021-12-01 11:57:53 -03:00 committed by GitHub
parent 230dd77b76
commit 90a047bc74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Submit - Filde</title>
</head>
<body class="h">
<div id="container">
<div id="content">
<div id="header">
<a href="?"><h1>Filde</h1></a>
<p>Submit [BETA]</p>
</div>
<div class="form">
<form method="post" action="<?= $SUBMIT_EXTERNAL_URL ?>">
<div class="autocomplete">
<input type="url" id="myInput" name="name" autofocus placeholder="url">
<input type="submit" value="submit">
</div>
</form>
</div>
<div id='sub'><p>Based on <a href='https://youtu.be/MRoekZ93bpQ'>Yessle</a> - <a href='https://github.com/luqaska/filde'>Code</a> - <a rel='me' href='https://tilde.zone/@lucas'>News</a></p><p>Wanna add a result? Send an e-mail to <a href='mailto:lucas@tilde.team'>lucas@tilde.team</a></p></div><br><br>
</div>
</div>
<?php if(isset($_GET["sucess"])){echo "<p>Indexed URL</p>";}elseif(isset($_GET["not_allowed"])){echo "<p>This domain isn't in the <a href='allowed.json'>whitelist</a></p>";} ?>
</div>
</div>
</body>
</html>