mlmmj-web-ll/index.php

49 lines
2.1 KiB
PHP
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<title>Picnic CSS Testing</title>
<title><?php echo $_SERVER['SERVER_NAME']; ?>: mlmmj-webinterface</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/picnic.min.css">
<link rel="stylesheet" href="css/leinelab.css">
</head>
<body>
<main class="intro">
<h1><?php echo $_GET['ml_list']; ?></h1>
<div class="tabs two">
<input id='tab-1' type='radio' name='subscribe' checked />
<label class="pseudo button toggle" for="tab-1">Subscribe</label>
<input id='tab-2' type='radio' name='subscribe'>
<label class="pseudo button toggle" for="tab-2">Unsubscribe</label>
<div class="row">
<div>
<form action="mlmmj.php" method="post">
<input name="mailinglist" type="hidden" value="testing@<?php echo $_SERVER['SERVER_NAME']; ?>">
<input name="job" type="hidden" value="subscribe">
<input name="redirect_failure" type="hidden" value="http://www.failure.com/">
<input name="redirect_success" type="hidden" value="http://wiki.leinelab.org/">
<label class="form-label" for="input-email-sub">Your Mail Address</label>
<input class="form-label" id="input-email-sub" name="email" type="text" size="30" maxlength="254" placeholder="email@addr"><br>
<button class="primary">Subscribe</button>
</form>
</div>
<div>
<form action="mlmmj.php" method="post">
<input name="mailinglist" type="hidden" value="testing@<?php echo $_SERVER['SERVER_NAME']; ?>">
<input name="job" type="hidden" value="unsubscribe">
<input name="redirect_failure" type="hidden" value="http://www.failure.com/">
<input name="redirect_success" type="hidden" value="http://wiki.leinelab.de">
<label class="form-label" for="input-email-unsub">Your Mail Address</label>
<input class="form-label" id="input-email-unsub" name="email" type="text" size="30" maxlength="254" placeholder="email@addr"><br>
<button class="primary">Unsubscribe</button>
</form>
</div>
</div>
</div>
</main>
</body>
</html>