This repository has been archived on 2025-07-09. You can view files and clone it, but cannot push or open issues or pull requests.
oohay/html/ban/form.html.php
2025-05-23 15:11:34 -07:00

33 lines
1.2 KiB
PHP
Executable file

<!DOCTYPE html>
<html>
<head>
<title>Ban a page</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="/styles.css">
<style type="text/css">
textarea {
display: block;
width: 100%;
}
</style>
</head>
<body>
<form action="ban.php" method="post">
<div>
<label for="url">List up to 100 URLs as they appear in search results:</label><br>
<?php if(isset($_POST['urls'])) : ?>
<textarea id="urls" name="urls" maxlength="40000" rows="10" cols="60" ><?php echo htmlspecialchars($_POST['urls'], ENT_QUOTES, 'UTF-8') ?></textarea>
<?php else : ?>
<textarea id="urls" name="urls" maxlength="40000" rows="10" cols="60" ></textarea>
<?php endif; ?>
</div>
<div>
<label for="delete">Delete from index:</label>
<input type="checkbox" id="delete" name="delete" checked="checked">
<p class="pin">*Unchecking this will ban them from the index instead.</p><br>
</div>
<div><input type="submit" value="Submit"/></div>
</form>
</body>
</html>