You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
786 B

<?php if (!defined('INIT')) exit; ?>
<!DOCTYPE html>
<html lang>
<head>
<meta charset="UTF-8">
<title>Phedder</title>
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Phedder</h1>
<form action="<?=wc()?>">
<label>
Ort
<input name="location" required value="<?=e($_GET['location'] ?? '')?>">
</label>
<button type="submit">
Suche
</button>
</form>
<?php
if (isset($CFG['failure'])) {
?>
<p>Http Code: <?=$CFG['failure']?></p>
<?php
}
?>
</body>
</html>