CREATE TABLE asa_cfg (
  pk int(2) NOT NULL auto_increment,
  afterLogin varchar(100) default NULL,
  afterLogout varchar(100) default NULL,
  ftarget_in varchar(50),
  ftarget_out varchar(50),
  ftarget_1 varchar(50),
  isHTML int(1) default NULL,
  isMailToNew int(1) default NULL,
  mailHeader text,
  mailFooter text,
  msgForNew text,
  mailHeader01 text,
  mailHeader02 text,
  mailFooter01 text,
  mailFooter02 text,
  adminEmail varchar(100) default NULL,
  companyName varchar(50) default NULL,
  rtLogin tinyint(1) default NULL,
  openList tinyint(1) default NULL,
  openStat tinyint(1) default NULL,
  isMailToBlackList tinyint(1) default NULL,
  mailBody text,
  mailBody_bl text,
  mailHeader_bl text,
  mailFooter_bl text,
  listList varchar(200),
  isMileage int(1) default '1' not null,
  PRIMARY KEY (pk)
);
insert into asa_cfg(afterLogin, afterLogout, isMailToNew, isMailToBlackList) values('http://','http://', '1', '0')