<?php
if($session_id==$sess_id and $session_id!="" and $sess_id!="")
{
$do=$_GET['do'];
unset($_SESSION['backupVorschau']);
?>
<script>
function FensterAnzeigen(fenster)
{
if(document.getElementById(fenster).style.display=="block")
{
document.getElementById(fenster).style.display="none";
document.getElementById(fenster+"_deckung").style.display="none";
document.getElementById(fenster+"_deckung1").style.display="none";
document.getElementById(fenster+"_deckung2").style.display="none";
document.getElementById("menupunkt_"+fenster).style.borderColor="#C9DAEA";
document.getElementById("menupunkt_"+fenster).style.backgroundColor="";
}
else
{
document.getElementById("changelog").style.display="none";
document.getElementById("changelog_deckung").style.display="none";
document.getElementById("changelog_deckung1").style.display="none";
document.getElementById("changelog_deckung2").style.display="none";
document.getElementById("menupunkt_changelog").style.borderColor="#C9DAEA";
document.getElementById("menupunkt_changelog").style.backgroundColor="";
document.getElementById("kontakt").style.display="none";
document.getElementById("kontakt_deckung").style.display="none";
document.getElementById("kontakt_deckung1").style.display="none";
document.getElementById("kontakt_deckung2").style.display="none";
document.getElementById("menupunkt_kontakt").style.borderColor="#C9DAEA";
document.getElementById("menupunkt_kontakt").style.backgroundColor="";
document.getElementById("lizenz").style.display="none";
document.getElementById("lizenz_deckung").style.display="none";
document.getElementById("lizenz_deckung1").style.display="none";
document.getElementById("lizenz_deckung2").style.display="none";
document.getElementById("menupunkt_lizenz").style.borderColor="#C9DAEA";
document.getElementById("menupunkt_lizenz").style.backgroundColor="";
document.getElementById(fenster).style.display="block";
document.getElementById(fenster+"_deckung").style.display="block";
document.getElementById(fenster+"_deckung1").style.display="block";
document.getElementById(fenster+"_deckung2").style.display="block";
document.getElementById("menupunkt_"+fenster).style.borderColor="#75828D";
document.getElementById("menupunkt_"+fenster).style.backgroundColor="#89B5D4";
}
}
function FensterPruefen(fenster)
{
if(document.getElementById(fenster).style.display=="none")
{
document.getElementById("menupunkt_"+fenster).style.borderColor="#C9DAEA";
document.getElementById("menupunkt_"+fenster).style.backgroundColor="";
}
}
function CheckForm()
{
var name=document.kontakt_form.name.value;
var mail=document.kontakt_form.mail.value;
var message=document.kontakt_form.message.value;
c=0;
if(name=="")
{
c=1;
alert("Bitte tragen Sie Ihren Namen ein! / Please enter your name!");
}
if(mail=="" && c==0)
{
c=1;
alert("Bitte tragen Sie Ihre E-Mailadresse ein! / Please enter your E-mailadresse!");
}
if(message=="" && c==0)
{
c=1;
alert("Bitte füllen Sie das Nachrichtenfeld aus! / Please fill out the messagebox!");
}
if(c==0)
{
document.kontakt_form.submit();
}
}
</script>
<div id="kontakt" style="display:none;position:absolute;z-index:2;background-color:#89B5D4;width:498px;height:440px;margin-left:300px;border-left:1px solid #75828D">
<div id="" style="width:480px;height:413px;margin-left:9px;margin-top:9px;background-color:#E7EFF5;overflow:auto">
<p style="margin:0px;margin-top:18px;padding:13px;line-height:150%">
<span class="titel"><?php echo $sprache[146] ?></span>
<br><br>
<?php
if($do=="")
{
?>
Falls Sie Probleme mit dem Gästebuch, Anregungen zur Verbesserung oder auch Kritik haben, schicken Sie uns einfach eine E-Mail, indem Sie das unten stehende Formular ausfüllen. Felder mit * sind optional.
</p>
<form style="margin:0px;padding:0px" name="kontakt_form" method="post" action="admin.php?action=login&go=4&session_id=<?php echo $sess_id ?>&do=kontakt_form_abschicken">
<p style="margin:0px;padding:13px;padding-top:0px;line-height:150%">
Name, Vorname
<br>
<input type="text" name="name" size="50" maxlength="100" style="border:1px solid #CCCCCC;font-size:10px; font-family:verdana">
<br>
E-Mail
<br>
<input type="text" name="mail" size="50" maxlength="150" style="border:1px solid #CCCCCC;font-size:10px; font-family:verdana">
<br>
Homepage *
<br>
<input type="text" name="homepage" size="50" maxlength="200" style="border:1px solid #CCCCCC;font-size:10px; font-family:verdana">
<br>
Problemschilderung, Anregungen, Kritik...
<br>
<textarea name="message" rows="7" cols="82" maxlength="1000" style="border:1px solid #CCCCCC;font-size:10px; font-family:verdana"></textarea>
<br><br>
<input type="button" OnClick="CheckForm()" value="Mail versenden" style="padding:3px;border:1px solid #CCCCCC;font-size:10px; font-family:verdana">
</p>
</form>
<?php
}
if($do=="kontakt_form_abschicken")
{
?>
Vielen Dank für Ihre E-Mail. Wir werden uns schnellstmöglich bei Ihnen melden.
<?php
echo"<meta http-equiv=\"refresh\" content=\"5; URL=admin.php?action=login&go=4&session_id=$sess_id\">";
}
?>
</div>
</div>
<div id="kontakt_deckung" style="display:none;position:absolute;z-index:3;background-color:#89B5D4;width:28px;height:22px;margin-left:281px;margin-top:211px">
</div>
<div id="kontakt_deckung1" style="display:none;position:absolute;z-index:3;background-color:#89B5D4;width:18px;height:1px;margin-left:283px;margin-top:210px;border-top:1px solid #75828D">
</div>
<div id="kontakt_deckung2" style="display:none;position:absolute;z-index:3;width:18px;height:1px;margin-left:283px;margin-top:233px;border-top:1px solid #75828D">
</div>
<div id="changelog" style="display:none;position:absolute;z-index:2;background-color:#89B5D4;width:498px;height:440px;margin-left:300px;border-left:1px solid #75828D">
<div id="" style="width:480px;height:413px;margin-left:9px;margin-top:9px;background-color:#E7EFF5;overflow:auto">
<p style="margin:0px;margin-top:18px;padding:13px;line-height:150%">
<span class="titel"><?php echo $sprache[147] ?></span>
<br><br>
<?php include('changelog.inc'); ?>
</p>
</div>
</div>
<div id="changelog_deckung" style="display:none;position:absolute;z-index:3;background-color:#89B5D4;width:28px;height:22px;margin-left:281px;margin-top:241px">
</div>
<div id="changelog_deckung1" style="display:none;position:absolute;z-index:3;background-color:#89B5D4;width:18px;height:1px;margin-left:283px;margin-top:240px;border-top:1px solid #75828D">
</div>
<div id="changelog_deckung2" style="display:none;position:absolute;z-index:3;width:18px;height:1px;margin-left:283px;margin-top:263px;border-top:1px solid #75828D">
</div>
<div id="lizenz" style="display:none;position:absolute;z-index:2;background-color:#89B5D4;width:498px;height:440px;margin-left:300px;border-left:1px solid #75828D">
<div id="" style="width:480px;height:413px;margin-left:9px;margin-top:9px;background-color:#E7EFF5;overflow:auto">
<p style="margin:0px;margin-top:18px;padding:13px;line-height:150%">
<span class="titel"><?php echo $sprache[148] ?></span>
<br><br>
<?php include('lizenz.inc'); ?>
</p>
</div>
</div>
<div id="lizenz_deckung" style="display:none;position:absolute;z-index:3;background-color:#89B5D4;width:28px;height:22px;margin-left:281px;margin-top:271px">
</div>
<div id="lizenz_deckung1" style="display:none;position:absolute;z-index:3;background-color:#89B5D4;width:18px;height:1px;margin-left:283px;margin-top:270px;border-top:1px solid #75828D">
</div>
<div id="lizenz_deckung2" style="display:none;position:absolute;z-index:3;width:18px;height:1px;margin-left:283px;margin-top:293px;border-top:1px solid #75828D">
</div>
<div id="menupunkt_kontakt" OnClick="javascript:FensterAnzeigen('kontakt')" OnMouseOver="this.style.borderColor='#75828D';this.style.backgroundColor='#89B5D4'" OnMouseOut="javascript:FensterPruefen('kontakt')" style="cursor:pointer;position:absolute;z-index:1;margin:0px;margin-left:33px;margin-top:210px;width:250px;border:1px solid #C9DAEA">
<p style="margin:0px;padding:5px">
> <?php echo $sprache[146] ?>
</p>
</div>
<div id="menupunkt_changelog" OnClick="javascript:FensterAnzeigen('changelog')" OnMouseOver="this.style.borderColor='#75828D';this.style.backgroundColor='#89B5D4'" OnMouseOut="javascript:FensterPruefen('changelog')" style="cursor:pointer;position:absolute;z-index:1;margin:0px;margin-left:33px;margin-top:240px;width:250px;border:1px solid #C9DAEA">
<p style="margin:0px;padding:5px">
> <?php echo $sprache[147] ?>
</p>
</div>
<div id="menupunkt_lizenz" OnClick="javascript:FensterAnzeigen('lizenz')" OnMouseOver="this.style.borderColor='#75828D';this.style.backgroundColor='#89B5D4'" OnMouseOut="javascript:FensterPruefen('lizenz')" style="cursor:pointer;position:absolute;z-index:1;margin:0px;margin-left:33px;margin-top:270px;width:250px;border:1px solid #C9DAEA">
<p style="margin:0px;padding:5px">
> <?php echo $sprache[148] ?>
</p>
</div>
<div id="background" style="background-image:url('images/images/impressum/impressum_background.jpg');height:407px;width:800px">
<p style="margin:0px;padding:40px;line-height:170%">
<span class="titel"><?php echo $sprache[3] ?></span>
<br>
<br>
<b><?php echo $sprache[145] ?></b>
<br>
Soraxdesign René Kann
<br><br>
<b>E-Mail:</b> <a href="mailto:hide@address.com" class="einfach" target="_blank">hide@address.com</a><br>
<b>Internet:</b> <a href="http://www.soraxdesign.de" class="einfach" target="_blank">www.soraxdesign.de</a><br>
<b>Updates:</b> <a href="http://updates.soraxdesign.de" class="einfach" target="_blank">updates.soraxdesign.de</a><br>
<br><br><br><br><br><br><br><br><br>
<a href="http://validator.w3.org/check?uri=referer" target="_blank"><img src="http://www.w3.org/Icons/valid-html401" border="0" alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>
</p>
</div>
<?php
if($do=="kontakt_form_abschicken")
{
$name=$_POST['name'];
$mail=$_POST['mail'];
$homepage=$_POST['homepage'];
$message=$_POST['message'];
mail("hide@address.com","Mail vom Gästebuch Kontaktformular","
$message
\n\n
Name: $name\n
E-Mail: $mail\n
Homepage: $homepage\n
");
?>
<script>
FensterAnzeigen('kontakt');
</script>
<?php
}
}
else
{
echo"<meta http-equiv=\"refresh\" content=\"0; URL=error.php\" target=\"_top\">";
}
?>