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>
|
2021-12-01 18:07:18 +00:00
|
|
|
</form>
|
2021-12-01 14:57:53 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2021-12-01 18:07:18 +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>";
|
|
|
|
}else{
|
|
|
|
echo "<div id='sub'><p>Based on <a href='https://youtu.be/MRoekZ93bpQ'>Yessle</a> - <a href='https://github.com/luqaska/filde'>Code</a></p>";
|
|
|
|
} ?>
|
2021-12-01 14:57:53 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|