clandb.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Unbenanntes Dokument</title> </head> <body><form method="POST" action="http://www.slashershome.de"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>Clanname:</td> <td><input type="text" name="clanname" size="50" maxlength="100" /></td> </tr> <tr> <td> Clantag:</td> <td><input type="text" name="clantag" size="20" maxlength="20" /></td> </tr> <tr> <td>Homepage:</td> <td><input type="text" name="hp" value="http://" size="50" maxlength="100" /></td> </tr> <tr> <td>Banner-Url:</td> <td><input type="text" name"banner" value="http://" size="50" maxlength="100" /></td> </tr> <tr> <td valign="top">Liga:</td> <td><input type=checkbox name="liga" value="tesp"> Tactical E-Sports League (TESP)<br /> <input type=checkbox name="liga" value="esl"> Electronic Sports League (ESL)<br /> <input type=checkbox name="liga" value="st"> Stammkneipe <br /> <input type=checkbox name="liga" value="lgz"> Leaguez (LGZ) <br /> <input type=checkbox name="liga" value="keine"> Keine Liga <br /> <input type=checkbox name="liga" value="andere"> Andere Ligen</td> </tr> <tr> <td valign="top">Eure Server (IP und Name):</td> <td><textarea type="text" name="server" rows=8 cols=50></textarea></td> </tr> <tr> <td valign="top">Kleine Beschreibung zu Euch und eurer History:</td> <td><textarea type="text" name="history" rows=5 cols=50></textarea></td> </tr> <tr> <td valign="top">Eure Ziele:</td> <td><textarea type="text" name="ziel" rows=5 cols=50></textarea></td> </tr> <tr> <td valign="top">Kontakt-Möglichkeit bei Fragen:: </td> <td><input type=radio name="kontakt" value="icq"> Icq:<br /> <input type=radio name="kontakt" value="email"> E-Mail:<br /> <input type=radio name="kontakt" value="steam"> Steam-Name: <br /> <input name="kontaktein" size="50" maxlength="100" /></td> </tr> </table> <p> </p> <div align="center"><input type="submit" value=" Absenden "></div> </form> </body> </html>
und die clandb.php *UPDATE*
<?php # Copyright by: Manuel # Support: www.ilch.de defined ('main') or die ( 'no direct access' ); $title = $allgAr['title'].' :: Clandatenbank'; $hmenu = 'Clandatenbank'; $design = new design ( $title , $hmenu ); $design->header(); $tpl = new tpl ( 'clandb.htm' ); $tpl->out(0); $mailtext = "Clanname: {$_POST['clanname']} Clantag: {$_POST['clantag']} Nachricht: {$_POST['text']} Homepage: {$_POST['hp']} Banner: {$_POST['banner']} Liga: {$_POST['liga']} Server: {$_POST['server']} History: {$_POST['history']} Ziele: {$_POST['ziel']} Kontakt: {$_POST['kontakt']} Kontakt: {$_POST['kontaktein']} "; icmail($mail,$betreff,$text); $mail = 'victorbur@slasher-squad.de'; $betreff = 'Clandatenbank-Restrierung'; $text = '$mailtext'; $design->footer(); ?>
Wäre echt super. Danke im Vorraus...
mfg vIC
Zuletzt modifiziert von Vic am 23.03.2008 - 23:49:11