ich habe probleme bei mir ein Charakter anulegen, Leider ist der Absendebutton nicht vorhanden, wo habe ich da ein Fehler?
PHP-Datei
<?php
# Script Copyright by: Manuel Staechele
# Support: www.ilch.de
defined ('main') or die ( 'no direct access' );
$title = $allgAr['title'].' :: Charakter :: Anlegen';
$hmenu = $extented_forum_menu.'<a class="smalfont" href="?char">Charakter</a><b> » </b> Anlegen'.$extented_forum_menu_sufix;
$design = new design ( $title , $hmenu);
$design->header();
if (loggedin()) {
if (isset($_POST['submit'])) {
$charname = escape($_POST['charname'], 'string');
$chartype = escape($_POST['chartyp'], 'string');
$charlevel = escape($_POST['charlevel'], 'string');
$chardiv = escape($_POST['charbes'], 'string');
$chargy = escape($_POST['gy'], 'string');
if (db_query("INSERT INTO `prefix_char` (user_id,char_name, char_type, char_level, char_div, char_gy)
VALUES ({$_SESSION['authid']},'$charname', '$chartype','$charlevel','$chardiv','$chargy')")) {
$wdtxt = 'Dein Charakter wurde erfolgreich eingetragen.';
} else {
$wdtxt = 'Es ist ein Fehler beim Eintragen aufgetreten, falls das immer passiert solltest du einen Admin kontaktieren.';
}
wd(array('Startseite'=>'index.php','weiteren Char anlegen'=>'index.php?char-new'),$wdtxt,10);
} else {
$tpl = new tpl('char/char_new');
$tpl->out(0);
}
}else {
echo 'Nur für angemeldete Benutzer';
}
$design->footer();
?>
html-Datei
<form action="index.php?char-new" method="POST" enctype="multipart/form-data">
<fieldset>
<legend>Charakter Anlegen</legend>
<br />
<label style="float:left; width:35%;">{_lang_char_name}</label><input style="margin-bottom:2px;" name="charname" value="{Charaktername}" /><font class="smalfont">{_lang_mustbeentered}</font><br />
<label style="float:left; width:35%;">{_lang_char_level}</label><input style="margin-bottom:2px;" name="charlevel" value="{Level}" /><br style="clear:both;" />
<label style="float:left; width:35%;">{_lang_char_typ}</label>
<select style="margin-bottom:2px;" name="chartyp" size="6" />
<option>Hochelfe</option>
<option>Inquisitor</option>
<option>Tempelwächter</option>
<option>Schattenkrieger</option>
<option>Seraphim</option>
<option>Dryade</option>
</select><br style="clear:both;" />
<label style="float:left; width:35%;">{_lang_char_bes}</label><textarea style="margin-bottom:2px;" name="charbes" value="{Besonderheiten}" cols="50" rows="5" />{Besonderheiten}</textarea><br style="clear:both;" />
<label style="float:left; width:35%;">{_lang_char_gy}</label><input type="checkbox" style="margin-bottom:2px;" name="gy" value="" /><br style="clear:both;" />
<br />
<fieldset>
<br />
{EXPLODE}
</fieldset>
<br />
{EXPLODE}
<br />
<div align="center">
<input style="margin-bottom:2px;" type="submit" value="{_lang_send2}" name="submit">
</div>
</fieldset>
</form>

