--
-- Host: localhost    Database: syartu_dev
-- ------------------------------------------------------


--
-- Current Database: `syartu_dev`
--

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

USE `syartu_dev`;

--
-- Table structure for table `folders`
--

CREATE TABLE `folders` (
  `id` smallint(9) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `folders`
--

INSERT INTO `folders` VALUES (1,'&#1575;&#1604;&#1608;&#1575;&#1585;&#1583;'),(2,'&#1575;&#1604;&#1589;&#1575;&#1583;&#1585;');

--
-- Table structure for table `forms`
--

CREATE TABLE `forms` (
  `id` smallint(9) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(50) NOT NULL,
  `default` tinyint(1) unsigned NOT NULL,
  `color1` varchar(255) NOT NULL,
  `color2` varchar(255) NOT NULL,
  `text_color1` varchar(255) NOT NULL,
  `text_color2` varchar(255) NOT NULL,
  `background1` varchar(255) NOT NULL,
  `background2` varchar(255) NOT NULL,
  `folder` smallint(9) unsigned NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `forms`
--

INSERT INTO `forms` VALUES (1,'&#1575;&#1593;&#1585;&#1590; &#1587;&#1610;&#1575;&#1585;&#1578;&#1603;','','cm-h@elkhadir.com',1,'#FFFFFF','#FFFFFF','#000000','#000000','#FFFFFF','#FFFFFF',1);

--
-- Table structure for table `maillist`
--

CREATE TABLE `maillist` (
  `id` smallint(9) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `email` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `maillist`
--


--
-- Table structure for table `messages`
--

CREATE TABLE `messages` (
  `id` smallint(9) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(50) NOT NULL,
  `text` mediumtext,
  `folder` tinyint(2) NOT NULL,
  `read` smallint(5) unsigned NOT NULL,
  `dateline` int(10) unsigned NOT NULL,
  `ip` varchar(15) NOT NULL,
  `attachment` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `messages`
--

INSERT INTO `messages` VALUES (1,'mercedess','&#1605;&#1581;&#1605;&#1583;','cm-h@hotmail.fr','&#1587;&#1610;&#1575;&#1585;&#1577; &#1585;&#1610;&#1575;&#1590;&#1610;&#1577; &#1593;&#1575;&#1574;&#1604;&#1610;&#1577;',1,1,1287177885,'41.214.149.168','2595_48.jpg');

--
-- Table structure for table `userfields`
--

CREATE TABLE `userfields` (
  `id` smallint(9) unsigned NOT NULL AUTO_INCREMENT,
  `title` mediumtext,
  `type` smallint(5) unsigned NOT NULL,
  `orderno` smallint(6) NOT NULL,
  `status` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `required` tinyint(1) unsigned NOT NULL,
  `formid` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `userfields`
--

INSERT INTO `userfields` VALUES (1,'&#1575;&#1604;&#1588;&#1585;&#1603;&#1577; &#1575;&#1604;&#1605;&#1589;&#1606;&#1593;&#1577;',1,1,1,1,'|1|'),(2,'&#1605;&#1608;&#1583;&#1610;&#1604; &#1575;&#1604;&#1587;&#1610;&#1575;&#1585;&#1577;',1,2,1,1,'|1|'),(7,'&#1593;&#1606;&#1608;&#1575;&#1606;&#1603; &#1575;&#1604;&#1588;&#1582;&#1589;&#1610;',1,4,1,1,'|1|'),(6,'&#1607;&#1604; &#1575;&#1604;&#1587;&#1610;&#1575;&#1585;&#1577; &#1605;&#1587;&#1578;&#1593;&#1605;&#1604;&#1577; &#1575;&#1608; &#1580;&#1583;&#1610;&#1583;&#1577;',4,3,1,1,'|1|');

--
-- Table structure for table `userfields_contains`
--

CREATE TABLE `userfields_contains` (
  `title` varchar(255) NOT NULL,
  `msg_id` smallint(9) NOT NULL,
  `field_id` smallint(9) NOT NULL,
  `value` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `userfields_contains`
--

INSERT INTO `userfields_contains` VALUES ('&#1575;&#1604;&#1588;&#1585;&#1603;&#1577; &#1575;&#1604;&#1605;&#1589;&#1606;&#1593;&#1577;',1,1,'mercedess'),('&#1605;&#1608;&#1583;&#1610;&#1604; &#1575;&#1604;&#1587;&#1610;&#1575;&#1585;&#1577;',1,2,'1999'),('&#1607;&#1604; &#1575;&#1604;&#1587;&#1610;&#1575;&#1585;&#1577; &#1605;&#1587;&#1578;&#1593;&#1605;&#1604;&#1577; &#1575;&#1608; &#1580;&#1583;&#1610;&#1583;&#1577;',1,0,'&#1605;&#1587;&#1578;&#1593;&#1605;&#1604;&#1577;'),('&#1593;&#1606;&#1608;&#1575;&#1606;&#1603; &#1575;&#1604;&#1588;&#1582;&#1589;&#1610;',1,7,'&#1605;&#1583;&#1610;&#1606;&#1577; &#1580;&#1583;&#1577;');

--
-- Table structure for table `userfields_options`
--

CREATE TABLE `userfields_options` (
  `field_id` smallint(9) unsigned NOT NULL,
  `option` varchar(255) NOT NULL,
  `option_id` smallint(6) unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`option_id`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `userfields_options`
--

INSERT INTO `userfields_options` VALUES (6,'&#1605;&#1587;&#1578;&#1593;&#1605;&#1604;&#1577;',11),(6,'&#1580;&#1583;&#1610;&#1583;&#1577;',10);


