summaryrefslogtreecommitdiff
path: root/pages/about.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/about.php')
-rw-r--r--pages/about.php86
1 files changed, 64 insertions, 22 deletions
diff --git a/pages/about.php b/pages/about.php
index 09d5771..5ddf3c5 100644
--- a/pages/about.php
+++ b/pages/about.php
@@ -1,5 +1,6 @@
<?php $PAGE_TITLE = "Ueber"; ?>
<?php include __DIR__ . "/../includes/template_head_start.php"; ?>
+<?php if (!$__mobile): ?>
<style type="text/css">
<!--
textarea, input {
@@ -18,8 +19,9 @@ button {
border-color: #53483d #0f0c0a #0f0c0a #53483d;
padding: 4px;
}
--->
+<?= "-->"; ?>
</style>
+<?php endif; ?>
<?php include __DIR__ . "/../includes/template_head_end.php"; ?>
<h1>&Uuml;ber die Mystic House Corner</h1>
@@ -36,32 +38,72 @@ Mystic House Corner: Ein Projekt von Jan W. und Jonas K.
<h2>Kontakt</h2>
-<form action="/cgi/contact.php" method="post" accept-charset="UTF-8">
- <input name="utf8" type="hidden" value="&#x2713;">
- <table>
- <tr><th align="left">Ihre eMail-Adresse:</th></tr>
- <tr><td><input type="text" name="email" size="40"></td></tr>
+<?php if ($__mobile): ?>
+ <form action="/cgi/contact.php" method="post" accept-charset="UTF-8">
+ <input name="utf8" type="hidden" value="&#x2713;">
+
+ <div class="form-group">
+ <label for="i_email">Ihre eMail-Adresse:</label>
+ <input class="form-control" type="text" id="i_email" name="email" size="40">
+ </div>
- <tr><th align="left">Ihr Name:</th></tr>
- <tr><td><input type="text" name="name" size="40"></td></tr>
+ <div class="form-group">
+ <label for="i_name">Ihr Name:</label>
+ <input class="form-control" type="text" id="i_name" name="name" size="40">
+ </div>
- <tr><th align="left">Betreff:</th></tr>
- <tr><td><input type="text" name="subject" size="40"></td></tr>
+ <div class="form-group">
+ <label for="i_subject">Betreff:</label>
+ <input class="form-control" type="text" id="i_subject" name="subject" size="40">
+ </div>
- <tr><th align="left">Ihre Nachricht:</th></tr>
- <tr><td><textarea name="message" cols="40" rows="8"></textarea></td></tr>
+ <div class="form-group">
+ <label for="i_message">Ihre Nachricht:</label>
+ <textarea class="form-control" id="i_message" name="message" cols="40" rows="8"></textarea>
+ </div>
- <tr><th align="left">CAPTCHA:</th></tr>
- <tr><td>
- <iframe src="/cgi/captcha.php" border="0" frameborder="0" width="256" height="64" name="captchafr"></iframe>
+ <div class="form-group">
+ <label for="i_captcha">CAPTCHA:</label>
<br>
- <small><a href="/cgi/captcha.php" target="captchafr">Neues Bild</a></small>
- <br>
- <input type="text" name="captcha" id="input-captcha" size="40">
- </td></tr>
+ <div class="text-center">
+ <iframe src="/cgi/captcha.php" border="0" frameborder="0" width="256" height="64" name="captchafr"></iframe>
+ </div>
+ <div class="input-group">
+ <input type="text" name="captcha" id="i_captcha" size="40" class="form-control">
+ <a class="btn btn-default input-group-addon" href="/cgi/captcha.php" target="captchafr"><i class="glyphicon glyphicon-refresh"></i></a>
+ </div>
+ </div>
+
+ <button type="submit" class="btn btn-primary">Absenden</button>
+ </form>
+<?php else: ?>
+ <form action="/cgi/contact.php" method="post" accept-charset="UTF-8">
+ <input name="utf8" type="hidden" value="&#x2713;">
+ <table>
+ <tr><th align="left">Ihre eMail-Adresse:</th></tr>
+ <tr><td><input type="text" name="email" size="40"></td></tr>
+
+ <tr><th align="left">Ihr Name:</th></tr>
+ <tr><td><input type="text" name="name" size="40"></td></tr>
+
+ <tr><th align="left">Betreff:</th></tr>
+ <tr><td><input type="text" name="subject" size="40"></td></tr>
+
+ <tr><th align="left">Ihre Nachricht:</th></tr>
+ <tr><td><textarea name="message" cols="40" rows="8"></textarea></td></tr>
+
+ <tr><th align="left">CAPTCHA:</th></tr>
+ <tr><td>
+ <iframe src="/cgi/captcha.php" border="0" frameborder="0" width="256" height="64" name="captchafr"></iframe>
+ <br>
+ <small><a href="/cgi/captcha.php" target="captchafr">Neues Bild</a></small>
+ <br>
+ <input type="text" name="captcha" id="input-captcha" size="40">
+ </td></tr>
- <tr><td><button type="submit">Absenden</button></td></tr>
- </table>
-</form>
+ <tr><td><button type="submit">Absenden</button></td></tr>
+ </table>
+ </form>
+<?php endif; ?>
<?php include __DIR__ . "/../includes/template_end.php"; ?>