function showadd() { global $name, $pass, $prioritaet; global $table_accounts, $table_banner, $table_groups, $table_stats, $datei_endung; $sql = "select MAX(id) from $table_banner"; $sql_id = mysql_query($sql); $banner = mysql_fetch_row($sql_id); $id = $banner[0]+1; if($banner[0] == "") { $id = 1000; } $akt_date = date("d.m.Y"); echo "
";
?>