2021-12-01 14:57:53 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="stylesheet" href="styles.css">
|
2021-12-01 15:19:05 +00:00
|
|
|
<title>Submit - <?= $TITLE ?></title>
|
2021-12-01 14:57:53 +00:00
|
|
|
</head>
|
|
|
|
<body class="h">
|
|
|
|
|
|
|
|
<div id="container">
|
|
|
|
<div id="content">
|
|
|
|
<div id="header">
|
2021-12-01 15:19:05 +00:00
|
|
|
<a href="index.php"><h1><?= $TITLE ?></h1></a>
|
2021-12-01 14:57:53 +00:00
|
|
|
<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>
|
|
|
|
|
2021-12-01 15:43:35 +00:00
|
|
|
<?php if(isset($_GET["sucess"])){exec('curl -O '.$SUBMIT_EXTERNAL_URL.'database.txt');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>";} ?>
|
2021-12-01 14:57:53 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|