--
-- Host: localhost    Database: moabdese_pchat1
-- ------------------------------------------------------


--
-- Current Database: `moabdese_pchat1`
--

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `moabdese_pchat1` /*!40100 DEFAULT CHARACTER SET latin1 */;

USE `moabdese_pchat1`;

--
-- Table structure for table `c_ban_users`
--

CREATE TABLE `c_ban_users` (
  `username` varchar(30) NOT NULL DEFAULT '',
  `latin1` tinyint(1) NOT NULL DEFAULT '0',
  `ip` varchar(16) NOT NULL DEFAULT '',
  `rooms` varchar(100) NOT NULL DEFAULT '',
  `ban_until` int(11) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `c_ban_users`
--


--
-- Table structure for table `c_messages`
--

CREATE TABLE `c_messages` (
  `type` tinyint(1) NOT NULL DEFAULT '0',
  `room` varchar(30) NOT NULL DEFAULT '',
  `username` varchar(30) NOT NULL DEFAULT '',
  `latin1` tinyint(1) NOT NULL DEFAULT '0',
  `m_time` int(11) NOT NULL DEFAULT '0',
  `address` varchar(30) NOT NULL DEFAULT '',
  `message` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `c_messages`
--


--
-- Table structure for table `c_reg_users`
--

CREATE TABLE `c_reg_users` (
  `username` varchar(30) NOT NULL DEFAULT '',
  `latin1` tinyint(1) NOT NULL DEFAULT '0',
  `password` varchar(32) NOT NULL DEFAULT '',
  `firstname` varchar(64) NOT NULL DEFAULT '',
  `lastname` varchar(64) NOT NULL DEFAULT '',
  `country` varchar(64) NOT NULL DEFAULT '',
  `website` varchar(64) NOT NULL DEFAULT '',
  `email` varchar(64) NOT NULL DEFAULT '',
  `showemail` tinyint(1) NOT NULL DEFAULT '0',
  `perms` varchar(9) NOT NULL DEFAULT '',
  `rooms` varchar(128) NOT NULL DEFAULT '',
  `reg_time` int(11) NOT NULL DEFAULT '0',
  `ip` varchar(16) NOT NULL DEFAULT '',
  `gender` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `c_reg_users`
--

INSERT INTO `c_reg_users` VALUES ('admin',0,'21232f297a57a5a743894a0e4a801fc3','','','','','',0,'admin','',0,'',0),('',0,'d41d8cd98f00b204e9800998ecf8427e','','','','','',0,'admin','',1125261003,'',1);

--
-- Table structure for table `c_users`
--

CREATE TABLE `c_users` (
  `room` varchar(30) NOT NULL DEFAULT '',
  `username` varchar(30) NOT NULL DEFAULT '',
  `latin1` tinyint(1) NOT NULL DEFAULT '0',
  `u_time` int(11) NOT NULL DEFAULT '0',
  `status` char(1) NOT NULL DEFAULT '',
  `ip` varchar(16) NOT NULL DEFAULT '',
  UNIQUE KEY `room` (`room`,`username`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `c_users`
--



