, und Tags mehr) * TODO: Alle "" Strings in '' Strings umwandeln * TODO: Funktioneller Aufruf, damit exit-Tags verschwinden koennen und somit der Chat angezeigt werden kann!! */ include_once('path.inc.php'); // get the path ;) include_once (ROOT_PATH . '/include/config.inc.php'); include_once (ROOT_PATH . '/include/char.inc.php'); include_once (ROOT_PATH . '/include/fehlerausgabe.inc.php'); include_once (ROOT_PATH . '/include/parse.inc.php'); // GET-Section // Kritisch (SQL-Injections) $char_id = validateUnsignedInteger($_GET['char_id'], null); // Unkritisch! $charm = $_GET['charm']; $as = $_GET['as']; if ($charm == 3) { $char = getChar($char_id); $result = deleteChar($user_ida['id'],$char_id); if($result === true){ displayErrorMessage(NULL, 'Der Char '.$char['name']. ' wurde gelöscht', 'weiter'); } else{ displayErrorMessage(NULL, $result, 'weiter'); } exit; } if ($as == "char_index") { $as = "char_profil"; } ?>
Du hast noch keine Chars!
" width="75" height="75">
Charakter: $row[name] | Status: "; } else { echo "$row[name] | Status: "; } if ($row['status'] == 'Frei') { echo "Frei | "; } else { echo "$row[status] | "; } echo 'Charakter löschen'; ?>