59 lines
3.1 KiB
PHP
59 lines
3.1 KiB
PHP
<?php
|
|
$form = $session->get('form');
|
|
?>
|
|
<style type="text/css">
|
|
#outer-content {
|
|
background-image: url('/img/bg_leistungen.jpg');
|
|
}
|
|
</style>
|
|
<div id="kontaktform">
|
|
<?php if($session->has('alert')): ?>
|
|
<div class="alert <?=$session->get('alert-class')?>">
|
|
<?=$session->get('alert')?>
|
|
</div>
|
|
<?php $session->remove('alert'); ?>
|
|
<?php endif; ?>
|
|
<h1>Ihre Kontaktanfrage</h1>
|
|
|
|
<form action="/contact.php" method="post">
|
|
<input type="hidden" name="timestamp" value="<?=time()?>" />
|
|
<input type="hidden" name="check" value="<?=(isset($form) && $form['check'] ? 'send' : '0')?>" />
|
|
|
|
<p>Hier können Sie, unter Angabe ihrer Kontaktdaten, eine persönliche Anfrage stellen. Die mit einem (*) gekennzeichneten Felder sind Pflichtfelder. Bitte geben Sie entweder eine E-Mailadresse oder ihre Telefonnummer an, damit wir Sie erreichen können.</p>
|
|
|
|
<div style="display: none;"><label for="Company">Firma</label> <input type="text" name="company" id="company" value="" /></div>
|
|
<div class="ktColumn"><label for="surname">Vorname</label> <input type="text" name="surname" id="surname" value="<?=isset($form) ? $form['surname'] : ''?>" /></div>
|
|
<div class="ktColumn"><label for="name">Nachname*</label> <input type="text" name="name" id="name" value="<?=isset($form) ? $form['name'] : ''?>" /></div>
|
|
<div class="clear"></div>
|
|
<div class="ktColumn"><label for="email">E-Mail*</label> <input type="text" name="email" id="email" value="<?=isset($form) ? $form['email'] : ''?>" /></div>
|
|
<div class="ktColumn"><label for="phone">Telefon*</label> <input type="text" name="phone" id="phone" value="<?=isset($form) ? $form['phone'] : ''?>" /></div>
|
|
<div class="clear"></div>
|
|
<label for="message">Mitteilung*</label> <textarea name="message" id="message"><?=isset($form) ? $form['message'] : ''?></textarea>
|
|
<br />
|
|
|
|
<?php if(false): ?>
|
|
<div class="ktColumn"><label for="captchaImg"> </label> <img id="captchaImg" src="/captcha.png?t=<?=time()?>" /> <a href="javascript:void(0);" onclick="reloadCaptcha('captchaImg');" title="Captcha neu laden"><img src="/img/icon_refresh.png" alt="" /></a></div>
|
|
<div class="clear"></div>
|
|
<div class="ktColumn"><label for="captcha">Captcha*</label> <input type="text" name="captcha" id="captcha" /></div>
|
|
<div class="clear"></div>
|
|
<?php endif; ?>
|
|
|
|
<p>Ihre persönlichen Daten werden von uns nicht gespeichert und lediglich zur Kontaktaufnahme verwendet. Wir werden ihre persönlichen Daten nicht an Dritte weitergeben.</p>
|
|
|
|
<div id="kontaktbuttons">
|
|
<input type="button" name="abort" value="Abbrechen" onclick="history.back(-1);" />
|
|
<input type="submit" name="send" value="Absenden" />
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<script language="javascript" type="text/javascript">
|
|
<!--
|
|
function reloadCaptcha(objID) {
|
|
var now = new Date().getTime();
|
|
var obj = $(objID);
|
|
var imageURL = obj.src.split("?")[0];
|
|
obj.src = imageURL + "?" + now;
|
|
}
|
|
//-->
|
|
</script>
|