-- http://www.phpmyadmin.net
--




--
-- Database: `resp_db`
--

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

--
-- Table structure for table `actionperday`
--

CREATE TABLE `actionperday` (
  `id` int(11) NOT NULL,
  `text` longtext COLLATE utf8_unicode_ci NOT NULL,
  `month` int(11) NOT NULL,
  `day` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `actionperday`
--

INSERT INTO `actionperday` (`id`, `text`, `month`, `day`) VALUES
(662003, '', 1, 1),
(662004, '', 1, 2),
(662005, '', 1, 3),
(662006, '', 1, 4),
(662007, '', 1, 5),
(662008, '', 1, 6),
(662009, '', 1, 7),
(662010, '', 1, 8),
(662011, '', 1, 9),
(662012, '', 1, 10),
(662013, '', 1, 11),
(662014, '', 1, 12),
(662015, '', 1, 13),
(662016, '', 1, 14),
(662017, '', 1, 15),
(662018, '', 1, 16),
(662019, '', 1, 17),
(662020, '', 1, 18),
(662021, '', 1, 19),
(662022, '', 1, 20),
(662023, '', 1, 21),
(662024, '', 1, 22),
(662025, '', 1, 23),
(662026, '', 1, 24),
(662027, '', 1, 25),
(662028, '', 1, 26),
(662029, '', 1, 27),
(662030, '', 1, 28),
(662031, '', 1, 29),
(662032, '', 1, 30),
(662033, '', 1, 31),
(662034, '', 2, 1),
(662035, '', 2, 2),
(662036, '', 2, 3),
(662037, '', 2, 4),
(662038, '', 2, 5),
(662039, '', 2, 6),
(662040, '', 2, 7),
(662041, '', 2, 8),
(662042, '', 2, 9),
(662043, '', 2, 10),
(662044, '', 2, 11),
(662045, '', 2, 12),
(662046, '', 2, 13),
(662047, '', 2, 14),
(662048, '', 2, 15),
(662049, '', 2, 16),
(662050, '', 2, 17),
(662051, '', 2, 18),
(662052, '', 2, 19),
(662053, '', 2, 20),
(662054, '', 2, 21),
(662055, '', 2, 22),
(662056, '', 2, 23),
(662057, '', 2, 24),
(662058, '', 2, 25),
(662059, '', 2, 26),
(662060, '', 2, 27),
(662061, '', 2, 28),
(662062, '', 2, 29),
(662063, '', 3, 1),
(662064, '', 3, 2),
(662065, '', 3, 3),
(662066, '', 3, 4),
(662067, '', 3, 5),
(662068, '', 3, 6),
(662069, '', 3, 7),
(662070, '', 3, 8),
(662071, '', 3, 9),
(662072, '', 3, 10),
(662073, '', 3, 11),
(662074, '', 3, 12),
(662075, '', 3, 13),
(662076, '', 3, 14),
(662077, '', 3, 15),
(662078, '', 3, 16),
(662079, '', 3, 17),
(662080, '', 3, 18),
(662081, '', 3, 19),
(662082, '', 3, 20),
(662083, '', 3, 21),
(662084, '', 3, 22),
(662085, '', 3, 23),
(662086, '', 3, 24),
(662087, '', 3, 25),
(662088, '', 3, 26),
(662089, '', 3, 27),
(662090, '', 3, 28),
(662091, '', 3, 29),
(662092, '', 3, 30),
(662093, '', 3, 31),
(662094, '', 4, 1),
(662095, '', 4, 2),
(662096, '', 4, 3),
(662097, '', 4, 4),
(662098, '', 4, 5),
(662099, '', 4, 6),
(662100, '', 4, 7),
(662101, '', 4, 8),
(662102, '', 4, 9),
(662103, '', 4, 10),
(662104, '', 4, 11),
(662105, '', 4, 12),
(662106, '', 4, 13),
(662107, '', 4, 14),
(662108, '', 4, 15),
(662109, '', 4, 16),
(662110, '', 4, 17),
(662111, '', 4, 18),
(662112, '', 4, 19),
(662113, '', 4, 20),
(662114, '', 4, 21),
(662115, '', 4, 22),
(662116, '', 4, 23),
(662117, '', 4, 24),
(662118, '', 4, 25),
(662119, '', 4, 26),
(662120, '', 4, 27),
(662121, '', 4, 28),
(662122, '', 4, 29),
(662123, '', 4, 30),
(662124, '', 5, 1),
(662125, '', 5, 2),
(662126, '', 5, 3),
(662127, '', 5, 4),
(662128, '', 5, 5),
(662129, '', 5, 6),
(662130, '', 5, 7),
(662131, '', 5, 8),
(662132, '', 5, 9),
(662133, '', 5, 10),
(662134, '', 5, 11),
(662135, '', 5, 12),
(662136, '', 5, 13),
(662137, '', 5, 14),
(662138, '', 5, 15),
(662139, '', 5, 16),
(662140, '', 5, 17),
(662141, '', 5, 18),
(662142, '', 5, 19),
(662143, '', 5, 20),
(662144, '', 5, 21),
(662145, '', 5, 22),
(662146, '', 5, 23),
(662147, '', 5, 24),
(662148, '', 5, 25),
(662149, '', 5, 26),
(662150, '', 5, 27),
(662151, '', 5, 28),
(662152, '', 5, 29),
(662153, '', 5, 30),
(662154, '', 5, 31),
(662155, '', 6, 1),
(662156, '', 6, 2),
(662157, '', 6, 3),
(662158, '', 6, 4),
(662159, '', 6, 5),
(662160, '', 6, 6),
(662161, '', 6, 7),
(662162, '', 6, 8),
(662163, '', 6, 9),
(662164, '', 6, 10),
(662165, '', 6, 11),
(662166, '', 6, 12),
(662167, '', 6, 13),
(662168, '', 6, 14),
(662169, '', 6, 15),
(662170, '', 6, 16),
(662171, '', 6, 17),
(662172, '', 6, 18),
(662173, '', 6, 19),
(662174, '', 6, 20),
(662175, '', 6, 21),
(662176, '', 6, 22),
(662177, '', 6, 23),
(662178, '', 6, 24),
(662179, '', 6, 25),
(662180, '', 6, 26),
(662181, '', 6, 27),
(662182, '', 6, 28),
(662183, '', 6, 29),
(662184, '', 6, 30),
(662185, '', 7, 1),
(662186, '', 7, 2),
(662187, '', 7, 3),
(662188, '', 7, 4),
(662189, '', 7, 5),
(662190, '', 7, 6),
(662191, '', 7, 7),
(662192, '', 7, 8),
(662193, '', 7, 9),
(662194, '', 7, 10),
(662195, '', 7, 11),
(662196, '', 7, 12),
(662197, '', 7, 13),
(662198, '', 7, 14),
(662199, '', 7, 15),
(662200, '', 7, 16),
(662201, '', 7, 17),
(662202, '', 7, 18),
(662203, '', 7, 19),
(662204, '', 7, 20),
(662205, '', 7, 21),
(662206, '', 7, 22),
(662207, '', 7, 23),
(662208, '', 7, 24),
(662209, '', 7, 25),
(662210, '', 7, 26),
(662211, '', 7, 27),
(662212, '', 7, 28),
(662213, '', 7, 29),
(662214, '', 7, 30),
(662215, '', 7, 31),
(662216, '', 8, 1),
(662217, '', 8, 2),
(662218, '', 8, 3),
(662219, '', 8, 4),
(662220, '', 8, 5),
(662221, '', 8, 6),
(662222, '', 8, 7),
(662223, '', 8, 8),
(662224, '', 8, 9),
(662225, '', 8, 10),
(662226, '', 8, 11),
(662227, '', 8, 12),
(662228, '', 8, 13),
(662229, '', 8, 14),
(662230, '', 8, 15),
(662231, '', 8, 16),
(662232, '', 8, 17),
(662233, '', 8, 18),
(662234, '', 8, 19),
(662235, '', 8, 20),
(662236, '', 8, 21),
(662237, '', 8, 22),
(662238, '', 8, 23),
(662239, '', 8, 24),
(662240, '', 8, 25),
(662241, '', 8, 26),
(662242, '', 8, 27),
(662243, '', 8, 28),
(662244, '', 8, 29),
(662245, '', 8, 30),
(662246, '', 8, 31),
(662247, '', 9, 1),
(662248, '', 9, 2),
(662249, '', 9, 3),
(662250, '', 9, 4),
(662251, '', 9, 5),
(662252, '', 9, 6),
(662253, '', 9, 7),
(662254, '', 9, 8),
(662255, '', 9, 9),
(662256, '', 9, 10),
(662257, '', 9, 11),
(662258, '', 9, 12),
(662259, '', 9, 13),
(662260, '', 9, 14),
(662261, '', 9, 15),
(662262, '', 9, 16),
(662263, '', 9, 17),
(662264, '', 9, 18),
(662265, '', 9, 19),
(662266, '', 9, 20),
(662267, '', 9, 21),
(662268, '', 9, 22),
(662269, '', 9, 23),
(662270, '', 9, 24),
(662271, '', 9, 25),
(662272, '', 9, 26),
(662273, '', 9, 27),
(662274, '', 9, 28),
(662275, '', 9, 29),
(662276, '', 9, 30),
(662277, '', 10, 1),
(662278, '', 10, 2),
(662279, '', 10, 3),
(662280, '', 10, 4),
(662281, '', 10, 5),
(662282, '', 10, 6),
(662283, '', 10, 7),
(662284, '', 10, 8),
(662285, '', 10, 9),
(662286, '', 10, 10),
(662287, '', 10, 11),
(662288, '', 10, 12),
(662289, '', 10, 13),
(662290, '', 10, 14),
(662291, '', 10, 15),
(662292, '', 10, 16),
(662293, '', 10, 17),
(662294, '', 10, 18),
(662295, '', 10, 19),
(662296, '', 10, 20),
(662297, '', 10, 21),
(662298, '', 10, 22),
(662299, '', 10, 23),
(662300, '', 10, 24),
(662301, '', 10, 25),
(662302, '', 10, 26),
(662303, '', 10, 27),
(662304, '', 10, 28),
(662305, '', 10, 29),
(662306, '', 10, 30),
(662307, '', 10, 31),
(662308, '', 11, 1),
(662309, '', 11, 2),
(662310, '', 11, 3),
(662311, '', 11, 4),
(662312, '', 11, 5),
(662313, '', 11, 6),
(662314, '', 11, 7),
(662315, '', 11, 8),
(662316, '', 11, 9),
(662317, '', 11, 10),
(662318, '', 11, 11),
(662319, '', 11, 12),
(662320, '', 11, 13),
(662321, '', 11, 14),
(662322, '', 11, 15),
(662323, '', 11, 16),
(662324, '', 11, 17),
(662325, '', 11, 18),
(662326, '', 11, 19),
(662327, '', 11, 20),
(662328, '', 11, 21),
(662329, '', 11, 22),
(662330, '<p style="text-align: right;">هنالك العديد من الأنواع المتوفرة لنصوص لوريم إيبسوم، ولكن الغالبية تم  تعديلها بشكل ما عبر إدخال بعض النوادر أو الكلمات العشوائية إلى النص. إن  كنت تريد أن تستخدم نص لوريم إيبسوم ما، عليك أن تتحقق أولاً أن ليس هناك  أي كلمات أو عبارات محرجة أو غير لائقة مخبأة في هذا النص.  بينما تعمل جميع مولّدات نصوص لوريم إيبسوم على الإنترنت على إعادة تكرار  مقاطع من نص لوريم إيبسوم نفسه عدة مرات بما تتطلبه الحاجة، يقوم مولّدنا  هذا باستخدام كلمات من قاموس يحوي على أكثر من 200 كلمة لا تينية، مضاف  إليها مجموعة من الجمل النموذجية، لتكوين نص لوريم إيبسوم ذو شكل منطقي  قريب إلى النص الحقيقي. وبالتالي يكون النص الناتح خالي من التكرار، أو أي  كلمات أو عبارات غير لائقة أو ما شابه. وهذا ما يجعله أول مولّد نص لوريم  إيبسوم حقيقي على الإنترنت.</p>', 11, 23),
(662331, '', 11, 24),
(662332, '', 11, 25),
(662333, '', 11, 26),
(662334, '', 11, 27),
(662335, '', 11, 28),
(662336, '', 11, 29),
(662337, '', 11, 30),
(662338, '', 12, 1),
(662339, '', 12, 2),
(662340, '', 12, 3),
(662341, '', 12, 4),
(662342, '', 12, 5),
(662343, '', 12, 6),
(662344, '', 12, 7),
(662345, '', 12, 8),
(662346, '', 12, 9),
(662347, '', 12, 10),
(662348, '', 12, 11),
(662349, '', 12, 12),
(662350, '', 12, 13),
(662351, '', 12, 14),
(662352, '', 12, 15),
(662353, '', 12, 16),
(662354, '', 12, 17),
(662355, '', 12, 18),
(662356, '', 12, 19),
(662357, '', 12, 20),
(662358, '', 12, 21),
(662359, '', 12, 22),
(662360, '', 12, 23),
(662361, '', 12, 24),
(662362, '', 12, 25),
(662363, '', 12, 26),
(662364, '', 12, 27),
(662365, '', 12, 28),
(662366, '', 12, 29),
(662367, '', 12, 30),
(662368, '', 12, 31);

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

--
-- Table structure for table `ads`
--

CREATE TABLE `ads` (
  `ads_id` int(11) NOT NULL,
  `ads_image` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `ads_url` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `ads_active` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `backups`
--

CREATE TABLE `backups` (
  `backup_id` int(11) NOT NULL,
  `backup_date` datetime NOT NULL,
  `backup_file` varchar(255) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `country`
--

CREATE TABLE `country` (
  `country_id` int(10) NOT NULL,
  `country` varchar(255) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `country`
--

INSERT INTO `country` (`country_id`, `country`) VALUES
(1, 'Afghanistan'),
(2, 'Albania'),
(3, 'Algeria'),
(4, 'Andorra'),
(5, 'Angola'),
(6, 'Anguilla'),
(7, 'Antigua & Barbuda'),
(8, 'Argentina'),
(9, 'Armenia'),
(10, 'Austria'),
(11, 'Azerbaijan'),
(12, 'Bahamas'),
(13, 'Bahrain'),
(14, 'Bangladesh'),
(15, 'Barbados'),
(16, 'Belarus'),
(17, 'Belgium'),
(18, 'Belize'),
(19, 'Belize'),
(20, 'Bermuda'),
(21, 'Bhutan'),
(22, 'Bolivia'),
(23, 'Bosnia and Herzegovina'),
(24, 'Botswana'),
(25, 'Brazil'),
(26, 'Brunei'),
(27, 'Bulgaria'),
(28, 'Burkina Faso'),
(29, 'Burundi'),
(30, 'Cambodia'),
(31, 'Cameroon'),
(32, 'Canada'),
(33, 'Cape Verde'),
(34, 'Cayman Islands'),
(35, 'Central African Republic'),
(36, 'Chad'),
(37, 'Chile'),
(38, 'China'),
(39, 'Colombia'),
(40, 'Comoros'),
(41, 'Congo'),
(42, 'Congo (DRC)'),
(43, 'Cook Islands'),
(44, 'Costa Rica'),
(45, 'Cote d''Ivoire'),
(46, 'Croatia (Hrvatska)'),
(47, 'Cuba'),
(48, 'Cyprus'),
(49, 'Czech Republic'),
(50, 'Denmark'),
(51, 'Djibouti'),
(52, 'Dominica'),
(53, 'Dominican Republic'),
(54, 'East Timor'),
(55, 'Ecuador'),
(56, 'Egypt'),
(57, 'El Salvador'),
(58, 'Equatorial Guinea'),
(59, 'Eritrea'),
(60, 'Estonia'),
(61, 'Ethiopia'),
(62, 'Falkland Islands'),
(63, 'Faroe Islands'),
(64, 'Fiji Islands'),
(65, 'Finland'),
(66, 'France'),
(67, 'French Guiana'),
(68, 'French Polynesia'),
(69, 'Gabon'),
(70, 'Gambia'),
(71, 'Georgia'),
(72, 'Germany'),
(73, 'Ghana'),
(74, 'Gibraltar'),
(75, 'Greece'),
(76, 'Greenland'),
(77, 'Grenada'),
(78, 'Guadeloupe'),
(79, 'Guam'),
(80, 'Guatemala'),
(81, 'Guinea'),
(82, 'Guinea-Bissau'),
(83, 'Guyana'),
(84, 'Haiti'),
(85, 'Honduras'),
(86, 'Hong Kong SAR'),
(87, 'Hungary'),
(88, 'Iceland'),
(89, 'India'),
(90, 'Indonesia'),
(91, 'Iran'),
(92, 'Iraq'),
(93, 'Ireland'),
(94, 'Israel'),
(95, 'Italy'),
(96, 'Jamaica'),
(97, 'Japan'),
(98, 'Jordan'),
(99, 'Kazakhstan'),
(100, 'Kenya'),
(101, 'Kiribati'),
(102, 'Korea'),
(103, 'Kuwait'),
(104, 'Kyrgyzstan'),
(105, 'Laos'),
(106, 'Latvia'),
(107, 'Lebanon'),
(108, 'Lesotho'),
(109, 'Liberia'),
(110, 'Libya'),
(111, 'Liechtenstein'),
(112, 'Lithuania'),
(113, 'Luxembourg'),
(114, 'Macao SAR'),
(115, 'Macedonia'),
(116, 'Madagascar'),
(117, 'Malawi'),
(118, 'Malaysia'),
(119, 'Maldives'),
(120, 'Mali'),
(121, 'Malta'),
(122, 'Martinique'),
(123, 'Mauritania'),
(124, 'Mauritius'),
(125, 'Mayotte'),
(126, 'Mexico'),
(127, 'Micronesia'),
(128, 'Moldova'),
(129, 'Monaco'),
(130, 'Mongolia'),
(131, 'Montserrat'),
(132, 'Morocco'),
(133, 'Mozambique'),
(134, 'Myanmar'),
(135, 'Namibia'),
(136, 'Nauru'),
(137, 'Nepal'),
(138, 'Netherlands'),
(139, 'Netherlands Antilles'),
(140, 'New Caledonia'),
(141, 'New Zealand'),
(142, 'Nicaragua'),
(143, 'Niger'),
(144, 'Nigeria'),
(145, 'Niue'),
(146, 'Norfolk Island'),
(147, 'North Korea'),
(148, 'Norway'),
(149, 'Oman'),
(150, 'Pakistan'),
(151, 'Panama'),
(152, 'Papua New Guinea'),
(153, 'Paraguay'),
(154, 'Peru'),
(155, 'Philippines'),
(156, 'Pitcairn Islands'),
(157, 'Poland'),
(158, 'Portugal'),
(159, 'Puerto Rico'),
(160, 'Qatar'),
(161, 'Reunion'),
(162, 'Romania'),
(163, 'Russia'),
(164, 'Rwanda'),
(165, 'Samoa'),
(166, 'San Marino'),
(167, 'Sao Tome and Principe'),
(168, 'Saudi Arabia'),
(169, 'Senegal'),
(170, 'Serbia and Montenegro'),
(171, 'Seychelles'),
(172, 'Sierra Leone'),
(173, 'Singapore'),
(174, 'Slovakia'),
(175, 'Slovenia'),
(176, 'Solomon Islands'),
(177, 'Somalia'),
(178, 'South Africa'),
(179, 'Spain'),
(180, 'Sri Lanka'),
(181, 'St. Helena'),
(182, 'St. Kitts and Nevis'),
(183, 'St. Lucia'),
(184, 'St. Pierre and Miquelon'),
(185, 'St. Vincent & Grenadines'),
(186, 'Sudan'),
(187, 'Suriname'),
(188, 'Swaziland'),
(189, 'Sweden'),
(190, 'Switzerland'),
(191, 'Syria'),
(192, 'Taiwan'),
(193, 'Tajikistan'),
(194, 'Tanzania'),
(195, 'Thailand'),
(196, 'Togo'),
(197, 'Tokelau'),
(198, 'Tonga'),
(199, 'Trinidad and Tobago'),
(200, 'Tunisia'),
(201, 'Turkey'),
(202, 'Turkmenistan'),
(203, 'Turks and Caicos Islands'),
(204, 'Tuvalu'),
(205, 'Uganda'),
(206, 'Ukraine'),
(207, 'United Arab Emirates'),
(208, 'United Kingdom'),
(209, 'Uruguay'),
(210, 'USA'),
(211, 'Uzbekistan'),
(212, 'Vanuatu'),
(213, 'Venezuela'),
(214, 'Vietnam'),
(215, 'Virgin Islands'),
(216, 'Virgin Islands (British)'),
(217, 'Wallis and Futuna'),
(218, 'Yemen'),
(219, 'Yugoslavia'),
(220, 'Zambia'),
(221, 'Zimbabwe'),
(222, 'Australia');

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

--
-- Table structure for table `customers_reset_links`
--

CREATE TABLE `customers_reset_links` (
  `reset_link_id` int(11) NOT NULL,
  `customer_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `reset_link_code` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `reset_link_date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `dynamic_pages`
--

CREATE TABLE `dynamic_pages` (
  `page_id` int(11) NOT NULL,
  `page_sorting_order` int(11) NOT NULL,
  `page_with_gallery` tinyint(1) NOT NULL,
  `saving_date` datetime NOT NULL,
  `page_title_ar` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `page_description_ar` longtext COLLATE utf8_unicode_ci NOT NULL,
  `page_title_en` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `page_description_en` longtext COLLATE utf8_unicode_ci NOT NULL,
  `page_title_fr` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `page_description_fr` longtext COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `dynamic_pages`
--

INSERT INTO `dynamic_pages` (`page_id`, `page_sorting_order`, `page_with_gallery`, `saving_date`, `page_title_ar`, `page_description_ar`, `page_title_en`, `page_description_en`, `page_title_fr`, `page_description_fr`) VALUES
(1, 0, 0, '2017-02-17 12:26:23', '', '', 'About', '<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry''s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>', '', ''),
(2, 0, 0, '2017-02-17 12:26:23', '', '', 'Mission', '<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry''s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>', '', ''),
(3, 0, 0, '2017-02-17 12:26:23', '', '', 'Vision', '', '', ''),
(4, 0, 0, '2017-02-17 12:26:23', '', '', 'Contact Us', '', '', '');

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

--
-- Table structure for table `dynamic_pages_gallery`
--

CREATE TABLE `dynamic_pages_gallery` (
  `option_id` int(11) NOT NULL,
  `page_id` int(11) NOT NULL,
  `option_name` int(255) NOT NULL COMMENT '1=>image, 2=>video, 3=>audio, 4=>file',
  `option_path` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `option_real_path` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `option_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'youtube, vimeo',
  `option_position` int(11) NOT NULL,
  `option_title_ar` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `option_title_en` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `option_title_fr` varchar(255) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='option name: audio, video, file, image';

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

--
-- Table structure for table `emails`
--

CREATE TABLE `emails` (
  `email_id` int(11) NOT NULL,
  `folder_id` int(11) NOT NULL,
  `email_full_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `email_address` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `email_phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `email_saving_date` datetime NOT NULL,
  `email_confirmed` int(11) NOT NULL,
  `email_confirmed_by` int(11) NOT NULL,
  `email_confirm_date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

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

CREATE TABLE `folders` (
  `folder_id` int(11) NOT NULL,
  `folder_title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `folder_position` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

INSERT INTO `folders` (`folder_id`, `folder_title`, `folder_position`) VALUES
(0, 'ينتظرون الموافقة', 0);

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

--
-- Table structure for table `inbox`
--

CREATE TABLE `inbox` (
  `contact_id` int(11) NOT NULL,
  `contact_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `contact_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `contact_phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `contact_message` longtext COLLATE utf8_unicode_ci NOT NULL,
  `contact_date` datetime NOT NULL,
  `contact_read` tinyint(4) NOT NULL,
  `contact_read_by` int(11) NOT NULL,
  `contact_read_date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `items_gallery`
--

CREATE TABLE `items_gallery` (
  `option_id` int(11) NOT NULL,
  `item_id` int(11) NOT NULL,
  `option_name` int(255) NOT NULL COMMENT '1=>image, 2=>video, 3=>audio, 4=>file',
  `option_path` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `option_real_path` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `option_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'youtube, vimeo',
  `option_position` int(11) NOT NULL,
  `option_title_ar` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `option_title_en` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `option_title_fr` varchar(255) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='option name: audio, video, file, image';

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

--
-- Table structure for table `items_history`
--

CREATE TABLE `items_history` (
  `item_history_id` int(11) NOT NULL,
  `item_id` int(11) NOT NULL,
  `item_editing_by` int(11) NOT NULL,
  `item_editing_date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `items_optional`
--

CREATE TABLE `items_optional` (
  `item_optional_id` int(11) NOT NULL,
  `item_id` int(11) NOT NULL,
  `optional_field_id` int(11) NOT NULL,
  `item_optional_value` varchar(1024) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `items_replies`
--

CREATE TABLE `items_replies` (
  `reply_id` int(11) NOT NULL,
  `item_id` int(11) NOT NULL,
  `reply_full_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `reply_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `reply_message` text COLLATE utf8_unicode_ci NOT NULL,
  `reply_date` datetime NOT NULL,
  `reply_confirmed` tinyint(1) NOT NULL,
  `reply_confirmed_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `item_gallery_type`
--

CREATE TABLE `item_gallery_type` (
  `type_id` int(11) NOT NULL,
  `type_title` varchar(255) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `jobs`
--

CREATE TABLE `jobs` (
  `job_id` int(11) NOT NULL,
  `job_title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `job_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `job_company` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `country_id` int(11) NOT NULL,
  `category_id` int(11) NOT NULL,
  `type_id` int(11) NOT NULL,
  `job_description` text COLLATE utf8_unicode_ci NOT NULL,
  `job_salary` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `job_show` tinyint(1) NOT NULL,
  `job_date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `jobs_categories`
--

CREATE TABLE `jobs_categories` (
  `category_id` int(11) NOT NULL,
  `category_title` varchar(255) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `jobs_categories`
--

INSERT INTO `jobs_categories` (`category_id`, `category_title`) VALUES
(1, 'Animal Care'),
(2, 'Biotechnology'),
(3, 'Database'),
(4, 'Engineering'),
(5, 'Entertainment'),
(6, 'Finance'),
(7, 'Graphics'),
(8, 'Health'),
(9, 'Hospitality'),
(10, 'Internet'),
(11, 'Legal'),
(12, 'Managerial'),
(13, 'Networking'),
(14, 'Odd'),
(15, 'Personnel'),
(16, 'Programming'),
(17, 'Public Services'),
(18, 'Sales'),
(19, 'Secretarial'),
(20, 'Service'),
(21, 'Specialist'),
(22, 'Teaching');

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

--
-- Table structure for table `languages`
--

CREATE TABLE `languages` (
  `lang_id` int(11) NOT NULL,
  `lang_abbr` varchar(3) COLLATE utf8_unicode_ci NOT NULL,
  `lang_title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `lang_direction` varchar(3) COLLATE utf8_unicode_ci NOT NULL,
  `lang_status` tinyint(4) NOT NULL,
  `lang_default` tinyint(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `languages`
--

INSERT INTO `languages` (`lang_id`, `lang_abbr`, `lang_title`, `lang_direction`, `lang_status`, `lang_default`) VALUES
(1, 'ar', 'عربي', 'rtl', 0, 0),
(2, 'en', 'English', 'ltr', 1, 1),
(3, 'fr', 'French', 'ltr', 0, 0);

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

--
-- Table structure for table `menus`
--

CREATE TABLE `menus` (
  `menu_id` int(11) NOT NULL,
  `menu_title_ar` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `menu_title_en` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `menu_title_fr` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `menu_direction` tinyint(4) NOT NULL COMMENT '1->left , 2->right',
  `menu_size` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `menu_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `menu_link` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `menu_file` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `menu_text_ar` text COLLATE utf8_unicode_ci NOT NULL,
  `menu_text_en` text COLLATE utf8_unicode_ci NOT NULL,
  `menu_text_fr` text COLLATE utf8_unicode_ci NOT NULL,
  `menu_code` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `menu_show_home` tinyint(4) NOT NULL,
  `menu_date` datetime NOT NULL,
  `menu_position` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `modules`
--

CREATE TABLE `modules` (
  `module_id` int(11) NOT NULL,
  `module_image` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `module_color` varchar(9) COLLATE utf8_unicode_ci DEFAULT NULL,
  `module_reference` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `module_parent_id` int(11) NOT NULL,
  `module_position` int(11) NOT NULL,
  `module_show_hide` tinyint(1) NOT NULL,
  `module_confidential` tinyint(1) NOT NULL,
  `structure_id` int(11) NOT NULL,
  `module_allow_sub` tinyint(4) NOT NULL,
  `child_structure_id` int(11) NOT NULL,
  `module_static` int(11) NOT NULL,
  `module_url` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `module_title_ar` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `module_description_ar` longtext COLLATE utf8_unicode_ci NOT NULL,
  `module_title_en` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `module_description_en` longtext COLLATE utf8_unicode_ci NOT NULL,
  `module_title_fr` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `module_description_fr` longtext COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `modules`
--

INSERT INTO `modules` (`module_id`, `module_image`, `module_color`, `module_reference`, `module_parent_id`, `module_position`, `module_show_hide`, `module_confidential`, `structure_id`, `module_allow_sub`, `child_structure_id`, `module_static`, `module_url`, `module_title_ar`, `module_description_ar`, `module_title_en`, `module_description_en`, `module_title_fr`, `module_description_fr`) VALUES
(939, '', NULL, 'home_menu', 0, 0, 1, 0, 0, 0, 0, 0, '', 'القائمة الرئيسية', '', 'Main Menu', '', 'Menu Principal', ''),
(940, '', NULL, 'home_page', 939, 1, 1, 0, 0, 0, 0, 1, '../home/index.php', 'الصفحة الرئيسية', '', 'Home Page', '', 'Page Principale', ''),
(941, '', NULL, 'dynamic_pages', 939, 2, 1, 0, 0, 0, 0, 1, '../static/pages.php', 'صفحات عامة', '', 'Dynamic Pages', '', 'Pages dynamiques', ''),
(942, '', NULL, 'career', 939, 3, 1, 0, 0, 0, 0, 1, '../static/career.php', 'الوظائف', '', 'Career', '', 'Carrières', ''),
(943, '', NULL, 'users', 939, 4, 1, 0, 0, 0, 0, 1, '../static/users.php', 'المستخدمين', '', 'Users', '', 'Utilisateurs', ''),
(944, '', NULL, 'users_logs', 939, 5, 1, 0, 0, 0, 0, 1, '../static/logs.php', 'الروابط المحدثة للأدمين', '', 'Users Logs', '', 'Logs Utilisateurs', ''),
(945, '', NULL, 'menus', 939, 6, 0, 0, 0, 0, 0, 1, '../static/menus.php', 'الجوانب', '', 'Aspects', '', 'Aspects', ''),
(946, '', NULL, 'mailing_list', 939, 7, 0, 0, 0, 0, 0, 1, '../static/folders.php', 'الإيميلات', '', 'Mailing List', '', 'Liste de diffusion', ''),
(947, '', NULL, 'polls', 939, 8, 0, 0, 0, 0, 0, 1, '../static/stats.php', 'إستطلاعات', '', 'Polls', '', 'Sondages', ''),
(948, '', NULL, 'replies', 939, 9, 0, 0, 0, 0, 0, 1, '../static/replies.php', 'التعليقات', '', 'Comments', '', 'Commentaires', ''),
(949, '', NULL, 'choices', 939, 10, 0, 0, 0, 0, 0, 1, '../static/choices.php', 'الخيارات', '', 'Choices', '', 'Choix', ''),
(950, '', NULL, 'customers', 939, 11, 0, 0, 0, 0, 0, 1, '../static/customers.php', 'الزبائن', '', 'Customers', '', 'Clients', ''),
(951, '', NULL, 'orders', 939, 12, 0, 0, 0, 0, 0, 1, '../static/orders.php', 'الطلبات', '', 'Orders', '', 'Ordres', ''),
(952, '', NULL, 'backups', 939, 13, 1, 0, 0, 0, 0, 1, '../static/backups.php', 'نسخ قاعدة البيانات', '', 'Backups', '', 'Sauvegardes', ''),
(953, '', NULL, 'settings', 939, 14, 1, 0, 0, 0, 0, 1, '../static/settings.php', 'خصائص', '', 'Settings', '', 'Paramètres', ''),
(954, '', NULL, 'help', 939, 15, 1, 0, 0, 0, 0, 1, '../home/index.php?type=help', 'مساعدة', '', 'Help', '', 'Aide', ''),
(955, '', NULL, 'web_manag', 0, 0, 1, 0, 0, 0, 0, 0, '', '', '', 'Website Management', '', '', ''),
(956, '', NULL, 'projects', 955, 0, 1, 0, 0, 1, 25, 0, '', '', '', 'Projects', '', '', ''),
(957, '', NULL, 'news', 955, 0, 1, 0, 25, 0, 0, 0, '', '', '', 'News', '', '', ''),
(958, '', NULL, 'partners', 955, 0, 1, 0, 24, 0, 0, 0, '', '', '', 'Partners', '', '', ''),
(959, '', NULL, 'downloads', 955, 0, 1, 0, 16, 0, 0, 0, '', '', '', 'Downloads', '', '', ''),
(960, '', NULL, 'catalogue', 955, 0, 1, 0, 14, 0, 0, 0, '', '', '', 'Catalogue', '', '', ''),
(961, '', NULL, 'home_page_banners', 962, 1, 1, 0, 24, 0, 0, 0, '', '', '', 'Home page Banners', '', '', ''),
(962, '', NULL, 'banners', 0, 0, 1, 0, 0, 0, 0, 0, '', '', '', 'Banners', '', '', ''),
(963, '', NULL, 'projects_banners', 962, 2, 1, 0, 13, 0, 0, 0, '', '', '', 'Projects Banners', '', '', ''),
(964, '', NULL, 'news_banners', 962, 3, 1, 0, 13, 0, 0, 0, '', '', '', 'News Banners', '', '', ''),
(965, '', NULL, 'partners_banners', 962, 4, 1, 0, 13, 0, 0, 0, '', '', '', 'Partners Banners', '', '', ''),
(966, '', NULL, 'download_banners', 962, 5, 1, 0, 13, 0, 0, 0, '', '', '', 'Download Banners', '', '', ''),
(967, '', NULL, 'catalogue_banners', 962, 6, 1, 0, 13, 0, 0, 0, '', '', '', 'Catalogue Banners', '', '', ''),
(968, '', NULL, 'career_banners', 962, 7, 1, 0, 13, 0, 0, 0, '', '', '', 'Career Banners', '', '', ''),
(969, '', NULL, 'contactus_banners', 962, 9, 1, 0, 13, 0, 0, 0, '', '', '', 'Contact Us Banners', '', '', ''),
(970, '', NULL, 'aboutus_banners', 962, 8, 1, 0, 13, 0, 0, 0, '', '', '', 'About Us Banners', '', '', '');

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

--
-- Table structure for table `orders`
--

CREATE TABLE `orders` (
  `order_id` int(11) NOT NULL,
  `order_reference` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `customer_id` int(11) NOT NULL,
  `order_customer_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `order_customer_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `order_customer_address` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `order_customer_telephone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `order_date` datetime NOT NULL,
  `order_notes` text COLLATE utf8_unicode_ci NOT NULL,
  `dealer_id` int(11) NOT NULL,
  `order_delivery_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `order_delivery_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `order_delivery_address` text COLLATE utf8_unicode_ci NOT NULL,
  `order_delivery_telephone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `order_total` decimal(10,2) NOT NULL,
  `status_id` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `orders_products`
--

CREATE TABLE `orders_products` (
  `prder_product_id` int(11) NOT NULL,
  `order_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `product_title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `product_qty` int(11) NOT NULL,
  `product_price` decimal(10,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `orders_status`
--

CREATE TABLE `orders_status` (
  `order_status_id` int(11) NOT NULL,
  `order_status_title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `order_status_order` tinyint(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `orders_status`
--

INSERT INTO `orders_status` (`order_status_id`, `order_status_title`, `order_status_order`) VALUES
(1, 'New', 1),
(2, 'Processing', 2),
(3, 'Picked', 3),
(4, 'Completed', 4),
(5, 'Canceled', 5),
(6, 'On Hold', 6);

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

--
-- Table structure for table `stats`
--

CREATE TABLE `stats` (
  `stats_id` int(11) NOT NULL,
  `stats_title_ar` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `stats_title_en` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `stats_title_fr` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `stats_status` tinyint(1) NOT NULL COMMENT 'active/desactive',
  `stats_saving_date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `stats_values`
--

CREATE TABLE `stats_values` (
  `stats_value_id` int(11) NOT NULL,
  `stats_id` int(11) NOT NULL,
  `stats_value_title_ar` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `stats_value_title_en` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `stats_value_title_fr` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `stats_value_count` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `structures_optional_fields`
--

CREATE TABLE `structures_optional_fields` (
  `optional_field_id` int(11) NOT NULL,
  `structure_id` int(11) NOT NULL,
  `optional_field_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `optional_field_title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `optional_field_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `optional_field_ref_module_id` int(11) NOT NULL,
  `optional_field_key` varchar(255) COLLATE utf8_unicode_ci NOT NULL COMMENT 'if key = "", then the module is the refrence',
  `optional_field_update_names` varchar(512) COLLATE utf8_unicode_ci NOT NULL,
  `optional_field_onload` tinyint(1) NOT NULL,
  `optional_field_position` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `temp_basket`
--

CREATE TABLE `temp_basket` (
  `basket_id` int(11) NOT NULL,
  `basket_session` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `item_id` int(11) NOT NULL,
  `item_qty` int(11) NOT NULL,
  `tm` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Table structure for table `wishlist`
--

CREATE TABLE `wishlist` (
  `wishlist_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `item_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `actionperday`
--
ALTER TABLE `actionperday`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `ads`
--
ALTER TABLE `ads`
  ADD PRIMARY KEY (`ads_id`);

--
-- Indexes for table `backups`
--
ALTER TABLE `backups`
  ADD PRIMARY KEY (`backup_id`);

--
-- Indexes for table `country`
--
ALTER TABLE `country`
  ADD PRIMARY KEY (`country_id`);

--
-- Indexes for table `customers_reset_links`
--
ALTER TABLE `customers_reset_links`
  ADD PRIMARY KEY (`reset_link_id`);

--
-- Indexes for table `dynamic_pages`
--
ALTER TABLE `dynamic_pages`
  ADD PRIMARY KEY (`page_id`);

--
-- Indexes for table `dynamic_pages_gallery`
--
ALTER TABLE `dynamic_pages_gallery`
  ADD PRIMARY KEY (`option_id`),
  ADD KEY `option_name` (`option_name`);

--
-- Indexes for table `emails`
--
ALTER TABLE `emails`
  ADD PRIMARY KEY (`email_id`);

--
-- Indexes for table `folders`
--
ALTER TABLE `folders`
  ADD PRIMARY KEY (`folder_id`);

--
-- Indexes for table `inbox`
--
ALTER TABLE `inbox`
  ADD PRIMARY KEY (`contact_id`);

--
-- Indexes for table `items_gallery`
--
ALTER TABLE `items_gallery`
  ADD PRIMARY KEY (`option_id`),
  ADD KEY `option_name` (`option_name`);

--
-- Indexes for table `items_history`
--
ALTER TABLE `items_history`
  ADD PRIMARY KEY (`item_history_id`);

--
-- Indexes for table `items_optional`
--
ALTER TABLE `items_optional`
  ADD PRIMARY KEY (`item_optional_id`);

--
-- Indexes for table `items_replies`
--
ALTER TABLE `items_replies`
  ADD PRIMARY KEY (`reply_id`);

--
-- Indexes for table `item_gallery_type`
--
ALTER TABLE `item_gallery_type`
  ADD PRIMARY KEY (`type_id`);

--
-- Indexes for table `jobs`
--
ALTER TABLE `jobs`
  ADD PRIMARY KEY (`job_id`);

--
-- Indexes for table `jobs_categories`
--
ALTER TABLE `jobs_categories`
  ADD PRIMARY KEY (`category_id`);

--
-- Indexes for table `languages`
--
ALTER TABLE `languages`
  ADD PRIMARY KEY (`lang_id`,`lang_abbr`);

--
-- Indexes for table `menus`
--
ALTER TABLE `menus`
  ADD PRIMARY KEY (`menu_id`);

--
-- Indexes for table `modules`
--
ALTER TABLE `modules`
  ADD PRIMARY KEY (`module_id`);

--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
  ADD PRIMARY KEY (`order_id`);

--
-- Indexes for table `orders_products`
--
ALTER TABLE `orders_products`
  ADD PRIMARY KEY (`prder_product_id`);

--
-- Indexes for table `orders_status`
--
ALTER TABLE `orders_status`
  ADD PRIMARY KEY (`order_status_id`);

--
-- Indexes for table `stats`
--
ALTER TABLE `stats`
  ADD PRIMARY KEY (`stats_id`);

--
-- Indexes for table `stats_values`
--
ALTER TABLE `stats_values`
  ADD PRIMARY KEY (`stats_value_id`);

--
-- Indexes for table `structures_optional_fields`
--
ALTER TABLE `structures_optional_fields`
  ADD PRIMARY KEY (`optional_field_id`);

--
-- Indexes for table `temp_basket`
--
ALTER TABLE `temp_basket`
  ADD PRIMARY KEY (`basket_id`);

--
-- Indexes for table `wishlist`
--
ALTER TABLE `wishlist`
  ADD PRIMARY KEY (`wishlist_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `actionperday`
--
ALTER TABLE `actionperday`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=662369;
--
-- AUTO_INCREMENT for table `ads`
--
ALTER TABLE `ads`
  MODIFY `ads_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `backups`
--
ALTER TABLE `backups`
  MODIFY `backup_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `country`
--
ALTER TABLE `country`
  MODIFY `country_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=223;
--
-- AUTO_INCREMENT for table `customers_reset_links`
--
ALTER TABLE `customers_reset_links`
  MODIFY `reset_link_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `dynamic_pages_gallery`
--
ALTER TABLE `dynamic_pages_gallery`
  MODIFY `option_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `emails`
--
ALTER TABLE `emails`
  MODIFY `email_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `folders`
--
ALTER TABLE `folders`
  MODIFY `folder_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `inbox`
--
ALTER TABLE `inbox`
  MODIFY `contact_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `items_gallery`
--
ALTER TABLE `items_gallery`
  MODIFY `option_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `items_history`
--
ALTER TABLE `items_history`
  MODIFY `item_history_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `items_optional`
--
ALTER TABLE `items_optional`
  MODIFY `item_optional_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `items_replies`
--
ALTER TABLE `items_replies`
  MODIFY `reply_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `jobs`
--
ALTER TABLE `jobs`
  MODIFY `job_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `jobs_categories`
--
ALTER TABLE `jobs_categories`
  MODIFY `category_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
--
-- AUTO_INCREMENT for table `languages`
--
ALTER TABLE `languages`
  MODIFY `lang_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `menus`
--
ALTER TABLE `menus`
  MODIFY `menu_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `modules`
--
ALTER TABLE `modules`
  MODIFY `module_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=971;
--
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
  MODIFY `order_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `orders_products`
--
ALTER TABLE `orders_products`
  MODIFY `prder_product_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `stats`
--
ALTER TABLE `stats`
  MODIFY `stats_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `stats_values`
--
ALTER TABLE `stats_values`
  MODIFY `stats_value_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `structures_optional_fields`
--
ALTER TABLE `structures_optional_fields`
  MODIFY `optional_field_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `temp_basket`
--
ALTER TABLE `temp_basket`
  MODIFY `basket_id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `wishlist`
--
ALTER TABLE `wishlist`
  MODIFY `wishlist_id` int(11) NOT NULL AUTO_INCREMENT;
