Update submit_external-webserver_client.txt

This commit is contained in:
luqaska 2021-12-01 15:07:18 -03:00 committed by GitHub
parent cf4e6fbe1d
commit 679af3f139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 3 deletions

View File

@ -20,14 +20,19 @@
<input type="url" id="myInput" name="name" autofocus placeholder="url">
<input type="submit" value="submit">
</div>
</form>
</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"])){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>";} ?>
<?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>";
} ?>
</div>
</div>