 
 -- Table: articles
-CREATE TABLE articles ( 
+CREATE TABLE articles (
     id       INTEGER         PRIMARY KEY,
     title    VARCHAR( 255 ),
     textid   VARCHAR( 100 ),

    title  VARCHAR( 200 ),
    menu   VARCHAR( 100 ),
    sort   INT( 11 ),
    subof  INT( 11 )       DEFAULT ( NULL ) 
);--end
-- Table: tag
CREATE TABLE tag ( 
    id    INTEGER PRIMARY KEY AUTOINCREMENT,
    title TEXT 
);--end
-- Table: articles_tag
CREATE TABLE articles_tag ( 
    id          INTEGER PRIMARY KEY AUTOINCREMENT,
    articles_id INTEGER,
    tag_id      INTEGER,
    FOREIGN KEY ( articles_id ) REFERENCES articles ( id ) ON DELETE CASCADE
                                                               ON UPDATE SET NULL,
    FOREIGN KEY ( tag_id ) REFERENCES tag ( id ) ON DELETE CASCADE
                                                     ON UPDATE SET NULL 
);--end
-- Table: menutrans
CREATE TABLE menutrans ( 
    id      INTEGER PRIMARY KEY AUTOINCREMENT,
    lang    TEXT,
    status  INTEGER,

    title   TEXT,
    menu_id INTEGER,
    FOREIGN KEY ( menu_id ) REFERENCES menu ( id ) ON DELETE SET NULL
                                                       ON UPDATE SET NULL
);--end
-- Table: arttrans
CREATE TABLE arttrans (
    id          INTEGER PRIMARY KEY AUTOINCREMENT,
    lang        TEXT,
    status      INTEGER,
