1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16: | sql = "INSERT INTO `menu` (name,id,Itemid,comp_id,type,menutype)
VALUES ( '".trim(addslashes($_POST['name']))."',
'".trim(addslashes($_POST['id']))."',
'".trim(addslashes($_POST['id']))."',
'".trim(addslashes($_POST['comp_id']))."',
'".trim(addslashes($_POST['type']))."',
'".trim(addslashes($_POST['menutype']))."' ) ";
$result = mysql_query($sql) OR die(mysql_error());
echo "<h3 align = \"center\">...die Sektion '".$_POST['name']."' wurde erfolgreich hinzugefügt!</h3>";
$_REQUEST['task'] = '';
echo $_REQUEST['section'];
unset($_POST);
$path = "$absolute_path/admin/components/$comp/$section.html.php";
include "$path";
} |