<?php
/*
* (c) Kogao Software
* (u) http://kogaoscript.com/
*/
session_start();
require('classes/config.php');
if(empty($_SESSION['login'])){
header('Location: mainmeineanzeigen');
exit();
}
if($_SESSION['login'] != 1100){
header('Location: mainmeineanzeigen');
exit();
}
include "inc/db.php";
$db = new db();
$db->query('INSERT INTO
'.$_GET['d'].' SET
name = "'.utf8_decode($_GET['value']).'",
status = "1"
');
echo mysql_insert_id();
?>