hi leute hab da ein paar fehlerchen mal wieder hoffe mir kann da geholfen werden
vielen dank schon mal
ps. alles was fett ist ist der fehler
#remove account
if (isset($_POST['removeaccount'])) {
$id = $_SESSION['authid'].'-remove-'.md5 (uniqid (rand()));
db_query("INSERT INTO prefix_usercheck (`check`,email,datime,ak)
VALUES ('".$id."','".escape($_POST['email'],'string')."',NOW(),5)");
$page = $_SERVER["HTTP_HOST"].$_SERVER["SCRIPT_NAME"];
$text = $lang['removeconfirm'] . sprintf ($lang['registconfirmlink'], $page, $id );
icmail ($_POST['email'], html_entity_decode($lang['removeaccount']), $text );
$fmsg = $lang['pleaseconfirmremove'];
}
#remove account
# original groesse anzeigen
if ($menu->get(1) == 'showOrig') {
$tpl = new tpl ('gallery_show');
$tpl->set('id', escape($menu->get(2), 'integer'));
$tpl->set('endung',htmlentities($menu->get(3)));
$tpl->out(4);
function sanitize($text) {
$text = htmlspecialchars($text, ENT_QUOTES);
$text = str_replace("\n\r","\n",$text);
$text = str_replace("\r\n","\n",$text);
$text = str_replace("\n","<br>",$text);
return $text;
verwendete ilch Version: 1.1 P
betroffene Homepage: mastersofdiss.bplaced.de