Code:
ALTER TABLE `vms_kontodaten` ADD `aprang` INT( 2 ) DEFAULT '0' NOT NULL ;
--
-- Tabellenstruktur für Tabelle `vms_aprangsystem`
--
CREATE TABLE `vms_aprangsystem` (
`aprang` int(2) NOT NULL default '0',
`name` varchar(50) NOT NULL default '',
`grenzwert` int(100) NOT NULL default '0',
`bonus` int(100) NOT NULL default '0',
PRIMARY KEY (`aprang`)
) TYPE=MyISAM;
--
-- Daten für Tabelle `vms_aprangsystem`
--
INSERT INTO `vms_aprangsystem` VALUES (2, 'Rang 2', 2000, 20000);
INSERT INTO `vms_aprangsystem` VALUES (3, 'Rang 3', 4000, 30000);
INSERT INTO `vms_aprangsystem` VALUES (4, 'Rang 4', 8000, 40000);
INSERT INTO `vms_aprangsystem` VALUES (5, 'Rang 5', 15000, 50000);
INSERT INTO `vms_aprangsystem` VALUES (6, 'Rang 6', 30000, 60000);
INSERT INTO `vms_aprangsystem` VALUES (7, 'Rang 7', 60000, 70000);
INSERT INTO `vms_aprangsystem` VALUES (8, 'Rang 8', 90000, 80000);
INSERT INTO `vms_aprangsystem` VALUES (9, 'Rang 9', 120000, 90000);
INSERT INTO `vms_aprangsystem` VALUES (1, 'Rang 1', 1000, 10000);
INSERT INTO `vms_aprangsystem` VALUES (10, 'Rang 10', 150000, 100000);
INSERT INTO `vms_aprangsystem` VALUES (11, 'Rang 11', 180000, 110000);
INSERT INTO `vms_aprangsystem` VALUES (12, 'Rang 12', 210000, 120000);
INSERT INTO `vms_aprangsystem` VALUES (13, 'Rang 13', 240000, 130000);
INSERT INTO `vms_aprangsystem` VALUES (14, 'Rang 14', 270000, 140000);
INSERT INTO `vms_aprangsystem` VALUES (15, 'Rang 15', 300000, 150000);
INSERT INTO `vms_aprangsystem` VALUES (16, 'Rang 16', 400000, 160000);
INSERT INTO `vms_aprangsystem` VALUES (17, 'Rang 17', 500000, 170000);
INSERT INTO `vms_aprangsystem` VALUES (18, 'Rang 18', 600000, 180000);
INSERT INTO `vms_aprangsystem` VALUES (19, 'Rang 19', 700000, 190000);
INSERT INTO `vms_aprangsystem` VALUES (20, 'Rang 20', 1000000, 250000);
INSERT INTO `vms_aprangsystem` VALUES (0, 'Anfänger', 0, 0);
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `vms_aprangsystem_conf`
--
CREATE TABLE `vms_aprangsystem_conf` (
`art` varchar(20) NOT NULL default '',
`einstellung` int(2) NOT NULL default '0'
) TYPE=MyISAM;
--
-- Daten für Tabelle `vms_aprangsystem_conf`
--
INSERT INTO `vms_aprangsystem_conf` VALUES ('aktiv', 0);
INSERT INTO `vms_aprangsystem_conf` VALUES ('anzahl', 20);
: \ Hier der Inhalt der beiliegenden SQL-DAtei ! Ich hoffe das hilft!?