
--
-- Table structure for table `forum_arz`
--

CREATE TABLE IF NOT EXISTS `forum_arz` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `post_id` varchar(255) DEFAULT NULL,
  `user_id` varchar(10) DEFAULT '0',
  `arzchi_id` varchar(10) DEFAULT '0',
  `arz` varchar(350) NOT NULL DEFAULT '',
  `time` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

--
-- Dumping data for table `forum_arz`
--


-- --------------------------------------------------------

--
-- Table structure for table `forum_chat`
--

CREATE TABLE IF NOT EXISTS `forum_chat` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `id_user` int(11) NOT NULL,
  `javob` int(11) NOT NULL,
  `text` text NOT NULL,
  `time` int(11) NOT NULL,
  `sekret` int(11) NOT NULL,
  `read` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;


--
-- Table structure for table `forum_group`
--

CREATE TABLE IF NOT EXISTS `forum_group` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `oplata` varchar(244) DEFAULT '0',
  `user_id` varchar(10) NOT NULL,
  `status` varchar(244) NOT NULL,
  `img` varchar(244) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;


--
-- Table structure for table `forum_group_add`
--

CREATE TABLE IF NOT EXISTS `forum_group_add` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` varchar(244) NOT NULL,
  `phone` varchar(10) NOT NULL,
  `group` varchar(244) NOT NULL,
  `wmid` varchar(244) NOT NULL,
  `wmr` varchar(244) NOT NULL,
  `wmz` varchar(244) NOT NULL,
  `time` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;


--
-- Table structure for table `forum_lenta`
--

CREATE TABLE IF NOT EXISTS `forum_lenta` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `id_user` int(11) NOT NULL,
  `id_tema` int(11) NOT NULL,
  `time` int(11) NOT NULL,
  `read` set('0','1') NOT NULL DEFAULT '0',
  `count` int(11) NOT NULL,
  `ot_kogo` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `id_user` (`id_user`,`ot_kogo`),
  KEY `read` (`read`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;


--
-- Table structure for table `forum_mavzu`
--

CREATE TABLE IF NOT EXISTS `forum_mavzu` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `tema` varchar(244) NOT NULL,
  `us` varchar(244) NOT NULL,
  `javob` varchar(244) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

--
-- Table structure for table `forum_mehmon`
--

CREATE TABLE IF NOT EXISTS `forum_mehmon` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `id_ank` int(11) NOT NULL,
  `id_user` int(11) NOT NULL,
  `read` enum('0','1') NOT NULL DEFAULT '1',
  `time` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;


--
-- Table structure for table `forum_rahmat`
--

CREATE TABLE IF NOT EXISTS `forum_rahmat` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `post_id` varchar(255) DEFAULT NULL,
  `tema_id` varchar(10) DEFAULT '0',
  `user_id` varchar(10) DEFAULT '0',
  `kimga` varchar(10) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1;


--
-- Table structure for table `forum_reply`
--

CREATE TABLE IF NOT EXISTS `forum_reply` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `id_user` int(11) NOT NULL,
  `mavzu` varchar(244) NOT NULL,
  `read` enum('0','1') NOT NULL DEFAULT '1',
  `time` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

--
-- Table structure for table `forum_votte`
--

CREATE TABLE IF NOT EXISTS `forum_votte` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `post_id` varchar(255) DEFAULT NULL,
  `tema_id` varchar(10) DEFAULT '0',
  `user_id` varchar(10) DEFAULT '0',
  `kimga` varchar(10) DEFAULT '0',
  `votte` varchar(10) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1 ;

--
-- Table structure for table `forum_zaklad`
--

CREATE TABLE IF NOT EXISTS `forum_zaklad` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `tema` varchar(244) NOT NULL,
  `us` varchar(244) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

