-- Table structure for table `th_coach_products`
--

CREATE TABLE IF NOT EXISTS `th_coach_products` (
  `product_id` int(11) NOT NULL AUTO_INCREMENT,
  `product_name` varchar(100) DEFAULT NULL,
  `product_cost` int(11) DEFAULT '0',
  `user_id_fkx` int(11) DEFAULT NULL COMMENT 'Coach ID',
  `product_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `tax_applicable` varchar(4) DEFAULT 'NO' COMMENT 'YES or NO',
  `product_image` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`product_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ;

--
-- Dumping data for table `th_coach_products`
--

INSERT INTO `th_coach_products` (`product_id`, `product_name`, `product_cost`, `user_id_fkx`, `product_date`, `tax_applicable`, `product_image`) VALUES
(5, 'test 6', 150, 41, '2013-09-28 05:39:23', 'YES', ''),
(6, 'Product 5', 200, 41, '2013-10-01 12:39:31', 'NO', ''),
(7, 'Body Mass Protien', 200, 41, '2013-12-03 05:59:42', 'YES', ''),
(8, 'test tax', 3, 41, '2013-12-20 05:22:03', 'YES', 'nutrition/products/pro_41_13875169227923.jpg'),
(9, 'test non tax', 5, 41, '2013-12-20 05:22:33', 'NO', 'nutrition/products/pro_41_13875169530063.jpg');

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

--
-- Table structure for table `th_coach_profile`
--

CREATE TABLE IF NOT EXISTS `th_coach_profile` (
  `tc_nut_id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id_fkx` int(11) DEFAULT NULL,
  `tc_nut_gender` varchar(8) DEFAULT NULL,
  `tc_employed_by` varchar(4) DEFAULT NULL COMMENT '0: Institutional Provider, 1: Individual Provider',
  `tc_institute_name` varchar(100) DEFAULT NULL,
  `business_name` varchar(200) NOT NULL,
  `business_type` varchar(30) NOT NULL,
  `tc_regtype` varchar(4) DEFAULT NULL COMMENT 'NC: Nutrition coach FC: Fitness Coach, NFC: Nutrition & Fitness Coach',
  `ratingdata` int(10) DEFAULT NULL,
  `tc_hs_degree` varchar(25) DEFAULT NULL,
  `tc_degree_field` varchar(25) DEFAULT NULL,
  `tc_other_degree` varchar(255) DEFAULT NULL,
  `tc_credential` varchar(50) DEFAULT NULL,
  `tc_cred_other` varchar(255) DEFAULT NULL,
  `tc_experience` varchar(20) DEFAULT NULL,
  `tc_website` varchar(25) DEFAULT NULL,
  `liability` varchar(150) DEFAULT NULL,
  `tc_rate` float DEFAULT NULL,
  `tc_rate_note` text,
  `tc_about_me` text,
  `total_connects` int(11) NOT NULL,
  `used_connects` int(11) NOT NULL,
  `total_memory` int(11) NOT NULL,
  `used_memory` int(11) NOT NULL,
  `paypal_id` varchar(100) NOT NULL,
  `paypal_status` tinyint(2) NOT NULL DEFAULT '0',
  `verify_status` varchar(10) DEFAULT 'N' COMMENT 'When certificate get verified by Super Admin: V  If not Verified N',
  `session_tax` varchar(4) DEFAULT 'NO' COMMENT 'YES or NO',
  `session_tax_type` varchar(30) DEFAULT NULL,
  `session_tax_percentage` float DEFAULT NULL,
  `product_tax_type` varchar(30) DEFAULT NULL,
  `product_tax_percentage` float DEFAULT NULL,
  `ref_by` varchar(10) DEFAULT 'self' COMMENT 'This Feild is used in coach Affiliate Program for Reference ID',
  PRIMARY KEY (`tc_nut_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=35 ;

--
-- Dumping data for table `th_coach_profile`
--

INSERT INTO `th_coach_profile` (`tc_nut_id`, `user_id_fkx`, `tc_nut_gender`, `tc_employed_by`, `tc_institute_name`, `business_name`, `business_type`, `tc_regtype`, `ratingdata`, `tc_hs_degree`, `tc_degree_field`, `tc_other_degree`, `tc_credential`, `tc_cred_other`, `tc_experience`, `tc_website`, `liability`, `tc_rate`, `tc_rate_note`, `tc_about_me`, `total_connects`, `used_connects`, `total_memory`, `used_memory`, `paypal_id`, `paypal_status`, `verify_status`, `session_tax`, `session_tax_type`, `session_tax_percentage`, `product_tax_type`, `product_tax_percentage`, `ref_by`) VALUES
(1, 41, 'Male', '0', 'Toplogic Softlabs', 'My bisuness', 'Personal Training', 'NC', 3, '3', 'dg1_dg2_dg3_dg4_dg5_dg6', 'Hello', 'pc1_pc2_pc3_pc4_pc5_pc6', 'hello', '3-4', 'http://toplogic.in', '', NULL, NULL, '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.', 50, 20, 409600, 477, 'sheetalkumar105@gmail.com', 1, 'V', 'YES', 'Service Tax', 6, 'Service Tax', 11, 'self'),
(15, 60, 'Male', '1', '0', '', '', 'NC', 5, '2', NULL, '', NULL, NULL, '--', '', '', NULL, NULL, '', 0, 0, 0, 477, '', 0, 'V', 'NO', NULL, NULL, NULL, NULL, 'self'),
(18, 66, 'Male', '1', '0', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 477, '', 0, 'V', 'NO', NULL, NULL, NULL, NULL, 'self'),
(20, 71, 'Male', '1', '', '', '', NULL, 4, NULL, NULL, NULL, NULL, NULL, '5-6', '', '', NULL, NULL, 'dsfsd', 2, 2, 102400, 477, '', 0, 'V', 'NO', NULL, NULL, NULL, NULL, 'self'),
(21, 92, 'Male', '1', '0', 'Saurabh Training Center', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3-4', 'http://saurabh.com', '', NULL, NULL, 'Nandini and Gopal Kesarwani (TOI Photo ) The wait finally ended for Shipra Rastogi and Saurabh Saith as they recently tied the knot with dhoom dhadaka at a prominent city lawn. Being the first wedding of their family, Shipra''s parents Neelam and Rajiv Rastogi made the arrangements as lavish as possible. Younger brother Vishal Rastogi flew down all the way from the US for his sister''s big day.', 0, 0, 0, 477, '', 0, 'V', 'NO', NULL, NULL, NULL, NULL, 'self'),
(22, 93, 'Female', '1', '0', 'Sumita Gym Center', 'CrossFit', NULL, 3, NULL, NULL, NULL, NULL, NULL, '1-2', 'http://www.toplogic.in', '', NULL, NULL, 'Mauris vel lacus vitae felis vestibulum volutpat. Etiam est nunc, venenatis in, tristique eu, imperdiet ac, nisl. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. \r\nIn iaculis facilisis massa. Etiam eu urna. Sed porta. Suspendisse quam leo, molestie sed, luctus quis, feugiat in, pede. Fusce tellus. Sed metus augue, convallis et, vehicula ut, pulvinar eu, ante.\r\n Integer orci tellus, tristique vitae, consequat nec, porta vel, lectus. Nulla sit amet diam. Duis non nunc. Nulla rhoncus dictum metus. Curabitur tristique mi condimentum orci. Phasellus pellentesque aliquam enim. Proin dui lectus, cursus eu, mattis laoreet, viverra sit amet, quam. Curabitur vel dolor ultrices ipsum dictum tristique.\r\n Praesent vitae lacus. Ut velit enim, vestibulum non, fermentum nec, hendrerit quis, leo. Pellentesque rutrum malesuada neque.', 2, 2, 102400, 477, '', 0, 'V', 'NO', NULL, NULL, NULL, NULL, 'self'),
(23, 70, 'Male', '1', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 477, '', 0, 'V', 'NO', NULL, NULL, NULL, NULL, 'self'),
(24, 67, 'Male', '1', '', 'Fitness Time', 'Gym', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '7-8', 'http://sunelyadav.in', '', NULL, NULL, 'Young and handsome Saurabh Raaj Jain whom we have seen in shows like Parichay, Uttaran and currently as Lord Vishnu in Mahadev will be portraying the most lovable character of Indian mythology Lord Krishna in Siddharth Kumar Tewary''s show Mahabharat. \r\n"I have been selected as Lord Krishna in 2010. Then as we all know the show took some time because of its huge cast and other logistics. After that I have started playing Vishnu in Mahadev. ', 10, 1, 409600, 477, '', 0, 'V', 'NO', NULL, NULL, NULL, NULL, 'self'),
(25, 72, 'Male', '1', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 477, '', 0, 'V', 'NO', NULL, NULL, NULL, NULL, 'self'),
(26, 94, 'Male', NULL, NULL, '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 0, 102400, 477, '', 0, 'N', 'NO', NULL, NULL, NULL, NULL, '41'),
(27, NULL, 'Male', NULL, NULL, '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 477, '', 0, 'N', 'NO', NULL, NULL, NULL, NULL, 'self'),
(28, NULL, 'Male', NULL, NULL, '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 477, '', 0, 'N', 'NO', NULL, NULL, NULL, NULL, 'self'),
(29, 97, 'Male', NULL, NULL, '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 0, 102400, 477, '', 0, 'N', 'NO', NULL, NULL, NULL, NULL, 'self'),
(30, 98, 'Male', '1', '', '', 'Bootcamp', NULL, 4, NULL, NULL, NULL, NULL, NULL, '1-2', '', '', NULL, NULL, 'Lerem Ipsum', 2, 2, 102400, 477, '', 0, 'N', 'NO', NULL, NULL, 'Service Tax', 3, 'self'),
(31, 99, 'Male', NULL, NULL, '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 477, '', 0, 'N', 'NO', NULL, NULL, NULL, NULL, 'self'),
(32, 100, 'Female', NULL, NULL, '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 477, '', 0, 'N', 'NO', NULL, NULL, NULL, NULL, 'self'),
(33, NULL, 'Male', NULL, NULL, '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 477, '', 0, 'N', 'NO', NULL, NULL, NULL, NULL, 'self'),
(34, 101, 'Male', '1', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 477, '', 0, 'N', 'NO', NULL, NULL, NULL, NULL, 'self');

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

--
-- Table structure for table `th_coach_radius`
--

CREATE TABLE IF NOT EXISTS `th_coach_radius` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id_fkx` int(10) NOT NULL,
  `radius` varchar(10) NOT NULL,
  `zip` varchar(10) NOT NULL,
  `name` varchar(50) NOT NULL,
  `phone` varchar(20) NOT NULL,
  `website` varchar(50) NOT NULL,
  `position` tinyint(2) NOT NULL,
  `location` tinyint(2) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `th_coach_radius`
--

INSERT INTO `th_coach_radius` (`id`, `user_id_fkx`, `radius`, `zip`, `name`, `phone`, `website`, `position`, `location`) VALUES
(1, 41, '25', '12345', 'Sheetal Business', '988965698', 'www.top.in', 2, 1),
(2, 41, '50', '12345', 'Healty', '7388866668', 'http://skmcoach.com', 1, 1),
(3, 41, '10', '738', 'Health and Wealth', '9795572344', 'http://lkouniv.ac.in', 2, 0),
(4, 98, '5', '501', 'Gymnastic Tranning Center', '7388866668', '', 1, 0);

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

--
-- Table structure for table `th_coach_rating`
--

CREATE TABLE IF NOT EXISTS `th_coach_rating` (
  `rt_id` int(10) NOT NULL AUTO_INCREMENT,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `ratingdata` int(10) NOT NULL DEFAULT '0',
  `re_type` varchar(20) DEFAULT NULL,
  `recp_id_fkx` int(10) NOT NULL,
  `rating_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`rt_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=17 ;

--
-- Dumping data for table `th_coach_rating`
--

INSERT INTO `th_coach_rating` (`rt_id`, `rgs_id_fkx`, `ratingdata`, `re_type`, `recp_id_fkx`, `rating_date`) VALUES
(1, 1, 2, 'nutrition', 41, '2013-02-16 05:38:29'),
(2, 1, 7, 'nutrition', 60, '2013-02-16 06:00:32'),
(3, 1, 2, 'nutrition', 41, '2013-02-16 06:06:49'),
(4, 65, 5, 'nutrition', 41, '2013-03-15 12:19:13'),
(5, 65, 6, 'nutrition', 67, '2013-03-15 12:19:42'),
(6, 65, 9, 'nutrition', 67, '2013-03-15 12:40:50'),
(7, 65, 9, 'nutrition', 67, '2013-03-15 12:41:26'),
(8, 81, 4, 'nutrition', 41, '2013-03-26 05:32:35'),
(9, 81, 4, 'nutrition', 41, '2013-03-26 05:38:27'),
(10, 81, 4, 'nutrition', 41, '2013-03-26 05:53:11'),
(11, 81, 2, 'nutrition', 60, '2013-04-25 10:42:49'),
(12, 1, 4, 'nutrition', 71, '2013-06-08 05:36:37'),
(13, 1, 3, 'nutrition', 93, '2014-05-05 11:21:20'),
(14, 39, 3, 'nutrition', 41, '2014-06-11 07:00:05'),
(15, 1, 4, 'nutrition', 98, '2014-08-29 08:47:38'),
(16, 75, 3, 'nutrition', 41, '2015-03-25 13:38:59');

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

--
-- Table structure for table `th_coach_receipt`
--

CREATE TABLE IF NOT EXISTS `th_coach_receipt` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `rec_id` varchar(20) NOT NULL,
  `user_id_fkx` int(11) NOT NULL,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `invoice_id` varchar(20) NOT NULL,
  `rec_amount` float NOT NULL,
  `rec_type` varchar(10) DEFAULT NULL COMMENT 'offline,online',
  `tr_id` varchar(30) DEFAULT NULL,
  `rec_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `rec_remark` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ;

--
-- Dumping data for table `th_coach_receipt`
--

INSERT INTO `th_coach_receipt` (`id`, `rec_id`, `user_id_fkx`, `rgs_id_fkx`, `invoice_id`, `rec_amount`, `rec_type`, `tr_id`, `rec_date`, `rec_remark`) VALUES
(1, 'REC1-41-0001', 41, 1, 'INV1-41-0001', 1000, 'offline', NULL, '2013-10-12 13:55:47', NULL),
(2, 'REC1-41-0002', 41, 1, 'INV1-41-0004', 450, 'offline', NULL, '2013-10-12 13:58:10', NULL),
(3, 'REC1-41-0003', 41, 1, 'INV1-41-0007', 350, 'offline', NULL, '2013-10-14 05:02:53', NULL),
(4, 'REC1-41-0004', 41, 1, 'INV1-41-0006', 375, 'offline', NULL, '2013-10-17 07:28:02', ''),
(5, 'REC1-41-0005', 41, 1, 'INV1-41-0009', 200, 'offline', NULL, '2013-10-17 07:29:52', ''),
(6, 'REC1-41-0006', 41, 1, 'INV1-41-0008', 650, 'offline', NULL, '2013-10-17 07:32:24', ''),
(7, 'REC1-41-0007', 41, 1, 'INV1-41-0011', 150, 'offline', NULL, '2013-10-17 13:13:43', ''),
(8, 'REC1-41-0008', 41, 1, 'INV1-41-0010', 180, 'offline', NULL, '2013-10-17 13:14:54', ''),
(9, 'REC1-41-0009', 41, 1, 'INV1-41-0028', 500, 'offline', NULL, '2013-11-13 10:36:50', ''),
(10, 'REC1-41-0010', 41, 1, 'INV1-41-0024', 200, 'online', 'aaaa', '2013-12-21 04:58:27', NULL),
(11, 'REC1-41-0011', 41, 1, 'INV1-41-0024', 200, 'online', '456', '2013-12-21 07:18:02', NULL),
(12, 'REC1-41-0012', 41, 1, 'INV1-41-0042', 1060, 'offline', NULL, '2014-01-08 11:11:40', '');

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

--
-- Table structure for table `th_coach_reminders`
--

CREATE TABLE IF NOT EXISTS `th_coach_reminders` (
  `rem_id` int(11) NOT NULL AUTO_INCREMENT,
  `ref_id` int(11) NOT NULL,
  `rem_type` varchar(10) DEFAULT 'A' COMMENT 'A->Appointment,GS->Group Session',
  `rem_to` varchar(10) NOT NULL COMMENT 'CL-> Client, M->Me',
  `rem_before` int(11) NOT NULL,
  `rem_unit` varchar(2) NOT NULL COMMENT 'w->week, d->Day, h->hour, m->minute',
  `rem_time` datetime NOT NULL,
  `rem_created` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `rem_mail_sent` varchar(3) NOT NULL DEFAULT 'NO',
  PRIMARY KEY (`rem_id`),
  KEY `sess_id` (`ref_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=393 ;

--
-- Dumping data for table `th_coach_reminders`
--

INSERT INTO `th_coach_reminders` (`rem_id`, `ref_id`, `rem_type`, `rem_to`, `rem_before`, `rem_unit`, `rem_time`, `rem_created`, `rem_mail_sent`) VALUES
(1, 4, 'A', 'CL', 15, 'd', '2013-10-06 13:05:00', '2013-10-21 12:36:04', 'YES'),
(2, 4, 'A', 'M', 12, 'h', '2013-10-21 01:05:00', '2013-10-21 12:36:04', 'YES'),
(3, 4, 'A', 'CL', 30, 'm', '2013-10-21 12:35:00', '2013-10-21 12:36:04', 'YES'),
(26, 19, 'A', 'CL', 2, 'd', '2013-10-26 14:00:00', '2013-10-24 07:36:25', 'YES'),
(27, 19, 'A', 'M', 2, 'h', '2013-10-28 12:00:00', '2013-10-24 07:36:25', 'YES'),
(31, 20, 'A', 'CL', 1, 'd', '2013-10-26 09:00:00', '2013-10-24 09:25:30', 'YES'),
(32, 20, 'A', 'M', 1, 'h', '2013-10-27 08:00:00', '2013-10-24 09:25:30', 'YES'),
(33, 20, 'A', 'CL', 30, 'm', '2013-10-27 08:30:00', '2013-10-24 09:25:30', 'YES'),
(38, 15, 'A', 'CL', 2, 'd', '2013-10-23 14:00:00', '2013-10-24 12:59:49', 'YES'),
(39, 15, 'A', 'CL', 30, 'm', '2013-10-25 13:30:00', '2013-10-24 12:59:49', 'YES'),
(82, 3, 'A', 'CL', 1, 'd', '2013-10-28 13:45:00', '2013-10-29 13:43:43', 'NO'),
(83, 3, 'A', 'M', 12, 'h', '2013-10-29 01:45:00', '2013-10-29 13:43:43', 'NO'),
(84, 3, 'A', 'CL', 30, 'm', '2013-10-29 13:15:00', '2013-10-29 13:43:43', 'NO'),
(85, 9, 'A', 'CL', 1, 'd', '2013-10-29 13:00:00', '2013-10-29 13:43:55', 'NO'),
(86, 9, 'A', 'M', 12, 'h', '2013-10-30 01:00:00', '2013-10-29 13:43:55', 'NO'),
(87, 9, 'A', 'CL', 30, 'm', '2013-10-30 12:30:00', '2013-10-29 13:43:55', 'NO'),
(94, 23, 'A', 'CL', 1, 'd', '2013-10-29 13:05:00', '2013-10-29 13:50:36', 'YES'),
(95, 23, 'A', 'M', 12, 'h', '2013-10-30 01:05:00', '2013-10-29 13:50:36', 'YES'),
(96, 23, 'A', 'CL', 30, 'm', '2013-10-30 12:35:00', '2013-10-29 13:50:36', 'YES'),
(97, 26, 'A', 'CL', 1, 'd', '2013-10-29 13:00:00', '2013-10-29 13:50:48', 'YES'),
(98, 26, 'A', 'M', 12, 'h', '2013-10-30 01:00:00', '2013-10-29 13:50:48', 'YES'),
(99, 26, 'A', 'CL', 30, 'm', '2013-10-30 12:30:00', '2013-10-29 13:50:48', 'YES'),
(100, 24, 'A', 'CL', 1, 'd', '2013-10-31 11:00:00', '2013-10-30 11:48:08', 'YES'),
(101, 24, 'A', 'M', 12, 'h', '2013-10-31 23:00:00', '2013-10-30 11:48:08', 'NO'),
(102, 24, 'A', 'CL', 30, 'm', '2013-11-01 10:30:00', '2013-10-30 11:48:08', 'YES'),
(103, 29, 'A', 'CL', 1, 'd', '2013-10-31 14:00:00', '2013-10-30 11:48:23', 'YES'),
(104, 29, 'A', 'M', 12, 'h', '2013-11-01 02:00:00', '2013-10-30 11:48:23', 'YES'),
(105, 29, 'A', 'CL', 30, 'm', '2013-11-01 13:30:00', '2013-10-30 11:48:23', 'YES'),
(106, 27, 'A', 'CL', 1, 'd', '2013-11-01 14:00:00', '2013-10-30 11:50:31', 'YES'),
(107, 27, 'A', 'M', 12, 'h', '2013-11-02 02:00:00', '2013-10-30 11:50:31', 'YES'),
(108, 27, 'A', 'CL', 30, 'm', '2013-11-02 13:30:00', '2013-10-30 11:50:31', 'YES'),
(148, 30, 'GS', 'CL', 1, 'd', '2013-11-09 08:00:00', '2013-11-05 09:32:02', 'NO'),
(149, 30, 'GS', 'M', 12, 'h', '2013-11-09 20:00:00', '2013-11-05 09:32:02', 'NO'),
(150, 30, 'GS', 'CL', 30, 'm', '2013-11-10 07:30:00', '2013-11-05 09:32:02', 'NO'),
(151, 31, 'GS', 'CL', 1, 'd', '2013-11-07 07:00:00', '2013-11-05 09:36:54', 'YES'),
(152, 31, 'GS', 'M', 12, 'h', '2013-11-07 19:00:00', '2013-11-05 09:36:54', 'NO'),
(153, 31, 'GS', 'CL', 30, 'm', '2013-11-08 06:30:00', '2013-11-05 09:36:54', 'YES'),
(157, 25, 'A', 'CL', 1, 'd', '2013-11-11 10:00:00', '2013-11-08 09:15:42', 'YES'),
(158, 25, 'A', 'M', 12, 'h', '2013-11-11 22:00:00', '2013-11-08 09:15:42', 'NO'),
(159, 25, 'A', 'CL', 30, 'm', '2013-11-12 09:30:00', '2013-11-08 09:15:42', 'YES'),
(184, 22, 'A', 'CL', 1, 'd', '2013-11-19 04:00:00', '2013-11-11 05:33:32', 'NO'),
(185, 22, 'A', 'M', 12, 'h', '2013-11-19 16:00:00', '2013-11-11 05:33:32', 'NO'),
(186, 22, 'A', 'CL', 30, 'm', '2013-11-20 03:30:00', '2013-11-11 05:33:32', 'NO'),
(196, 32, 'GS', 'CL', 1, 'd', '2013-11-27 07:00:00', '2013-11-22 07:11:45', 'NO'),
(197, 32, 'GS', 'M', 12, 'h', '2013-11-27 19:00:00', '2013-11-22 07:11:45', 'NO'),
(198, 32, 'GS', 'CL', 30, 'm', '2013-11-28 06:30:00', '2013-11-22 07:11:45', 'NO'),
(199, 12, 'A', 'CL', 1, 'd', '2013-12-21 10:00:00', '2013-12-14 13:51:10', 'YES'),
(200, 12, 'A', 'M', 12, 'h', '2013-12-21 22:00:00', '2013-12-14 13:51:10', 'NO'),
(201, 12, 'A', 'CL', 30, 'm', '2013-12-22 09:30:00', '2013-12-14 13:51:10', 'YES'),
(205, 31, 'A', 'CL', 1, 'd', '2013-12-26 09:00:00', '2013-12-14 13:52:03', 'YES'),
(206, 31, 'A', 'M', 12, 'h', '2013-12-26 21:00:00', '2013-12-14 13:52:03', 'NO'),
(207, 31, 'A', 'CL', 30, 'm', '2013-12-27 08:30:00', '2013-12-14 13:52:03', 'YES'),
(208, 28, 'A', 'CL', 1, 'd', '2013-12-27 09:00:00', '2013-12-24 09:05:15', 'YES'),
(209, 28, 'A', 'M', 12, 'h', '2013-12-27 21:00:00', '2013-12-24 09:05:15', 'NO'),
(210, 28, 'A', 'CL', 30, 'm', '2013-12-28 08:30:00', '2013-12-24 09:05:15', 'YES'),
(211, 55, 'A', 'CL', 1, 'd', '2013-12-25 10:00:00', '2013-12-24 09:05:36', 'YES'),
(212, 55, 'A', 'M', 12, 'h', '2013-12-25 22:00:00', '2013-12-24 09:05:36', 'NO'),
(213, 55, 'A', 'CL', 30, 'm', '2013-12-26 09:30:00', '2013-12-24 09:05:36', 'YES'),
(214, 47, 'A', 'CL', 1, 'd', '2013-12-27 06:00:00', '2013-12-24 09:05:54', 'YES'),
(215, 47, 'A', 'M', 12, 'h', '2013-12-27 18:00:00', '2013-12-24 09:05:54', 'NO'),
(216, 47, 'A', 'CL', 30, 'm', '2013-12-28 05:30:00', '2013-12-24 09:05:54', 'YES'),
(220, 34, 'GS', 'CL', 1, 'd', '2013-12-25 08:00:00', '2013-12-24 09:25:27', 'NO'),
(221, 34, 'GS', 'M', 12, 'h', '2013-12-25 20:00:00', '2013-12-24 09:25:27', 'NO'),
(222, 34, 'GS', 'CL', 30, 'm', '2013-12-26 07:30:00', '2013-12-24 09:25:27', 'NO'),
(226, 33, 'GS', 'CL', 1, 'd', '2014-01-01 07:30:00', '2013-12-24 09:32:37', 'NO'),
(227, 33, 'GS', 'M', 12, 'h', '2014-01-01 19:30:00', '2013-12-24 09:32:37', 'NO'),
(228, 33, 'GS', 'CL', 30, 'm', '2014-01-02 07:00:00', '2013-12-24 09:32:37', 'NO'),
(229, 35, 'GS', 'CL', 1, 'd', '2013-12-27 09:00:00', '2013-12-27 10:27:15', 'NO'),
(230, 35, 'GS', 'M', 12, 'h', '2013-12-27 21:00:00', '2013-12-27 10:27:15', 'NO'),
(231, 35, 'GS', 'CL', 30, 'm', '2013-12-28 08:30:00', '2013-12-27 10:27:15', 'NO'),
(232, 48, 'A', 'CL', 1, 'd', '2014-01-03 07:00:00', '2014-01-01 12:09:32', 'YES'),
(233, 48, 'A', 'M', 12, 'h', '2014-01-03 19:00:00', '2014-01-01 12:09:32', 'NO'),
(234, 48, 'A', 'CL', 30, 'm', '2014-01-04 06:30:00', '2014-01-01 12:09:32', 'YES'),
(235, 53, 'A', 'CL', 1, 'd', '2014-01-04 05:00:00', '2014-01-01 12:10:09', 'YES'),
(236, 53, 'A', 'M', 12, 'h', '2014-01-04 17:00:00', '2014-01-01 12:10:09', 'NO'),
(237, 53, 'A', 'CL', 30, 'm', '2014-01-05 04:30:00', '2014-01-01 12:10:09', 'YES'),
(238, 44, 'A', 'CL', 1, 'd', '2014-01-29 09:00:00', '2014-01-02 05:52:18', 'YES'),
(239, 49, 'A', 'CL', 1, 'd', '2014-01-22 09:00:00', '2014-01-02 05:52:58', 'YES'),
(240, 49, 'A', 'M', 12, 'h', '2014-01-22 21:00:00', '2014-01-02 05:52:58', 'NO'),
(241, 49, 'A', 'CL', 30, 'm', '2014-01-23 08:30:00', '2014-01-02 05:52:58', 'YES'),
(242, 43, 'A', 'CL', 1, 'd', '2014-01-07 09:00:00', '2014-01-02 07:07:48', 'YES'),
(243, 43, 'A', 'M', 12, 'h', '2014-01-07 21:00:00', '2014-01-02 07:07:48', 'NO'),
(244, 43, 'A', 'CL', 30, 'm', '2014-01-08 08:30:00', '2014-01-02 07:07:48', 'YES'),
(245, 50, 'A', 'CL', 1, 'd', '2014-01-07 09:00:00', '2014-01-04 09:46:14', 'YES'),
(246, 50, 'A', 'M', 12, 'h', '2014-01-07 21:00:00', '2014-01-04 09:46:14', 'NO'),
(247, 50, 'A', 'CL', 30, 'm', '2014-01-08 08:30:00', '2014-01-04 09:46:14', 'YES'),
(248, 56, 'A', 'CL', 1, 'd', '2014-01-08 09:00:00', '2014-01-04 09:46:50', 'YES'),
(249, 56, 'A', 'M', 12, 'h', '2014-01-08 21:00:00', '2014-01-04 09:46:50', 'NO'),
(250, 56, 'A', 'CL', 30, 'm', '2014-01-09 08:30:00', '2014-01-04 09:46:50', 'YES'),
(251, 10, 'A', 'CL', 1, 'd', '2014-01-08 09:30:00', '2014-01-04 09:53:07', 'YES'),
(252, 10, 'A', 'M', 12, 'h', '2014-01-08 21:30:00', '2014-01-04 09:53:07', 'NO'),
(253, 10, 'A', 'CL', 30, 'm', '2014-01-09 09:00:00', '2014-01-04 09:53:07', 'YES'),
(290, 36, 'GS', 'CL', 1, 'd', '2014-01-30 22:50:00', '2014-01-15 06:26:51', 'NO'),
(291, 36, 'GS', 'M', 12, 'h', '2014-01-31 10:50:00', '2014-01-15 06:26:51', 'NO'),
(292, 36, 'GS', 'CL', 30, 'm', '2014-01-31 22:20:00', '2014-01-15 06:26:51', 'NO'),
(293, 14, 'A', 'CL', 1, 'd', '2014-03-25 13:55:00', '2014-03-25 14:00:57', 'YES'),
(294, 14, 'A', 'M', 12, 'h', '2014-03-26 01:55:00', '2014-03-25 14:00:57', 'YES'),
(295, 14, 'A', 'CL', 30, 'm', '2014-03-26 13:25:00', '2014-03-25 14:00:57', 'YES'),
(296, 80, 'A', 'CL', 1, 'd', '2014-03-27 09:50:00', '2014-03-26 06:29:51', 'YES'),
(297, 80, 'A', 'M', 12, 'h', '2014-03-27 21:50:00', '2014-03-26 06:29:51', 'NO'),
(298, 80, 'A', 'CL', 30, 'm', '2014-03-28 09:20:00', '2014-03-26 06:29:51', 'YES'),
(299, 41, 'A', 'CL', 1, 'd', '2014-05-01 08:00:00', '2014-04-28 11:52:49', 'YES'),
(300, 41, 'A', 'M', 12, 'h', '2014-05-01 20:00:00', '2014-04-28 11:52:49', 'NO'),
(301, 41, 'A', 'CL', 30, 'm', '2014-05-02 07:30:00', '2014-04-28 11:52:49', 'YES'),
(302, 60, 'A', 'CL', 1, 'd', '2014-04-30 09:30:00', '2014-04-28 11:53:26', 'YES'),
(303, 60, 'A', 'M', 12, 'h', '2014-04-30 21:30:00', '2014-04-28 11:53:26', 'NO'),
(304, 60, 'A', 'CL', 30, 'm', '2014-05-01 09:00:00', '2014-04-28 11:53:26', 'YES'),
(305, 57, 'A', 'CL', 1, 'd', '2014-05-29 09:55:00', '2014-05-26 10:44:55', 'YES'),
(306, 57, 'A', 'M', 12, 'h', '2014-05-29 21:55:00', '2014-05-26 10:44:55', 'NO'),
(307, 57, 'A', 'CL', 30, 'm', '2014-05-30 09:25:00', '2014-05-26 10:44:55', 'YES'),
(308, 37, 'GS', 'CL', 1, 'd', '2014-06-03 07:00:00', '2014-05-29 05:01:48', 'NO'),
(309, 37, 'GS', 'M', 12, 'h', '2014-06-03 19:00:00', '2014-05-29 05:01:48', 'NO'),
(310, 37, 'GS', 'CL', 30, 'm', '2014-06-04 06:30:00', '2014-05-29 05:01:48', 'NO'),
(311, 38, 'GS', 'CL', 1, 'd', '2014-06-03 06:00:00', '2014-05-29 05:14:15', 'NO'),
(312, 38, 'GS', 'M', 12, 'h', '2014-06-03 18:00:00', '2014-05-29 05:14:15', 'NO'),
(313, 38, 'GS', 'CL', 30, 'm', '2014-06-04 05:30:00', '2014-05-29 05:14:15', 'NO'),
(314, 39, 'GS', 'CL', 1, 'd', '2014-06-02 06:00:00', '2014-05-29 05:20:58', 'NO'),
(315, 39, 'GS', 'M', 12, 'h', '2014-06-02 18:00:00', '2014-05-29 05:20:58', 'NO'),
(316, 39, 'GS', 'CL', 30, 'm', '2014-06-03 05:30:00', '2014-05-29 05:20:58', 'NO'),
(317, 40, 'GS', 'CL', 1, 'd', '2014-06-03 06:00:00', '2014-05-29 05:26:37', 'NO'),
(318, 40, 'GS', 'M', 12, 'h', '2014-06-03 18:00:00', '2014-05-29 05:26:37', 'NO'),
(319, 40, 'GS', 'CL', 30, 'm', '2014-06-04 05:30:00', '2014-05-29 05:26:37', 'NO'),
(320, 41, 'GS', 'CL', 1, 'd', '2014-06-03 06:00:00', '2014-05-29 05:28:14', 'YES'),
(321, 41, 'GS', 'M', 12, 'h', '2014-06-03 18:00:00', '2014-05-29 05:28:14', 'NO'),
(322, 41, 'GS', 'CL', 30, 'm', '2014-06-04 05:30:00', '2014-05-29 05:28:14', 'YES'),
(323, 108, 'A', 'CL', 1, 'd', '2014-06-02 08:00:00', '2014-05-30 08:40:20', 'YES'),
(324, 108, 'A', 'M', 12, 'h', '2014-06-02 20:00:00', '2014-05-30 08:40:20', 'NO'),
(325, 108, 'A', 'CL', 30, 'm', '2014-06-03 07:30:00', '2014-05-30 08:40:20', 'YES'),
(326, 58, 'A', 'CL', 1, 'm', '2014-06-13 08:54:00', '2014-06-11 08:56:12', 'YES'),
(327, 58, 'A', 'M', 12, 'h', '2014-06-12 20:55:00', '2014-06-11 08:56:12', 'NO'),
(328, 58, 'A', 'CL', 30, 'm', '2014-06-13 08:25:00', '2014-06-11 08:56:12', 'YES'),
(329, 42, 'GS', 'CL', 1, 'd', '2014-06-16 09:25:00', '2014-06-17 06:17:29', 'NO'),
(330, 59, 'A', 'CL', 1, 'd', '2014-07-18 09:00:00', '2014-07-18 13:54:33', 'YES'),
(331, 59, 'A', 'M', 12, 'h', '2014-07-18 21:00:00', '2014-07-18 13:54:33', 'NO'),
(332, 59, 'A', 'CL', 30, 'm', '2014-07-19 08:30:00', '2014-07-18 13:54:33', 'NO'),
(333, 61, 'A', 'CL', 1, 'd', '2014-07-22 14:30:00', '2014-07-16 07:07:49', 'NO'),
(334, 61, 'A', 'M', 2, 'h', '2014-07-23 12:30:00', '2014-07-16 07:07:49', 'NO'),
(335, 61, 'A', 'CL', 3, 'd', '2014-07-20 14:30:00', '2014-07-16 07:07:49', 'NO'),
(336, 43, 'GS', 'CL', 1, 'd', '2014-07-29 07:00:00', '2014-07-18 07:48:01', 'NO'),
(337, 43, 'GS', 'M', 12, 'h', '2014-07-29 19:00:00', '2014-07-18 07:48:01', 'NO'),
(338, 43, 'GS', 'CL', 30, 'h', '2014-07-29 01:00:00', '2014-07-18 07:48:01', 'NO'),
(339, 63, 'A', 'CL', 1, 'd', '2014-07-24 05:30:00', '2014-07-18 08:02:20', 'NO'),
(340, 63, 'A', 'M', 12, 'h', '2014-07-24 17:30:00', '2014-07-18 08:02:20', 'NO'),
(341, 63, 'A', 'CL', 30, 'h', '2014-07-23 23:30:00', '2014-07-18 08:02:20', 'NO'),
(345, 44, 'GS', 'CL', 1, 'd', '2015-09-30 09:00:00', '2015-09-30 11:03:19', 'NO'),
(346, 44, 'GS', 'M', 12, 'h', '2015-09-30 21:00:00', '2015-09-30 11:03:19', 'NO'),
(347, 44, 'GS', 'CL', 30, 'h', '2015-09-30 03:00:00', '2015-09-30 11:03:19', 'NO'),
(348, 45, 'GS', 'CL', 1, 'd', '2015-09-30 09:00:00', '2015-09-30 11:06:10', 'NO'),
(349, 45, 'GS', 'M', 12, 'h', '2015-09-30 21:00:00', '2015-09-30 11:06:10', 'NO'),
(350, 45, 'GS', 'CL', 30, 'h', '2015-09-30 03:00:00', '2015-09-30 11:06:10', 'NO'),
(384, 49, 'GS', 'CL', 1, 'd', '2015-10-09 08:00:00', '2015-10-03 07:40:16', 'NO'),
(385, 49, 'GS', 'M', 12, 'h', '2015-10-09 20:00:00', '2015-10-03 07:40:16', 'NO'),
(386, 49, 'GS', 'CL', 30, 'h', '2015-10-09 02:00:00', '2015-10-03 07:40:16', 'NO'),
(387, 0, 'GS', 'CL', 1, 'd', '2016-04-14 08:00:00', '2016-04-09 10:25:10', 'NO'),
(388, 0, 'GS', 'M', 12, 'h', '2016-04-14 20:00:00', '2016-04-09 10:25:10', 'NO'),
(389, 0, 'GS', 'CL', 30, 'h', '2016-04-14 02:00:00', '2016-04-09 10:25:10', 'NO'),
(390, 64, 'A', 'CL', 1, 'd', '2016-04-14 09:00:00', '2016-04-09 10:27:17', 'NO'),
(391, 64, 'A', 'M', 12, 'h', '2016-04-14 21:00:00', '2016-04-09 10:27:17', 'NO'),
(392, 64, 'A', 'CL', 30, 'h', '2016-04-14 03:00:00', '2016-04-09 10:27:17', 'NO');

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

--
-- Table structure for table `th_coach_reviews`
--

CREATE TABLE IF NOT EXISTS `th_coach_reviews` (
  `review_id` int(11) NOT NULL AUTO_INCREMENT,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `user_id_fkx` int(11) DEFAULT NULL,
  `review` text,
  `isread` tinyint(2) NOT NULL DEFAULT '0',
  `review_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`review_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 ;

--
-- Dumping data for table `th_coach_reviews`
--

INSERT INTO `th_coach_reviews` (`review_id`, `rgs_id_fkx`, `user_id_fkx`, `review`, `isread`, `review_date`) VALUES
(1, 81, 60, 'This is demo review. s', 1, '2013-04-25 10:42:50'),
(2, 81, 41, '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.\r\nLorem 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.', 1, '2013-09-19 07:15:42'),
(6, 1, 41, 'A reviews is an evaluation of a publication, product, service, or company such as a movie (a movie review), video game, musical composition (music review of a composition or recording), book (book review); a piece of hardware like a car, home appliance, or computer; or an event or performance, such as a live music concert, play, musical theater show, or dance show. In addition to a critical evaluation, the review''s author may assign the work a rating to indicate its relative merit. More loosely, an author may review current events, trends, or items in the news. A compilation of reviews may itself be called a review. The New York Review of Books, for instance, is a collection of essays on literature, culture, and current affairs. National Review, founded by William F. Buckley, Jr., is an influential conservative magazine, and Monthly Review is a long-running socialist periodical.\r\nIn the scientific literature, review articles are a category of scientific paper, which provides a synthesis of research on a topic at that moment in time. A compilation of these reviews forms the core content of a ''secondary'' scientific journal, with examples including Annual Reviews, the Nature Reviews series of journals and Trends. A peer review is the process by which scientists assess the work of their colleagues that has been submitted for publication in the scientific literature. A software review is also a form of peer review, by the co-workers.\r\nA consumer review refers to a review written by the owner of a product or the user of a service who has sufficient experience to comment on reliability and whether or not the product or service delivers on its promises, otherwise known as product reviews. Product reviews can be done either individually, or as a comparison to similar products. An expert review usually refers to a review written by someone who has tested several peer products or services to identify which offers the best value for money or the best set of features. A bought review is the system where the creator (usually a company) of a new product pays a reviewer to review his new product.', 1, '2013-09-19 11:31:13'),
(7, 1, 71, 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam cursus. Morbi ut mi. Nullam enim leo, egestas id, condimentum at, laoreet mattis, massa. Sed eleifend nonummy diam. Praesent mauris ante, elementum et, bibendum at, posuere sit amet, nibh. Duis tincidunt lectus quis dui viverra vestibulum. Suspendisse vulputate aliquam dui. Nulla elementum dui ut augue. Aliquam vehicula mi at mauris. Maecenas placerat, nisl at consequat rhoncus, sem nunc gravida justo, quis eleifend arcu velit quis lacus. Morbi magna magna, tincidunt a, mattis non, imperdiet vitae, tellus. Sed odio est, auctor ac, sollicitudin in, consequat vitae, orci. Fusce id felis. Vivamus sollicitudin metus eget eros.', 0, '2014-05-03 08:54:12'),
(8, 1, 93, 'nice coach.', 0, '2014-05-05 11:19:28'),
(9, 39, 41, 'Nice coach', 0, '2014-06-11 07:00:05'),
(10, 1, 98, 'Nice Coach', 0, '2014-08-29 08:47:38'),
(11, 75, 41, 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.', 0, '2015-03-25 13:38:59');

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

--
-- Table structure for table `th_coach_session_purpose`
--

CREATE TABLE IF NOT EXISTS `th_coach_session_purpose` (
  `session_id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id_fkx` int(11) NOT NULL,
  `purpose` varchar(100) DEFAULT NULL,
  `sess_type` varchar(20) DEFAULT 'Individual' COMMENT 'Individual,Group',
  `sess_desc` text,
  `cdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`session_id`),
  KEY `user_id_fkx` (`user_id_fkx`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=25 ;

--
-- Dumping data for table `th_coach_session_purpose`
--

INSERT INTO `th_coach_session_purpose` (`session_id`, `user_id_fkx`, `purpose`, `sess_type`, `sess_desc`, `cdate`) VALUES
(1, 41, 'Yoga Training', 'Individual', NULL, '2013-09-28 07:01:46'),
(3, 41, 'Nutrition Planning', 'Individual', NULL, '2013-09-28 07:16:26'),
(4, 41, 'Lower Body Workout', 'Group', 'This Group Activity is done by Mr. Jonathan, who win the title of Mr. Perfect Body this Year', '2013-10-11 13:37:42'),
(5, 41, 'Group Yoga Class', 'Group', 'Group Yoga Class held by Mr. Kevin', '2013-10-25 13:37:16'),
(6, 41, 'Power Yoga', 'Individual', 'lkkj', '2013-11-13 10:37:45'),
(7, 41, 'Zumba Dance Training', 'Group', 'Zumba Dance Training for the age group of 15 to 35 by Mr. Kevin ', '2013-12-03 06:04:06'),
(8, 98, 'Test Session', 'Individual', 'Session Testing', '2014-05-28 12:47:54'),
(9, 98, 'Yoga Training', 'Group', 'Yoga Training Yoga Training Yoga Training Yoga Training Yoga Training Yoga Training ', '2014-05-29 05:00:01'),
(10, 98, 'Test Session 2', 'Individual', 'test', '2014-06-17 05:55:25'),
(11, 41, 'Test 1', 'Group', 'Test 1', '2015-09-30 12:32:40'),
(12, 41, 'Test 2', 'Group', '', '2015-09-30 12:34:50'),
(13, 41, 'Test 3', 'Group', '', '2015-09-30 12:35:24'),
(14, 41, 'Test 4', 'Group', '', '2015-09-30 12:54:04'),
(15, 41, 'Test', 'Group', '', '2015-09-30 12:56:54'),
(16, 41, 'Test 5', 'Group', '', '2015-09-30 12:58:06'),
(17, 41, 'Text 6', 'Group', '', '2015-09-30 12:58:57'),
(18, 41, 'Marathon', 'Group', 'Testing', '2015-10-01 13:40:50'),
(19, 41, 'Blood Pressure Checkup', 'Group', 'Blood Pressure Checkup Camp', '2015-10-03 06:10:59'),
(22, 98, 'testtt', 'Group', '', '2015-10-03 07:12:58'),
(23, 98, 'BP Checkup Camp', 'Group', 'Free BP Checkup Camp1', '2015-10-03 07:13:43'),
(24, 98, 'Blood Sugar Camp', 'Group', 'Blood Sugar Camp', '2015-10-03 07:38:39');

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

--
-- Table structure for table `th_coach_subscription`
--

CREATE TABLE IF NOT EXISTS `th_coach_subscription` (
  `sub_id` int(11) NOT NULL AUTO_INCREMENT,
  `coach_id` int(11) NOT NULL,
  `plan_id` int(11) NOT NULL,
  `title` varchar(100) DEFAULT NULL,
  `allowed_clients` int(11) NOT NULL,
  `storage_space` int(11) NOT NULL COMMENT 'in MB',
  `price` float NOT NULL COMMENT 'in $',
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `purchase_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `payment_status` varchar(20) DEFAULT 'unpaid',
  `sub_duration` varchar(100) DEFAULT NULL,
  `plan_status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0=Inactive Plan, 1=Active Plan',
  `action` varchar(20) DEFAULT NULL COMMENT 'S=Starter, R=Renew, U=upgrade, D=Downgrade',
  PRIMARY KEY (`sub_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=36 ;

--
-- Dumping data for table `th_coach_subscription`
--

INSERT INTO `th_coach_subscription` (`sub_id`, `coach_id`, `plan_id`, `title`, `allowed_clients`, `storage_space`, `price`, `start_date`, `end_date`, `purchase_date`, `payment_status`, `sub_duration`, `plan_status`, `action`) VALUES
(10, 41, 3, 'Standard', 10, 400, 50, '2013-11-09', '2013-12-09', '2013-11-09 05:07:22', 'paid', '1', 0, 'U'),
(12, 41, 9, 'Test', 15, 20, 10, '2013-11-12', '2013-12-12', '2013-11-12 13:26:59', 'paid', '1', 0, 'U'),
(14, 60, 1, 'Beginner', 2, 100, 20, '2013-11-14', '2013-12-14', '2013-11-14 12:45:01', 'paid', '1', 1, 'S'),
(15, 60, 2, 'Basic', 5, 250, 40, '2013-11-14', '2013-12-14', '2013-11-14 13:09:03', 'unpaid', '1', 0, 'U'),
(16, 41, 3, 'Standard', 10, 400, 50, '2013-11-15', '2014-12-15', '2013-11-15 11:20:01', 'paid', '1', 1, 'D'),
(17, 92, 1, 'Beginner', 2, 100, 20, '2013-12-06', '2014-01-06', '2013-12-06 10:40:07', 'paid', '1', 1, 'S'),
(18, 72, 1, 'Beginner', 2, 100, 20, '2013-12-10', '2014-01-10', '2013-12-10 05:56:35', 'paid', '1', 1, 'S'),
(19, 72, 1, 'Beginner', 2, 100, 20, '2013-12-10', '2014-01-10', '2013-12-10 05:57:46', 'unpaid', '1', 0, 'R'),
(20, 41, 3, 'Standard', 10, 400, 50, '2013-12-21', '2015-01-21', '2013-12-21 10:59:54', 'paid', '1', 1, 'R'),
(21, 94, 1, 'Beginner', 2, 100, 20, '2013-12-26', '2014-01-26', '2013-12-26 11:09:16', 'paid', '1', 1, 'S'),
(22, 0, 1, 'Beginner', 2, 100, 20, '2013-12-28', '2014-01-28', '2013-12-28 14:40:05', 'paid', '1', 1, 'S'),
(23, 93, 1, 'Beginner', 2, 100, 20, '2013-12-30', '2014-01-28', '2013-12-30 14:04:58', 'paid', '1', 1, 'S'),
(24, 1, 1, 'Beginner', 2, 100, 20, '2014-01-08', '2014-02-08', '2014-01-08 04:31:01', 'paid', '1', 1, 'S'),
(25, 32, 1, 'Beginner', 2, 100, 20, '2014-02-11', '2014-03-11', '2014-02-11 06:36:52', 'paid', '1', 1, 'S'),
(26, 71, 1, 'Beginner', 2, 100, 20, '2014-05-02', '2014-06-02', '2014-05-02 09:09:23', 'paid', '1', 1, 'S'),
(27, 96, 1, 'Beginner', 2, 100, 20, '2014-05-24', '2014-06-24', '2014-05-24 12:45:37', 'paid', '1', 1, 'S'),
(28, 97, 1, 'Beginner', 2, 100, 20, '2014-05-26', '2014-06-26', '2014-05-26 04:38:52', 'paid', '1', 1, 'S'),
(29, 98, 1, 'Beginner', 2, 100, 20, '2014-05-28', '2014-06-28', '2014-05-28 06:42:43', 'paid', '1', 1, 'S'),
(30, 101, 5, 'Enterprise', 50, 1000, 120, '2014-06-24', '2014-07-24', '2014-06-24 07:38:33', 'paid', '1', 1, 'S'),
(31, 109, 5, 'Enterprise', 50, 1000, 120, '2014-08-14', '2014-09-14', '2014-08-14 06:23:59', 'paid', '1', 1, 'S'),
(32, 67, 3, 'Standard', 10, 400, 50, '2015-01-19', '2015-02-19', '2015-01-19 06:03:45', 'paid', '1', 1, 'S'),
(33, 98, 5, 'Enterprise', 50, 1000, 120, '2015-03-25', '2015-04-25', '2015-03-25 06:48:39', 'paid', '1', 1, 'U'),
(34, 41, 5, 'Enterprise', 50, 1000, 120, '2015-03-25', '2016-07-29', '2016-07-25 13:36:50', 'paid', '1', 1, 'U'),
(35, 95, 3, 'Standard', 10, 400, 50, '2015-09-23', '2015-10-23', '2015-09-23 12:22:17', 'paid', '1', 1, 'S');

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

--
-- Table structure for table `th_coach_success_story`
--

CREATE TABLE IF NOT EXISTS `th_coach_success_story` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id_fkx` int(11) DEFAULT NULL,
  `title` varchar(100) DEFAULT NULL,
  `client_fname` varchar(50) DEFAULT NULL,
  `story` varchar(1000) DEFAULT NULL,
  `tags` varchar(255) DEFAULT NULL,
  `before_image` varchar(255) DEFAULT NULL,
  `before_image_title` varchar(50) DEFAULT NULL,
  `after_image` varchar(255) DEFAULT NULL,
  `after_image_title` varchar(50) DEFAULT NULL,
  `permission` varchar(10) DEFAULT NULL,
  `story_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=51 ;

--
-- Dumping data for table `th_coach_success_story`
--

INSERT INTO `th_coach_success_story` (`id`, `user_id_fkx`, `title`, `client_fname`, `story`, `tags`, `before_image`, `before_image_title`, `after_image`, `after_image_title`, `permission`, `story_date`) VALUES
(24, 60, 'my title', 'Devesh', 'this is my story', '1,3,5', 'nutrition/success_stories/coach_images/60_1365163436_b.jpg', NULL, 'nutrition/success_stories/coach_images/60_1365163461_a.jpg', NULL, 'on', '2013-04-05 12:04:35'),
(30, 41, 'Helen Phillips Success Story', 'Helen Phillips', 'Before I came here, I had tried EVERYTHING. But I knew that this was going to work after looking at all the other people who had succeeded. Now, I am happy, energetic, healthy and loving life again.I feel incredible! This was so easy: I was surprised that the weight kept coming off and off. Thank you Bounce Fitness!', '2,5,9,23', 'nutrition/success_stories/coach_images/41_1379574047_before.jpg', NULL, 'nutrition/success_stories/coach_images/41_1379574047_after.jpg', NULL, '1', '2013-09-19 07:00:47'),
(31, 41, 'Mona: former Beauty Queen pageant contestant gets her groove back!', 'Mona Mehta', 'As a former athlete, model, and beauty pageant contestant, Mona is a prime example of someone who "GOES HARD, OR GOES HOME." In the last year, Mona has lost over 50LBs, and is still continuing to transform her body. After 3 kids and 20 years of marriage, she decided to get back to the healthy lifestyle she used to live. It has paid off! Mona is 44 yrs old, and not only kicks butt in our group TRX classes, but is a beast with the weights. I am so proud of her!!', '3,4,20,23', 'nutrition/success_stories/coach_images/41_1379574372_before.jpg', NULL, 'nutrition/success_stories/coach_images/41_1379574372_after.jpg', NULL, '1', '2013-09-19 07:06:12'),
(37, 41, 'Fusion Beatz has truly changed my life!', 'Aruna Chinnakotla', 'After moving back to the Bay Area from Ohio, where she graduated from Oberlin College with an English degree, she decided it was time to get in shape. She came to Fusion Beatz after hearing rave reviews from her mother, and soon she was hooked! She loves the infectious music and fun moves, and is so glad to find an energizing workout that brings fun to fitness. She is now in better shape than she has ever been before, and thanks to Fusion Beatz, she was motivated to keep up healthy eating habits and workouts outside of the classes. When the first picture was taken I was a size 12 and now I am a size 6.Two years ago I was struggling to jog two miles on a treadmill, and now, because of Fusion Beatz, I just ran my first half marathon. I lost about 30 pounds, and have kept it off for over a year, but I think the most meaningful part of my fitness journey is that I have gained confidence, gotten to know amazing people and have found something I am passionate about through Fusion Beatz.', '1,2,3,4', 'nutrition/success_stories/coach_images/41_1379507181_before.jpg', NULL, 'nutrition/success_stories/coach_images/41_1379507181_after.jpg', NULL, '1', '2013-09-19 06:53:12'),
(38, 41, 'Highschool/college baseball player', 'Brandon Pylipow', 'Text from client:\r\nGetting ready for college baseball! Training hard! I just wanted to thank you for everything that you''ve done. I would not be where I am without you and integrated. I know I haven''t trained with you in awhile but I''m in the best shape of my life and it''s because of you guys. You guys gave me the basic knowledge, helped me get some amazing results, and have honestly inspired me to be the best version of myself that I can be. Thank you guys and ESP. You for everything that you have done. Like I said where I am today all comes back to you.', '361523', 'nutrition/success_stories/coach_images/41_1379507668_before.jpg', NULL, 'nutrition/success_stories/coach_images/41_1379507668_after.jpg', NULL, '1', '2013-09-19 06:38:56'),
(39, 41, 'Never too old to change & transform yourself', 'Georgi Gehrke', 'Dorothy started training back in 2007...She was overweight, stressed, and baffled as to why she couldn''t lose weight. She had attended exercise classes before but the weight wasn''t coming off so she decided to hire Georgi as her personal trainer. Dorothy has made huge changes as you can see below in her before and after pictures. She has changed her lifestyle, nutritional habits, and is consistent with daily exercise. Dorothy continues to train with Georgi every other week for maintenance...She is active and enjoys her new body, mind, and spirit...You''re welcome to contact her for more details or myself...', '23253049', 'nutrition/success_stories/coach_images/41_1379508014_before.jpg', NULL, 'nutrition/success_stories/coach_images/41_1379508014_after.jpg', NULL, '1', '2013-09-19 06:40:12'),
(48, 41, 'Jennifer''s Success Story', 'Bary El-Yacoubi', ' With over 90 pounds to lose, I was pretty sure that nothing short of program could help me when I first called Bounce Fitness. I lost the first 7 pounds the first week, I attended a family wedding and went on two cruises and LOST WEIGHT EVERY TIME! I have a new lease on LIFE!! Before you go under the knife, try Bounce Fitness!! Painless!!', '2,7,8,11', 'nutrition/success_stories/coach_images/41_1379573953_before.jpg', NULL, 'nutrition/success_stories/coach_images/41_1379573953_after.jpg', NULL, '1', '2013-09-19 06:59:13'),
(49, 98, 'Test', 'Jackson', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum ', '2,3', 'nutrition/success_stories/coach_images/98_14012824497431_before.jpg', NULL, 'nutrition/success_stories/coach_images/98_14012824499272_before.jpg', NULL, '1', '2014-05-28 13:07:30'),
(50, 98, 'Self confidence is priceless', 'Ryan Halvorson', ' Taking the Plunge. Lori Patterson, creator of Boot Camp Challenge™ (BCC) based in St. Peters, Missouri, has been involved in fitness for many years. “I entered the fitness industry 23 years ago, before it was technically an ‘industry,’” she says. “I started as a sales representative for a health club, and teaching group exercise classes was mandatory.” She later joined the U.S. Army and was sent to Kaiserslautern, Germany, which became the starting point for a flourishing fitness career. “It was during my military tour that I was asked to provide a workout program for our battalion during the winter months,” Patterson recalls. “Teaching group exercise to 300 troops at 6:00 AM was definitely a challenge.” \r\n\r\nWhen her tour ended, Patterson returned to school to obtain an advanced degree in mass communications. She worked full-time in the media industry, but still kept a foot in the gym door and managed a group exercise program in her spare time. According to Patterson, she had no idea ', '3,4', 'nutrition/success_stories/coach_images/98_1402984826_before.jpg', NULL, 'nutrition/success_stories/coach_images/98_1402984826_after.jpg', NULL, '1', '2014-06-17 06:00:26');

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

--
-- Table structure for table `th_coach_wp_swiched`
--

CREATE TABLE IF NOT EXISTS `th_coach_wp_swiched` (
  `wps_id` int(11) NOT NULL AUTO_INCREMENT,
  `wp_id_fkx` int(11) NOT NULL,
  `from_coach_id_fkx` int(11) NOT NULL,
  `to_coach_id_fkx` int(11) NOT NULL,
  `wps_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`wps_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `th_device_registration`
--

CREATE TABLE IF NOT EXISTS `th_device_registration` (
  `pk_device_reg_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `rgs_id_fkx` int(11) unsigned NOT NULL,
  `device_id` varchar(30) NOT NULL,
  `device_type` varchar(2) NOT NULL COMMENT 'A,I,W',
  `registration_id` text NOT NULL,
  `last_access_time` datetime NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`pk_device_reg_id`),
  KEY `device_id` (`device_id`,`created_at`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ;

--
-- Dumping data for table `th_device_registration`
--

INSERT INTO `th_device_registration` (`pk_device_reg_id`, `rgs_id_fkx`, `device_id`, `device_type`, `registration_id`, `last_access_time`, `created_at`) VALUES
(1, 115, '17d04cf60130f73b', 'A', 'c_NJCn9h3vA:APA91bG99y0ILaGmLA1VHTfb1tXBAJcslN3mGOsJ6QVs8ryi2jJJY-cJvk4WjIxcL6eP4lojFPoazOTr8_ceX16ray3lvViMcJPqLrJpXbmagUIt5GYhMi0hQpaojE5qbksEkCUhmp5_', '2016-05-30 12:25:43', '2016-05-30 06:55:43'),
(2, 115, '3049c66093a4b288', 'A', 'd4sb5K38mqE:APA91bHeovEvb_kuanOJsI0J1Z_QfdGn_LLn6DLqpAUTMukQOmOkxghrxzU08RHrpllCY2avsplCQFnnKG9LUyZwkV0HStNCegRdYStlVYJRUOlMGM-g74ROEoOJzpcDsGoWZsiVNzf3', '2016-05-26 14:07:00', '2016-05-26 08:37:00'),
(3, 111, '566ec631d3b38e5e', 'A', 'fkNUCcCR9HA:APA91bH6gWql5LCHEHM-Rj0QsR6tWr1nF8f4yi5YJScKydQa8b-fjFx3vS4mdgANbIFLZPyedyAU5AOtrccEpCc5ukZTKmkQkZL7o4y7qEDcpFqL7xzzSVqLHes7L0jWIjccx5U2jw-t', '2016-03-02 17:50:15', '2016-03-02 12:20:15'),
(4, 1, '407d55d6ad26053c', 'A', 'dYgpXqiWAOM:APA91bG8JxNN517bvX5-gPpXpKrk4PwO7n7AhMXe5S_GxbO9mOJz_SDdWnZ8RVehYwwqqFLEi5KzdqdvPbJc-zzzV7VEDT7wdIrTIV4W-y63T4VGxvbfzgqBbKY9mCpVfVKcNnLQhZeE', '2016-04-11 16:35:59', '2016-04-11 11:05:59'),
(5, 115, '94cc1ea85aa7f4e8', 'A', 'e8D6ZAb7XkI:APA91bFx-PXq1lYxVb6C_BxeQh-zPYBGeArjK1436pNhy6TIeOrcfv72fwbr6RNK4Dx25JdaMMqSk7P59_VGg83KVREosrLVWQGmMx_b70eDzmttnvYwaHbo71GHDBHzcVgez0TVHoxQ', '2016-05-23 12:50:35', '2016-05-23 07:20:35'),
(6, 1, 'c9fcbaf756da462a', 'A', 'cB6JDdu5fDA:APA91bH8hdeawp5a6bSd-_0LWHXpMuSo-puxA9evMqRw-xCI6HIEDzQ61WYtc3KvN1A_Yncd4jBQjC_bt1fY5D7DX0xFT5YbBtmp3-t1b07dYKn_egiAdD2SFLWd6IPXRLXuGjrx6MUn', '2016-03-02 17:22:07', '2016-03-02 11:52:07'),
(7, 1, 'add0b290087cfb23', 'A', 'fe2uXbkl_O4:APA91bEdi6BgZt3JhnNKR40rp5CBmMXamkVkcWd5whxvvue7nxZkMOmngHgeLHf5sgNuoNCskQOgifGYUHCTCqjlYCL8LSRbBdXSt2TZTswI5IqlXP0BhvQzm6RNQPZYMRRF8QkDDHtn', '2016-03-05 19:27:51', '2016-03-05 13:57:51'),
(8, 1, '5fa37863a1e18539', 'A', 'dXseqA1fLuc:APA91bH5ljInQvml6heJ4BX_yjGi6uG9ktx5SKb2YHikGWvka-hXFGVshic8CnMICTxcHGJopQZwVGamAEQ0hincsZ-i4WnZkB18CZFQzRA3ODjZ6ogtvjW0DO6XCTM1lmKj3Ak7W5sI', '2016-04-13 11:57:09', '2016-04-21 05:22:18'),
(9, 115, 'a376f7aae8f7ac74', 'A', 'dOfn7Ps6Fco:APA91bGbM5gSMbspHNhfr5PRWGUx_JH63mksrwnBe4RQPb6oe-uGPHcNKtXz9UcxTepXA_L8AABxv9rOtHrtj86EOtI8yvy4Y59cy4VLs29tUCmKCIpfVqGJ6EnyrEGRnxlTAnzC_2AG', '2016-05-23 14:39:38', '2016-05-23 09:09:38');

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

--
-- Table structure for table `th_employer_blog`
--

CREATE TABLE IF NOT EXISTS `th_employer_blog` (
  `blog_id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id_fkx` int(11) NOT NULL,
  `user_type` varchar(10) NOT NULL,
  `blog_title` varchar(150) NOT NULL,
  `blog_content` text NOT NULL,
  `blog_image` varchar(100) NOT NULL,
  `blog_tags` varchar(100) NOT NULL,
  `blog_visibility` varchar(5) NOT NULL,
  `blog_users` varchar(2) NOT NULL DEFAULT 'E' COMMENT 'E->Employee, S->Students, B->Employee and Students',
  `blog_comp_id` int(11) NOT NULL,
  `blog_status` varchar(10) NOT NULL DEFAULT 'Active',
  `blog_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`blog_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;

--
-- Dumping data for table `th_employer_blog`
--

INSERT INTO `th_employer_blog` (`blog_id`, `user_id_fkx`, `user_type`, `blog_title`, `blog_content`, `blog_image`, `blog_tags`, `blog_visibility`, `blog_users`, `blog_comp_id`, `blog_status`, `blog_created`) VALUES
(1, 98, 'WPM', 'Blog post 1 sample', 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam cursus. Morbi ut mi. Nullam enim leo, egestas id, condimentum at, laoreet mattis, massa. Sed eleifend nonummy diam. Praesent mauris ante, elementum et, bibendum at, posuere sit amet, nibh. Duis tincidunt lectus quis dui viverra vestibulum. Suspendisse vulputate aliquam dui. Nulla elementum dui ut augue. Aliquam vehicula mi at mauris. Maecenas placerat, nisl at consequat rhoncus, sem nunc gravida justo, quis eleifend arcu velit quis lacus. Morbi magna magna, tincidunt a, mattis non, imperdiet vitae, tellus. Sed odio est, auctor ac, sollicitudin in, consequat vitae, orci. Fusce id felis. Vivamus sollicitudin metus eget eros.\r\n\r\nPellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In posuere felis nec tortor. Pellentesque faucibus. Ut accumsan ultricies elit. Maecenas at justo id velit placerat molestie. Donec dictum lectus non odio. Cras a ante vitae enim iaculis aliquam. Mauris nunc quam, venenatis nec, euismod sit amet, egestas placerat, est. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Cras id elit. Integer quis urna. Ut ante enim, dapibus malesuada, fringilla eu, condimentum quis, tellus. Aenean porttitor eros vel dolor. Donec convallis pede venenatis nibh. Duis quam. Nam eget lacus. Aliquam erat volutpat. Quisque dignissim congue leo.', '123.jpg', '', '', 'E', 32, 'Archived', '2014-05-27 13:00:20'),
(2, 98, 'WPM', 'Blog post 2 sample', 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam cursus. Morbi ut mi. Nullam enim leo, egestas id, condimentum at, laoreet mattis, massa. Sed eleifend nonummy diam. Praesent mauris ante, elementum et, bibendum at, posuere sit amet, nibh. Duis tincidunt lectus quis dui viverra vestibulum. Suspendisse vulputate aliquam dui. Nulla elementum dui ut augue. Aliquam vehicula mi at mauris. Maecenas placerat, nisl at consequat rhoncus, sem nunc gravida justo, quis eleifend arcu velit quis lacus. Morbi magna magna, tincidunt a, mattis non, imperdiet vitae, tellus. Sed odio est, auctor ac, sollicitudin in, consequat vitae, orci. Fusce id felis. Vivamus sollicitudin metus eget eros.\r\n\r\nPellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In posuere felis nec tortor. Pellentesque faucibus. Ut accumsan ultricies elit. Maecenas at justo id velit placerat molestie. Donec dictum lectus non odio. Cras a ante vitae enim iaculis aliquam. Mauris nunc quam, venenatis nec, euismod sit amet, egestas placerat, est. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Cras id elit. Integer quis urna. Ut ante enim, dapibus malesuada, fringilla eu, condimentum quis, tellus. Aenean porttitor eros vel dolor. Donec convallis pede venenatis nibh. Duis quam. Nam eget lacus. Aliquam erat volutpat. Quisque dignissim congue leo.', '124.jpg', '4,2', '2', 'E', 32, 'Active', '2014-05-27 05:58:28'),
(3, 98, 'WPM', 'Blog post 3 sample', 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam cursus. Morbi ut mi. Nullam enim leo, egestas id, condimentum at, laoreet mattis, massa. Sed eleifend nonummy diam. Praesent mauris ante, elementum et, bibendum at, posuere sit amet, nibh. Duis tincidunt lectus quis dui viverra vestibulum. Suspendisse vulputate aliquam dui. Nulla elementum dui ut augue. Aliquam vehicula mi at mauris. Maecenas placerat, nisl at consequat rhoncus, sem nunc gravida justo, quis eleifend arcu velit quis lacus. Morbi magna magna, tincidunt a, mattis non, imperdiet vitae, tellus. Sed odio est, auctor ac, sollicitudin in, consequat vitae, orci. Fusce id felis. Vivamus sollicitudin metus eget eros.\r\n\r\nPellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In posuere felis nec tortor. Pellentesque faucibus. Ut accumsan ultricies elit. Maecenas at justo id velit placerat molestie. Donec dictum lectus non odio. Cras a ante vitae enim iaculis aliquam. Mauris nunc quam, venenatis nec, euismod sit amet, egestas placerat, est. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Cras id elit. Integer quis urna. Ut ante enim, dapibus malesuada, fringilla eu, condimentum quis, tellus. Aenean porttitor eros vel dolor. Donec convallis pede venenatis nibh. Duis quam. Nam eget lacus. Aliquam erat volutpat. Quisque dignissim congue leo.', '', '1,2,3,4', '2', 'B', 32, 'Active', '2015-01-19 11:55:43'),
(5, 98, 'WPM', 'Blog post 4 sample', 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam cursus. Morbi ut mi. Nullam enim leo, egestas id, condimentum at, laoreet mattis, massa. Sed eleifend nonummy diam. Praesent mauris ante, elementum et, bibendum at, posuere sit amet, nibh. Duis tincidunt lectus quis dui viverra vestibulum. Suspendisse vulputate aliquam dui. Nulla elementum dui ut augue. Aliquam vehicula mi at mauris. Maecenas placerat, nisl at consequat rhoncus, sem nunc gravida justo, quis eleifend arcu velit quis lacus. Morbi magna magna, tincidunt a, mattis non, imperdiet vitae, tellus. Sed odio est, auctor ac, sollicitudin in, consequat vitae, orci. Fusce id felis. Vivamus sollicitudin metus eget eros.\r\n\r\nPellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In posuere felis nec tortor. Pellentesque faucibus. Ut accumsan ultricies elit. Maecenas at justo id velit placerat molestie. Donec dictum lectus non odio. Cras a ante vitae enim iaculis aliquam. Mauris nunc quam, venenatis nec, euismod sit amet, egestas placerat, est. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Cras id elit. Integer quis urna. Ut ante enim, dapibus malesuada, fringilla eu, condimentum quis, tellus. Aenean porttitor eros vel dolor. Donec convallis pede venenatis nibh. Duis quam. Nam eget lacus. Aliquam erat volutpat. Quisque dignissim congue leo.', 'blog_92_14011070734923.jpg', '1,3,5,6,7', '2', 'S', 32, 'Active', '2015-01-19 11:53:59'),
(6, 1, 'WLT', 'Blog Sample by WLT', 'quis dui viverra vestibulum. Suspendisse vulputate aliquam dui. Nulla elementum dui ut augue. Aliquam vehicula mi at mauris. Maecenas placerat, nisl at consequat rhoncus, sem nunc gravida justo, quis eleifend arcu velit quis lacus. Morbi magna magna, tincidunt a, mattis non, imperdiet vitae, tellus. Sed odio est, auctor ac, sollicitudin in, consequat vitae, orci. Fusce id felis. Vivamus sollicitudin metus eget eros.\r\n\r\nPellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In posuere felis nec tortor. Pellentesque faucibus. Ut accumsan ultricies elit. Maecenas at justo id velit placerat molestie. Donec dictum lectus non odio. Cras a ante vitae enim iaculis aliquam. Mauris nunc quam, venenatis nec, euismod sit amet, egestas placerat, est. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Cras id elit. Integer quis urna. Ut ante enim, dapibus malesuada, fringilla eu, condimentum quis, tellus. Aenean porttitor eros vel dolor. Donec convallis pede venenatis nibh. Duis quam. Nam eget lacus. Aliquam erat volutpat. Quisque dignissim congue leo.', 'blog_14013492566039.jpg', '3,4,7', '2', 'E', 32, 'Active', '2014-05-29 12:27:04');

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

--
-- Table structure for table `th_employer_blog_comments`
--

CREATE TABLE IF NOT EXISTS `th_employer_blog_comments` (
  `bc_id` int(11) NOT NULL AUTO_INCREMENT,
  `bc_user_id` int(10) unsigned NOT NULL,
  `bc_user_type` varchar(20) NOT NULL,
  `bc_post_id` int(11) NOT NULL,
  `bc_comment` text NOT NULL,
  `bc_type` varchar(10) NOT NULL DEFAULT 'Comment',
  `bc_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`bc_id`),
  KEY `bc_post_id` (`bc_post_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=49 ;

--
-- Dumping data for table `th_employer_blog_comments`
--

INSERT INTO `th_employer_blog_comments` (`bc_id`, `bc_user_id`, `bc_user_type`, `bc_post_id`, `bc_comment`, `bc_type`, `bc_created`) VALUES
(1, 98, 'WPM', 5, 'Ut non libero consectetur adipiscing elit magna. Sed et quam lacus. Fusce condimentum eleifend enim a feugiat. Pellentesque viverra vehicula sem ut volutpat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non libero magna. Sed et quam lacus. Fusce condimentum eleifend enim a feugiat. Ut non libero consectetur adipiscing elit magna. Sed et quam lacus. Fusce condimentum eleifend enim a feugiat. Pellentesque viverra vehicula sem ut volutpa', 'Comment', '2014-05-27 08:29:27'),
(2, 98, 'WPM', 1, 'Wlit magna. Sed et quam lacus. Fusce condimentum eleifend enim a feugiat. Pellentesque viverra vehicula sem ut volutpat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non libero magna. Sed et quam lacus. Fusce condimentum eleifend enim a feugiat. Ut non libero consectetur adipiscing elit magna. Sed et quam lacus. Fusce condimentum eleifend enim a feugiat. Pellentesq', 'Reply', '2014-05-27 08:29:27'),
(6, 98, 'WPM', 1, 'Test Success.', 'Reply', '2014-05-27 11:56:03'),
(9, 98, 'WPM', 1, 'This is first Comment by me\r\n', 'Comment', '2014-05-27 12:25:54'),
(10, 98, 'WPM', 9, 'bvbg\r\n', 'Reply', '2014-05-27 12:36:13'),
(11, 98, 'WPM', 9, 'hthgh', 'Reply', '2014-05-27 12:36:17'),
(12, 98, 'WPM', 1, 'wesadfsdf', 'Comment', '2014-05-27 12:38:41'),
(13, 98, 'WPM', 12, 'asdad', 'Reply', '2014-05-27 12:40:26'),
(14, 98, 'WPM', 2, 'good\r\n', 'Comment', '2014-05-28 05:01:09'),
(15, 98, 'WPM', 2, 'ok', 'Comment', '2014-05-28 06:38:58'),
(16, 1, 'EMP', 2, 'Ok fine', 'Comment', '2014-05-28 10:10:44'),
(17, 1, 'EMP', 2, 'yes', 'Comment', '2014-05-28 10:11:35'),
(18, 98, 'WPM', 16, 'Then no problem', 'Reply', '2014-05-28 10:30:21'),
(19, 98, 'WPM', 5, 'Sed et quam lacus. Fusce condimentum eleifend enim a feugiat. Pellentesque viverra vehicula sem ut volutpat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non libero magna. Sed et quam lacus. Fusce condimentum eleifend enim a feugiat. Ut non libero consectetur adipiscing elit magna. Sed et quam lacus. Fusce condimentum eleifend enim a feugiat.', 'Comment', '2014-05-28 10:57:37'),
(20, 1, 'EMP', 2, 'ok', 'Comment', '2014-05-29 04:24:56'),
(21, 1, 'WLT', 3, 'Test Comment', 'Comment', '2014-05-29 07:07:31'),
(22, 98, 'WPM', 6, 'good', 'Comment', '2014-05-29 07:49:50'),
(23, 1, 'WLT', 22, 'thank', 'Reply', '2014-05-29 07:51:01'),
(24, 1, 'WLT', 6, 'fine', 'Comment', '2014-05-29 07:51:16'),
(25, 1, 'WLT', 5, 'This is my next Comment .', 'Comment', '2014-05-29 13:35:47'),
(26, 98, 'WPM', 25, 'Nice dude', 'Reply', '2014-05-29 13:38:24'),
(27, 1, 'EMP', 5, 'Ut non libero consectetur adipiscing elit magna. Sed et quam lacus. Fusce condimentum eleifend enim a feugiat.', 'Comment', '2014-05-29 13:38:55'),
(28, 98, 'WPM', 27, 'ok Rajwant', 'Reply', '2014-05-29 13:39:11'),
(29, 98, 'WPM', 21, 'tst', 'Reply', '2014-06-04 05:46:28'),
(30, 98, 'WPM', 21, 'test', 'Reply', '2014-06-04 05:51:28'),
(31, 98, 'WPM', 21, 'sdfsdf', 'Reply', '2014-06-04 05:51:33'),
(32, 2, 'WLT', 21, 'sad', 'Reply', '2014-06-04 05:59:11'),
(33, 98, 'WPM', 21, 'ok', 'Reply', '2014-06-04 06:09:32'),
(34, 1, 'EMP', 3, '$(".blog_rep").live(''click'', function() {\r\n        if($(this).hasClass("disabled")){\r\n            return;\r\n        }\r\n        $container=$("#reply_add_model modal-body");\r\n        App.blockUI($container);\r\n        var post_data = $("#form_reply").serialize();\r\n        $.post("ajax/blog.php", post_data, function(res) {\r\n            $.gritter.add({title: ''Blog Post'', text: res});\r\n            App.unblockUI($container);\r\n            $("#reply_add_model").modal(''hide'');\r\n            updateComment();\r\n        });\r\n    });', 'Comment', '2014-06-04 06:19:22'),
(35, 1, 'EMP', 21, 'test', 'Reply', '2014-06-04 06:19:40'),
(36, 98, 'WPM', 21, 'test3', 'Reply', '2014-06-04 06:33:29'),
(37, 1, 'EMP', 21, 'fine', 'Reply', '2014-06-04 06:33:41'),
(38, 2, 'WLT', 21, 'oks', 'Reply', '2014-06-04 06:33:55'),
(39, 98, 'WPM', 1, 'gfhgfhgfh', 'Comment', '2014-06-05 13:23:10'),
(40, 98, 'WPM', 1, 'asdasd', 'Comment', '2014-06-05 13:24:40'),
(41, 98, 'WPM', 1, 'sad', 'Comment', '2014-06-06 04:19:49'),
(42, 98, 'WPM', 2, '', 'Reply', '2014-06-06 05:54:51'),
(43, 2, 'WLT', 22, 'Hello', 'Reply', '2014-06-06 12:06:41'),
(44, 1, 'EMP', 22, 'Yes boss', 'Reply', '2014-06-16 05:47:11'),
(45, 1, 'EMP', 5, 'nece blog\r\n', 'Comment', '2015-01-20 11:33:32'),
(46, 66, 'EMP', 3, 'Nice Thought', 'Comment', '2015-01-23 10:54:46'),
(47, 98, 'WPM', 46, 'fine', 'Reply', '2015-01-23 10:55:29'),
(48, 66, 'EMP', 46, 'ok', 'Reply', '2015-01-23 10:55:47');

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

--
-- Table structure for table `th_employer_blog_tags`
--

CREATE TABLE IF NOT EXISTS `th_employer_blog_tags` (
  `bt_id` int(11) NOT NULL AUTO_INCREMENT,
  `bt_user` int(11) NOT NULL,
  `bt_user_type` varchar(10) NOT NULL,
  `bt_tag` varchar(100) NOT NULL,
  `bt_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`bt_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;

--
-- Dumping data for table `th_employer_blog_tags`
--

INSERT INTO `th_employer_blog_tags` (`bt_id`, `bt_user`, `bt_user_type`, `bt_tag`, `bt_created`) VALUES
(1, 92, 'WPM', 'Health', '2014-05-26 06:28:57'),
(2, 92, 'WPM', 'Blood Pressure', '2014-05-26 06:28:57'),
(3, 0, 'WLT', 'Beuty', '2014-05-26 10:49:17'),
(4, 0, 'WLT', 'Weight', '2014-05-26 10:49:17'),
(5, 0, 'WLT', 'Fitness', '2014-05-26 10:57:30'),
(6, 0, 'WLT', 'Yoga', '2014-05-26 10:57:30'),
(7, 0, 'WLT', 'Tennis', '2014-05-26 12:24:13');

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

--
-- Table structure for table `th_employer_branch`
--

CREATE TABLE IF NOT EXISTS `th_employer_branch` (
  `branch_id` int(11) NOT NULL AUTO_INCREMENT,
  `comp_id` int(11) DEFAULT NULL,
  `branch_code` varchar(30) NOT NULL,
  `comp_street` varchar(100) DEFAULT NULL,
  `comp_zip` int(11) DEFAULT NULL,
  `comp_city` varchar(50) DEFAULT NULL,
  `comp_state` varchar(50) DEFAULT NULL,
  `longi_add` double DEFAULT NULL,
  `lati_add` double DEFAULT NULL,
  `status` varchar(10) NOT NULL DEFAULT 'Active' COMMENT 'Active/Inactive',
  PRIMARY KEY (`branch_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=53 ;

--
-- Dumping data for table `th_employer_branch`
--

INSERT INTO `th_employer_branch` (`branch_id`, `comp_id`, `branch_code`, `comp_street`, `comp_zip`, `comp_city`, `comp_state`, `longi_add`, `lati_add`, `status`) VALUES
(1, 360, '', '12345', 12345, NULL, NULL, -73.947738, 42.8157562, ''),
(2, 45, '', '12345', 12345, NULL, NULL, -73.947738, 42.8157562, ''),
(3, 341, '', '12345', 4444, NULL, NULL, -68.6102734375, 44.96197710014, ''),
(4, 128, '', '12345', 4444, NULL, NULL, -68.6102734375, 44.96197710014, ''),
(5, 22, '', '12345', 4444, NULL, NULL, -68.6102734375, 44.96197710014, ''),
(6, 38, '', '1234', 4444, NULL, NULL, NULL, NULL, ''),
(7, 296, '', '1234', 4444, NULL, NULL, -68.6102734375, 44.96197710014, ''),
(8, 65, '', '1234', 4444, NULL, NULL, -68.6102734375, 44.96197710014, ''),
(9, 74, '', '1234', 4444, NULL, NULL, -68.6102734375, 44.96197710014, ''),
(10, 296, '', 'dsfsdf', 2345, NULL, NULL, -71.488344726563, 41.600391035617, ''),
(11, 22, '', 'dsfsdf', 2345, NULL, NULL, -71.488344726563, 41.600391035617, ''),
(12, 434, '', 'dsfsdf', 2345, NULL, NULL, -71.488344726563, 41.600391035617, ''),
(13, 22, '', 'asd3545', 12345, NULL, NULL, NULL, NULL, ''),
(14, 223, '', 'asd3545', 12345, NULL, NULL, NULL, NULL, ''),
(15, 223, '', 'dsfsdf', 2345, NULL, NULL, -72.290346679688, 41.361701728581, ''),
(16, 296, '', 'lane1', 12345, NULL, NULL, -73.92, 42.8, ''),
(17, 501, '', 'dsfsdf', 2345, NULL, NULL, -71.559755859376, 41.184175159862, ''),
(18, 0, '', '1234', 12345, NULL, NULL, NULL, NULL, ''),
(19, 504, '', 'Narayan Nagar', 12543, 'MAYBROOK', 'NY', 80.98134759903, 26.86699316741, ''),
(20, 296, '', NULL, NULL, NULL, NULL, NULL, NULL, ''),
(21, 296, '', '501', 501, NULL, NULL, -73.0451085, 40.8153762, ''),
(22, 45, '', '8888', 5001, NULL, NULL, -72.32, 43.65, ''),
(23, 245, '', NULL, NULL, NULL, NULL, -73.0451085, 40.8153762, ''),
(24, 504, 'B2345', 'Elm 103', 12345, 'SCHENECTADY', 'NY', -73.9198283386231, 42.799874046793, ''),
(25, 45, '', '123, Elm', 501, NULL, NULL, -73.0451085, 40.8153762, ''),
(26, 45, '', NULL, NULL, NULL, NULL, -73.0451085, 40.8153762, ''),
(27, 504, '', 'lko', 11111, NULL, NULL, -72.06857421875, 42.276860997849, ''),
(28, 296, '', NULL, NULL, NULL, NULL, -73.92, 42.8, ''),
(29, 296, '', NULL, NULL, NULL, NULL, -73.92, 42.8, ''),
(30, 296, '', NULL, NULL, NULL, NULL, -73.92, 42.8, ''),
(31, 296, '', NULL, NULL, NULL, NULL, -73.92, 42.8, ''),
(32, 296, '', NULL, NULL, NULL, NULL, -73.92, 42.8, ''),
(33, 296, '', NULL, NULL, NULL, NULL, -73.92, 42.8, ''),
(34, 76, '', 'xyz', 12345, NULL, NULL, -73.92, 42.8, ''),
(35, 45, '', 'test city', 1007, NULL, NULL, -72.4, 42.27, ''),
(36, 23, '', 'abc', 12345, NULL, NULL, -73.92, 42.8, ''),
(37, 19, '', 'lko', 12345, NULL, NULL, -73.92, 42.8, ''),
(38, 356, '', 'lko', 12345, NULL, NULL, -73.92, 42.8, ''),
(39, 21, '', 'lko', 12345, NULL, NULL, -73.92, 42.8, ''),
(40, 27, '', 'Lucknow', 12345, NULL, NULL, -73.92, 42.8, ''),
(41, 59, '', 'Lko', 12345, NULL, NULL, -73.92, 42.8, ''),
(42, 504, '', '1234', 4444, NULL, NULL, -68.6102734375, 44.96197710014, ''),
(43, 504, '', 'dsfsdf', 2345, NULL, NULL, -72.125551757813, 41.411157845943, ''),
(44, 504, '', 'narayan', 501, NULL, NULL, -73.0451085, 40.8153762, ''),
(45, 504, '', '12', 12, NULL, NULL, -73.92, 42.8, ''),
(49, 504, '', 'MNO', 12345, 'SCHENECTADY', 'NY', -73.92, 42.8, 'Active'),
(50, 504, 'B09878', 'ABTEST', 13345, 'GREIG', 'NY', -75.31, 43.68, 'Active'),
(51, 215, 'B25656', '12, ABCD', 12543, 'MAYBROOK', 'NY', -74.21, 41.48, 'Active'),
(52, 215, 'B09878', 'ABTEST', 13345, 'GREIG', 'NY', -75.31, 43.68, 'Active');

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

--
-- Table structure for table `th_employer_branch_temp`
--

CREATE TABLE IF NOT EXISTS `th_employer_branch_temp` (
  `branch_id` int(11) NOT NULL AUTO_INCREMENT,
  `comp_id` int(11) DEFAULT NULL,
  `branch_code` varchar(30) NOT NULL,
  `comp_street` varchar(100) DEFAULT NULL,
  `comp_zip` int(11) DEFAULT NULL,
  `comp_city` varchar(50) DEFAULT NULL,
  `comp_state` varchar(50) DEFAULT NULL,
  `longi_add` double DEFAULT NULL,
  `lati_add` double DEFAULT NULL,
  `status` varchar(50) NOT NULL COMMENT 'Active/Inactive',
  PRIMARY KEY (`branch_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `th_employer_branch_temp`
--

INSERT INTO `th_employer_branch_temp` (`branch_id`, `comp_id`, `branch_code`, `comp_street`, `comp_zip`, `comp_city`, `comp_state`, `longi_add`, `lati_add`, `status`) VALUES
(3, 215, 'B1234', 'Test', 12345, 'SCHENECTADY', 'NY', -73.92, 42.8, 'A');

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

--
-- Table structure for table `th_employer_challenges`
--

CREATE TABLE IF NOT EXISTS `th_employer_challenges` (
  `ec_id` int(11) NOT NULL AUTO_INCREMENT,
  `ec_user_id` int(11) NOT NULL,
  `ec_user_type` varchar(10) NOT NULL,
  `ec_comp_id` int(11) NOT NULL,
  `ec_title` varchar(150) NOT NULL,
  `ec_desc` text NOT NULL,
  `ec_users` varchar(2) NOT NULL DEFAULT 'E' COMMENT 'E->Employee, S->Student, B->Both',
  `ec_for_val` int(20) NOT NULL,
  `ec_for_unit` varchar(10) NOT NULL,
  `ec_start_date` date NOT NULL,
  `ec_end_date` date NOT NULL,
  `ec_pstatus` varchar(2) DEFAULT 'U' COMMENT 'P-> Publish, U->Unpublish',
  `ec_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ec_id`),
  KEY `ec_comp_id` (`ec_comp_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=17 ;

--
-- Dumping data for table `th_employer_challenges`
--

INSERT INTO `th_employer_challenges` (`ec_id`, `ec_user_id`, `ec_user_type`, `ec_comp_id`, `ec_title`, `ec_desc`, `ec_users`, `ec_for_val`, `ec_for_unit`, `ec_start_date`, `ec_end_date`, `ec_pstatus`, `ec_created`) VALUES
(1, 98, 'WPM', 32, 'Test', '<p>Summer Fitness Challenge</p>\r\n', 'E', 25, 'Day', '2014-07-09', '2014-08-03', 'P', '2014-07-09 06:35:36'),
(3, 98, 'WPM', 32, 'Test Challenge 2', '<p>Test Challenge 2</p>\r\n', 'E', 10, 'Day', '2014-07-10', '2014-07-20', 'U', '2014-07-09 08:09:18'),
(4, 98, 'WPM', 32, 'Summer Healthy Fitness and Diet', '<p>Summer <span style="color:#800000">Healthy Fitness and Diet </span>Challenge is for whom, who wants to be healthy and fit</p>\r\n', 'E', 4, 'Week', '2014-07-12', '2014-08-09', 'U', '2014-07-10 06:29:40'),
(5, 41, 'PTC', 32, 'Stay Fit and Healthy', '<p>Stay <span style="color:#8B4513">Fit and Healthy</span> Stay Fit and Healthy Stay Fit and Healthy</p>\r\n', 'E', 6, 'Week', '2014-07-11', '2014-08-22', 'P', '2014-07-10 07:09:59'),
(6, 98, 'WLT', 32, 'test', '<p>Test</p>\r\n', 'E', 3, 'Month', '2014-08-20', '2014-11-20', 'U', '2014-08-19 09:00:39'),
(7, 98, 'WPM', 32, 'Test Fitness', '<p>Test</p>\r\n', 'E', 3, 'Week', '2014-08-19', '2014-09-09', 'P', '2014-08-20 07:02:05'),
(8, 1, 'WLT', 32, 'Test and Fitness', '<p>Test</p>\r\n', 'E', 3, 'Month', '2014-08-23', '2014-11-23', 'U', '2014-08-22 07:41:59'),
(9, 41, 'PTC', 32, 'Summer Fitness Challenge 2014', '<p>Summer Fitness Challenge 2014</p>\r\n', 'E', 3, 'Month', '2014-08-26', '2014-11-26', 'U', '2014-08-25 11:37:08'),
(10, 1, 'WLT', 32, 'Test Fitness Challenge', '<p>Test</p>\r\n', 'E', 2, 'Week', '2014-08-26', '2014-09-09', 'U', '2014-08-25 13:12:00'),
(11, 98, 'WPM', 32, 'Wellness Challenge1', '<p>Test</p>\r\n', 'E', 2, 'Month', '2015-01-16', '2015-03-16', 'U', '2015-01-15 04:55:22'),
(12, 98, 'FTC', 32, 'Test1', '<p>Test</p>\r\n', 'E', 2, 'Month', '2015-02-07', '2015-04-07', 'P', '2015-02-06 12:54:49'),
(13, 98, 'WPM', 32, 'Test Challenge for Employee and Students', '<p>Test Challenge for Employee and Students Test Challenge for Employee and Students</p>\r\n', 'B', 2, 'Month', '2015-02-27', '2015-04-27', 'P', '2015-02-26 11:49:33'),
(14, 98, 'FTC', 32, 'Test Fitness Challenge', '<p>Test 2</p>\r\n', 'B', 0, '', '2015-03-17', '2015-04-14', 'U', '2015-03-18 07:18:02'),
(15, 41, 'PTC', 32, 'Test Challenge 1', '<p>Test <span style="color:#DAA520">Challenge 1</span></p>\r\n', 'E', 0, '', '2015-03-22', '2015-08-20', 'U', '2015-03-21 13:16:22'),
(16, 1, 'WLT', 32, 'Employee and Student Wellness Challenge', '<p>Test <span style="color:#A52A2A">Challenge</span></p>\r\n', 'B', 0, '', '2015-03-24', '2015-07-30', 'P', '2015-03-23 06:17:46');

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

--
-- Table structure for table `th_employer_ch_activities`
--

CREATE TABLE IF NOT EXISTS `th_employer_ch_activities` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ec_id_fkx` int(11) NOT NULL,
  `ec_cat_id_fkx` int(11) NOT NULL,
  `title` text NOT NULL,
  `instruction` text NOT NULL,
  `sch_type` varchar(2) NOT NULL DEFAULT 'F' COMMENT 'F-> Frequency, C-> Custom',
  `frequency` varchar(25) NOT NULL,
  `reward_point` int(11) NOT NULL DEFAULT '0',
  `status` varchar(10) NOT NULL DEFAULT 'Active',
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `user_id_fkx` (`ec_id_fkx`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=48 ;

--
-- Dumping data for table `th_employer_ch_activities`
--

INSERT INTO `th_employer_ch_activities` (`id`, `ec_id_fkx`, `ec_cat_id_fkx`, `title`, `instruction`, `sch_type`, `frequency`, `reward_point`, `status`, `created`) VALUES
(1, 1, 1, 'Walk or run outside for 45 min. or more', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis sollicitudin ipsum ac ante fermentum suscipit. In ac augue non purus accumsan lobortis id sed nibh. Nunc egestas hendrerit ipsum, et porttitor augue volutpat non. Aliquam erat volutpat. Vestibulum scelerisque lobortis pulvinar. Aenean hendrerit risus neque, eget tincidunt leo. Vestibulum est tortor, commodo nec cursus nec, vestibulum vel nibh. Morbi elit magna, ornare placerat euismod semper, dignissim vel odio. Phasellus elementum quam eu ipsum euismod pretium.', 'F', 'daily', 20, 'Active', '2014-07-09 07:43:34'),
(2, 1, 2, 'did 20 push-ups, 20 lunges and 20 squats	', '', 'F', 'bidaily', 30, 'Active', '2014-07-09 07:43:34'),
(3, 1, 1, 'Did 20 push-ups, 20 lunges and 20 squats', '', 'F', 'daily', 10, 'Active', '2014-07-09 08:26:11'),
(4, 1, 1, 'Stretched for more than five minutes', '', 'F', 'daily', 25, 'Active', '2014-07-09 08:26:11'),
(5, 1, 1, 'Did 25+ crunches and 50Jumping Jacks', '', 'F', 'bidaily', 20, 'Active', '2014-07-09 08:27:11'),
(6, 1, 2, 'Ate breakfast with a serving of fruit', '', 'F', 'bidaily', 10, 'Active', '2014-07-09 08:28:19'),
(7, 1, 2, 'Cookout with lean meats', '', 'F', 'daily', 15, 'Active', '2014-07-09 08:28:41'),
(8, 1, 2, 'Drank 64 oz. or more of water', '', 'F', 'bidaily', 20, 'Active', '2014-07-09 08:29:03'),
(9, 1, 2, 'Ate two or more servings of veggies', '', 'F', 'daily', 30, 'Active', '2014-07-09 08:29:24'),
(10, 1, 2, 'Try a new summertime recipe', '', 'F', 'bidaily', 10, 'Active', '2014-07-09 08:30:06'),
(11, 1, 0, 'personal safety i.e. sunscreen, seat belts, Bike helmets, etc.\r\n', '', 'F', 'daily', 20, 'Active', '2014-07-09 08:32:17'),
(15, 1, 2, 'Test2', 'Testing11', 'F', 'weekdays', 25, 'Active', '2014-07-10 06:22:59'),
(16, 1, 1, 'Nordic Walking for 15 Min.', 'Walk at early morning', 'F', 'daily', 20, 'Active', '2014-07-10 06:26:45'),
(17, 1, 1, 'Stair Climbing upto 15 mins', 'You can take rest after 8 min.', 'F', 'bidaily', 25, 'Active', '2014-07-10 06:27:46'),
(18, 5, 1, 'Walk outside for 30 min.', 'Do it in early Morning', 'F', 'bidaily', 25, 'Active', '2014-07-10 07:11:31'),
(19, 7, 1, 'Test Activity', 'test', 'F', 'daily', 2, 'Active', '2014-08-20 11:38:50'),
(22, 7, 1, 'Walk or run outside for 45 min. or more', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis sollicitudin ipsum ac ante fermentum suscipit. In ac augue non purus accumsan lobortis id sed nibh. Nunc egestas hendrerit ipsum, et porttitor augue volutpat non. Aliquam erat volutpat. Vestibulum scelerisque lobortis pulvinar. Aenean hendrerit risus neque, eget tincidunt leo. Vestibulum est tortor, commodo nec cursus nec, vestibulum vel nibh. Morbi elit magna, ornare placerat euismod semper, dignissim vel odio. Phasellus elementum quam eu ipsum euismod pretium.', 'F', 'daily', 20, 'Active', '2014-08-25 10:02:08'),
(23, 7, 1, 'Did 25+ crunches and 50Jumping Jacks', '', 'F', 'bidaily', 20, 'Active', '2014-08-25 10:02:08'),
(24, 7, 1, 'Nordic Walking for 15 Min.', 'Walk at early morning', 'F', 'daily', 20, 'Active', '2014-08-25 10:02:08'),
(25, 7, 1, 'Stair Climbing upto 15 mins', 'You can take rest after 8 min.', 'F', 'bidaily', 25, 'Active', '2014-08-25 10:02:08'),
(26, 8, 1, 'Walk or run outside for 45 min. or more', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis sollicitudin ipsum ac ante fermentum suscipit. In ac augue non purus accumsan lobortis id sed nibh. Nunc egestas hendrerit ipsum, et porttitor augue volutpat non. Aliquam erat volutpat. Vestibulum scelerisque lobortis pulvinar. Aenean hendrerit risus neque, eget tincidunt leo. Vestibulum est tortor, commodo nec cursus nec, vestibulum vel nibh. Morbi elit magna, ornare placerat euismod semper, dignissim vel odio. Phasellus elementum quam eu ipsum euismod pretium.', 'F', 'daily', 20, 'Active', '2014-08-25 11:35:54'),
(27, 8, 1, 'Did 20 push-ups, 20 lunges and 20 squats', '', 'F', 'daily', 10, 'Active', '2014-08-25 11:35:54'),
(28, 8, 1, 'Stretched for more than five minutes', '', 'F', 'daily', 25, 'Active', '2014-08-25 11:35:54'),
(29, 8, 1, 'Did 25+ crunches and 50Jumping Jacks', '', 'F', 'bidaily', 20, 'Active', '2014-08-25 11:35:54'),
(30, 8, 1, 'Nordic Walking for 15 Min.', 'Walk at early morning', 'F', 'daily', 20, 'Active', '2014-08-25 11:35:54'),
(31, 8, 1, 'Stair Climbing upto 15 mins', 'You can take rest after 8 min.', 'F', 'bidaily', 25, 'Active', '2014-08-25 11:35:54'),
(32, 9, 2, 'did 20 push-ups, 20 lunges and 20 squats	', '', 'F', 'bidaily', 30, 'Active', '2014-08-25 11:37:24'),
(33, 9, 2, 'Ate breakfast with a serving of fruit', '', 'F', 'bidaily', 10, 'Active', '2014-08-25 11:37:24'),
(34, 9, 2, 'Cookout with lean meats', '', 'F', 'daily', 15, 'Active', '2014-08-25 11:37:24'),
(35, 9, 2, 'Drank 64 oz. or more of water', '', 'F', 'bidaily', 20, 'Active', '2014-08-25 11:37:24'),
(36, 9, 2, 'Ate two or more servings of veggies', '', 'F', 'daily', 30, 'Active', '2014-08-25 11:37:24'),
(37, 9, 2, 'Try a new summertime recipe', '', 'F', 'bidaily', 10, 'Active', '2014-08-25 11:37:24'),
(38, 9, 2, 'Test2', 'Testing11', 'F', 'weekdays', 25, 'Active', '2014-08-25 11:37:24'),
(39, 13, 1, 'Walk outside for 30 min.', 'Do it in early Morning', 'F', 'bidaily', 25, 'Active', '2015-02-27 08:36:58'),
(40, 12, 1, 'Test Activity Custom Dates', '', 'C', '', 15, 'Active', '2015-03-20 10:02:00'),
(41, 12, 2, 'Custom Activity Date 2', '', 'C', '', 10, 'Active', '2015-03-20 10:05:44'),
(42, 12, 2, 'Activity 3', '', 'F', 'tts', 10, 'Active', '2015-03-21 11:39:02'),
(43, 15, 1, 'Bassel Activity1', '', 'C', '', 20, 'Active', '2015-03-23 05:07:32'),
(45, 16, 1, 'Activity 1 By WLT', '', 'C', '', 10, 'Active', '2015-03-23 07:51:38'),
(46, 16, 1, 'WLT Activity 2', '', 'C', '', 10, 'Active', '2015-03-24 05:32:45'),
(47, 12, 1, 'WPM Activity 3', '', 'C', '', 20, 'Active', '2015-03-24 07:03:29');

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

--
-- Table structure for table `th_employer_ch_activities_data`
--

CREATE TABLE IF NOT EXISTS `th_employer_ch_activities_data` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ec_id_fkx` int(11) NOT NULL,
  `ec_act_id_fkx` int(11) NOT NULL,
  `ec_cat_id_fkx` int(11) NOT NULL,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `due_date` date NOT NULL,
  `recording_status` varchar(4) NOT NULL COMMENT 'Yes or No',
  `recording_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `user_id_fkx` (`ec_act_id_fkx`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=64 ;

--
-- Dumping data for table `th_employer_ch_activities_data`
--

INSERT INTO `th_employer_ch_activities_data` (`id`, `ec_id_fkx`, `ec_act_id_fkx`, `ec_cat_id_fkx`, `rgs_id_fkx`, `due_date`, `recording_status`, `recording_date`) VALUES
(1, 1, 2, 1, 1, '2014-07-09', 'Yes', '2014-07-09 11:59:01'),
(2, 1, 2, 1, 15, '2014-07-09', 'Yes', '2014-07-09 11:59:01'),
(3, 1, 3, 1, 1, '2014-07-10', 'Yes', '2014-07-10 05:57:46'),
(4, 1, 3, 1, 81, '2014-07-10', 'Yes', '2014-07-10 05:57:46'),
(5, 1, 4, 1, 1, '2014-07-10', 'No', '2014-07-10 05:58:45'),
(6, 1, 5, 1, 81, '2014-07-10', 'Yes', '2014-07-10 05:58:45'),
(7, 1, 3, 1, 1, '2014-07-09', 'No', '2014-07-10 05:59:05'),
(8, 1, 1, 1, 81, '2014-07-09', 'Yes', '2014-07-10 05:59:05'),
(9, 1, 3, 1, 1, '2014-07-09', 'No', '2014-07-10 06:03:03'),
(10, 1, 1, 1, 81, '2014-07-09', 'Yes', '2014-07-10 06:03:03'),
(11, 1, 3, 1, 1, '2014-07-08', 'No', '2014-07-10 06:03:57'),
(12, 1, 1, 1, 81, '2014-07-08', 'Yes', '2014-07-10 06:03:57'),
(13, 1, 1, 1, 1, '2014-07-12', 'No', '2014-07-12 07:25:55'),
(14, 1, 16, 1, 1, '2014-07-12', 'Yes', '2014-07-12 07:43:08'),
(15, 1, 7, 2, 1, '2014-07-12', 'Yes', '2014-07-12 07:51:34'),
(16, 1, 9, 2, 1, '2014-07-12', 'Yes', '2014-07-12 07:58:36'),
(17, 1, 4, 1, 1, '2014-07-12', 'Yes', '2014-07-12 07:58:45'),
(18, 1, 3, 1, 1, '2014-07-12', 'Yes', '2014-07-12 07:58:55'),
(19, 0, 0, 0, 1, '0000-00-00', '', '2014-07-12 13:05:25'),
(20, 0, 0, 0, 1, '0000-00-00', '', '2014-07-12 13:06:20'),
(21, 0, 0, 0, 1, '2014-07-09', 'Yes', '2014-07-12 13:12:58'),
(22, 1, 1, 1, 1, '2014-07-09', 'No', '2014-07-12 13:14:18'),
(23, 1, 1, 1, 1, '2014-07-11', 'Yes', '2014-07-12 13:16:58'),
(24, 1, 1, 1, 1, '2014-07-10', 'No', '2014-07-12 13:17:11'),
(25, 1, 11, 0, 1, '2014-07-10', 'Yes', '2014-07-12 13:19:36'),
(26, 1, 4, 1, 1, '2014-07-11', 'Yes', '2014-07-12 13:20:27'),
(27, 1, 16, 1, 1, '2014-07-11', 'No', '2014-07-12 13:20:55'),
(28, 1, 4, 1, 1, '2014-07-09', 'Yes', '2014-07-12 13:21:09'),
(29, 1, 5, 1, 1, '2014-07-09', 'No', '2014-07-12 13:21:15'),
(30, 1, 3, 1, 1, '2014-07-13', 'Yes', '2014-07-14 04:17:17'),
(31, 1, 4, 1, 1, '2014-07-14', 'Yes', '2014-07-14 04:19:38'),
(32, 1, 5, 1, 1, '2014-07-13', 'Yes', '2014-07-14 04:37:07'),
(33, 1, 1, 1, 1, '2014-07-14', 'Yes', '2014-07-14 04:43:12'),
(34, 1, 15, 2, 1, '2014-07-09', 'Yes', '2014-07-15 06:28:03'),
(35, 1, 9, 2, 1, '2014-07-14', 'Yes', '2014-07-15 06:28:05'),
(36, 1, 8, 2, 1, '2014-07-15', 'Yes', '2014-07-15 06:28:09'),
(37, 1, 11, 0, 1, '2014-07-15', 'Yes', '2014-07-15 06:28:11'),
(38, 1, 10, 2, 1, '2014-07-15', 'Yes', '2014-07-15 06:28:13'),
(39, 1, 9, 2, 1, '2014-07-11', 'Yes', '2014-07-15 06:28:15'),
(40, 1, 8, 2, 1, '2014-07-09', 'Yes', '2014-07-15 06:28:18'),
(41, 1, 3, 1, 1, '2014-07-16', 'Yes', '2014-07-22 12:43:13'),
(42, 1, 1, 1, 1, '2014-07-22', 'No', '2014-07-22 12:44:14'),
(43, 1, 3, 1, 1, '2014-07-22', 'Yes', '2014-07-22 12:48:44'),
(44, 1, 1, 1, 55, '2014-07-28', 'Yes', '2014-07-28 06:02:55'),
(45, 1, 1, 1, 1, '2014-07-28', 'Yes', '2014-07-28 07:44:50'),
(46, 1, 3, 1, 1, '2014-07-28', 'Yes', '2014-07-28 07:44:54'),
(47, 1, 4, 1, 1, '2014-07-28', 'Yes', '2014-07-28 07:44:56'),
(48, 1, 16, 1, 1, '2014-07-28', 'Yes', '2014-07-28 07:45:06'),
(49, 1, 7, 2, 1, '2014-07-28', 'Yes', '2014-07-28 12:24:18'),
(50, 7, 19, 1, 1, '2014-08-23', 'Yes', '2014-08-23 05:57:41'),
(51, 13, 39, 1, 1, '2015-02-27', 'No', '2015-02-27 10:01:35'),
(52, 13, 39, 1, 1, '2015-03-09', 'Yes', '2015-03-09 11:30:26'),
(53, 13, 39, 1, 1, '2015-03-01', 'Yes', '2015-03-09 11:30:36'),
(54, 13, 39, 1, 1, '2015-03-03', 'No', '2015-03-09 11:31:04'),
(55, 16, 45, 1, 1, '2015-03-24', 'Yes', '2015-03-24 12:34:18'),
(56, 16, 45, 1, 1, '2015-03-25', 'Yes', '2015-04-11 13:32:24'),
(57, 16, 45, 1, 1, '2015-03-27', 'Yes', '2015-04-11 13:32:28'),
(58, 16, 46, 1, 1, '2015-03-26', 'Yes', '2015-04-11 13:32:31'),
(59, 16, 46, 1, 1, '2015-03-27', 'Yes', '2015-04-11 13:32:32'),
(60, 16, 46, 1, 1, '2015-03-28', 'Yes', '2015-04-11 13:32:33'),
(61, 16, 46, 1, 1, '2015-03-30', 'Yes', '2015-04-11 13:32:38'),
(62, 16, 46, 1, 1, '2015-04-01', 'Yes', '2015-04-11 13:32:49'),
(63, 16, 46, 1, 1, '2015-04-02', 'Yes', '2015-04-11 13:32:50');

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

--
-- Table structure for table `th_employer_ch_categories`
--

CREATE TABLE IF NOT EXISTS `th_employer_ch_categories` (
  `ec_cat_id` int(11) NOT NULL AUTO_INCREMENT,
  `ec_cat_name` varchar(50) NOT NULL,
  `comp_id_fkx` int(11) NOT NULL,
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ec_cat_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `th_employer_ch_categories`
--

INSERT INTO `th_employer_ch_categories` (`ec_cat_id`, `ec_cat_name`, `comp_id_fkx`, `created`) VALUES
(1, 'Exercise', 32, '2014-07-09 08:21:57'),
(2, 'Nutrition/Wellness', 32, '2014-07-09 08:21:57'),
(3, 'Test', 32, '2014-07-10 05:13:23'),
(4, 'Test2', 32, '2014-07-10 05:24:41');

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

--
-- Table structure for table `th_employer_ch_join`
--

CREATE TABLE IF NOT EXISTS `th_employer_ch_join` (
  `chj_id` int(11) NOT NULL AUTO_INCREMENT,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `ec_id_fkx` int(11) NOT NULL,
  `chj_emp_code` varchar(30) NOT NULL,
  `chj_department` int(11) NOT NULL,
  `chj_branch` int(11) NOT NULL,
  `chj_role` int(11) NOT NULL,
  `chj_schedule` int(11) NOT NULL,
  `chj_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`chj_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;

--
-- Dumping data for table `th_employer_ch_join`
--

INSERT INTO `th_employer_ch_join` (`chj_id`, `rgs_id_fkx`, `ec_id_fkx`, `chj_emp_code`, `chj_department`, `chj_branch`, `chj_role`, `chj_schedule`, `chj_created`) VALUES
(1, 1, 1, '4258', 0, 50, 3, 5, '2014-07-11 11:03:05'),
(2, 55, 1, '123456', 0, 49, 3, 3, '2014-07-28 06:01:58'),
(3, 81, 1, '534', 0, 49, 3, 7, '2014-07-28 07:20:00'),
(4, 1, 7, '4258', 2, 50, 2, 2, '2014-08-23 05:50:41'),
(5, 1, 13, '123456', 2, 50, 2, 2, '2015-02-27 08:37:47'),
(6, 1, 16, '123456', 2, 50, 2, 2, '2015-03-25 08:51:28');

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

--
-- Table structure for table `th_employer_coaches`
--

CREATE TABLE IF NOT EXISTS `th_employer_coaches` (
  `ec_id` int(11) NOT NULL AUTO_INCREMENT,
  `coach_id_fkx` int(11) NOT NULL,
  `user_id_fkx` int(11) NOT NULL,
  `reg_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `coach_status` varchar(10) DEFAULT 'Active' COMMENT 'Active,Inactive',
  `connect_request` varchar(10) NOT NULL DEFAULT 'P' COMMENT 'P->Pending, A->Accept, L->Leave, D->Deny',
  `connect_by` varchar(10) NOT NULL DEFAULT 'Coach' COMMENT 'Coach or Employer',
  `connect_type` varchar(4) DEFAULT 'PT',
  `students` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1-> Manage Students',
  PRIMARY KEY (`ec_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=40 ;

--
-- Dumping data for table `th_employer_coaches`
--

INSERT INTO `th_employer_coaches` (`ec_id`, `coach_id_fkx`, `user_id_fkx`, `reg_date`, `coach_status`, `connect_request`, `connect_by`, `connect_type`, `students`) VALUES
(15, 60, 15, '2013-05-30 11:52:41', 'Active', 'A', 'Coach', 'PT', 0),
(16, 41, 32, '2013-06-05 09:14:05', 'Active', 'A', 'Coach', 'PT', 1),
(17, 67, 32, '2013-06-05 09:14:06', 'Active', 'A', 'Coach', 'PT', 1),
(18, 87, 15, '2013-07-12 04:45:25', 'Active', 'A', 'Coach', 'PT', 0),
(19, 41, 15, '2013-07-12 06:58:52', 'Active', 'A', 'Coach', 'PT', 0),
(20, 67, 15, '2013-07-12 06:58:54', 'Active', 'A', 'Coach', 'PT', 0),
(21, 70, 6, '2013-07-16 06:40:49', 'Active', 'A', 'Coach', 'PT', 0),
(30, 41, 68, '2014-02-07 06:27:36', 'Active', 'P', 'Coach', 'PT', 0),
(34, 60, 32, '2014-05-26 06:55:49', 'Inactive', 'A', 'Employer', 'PT', 0),
(35, 98, 32, '2014-05-26 11:45:30', 'Active', 'A', 'Employer', 'FT', 1),
(36, 71, 32, '2014-06-05 06:55:26', 'Active', 'A', 'Employer', 'PT', 1),
(37, 72, 32, '2014-06-10 05:42:23', 'Active', 'A', 'Employer', 'PT', 0),
(38, 99, 32, '2014-06-10 10:40:53', 'Inactive', 'A', 'Employer', 'PT', 0),
(39, 0, 32, '2014-06-12 11:16:33', 'Active', 'A', 'Employer', 'PT', 0);

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

--
-- Table structure for table `th_employer_coach_log`
--

CREATE TABLE IF NOT EXISTS `th_employer_coach_log` (
  `ecl_id` int(11) NOT NULL AUTO_INCREMENT,
  `coach_id_fkx` int(11) NOT NULL,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `user_id_fkx` int(11) NOT NULL COMMENT 'Employer''s user_id from tc_users',
  `wp_data` text NOT NULL,
  `transfer_status` varchar(4) DEFAULT 'NO',
  `ecl_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ecl_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;

--
-- Dumping data for table `th_employer_coach_log`
--

INSERT INTO `th_employer_coach_log` (`ecl_id`, `coach_id_fkx`, `rgs_id_fkx`, `user_id_fkx`, `wp_data`, `transfer_status`, `ecl_date`) VALUES
(1, 41, 9, 32, '', 'NO', '2014-06-12 08:37:53'),
(2, 41, 1, 32, '3', 'NO', '2014-06-12 08:37:53'),
(3, 41, 7, 32, '', 'YES', '2014-06-12 08:37:53'),
(4, 41, 10, 32, '17', 'NO', '2014-06-12 08:37:53'),
(5, 41, 15, 32, '', 'NO', '2014-06-12 08:37:53');

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

--
-- Table structure for table `th_employer_departments`
--

CREATE TABLE IF NOT EXISTS `th_employer_departments` (
  `dept_id` int(11) NOT NULL AUTO_INCREMENT,
  `dept_name` varchar(50) NOT NULL,
  `dept_type` varchar(2) NOT NULL DEFAULT 'O' COMMENT 'O->Official, A-> Academic',
  `emp_id` int(11) NOT NULL COMMENT 'user_id_fkx from th_users Table',
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`dept_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ;

--
-- Dumping data for table `th_employer_departments`
--

INSERT INTO `th_employer_departments` (`dept_id`, `dept_name`, `dept_type`, `emp_id`, `created`) VALUES
(1, 'HR', 'O', 504, '2014-07-12 12:57:08'),
(2, 'Sales', 'O', 504, '2014-07-12 12:57:08'),
(6, 'Test', 'O', 504, '2014-07-14 05:37:14'),
(8, 'Accounts', 'O', 504, '2014-07-14 05:49:16'),
(11, 'IT', 'O', 504, '2014-07-14 08:46:03'),
(12, 'Physics', 'A', 504, '2015-01-22 10:21:01'),
(13, 'IT and Computer', 'A', 504, '2015-01-27 08:29:36');

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

--
-- Table structure for table `th_employer_fc_files`
--

CREATE TABLE IF NOT EXISTS `th_employer_fc_files` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `fc_id` int(11) NOT NULL,
  `filename` varchar(150) NOT NULL,
  `filepath` varchar(150) NOT NULL,
  `cerated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `fc_id` (`fc_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ;

--
-- Dumping data for table `th_employer_fc_files`
--

INSERT INTO `th_employer_fc_files` (`id`, `fc_id`, `filename`, `filepath`, `cerated`) VALUES
(5, 8, 'organisational Metrics.docx', 'fc_8_14086951034063.docx', '2014-08-22 08:11:43'),
(6, 5, 'A Do-Anywhere, Full-Body Resistance Band Workout _ Greatist.pdf', 'fc_5_14086980728933.pdf', '2014-08-22 09:01:12'),
(7, 5, '9823-2-sph.jpg', 'fc_5_14086981054233.jpg', '2014-08-22 09:01:45'),
(8, 6, '9823-3-b.jpg', 'fc_6_14087079709413.jpg', '2014-08-22 11:46:10'),
(9, 6, '9823-2-sph.jpg', 'fc_6_14087082910653.jpg', '2014-08-22 11:51:31'),
(10, 6, '9823-2-sph.jpg', 'fc_6_14087083853263.jpg', '2014-08-22 11:53:05');

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

--
-- Table structure for table `th_employer_hccost`
--

CREATE TABLE IF NOT EXISTS `th_employer_hccost` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id_fkx` int(11) NOT NULL,
  `year` varchar(10) NOT NULL,
  `avg_compensation` double NOT NULL,
  `ttl_compensation` double NOT NULL,
  `medical` double NOT NULL,
  `pharmaceutical` double NOT NULL,
  `utilization` double NOT NULL,
  `disability` double NOT NULL,
  `workers_compensation` double NOT NULL,
  `health_care` double NOT NULL,
  `presenteeism_rate` double NOT NULL,
  `unproductive_days` int(11) NOT NULL,
  `presenteeism_cost` double NOT NULL,
  `absenteeism_rate` double NOT NULL,
  `absence_days` int(11) NOT NULL,
  `absenteeism_cost` double NOT NULL,
  `productivity` double NOT NULL,
  `tulasi` double NOT NULL,
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `th_employer_metric`
--

CREATE TABLE IF NOT EXISTS `th_employer_metric` (
  `met_id` int(11) NOT NULL AUTO_INCREMENT,
  `met_wp_id` int(11) NOT NULL,
  `met_type` varchar(10) NOT NULL,
  `met_goal` varchar(200) NOT NULL,
  `met_title` varchar(250) NOT NULL,
  `classification` varchar(4) NOT NULL DEFAULT 'QN' COMMENT 'QN->Quantitative, QL-> Qualitative',
  `met_from` varchar(100) NOT NULL DEFAULT 'CWP',
  `met_desc` text NOT NULL,
  `met_target` text NOT NULL,
  `met_unit` varchar(50) NOT NULL,
  `met_start` date NOT NULL,
  `met_end` date NOT NULL,
  `met_end_time` time NOT NULL,
  `sch_type` varchar(4) NOT NULL DEFAULT 'F' COMMENT 'F-> Frequency, C->Custom',
  `met_frequency` varchar(50) NOT NULL,
  `met_for` varchar(50) NOT NULL,
  `met_for_unit` varchar(50) NOT NULL,
  `met_rem_status` varchar(2) NOT NULL,
  `met_rem_time` time NOT NULL,
  `met_rem_before` varchar(3) NOT NULL,
  `met_share` text NOT NULL,
  `met_status` varchar(10) NOT NULL,
  `met_pstatus` varchar(10) NOT NULL DEFAULT '0',
  `met_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`met_id`),
  KEY `met_wp_id` (`met_wp_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=38 ;

--
-- Dumping data for table `th_employer_metric`
--

INSERT INTO `th_employer_metric` (`met_id`, `met_wp_id`, `met_type`, `met_goal`, `met_title`, `classification`, `met_from`, `met_desc`, `met_target`, `met_unit`, `met_start`, `met_end`, `met_end_time`, `sch_type`, `met_frequency`, `met_for`, `met_for_unit`, `met_rem_status`, `met_rem_time`, `met_rem_before`, `met_share`, `met_status`, `met_pstatus`, `met_created`) VALUES
(2, 2, 'hra', 'HRA Metric 2', 'Lerem Ipsum Doller Sit Amit.', 'QN', 'CWP', 'test', '4', 'times', '2014-06-02', '2014-07-02', '00:00:00', 'F', 'daily', '1', 'Month', '', '00:00:00', '', '2', 'Active', '0', '2014-06-02 08:09:07'),
(3, 2, 'hra', 'Make healthy employee', 'Lerem Ipsum Doller Sit Amit.', 'QN', 'CWP', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', '4', 'times', '2014-06-02', '2014-08-02', '00:00:00', 'F', 'daily', '2', 'Month', '', '00:00:00', '', '1,2', 'Active', '1', '2014-06-03 10:24:31'),
(5, 2, 'tulasi', 'Tulasi Metric 1', 'Lerem Ipsum Doller Sit Amit.', 'QN', 'CWP', 'test', '4', 'times', '2014-06-03', '2014-06-26', '00:00:00', 'F', 'daily', '23', 'Day', '', '00:00:00', '', '2', 'Active', '0', '2014-06-03 12:31:39'),
(6, 2, 'hw', 'test', 'Lerem Ipsum Doller Sit Amit.', 'QN', 'CWP', 'sdgf', '4', 'times', '2014-06-17', '2014-10-17', '00:00:00', 'F', 'daily', '4', 'Month', '', '00:00:00', '', '1,2', 'Active', '0', '2014-06-07 12:49:56'),
(7, 3, 'hra', 'Meeting with Diabetes Expert', 'Lerem Ipsum Doller Sit Amit.', 'QN', 'CWP', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed ornare nulla.', '4', 'times', '2014-06-25', '2014-07-25', '00:00:00', 'F', 'daily', '6', 'Month', '', '00:00:00', '', '1,2', 'Active', '1', '2014-06-26 06:49:03'),
(8, 3, 'tulasi', 'Setup Jogging Events For Employees', 'Lerem Ipsum Doller Sit Amit.', 'QN', 'CWP', 'Setup Jogging Events For Employees Setup Jogging Events For Employees Setup Jogging Events For Employees', '4', 'times', '2014-07-24', '2014-08-23', '00:00:00', 'F', 'daily', '30', 'Day', '', '00:00:00', '', '1,2', 'Active', '1', '2014-07-22 10:58:56'),
(24, 6, 'hra', 'Meeting with Diabetes Expert', 'Lerem Ipsum Doller Sit Amit.', 'QN', 'CWP', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed ornare nulla.', '4', 'times', '2014-08-22', '2015-02-22', '00:00:00', 'F', 'daily', '6', 'Month', '', '00:00:00', '', '', 'Active', '0', '2014-08-22 12:18:19'),
(25, 6, 'tulasi', 'Setup Jogging Events For Employees', 'Lerem Ipsum Doller Sit Amit.', 'QN', 'CWP', 'Setup Jogging Events For Employees Setup Jogging Events For Employees Setup Jogging Events For Employees', '4', 'times', '2014-08-26', '2014-09-25', '00:00:00', 'F', 'daily', '30', 'Day', '', '00:00:00', '', '', 'Active', '0', '2014-08-22 12:18:19'),
(26, 4, 'hra', 'Meeting with Diabetes Expert', 'Lerem Ipsum Doller Sit Amit.', 'QN', 'CWP', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed ornare nulla.', '4', 'times', '2014-08-23', '2015-02-23', '00:00:00', 'F', 'daily', '6', 'Month', '', '00:00:00', '', '', 'Active', '0', '2014-08-23 05:50:23'),
(27, 4, 'tulasi', 'Setup Jogging Events For Employees', 'Lerem Ipsum Doller Sit Amit.', 'QN', 'CWP', 'Setup Jogging Events For Employees Setup Jogging Events For Employees Setup Jogging Events For Employees', '4', 'times', '2014-08-26', '2014-09-25', '00:00:00', 'F', 'daily', '30', 'Day', '', '00:00:00', '', '', 'Active', '0', '2014-08-23 05:50:23'),
(28, 7, 'hra', 'Test', 'Test2', 'QN', 'CWP', 'Test', '25', 'test', '2015-01-15', '2015-02-14', '11:23:00', 'F', 'daily', '30', 'Day', '', '00:00:00', '1', '', 'Active', '0', '2015-01-15 05:53:44'),
(31, 7, 'tulasi', 'Tulasi Metric 1', 'Tulasi Metric', 'QN', 'CWP', '', '20', 'time', '2015-04-04', '2015-04-30', '16:25:00', 'F', 'bidaily', '', '', '', '00:00:00', '1', '', 'Active', '0', '2015-04-02 10:58:02'),
(32, 7, 'hw', 'Fit and Healty', 'Fit and Healty', 'QN', 'CWP', 'Running', '3', 'km', '2015-04-07', '2015-05-30', '12:49:00', 'F', 'tts', '53', 'days', '', '00:00:00', '1', '', 'Active', '0', '2015-04-06 07:21:12'),
(33, 2, 'hw', 'Loose Weight up to 5kg.', 'Loose Weight', 'QN', 'CWP', '', '5', 'Kg.', '2015-04-07', '2015-05-30', '15:25:00', 'C', '', '53', 'days', '', '00:00:00', '1', '', 'Active', '0', '2015-04-06 09:56:59'),
(34, 4, 'hw', 'Reduce Weight upto 5 kg', 'Loose Weight', 'QN', 'CWP', '', '5', 'Kg.', '2015-04-08', '2015-05-30', '15:38:00', 'C', '', '52', 'days', '', '00:00:00', '1', '', 'Active', '0', '2015-04-06 10:08:54'),
(37, 7, 'hw', 'Fast Walk upto 3 km', 'Fit and Healthy', 'QN', 'CWP', '', '3', 'km', '2015-04-16', '2015-04-30', '16:50:00', 'F', 'weekdays', '14', 'days', '', '00:00:00', '1', '', 'Active', '0', '2015-04-15 11:22:04');

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

--
-- Table structure for table `th_employer_metric_data`
--

CREATE TABLE IF NOT EXISTS `th_employer_metric_data` (
  `md_id` int(11) NOT NULL AUTO_INCREMENT,
  `md_met_id` int(11) NOT NULL,
  `md_freq_date` date NOT NULL,
  `md_val` double NOT NULL,
  `md_user_type` varchar(10) NOT NULL COMMENT 'WPM or WLT',
  `md_user_id` int(11) NOT NULL,
  `md_rdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`md_id`),
  KEY `md_user_id` (`md_user_id`),
  KEY `md_met_id` (`md_met_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ;

--
-- Dumping data for table `th_employer_metric_data`
--

INSERT INTO `th_employer_metric_data` (`md_id`, `md_met_id`, `md_freq_date`, `md_val`, `md_user_type`, `md_user_id`, `md_rdate`) VALUES
(7, 32, '2015-04-08', 20, 'WPM', 98, '2015-04-10 08:52:54'),
(8, 32, '2015-04-10', 3.5, 'WLT', 1, '2015-04-10 08:54:52'),
(9, 32, '2015-04-16', 2, 'WPM', 98, '2015-04-16 05:46:29'),
(10, 34, '2015-04-10', 2, 'WLT', 1, '2015-04-16 07:00:27'),
(11, 34, '2015-04-13', 6, 'WLT', 1, '2015-04-16 07:00:33'),
(12, 34, '2015-04-15', 4, 'WLT', 1, '2015-04-16 07:00:37'),
(13, 32, '2015-04-07', 20, 'WPM', 98, '2015-04-16 08:30:31');

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

--
-- Table structure for table `th_employer_metric_sugg`
--

CREATE TABLE IF NOT EXISTS `th_employer_metric_sugg` (
  `ms_id` int(11) NOT NULL AUTO_INCREMENT,
  `ms_met_id` int(11) NOT NULL,
  `ms_user_id` varchar(50) NOT NULL,
  `ms_user_type` varchar(20) NOT NULL,
  `ms_comment` text NOT NULL,
  `ms_type` varchar(10) NOT NULL DEFAULT 'Comment',
  `ms_hidden` tinyint(4) NOT NULL DEFAULT '0',
  `ms_new` tinyint(4) NOT NULL DEFAULT '1',
  `ms_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ms_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=35 ;

--
-- Dumping data for table `th_employer_metric_sugg`
--

INSERT INTO `th_employer_metric_sugg` (`ms_id`, `ms_met_id`, `ms_user_id`, `ms_user_type`, `ms_comment`, `ms_type`, `ms_hidden`, `ms_new`, `ms_created`) VALUES
(1, 0, '99', 'WPM', 'Test Sugg', 'Sugg', 0, 1, '2014-08-13 11:31:11'),
(3, 2, '98', 'WPM', 'werwerew', 'Reply', 0, 1, '2014-08-13 13:16:33'),
(7, 2, '99', 'WPM', 'repl', 'Reply', 0, 1, '2014-08-14 05:01:59'),
(9, 2, '98', 'WPM', 'nice', 'Reply', 0, 1, '2014-08-14 05:07:34'),
(10, 9, '99', 'WPM', 'Nice thought', 'Sugg', 0, 1, '2014-08-14 05:32:37'),
(11, 10, '98', 'WPM', 'Thank u', 'Reply', 0, 1, '2014-08-14 05:32:54'),
(12, 10, '99', 'WPM', 'Welcome', 'Reply', 0, 1, '2014-08-14 05:33:08'),
(13, 9, '98', 'WPM', 'Test', 'Sugg', 0, 1, '2014-08-14 05:33:48'),
(14, 10, '98', 'WPM', 'nice', 'Reply', 0, 1, '2014-08-14 05:56:48'),
(15, 10, '1', 'WLT', 'test', 'Sugg', 0, 1, '2014-08-18 07:10:56'),
(16, 15, '98', 'WPM', 'thanks', 'Reply', 0, 1, '2014-08-18 07:32:20'),
(21, 15, '', 'WLT', 'asdf', 'Reply', 0, 1, '2014-08-18 08:00:18'),
(22, 6, '98', 'WPM', 'helllo', 'Sugg', 0, 1, '2014-08-18 08:07:43'),
(23, 9, '98', 'WPM', 'asdf', 'Sugg', 0, 1, '2014-08-18 08:09:04'),
(24, 11, '98', 'WPM', 'hii', 'Sugg', 0, 1, '2014-08-18 08:13:22'),
(26, 24, '', 'WLT', 'test', 'Reply', 0, 1, '2014-08-18 08:13:55'),
(27, 10, '98', 'WPM', 'gfsdg', 'Sugg', 0, 1, '2014-08-18 08:27:04'),
(28, 27, '98', 'WPM', 'fdgdfg', 'Reply', 0, 1, '2014-08-18 08:27:13'),
(29, 13, '98', 'WPM', 'Nice thought for toplogic', 'Sugg', 0, 1, '2014-08-19 05:15:57'),
(30, 29, '', 'WLT', 'Thank u', 'Reply', 0, 1, '2014-08-19 05:40:12'),
(31, 29, '98', 'WPM', 'welcome', 'Reply', 0, 1, '2014-08-19 05:41:00'),
(32, 19, '1', 'WLT', 'test', 'Sugg', 0, 1, '2014-08-19 10:01:33'),
(33, 19, '98', 'WPM', 'ok', 'Sugg', 0, 1, '2014-08-19 10:01:46'),
(34, 32, '98', 'WPM', 'tes', 'Reply', 0, 1, '2014-08-19 10:02:33');

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

--
-- Table structure for table `th_employer_notifications`
--

CREATE TABLE IF NOT EXISTS `th_employer_notifications` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `type` varchar(10) NOT NULL,
  `tc_sender_id` int(10) unsigned NOT NULL,
  `reciever_id` varchar(50) NOT NULL,
  `ref_id` varchar(50) NOT NULL,
  `mail_status` tinyint(2) NOT NULL DEFAULT '0',
  `remark` varchar(100) NOT NULL,
  `isnew` tinyint(2) NOT NULL DEFAULT '0',
  `recorded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  KEY `id` (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=491 ;

--
-- Dumping data for table `th_employer_notifications`
--

INSERT INTO `th_employer_notifications` (`id`, `type`, `tc_sender_id`, `reciever_id`, `ref_id`, `mail_status`, `remark`, `isnew`, `recorded`) VALUES
(29, 'PC', 53, '223', '', 0, '', 0, '2012-11-02 07:26:58'),
(30, 'PC', 53, '223', '', 0, '', 0, '2012-11-02 07:38:44'),
(31, 'PC', 53, '223', '', 0, '', 0, '2012-11-02 07:49:07'),
(32, 'PC', 53, '223', '', 0, '', 0, '2012-11-02 07:57:05'),
(33, 'PC', 53, '223', '', 0, '', 0, '2012-11-02 07:58:50'),
(34, 'PC', 53, '223', '', 0, '', 0, '2012-11-02 08:03:04'),
(35, 'PC', 53, '223', '', 0, '', 0, '2012-11-02 08:05:38'),
(36, 'PC', 53, '223', '', 0, '', 0, '2012-11-02 08:07:43'),
(37, 'PC', 53, '223', '', 0, '', 0, '2012-11-02 08:11:14'),
(38, 'PC', 53, '223', '', 0, '', 0, '2012-11-02 08:11:30'),
(39, 'PC', 53, '223', '', 0, '', 0, '2012-11-02 08:12:21'),
(40, 'PC', 53, '223', '', 0, '', 0, '2012-11-02 08:12:35'),
(41, 'PC', 53, '223', '', 0, '', 0, '2012-11-02 08:13:36'),
(42, 'PCV', 53, '223', '', 0, '', 1, '2012-11-02 08:13:48'),
(82, 'BMN', 81, '223', '1', 0, 'BP', 0, '2012-11-05 08:42:56'),
(83, 'BMN', 81, '223', '1', 0, 'BP', 0, '2012-11-05 08:43:23'),
(84, 'BMN', 81, '223', '1', 0, 'BP', 0, '2012-11-05 08:43:31'),
(85, 'BMN', 81, '223', '1', 0, 'BP', 0, '2012-11-05 08:43:43'),
(116, 'BMN', 81, '223', '1', 0, 'BP', 0, '2012-11-05 09:01:13'),
(129, 'BMN', 81, '223', '1', 0, 'CH', 0, '2012-11-05 09:37:19'),
(130, 'BMN', 81, '223', '2', 0, 'CH', 0, '2012-11-06 08:01:21'),
(131, 'BMN', 81, '223', '2', 0, 'BG', 0, '2012-11-06 08:02:24'),
(132, 'BMN', 81, '223', '2', 0, 'BP', 0, '2012-11-06 08:02:32'),
(133, 'BMN', 81, '223', '2', 0, 'WT', 0, '2012-11-06 08:02:42'),
(134, 'PC', 32, '296', '', 0, '', 0, '2012-11-06 13:06:10'),
(136, 'BMN', 81, '223', '2', 0, 'WT', 0, '2012-11-08 05:42:09'),
(137, 'BMN', 81, '223', '2', 0, 'WT', 0, '2012-11-08 05:42:21'),
(138, 'BMN', 81, '223', '2', 0, 'WT', 0, '2012-11-08 05:42:21'),
(139, 'BMN', 81, '223', '2', 0, 'WT', 0, '2012-11-08 05:42:21'),
(140, 'BMN', 81, '223', '2', 0, 'BP', 0, '2012-11-08 05:42:40'),
(141, 'BMN', 81, '223', '2', 0, 'WT', 0, '2012-11-08 05:43:27'),
(142, 'BMN', 81, '223', '2', 0, 'WT', 0, '2012-11-08 05:45:10'),
(143, 'BMN', 81, '223', '2', 0, 'WT', 0, '2012-11-08 05:48:17'),
(144, 'BMN', 81, '223', '2', 0, 'WT', 0, '2012-11-08 05:49:32'),
(145, 'BMN', 81, '223', '2', 0, 'WT', 0, '2012-11-08 05:50:03'),
(146, 'BMN', 81, '223', '2', 0, 'WT', 0, '2012-11-08 05:50:45'),
(147, 'BMN', 81, '223', '2', 0, 'WT', 0, '2012-11-08 05:51:14'),
(148, 'BMN', 81, '223', '2', 0, 'WT', 0, '2012-11-08 06:15:49'),
(149, 'BMN', 81, '223', '3', 0, 'CH', 0, '2012-11-08 06:39:42'),
(150, 'BMN', 81, '223', '3', 0, 'BG', 0, '2012-11-08 07:26:31'),
(151, 'BMN', 81, '223', '3', 0, 'BG', 0, '2012-11-08 07:31:23'),
(152, 'PC', 81, '296', '', 0, '', 0, '2012-11-08 11:40:20'),
(153, 'PCV', 81, '296', '', 0, '', 1, '2012-11-08 11:41:24'),
(156, 'BMN', 81, '296', '5', 0, 'WT', 1, '2012-11-08 13:15:37'),
(157, 'BMN', 81, '296', '2', 0, 'WT', 1, '2012-11-09 13:57:15'),
(158, 'BMN', 81, '296', '9', 0, 'WT', 1, '2012-11-10 06:27:12'),
(163, 'PCV', 32, '296', '', 0, '', 1, '2012-11-10 12:37:53'),
(164, 'PCV', 32, '296', '', 0, '', 1, '2012-11-10 12:56:59'),
(165, 'BMN', 1, '296', '2', 0, 'WT', 1, '2012-11-12 05:17:59'),
(166, 'BMN', 1, '296', '1', 0, 'WT', 1, '2012-11-15 04:29:46'),
(167, 'PC', 81, '296', '', 0, '', 0, '2012-11-15 09:14:52'),
(168, 'PC', 81, '296', '', 0, '', 0, '2012-11-15 10:24:22'),
(169, 'PCV', 81, '296', '', 0, '', 1, '2012-11-15 12:24:16'),
(170, 'PC', 81, '296', '', 0, '', 0, '2012-11-15 13:15:14'),
(171, 'PCV', 32, '296', '', 0, '', 1, '2012-11-15 13:17:47'),
(172, 'TCHC', 1, '296', '2', 0, '', 1, '2012-11-17 04:42:35'),
(174, 'PC', 81, '501', '', 0, '', 0, '2012-11-17 06:10:06'),
(175, 'BMN', 81, '501', '5', 1, 'WT', 1, '2012-11-17 06:23:56'),
(176, 'SCHC', 7, 'Walgreen Co.', '', 0, '', 0, '2012-11-19 07:42:04'),
(177, 'BMN', 1, '296', '1', 0, 'WT', 1, '2012-11-20 05:22:45'),
(178, 'PC', 81, '296', '', 0, '', 0, '2012-11-20 09:28:06'),
(179, 'PC', 81, '296', '', 0, '', 0, '2012-11-20 09:30:53'),
(180, 'PC', 81, '296', '', 0, '', 0, '2012-11-20 09:33:30'),
(181, 'PC', 81, '296', '', 0, '', 0, '2012-11-20 09:34:15'),
(182, 'PC', 81, '296', '', 0, '', 0, '2012-11-21 06:21:05'),
(183, 'PC', 81, '296', '', 0, '', 0, '2012-11-21 06:21:53'),
(184, 'PC', 81, '296', '', 0, '', 0, '2012-11-21 06:22:51'),
(185, 'PC', 81, '296', '', 0, '', 0, '2012-11-21 06:23:54'),
(186, 'PC', 81, '296', '', 0, '', 0, '2012-11-21 06:25:11'),
(187, 'PC', 81, '296', '', 0, '', 0, '2012-11-21 06:25:47'),
(188, 'PC', 81, '296', '', 0, '', 0, '2012-11-21 07:00:11'),
(189, 'PC', 81, '296', '', 0, '', 0, '2012-11-21 07:01:33'),
(190, 'PC', 81, '296', '', 0, '', 0, '2012-11-21 07:02:59'),
(191, 'PCV', 53, '223', '', 0, '', 0, '2012-11-26 07:22:29'),
(194, 'SCHC', 1, '296', '', 0, '', 1, '2012-12-05 04:53:46'),
(195, 'BMN', 1, '296', '4', 0, 'WT', 1, '2012-12-06 04:32:10'),
(196, 'PC', 63, '296', '', 0, '', 0, '2012-12-08 05:50:06'),
(197, 'PC', 33, '296', '', 0, '', 0, '2012-12-10 12:33:20'),
(198, 'PC', 65, '296', '', 0, '', 0, '2012-12-11 10:12:57'),
(199, 'SCHC', 7, 'Walgreen Co.', '', 0, '', 0, '2012-12-12 11:50:18'),
(200, 'SCHC', 7, 'Walgreen Co.', '', 0, '', 0, '2012-12-14 12:42:49'),
(201, 'BMN', 7, 'Walgreen Co.', '1', 0, 'WT', 0, '2012-12-20 10:55:10'),
(202, 'PC', 34, '45', '', 0, '', 0, '2012-12-21 09:57:44'),
(203, 'PC', 34, '45', '', 0, '', 0, '2012-12-21 09:59:22'),
(204, 'TCHC', 23, 'Walgreen Co.', '1', 0, '', 0, '2013-01-12 08:51:37'),
(205, 'TCHC', 23, 'Walgreen Co.', '2', 0, '', 0, '2013-01-12 08:51:38'),
(206, 'TCHC', 65, '296', '1', 0, '', 0, '2013-01-29 07:27:33'),
(207, 'TCHC', 65, '296', '2', 0, '', 0, '2013-01-29 07:27:34'),
(208, 'SCHC', 23, 'Walgreen Co.', '', 0, '', 0, '2013-02-07 06:28:29'),
(209, 'TCHC', 33, '296', '1', 0, '', 0, '2013-02-13 10:45:44'),
(210, 'TCHC', 33, '296', '2', 0, '', 0, '2013-02-13 10:45:45'),
(211, 'SCHC', 81, '296', '', 0, '', 1, '2013-02-28 05:07:52'),
(212, 'SCHC', 1, '296', '', 0, '', 0, '2013-03-05 04:42:58'),
(213, 'PCV', 65, '296', '', 0, '', 0, '2013-03-11 08:06:45'),
(214, 'SCHC', 63, '296', '', 0, '', 0, '2013-04-02 04:33:26'),
(215, 'PC', 63, '245', '', 0, '', 0, '2013-04-30 11:30:00'),
(216, 'PC', 41, '504', '', 0, '', 0, '2013-05-01 09:09:17'),
(217, 'PC', 39, '45', '', 0, '', 0, '2013-05-01 11:46:07'),
(218, 'PC', 20, '45', '', 0, '', 0, '2013-05-01 12:32:44'),
(219, 'PC', 64, '504', '', 0, '', 0, '2013-05-02 05:52:12'),
(220, 'PC', 9, '504', '', 0, '', 0, '2013-05-02 13:11:46'),
(221, 'PC', 54, '76', '', 0, '', 0, '2013-05-04 07:08:27'),
(222, 'PC', 54, '504', '', 0, '', 0, '2013-05-04 07:16:15'),
(223, 'PC', 19, '45', '', 0, '', 0, '2013-05-04 12:45:49'),
(224, 'PC', 52, '23', '', 0, '', 0, '2013-05-06 08:47:37'),
(225, 'PC', 76, '19', '', 0, '', 0, '2013-05-06 09:39:10'),
(226, 'PC', 76, '356', '', 0, '', 0, '2013-05-07 06:18:00'),
(227, 'PC', 76, '21', '', 0, '', 0, '2013-05-07 06:18:47'),
(228, 'PC', 62, '23', '', 0, '', 0, '2013-05-08 09:09:57'),
(229, 'PC', 49, '23', '', 0, '', 0, '2013-05-10 07:40:13'),
(230, 'PC', 49, '27', '', 0, '', 0, '2013-05-10 13:36:34'),
(231, 'SCHC', 33, '296', '', 0, '', 0, '2013-05-13 07:51:10'),
(232, 'PC', 18, '59', '', 0, '', 0, '2013-05-14 08:53:28'),
(233, 'BMN', 1, '296', '2', 0, 'WT', 0, '2013-05-16 07:24:42'),
(234, 'PC', 65, '45', '', 0, '', 0, '2013-05-22 07:32:25'),
(236, 'SCHC', 1, '296', '', 0, '', 0, '2013-05-24 07:45:03'),
(237, 'TCHC', 81, '296', '21', 0, '', 0, '2013-05-25 05:12:27'),
(399, 'EPRFE', 1, '504', '55', 0, '', 1, '2013-06-20 05:58:39'),
(400, 'ER', 1, '504', '65', 0, '', 1, '2013-06-20 08:02:21'),
(401, 'ER', 1, '504', '13', 0, '', 1, '2013-06-20 08:09:26'),
(402, 'ER', 1, '504', '49', 0, '', 1, '2013-06-20 09:00:25'),
(403, 'ER', 1, '504', '38', 0, '', 1, '2013-06-21 04:36:49'),
(404, 'ER', 1, '504', '66', 0, '', 1, '2013-06-22 12:16:23'),
(405, 'ER', 1, '504', '61', 0, '', 1, '2013-06-22 12:16:28'),
(406, 'ER', 1, '504', '60', 0, '', 1, '2013-06-22 12:16:31'),
(407, 'ER', 1, '504', '59', 0, '', 1, '2013-06-22 12:16:34'),
(410, 'BMN', 81, '504', '1', 0, 'WT', 0, '2013-07-05 12:35:31'),
(411, 'ER', 1, '504', '76', 0, '', 1, '2013-07-13 09:09:50'),
(412, 'ER', 81, '504', '16', 0, '', 0, '2013-07-13 11:11:01'),
(413, 'ER', 1, '504', '77', 0, '', 1, '2013-07-17 05:53:24'),
(414, 'ER', 1, '504', '80', 0, '', 1, '2013-07-17 09:25:08'),
(415, 'ER', 1, '504', '82', 0, '', 1, '2013-07-17 11:43:10'),
(416, 'ER', 1, '504', '81', 0, '', 1, '2013-07-17 11:43:17'),
(417, 'TCHC', 65, '45', '21', 0, '', 0, '2013-07-25 10:39:29'),
(418, 'PCV', 41, '45', '', 0, '', 0, '2013-07-26 12:07:05'),
(419, 'ER', 1, '504', '83', 0, '', 1, '2013-07-30 13:15:35'),
(420, 'BMN', 33, '296', '1', 0, 'WT', 0, '2013-08-02 12:14:57'),
(421, 'BMN', 1, '504', '1', 0, 'WT', 0, '2013-08-02 12:17:06'),
(422, 'BMN', 1, '504', '1', 0, 'WT', 0, '2013-08-03 05:48:51'),
(423, 'BMN', 1, '504', '1', 0, 'WT', 0, '2013-08-05 04:36:28'),
(424, 'TCHC', 65, '45', '10', 0, '', 0, '2013-08-27 12:41:17'),
(425, 'SCHC', 81, '504', '', 0, '', 1, '2013-08-29 06:32:15'),
(426, 'TCHC', 81, '504', '10', 0, '', 1, '2013-08-29 06:32:21'),
(427, 'ER', 81, '504', '83', 0, '', 1, '2013-08-29 06:45:04'),
(428, 'SCHC', 41, '45', '', 0, '', 0, '2013-08-30 11:39:33'),
(429, 'SCHC', 1, '504', '', 0, '', 1, '2013-09-19 10:49:32'),
(430, 'ER', 1, '504', '102', 0, '', 1, '2013-11-16 13:53:08'),
(431, 'PC', 10, '504', '', 0, '', 0, '2013-12-06 05:09:55'),
(432, 'TCHC', 63, '296', '10', 0, '', 0, '2013-12-24 11:25:46'),
(433, 'TCHC', 63, '296', '21', 0, '', 0, '2013-12-24 11:25:47'),
(434, 'ER', 1, '504', '108', 0, '', 1, '2014-01-09 09:08:00'),
(435, 'ER', 1, '504', '104', 0, '', 1, '2014-01-09 09:08:43'),
(443, 'ER', 1, '504', '45', 0, '', 1, '2014-03-01 08:19:02'),
(444, 'ER', 1, '504', '116', 0, '', 1, '2014-03-01 08:21:14'),
(445, 'SCHC', 19, '45', '', 0, '', 0, '2014-03-13 05:10:15'),
(446, 'TCHC', 19, '45', '24', 0, '', 0, '2014-03-13 05:10:20'),
(447, 'TCHC', 19, '45', '25', 0, '', 0, '2014-03-13 05:10:21'),
(448, 'PCV', 19, '45', '', 0, '', 0, '2014-03-13 05:10:23'),
(449, 'TCHC', 7, 'Walgreen Co.', '21', 0, '', 0, '2014-03-21 05:26:45'),
(450, 'PCV', 39, '45', '', 0, '', 0, '2014-03-24 13:00:30'),
(452, 'ER', 1, '504', '', 0, '', 0, '2014-04-07 11:46:58'),
(453, 'ER', 1, '504', '4', 0, '', 0, '2014-04-07 13:28:59'),
(454, 'ER', 1, '504', '46', 0, '', 0, '2014-04-08 05:08:34'),
(455, 'ER', 1, '504', '18', 0, '', 0, '2014-04-14 04:24:02'),
(456, 'ER', 1, '504', '17', 0, '', 0, '2014-04-14 04:50:12'),
(457, 'ER', 1, '504', '99', 0, '', 0, '2014-04-14 05:05:17'),
(458, 'ER', 1, '504', '115', 0, '', 0, '2014-04-14 05:17:18'),
(459, 'PC', 48, '296', '', 0, '', 0, '2014-05-29 11:14:00'),
(460, 'ER', 1, '504', '126', 0, '', 0, '2014-07-02 06:41:47'),
(461, 'PC', 21, '504', '', 0, '', 0, '2014-07-15 06:58:26'),
(462, 'PC', 37, '504', '', 0, '', 0, '2014-07-15 08:02:08'),
(463, 'PCV', 20, '45', '', 0, '', 0, '2014-07-19 13:20:35'),
(464, 'PCV', 54, '504', '', 0, '', 0, '2014-07-19 13:20:46'),
(465, 'PCV', 64, '504', '', 0, '', 0, '2014-07-19 13:20:47'),
(466, 'PCV', 15, '504', '', 0, '', 0, '2014-07-19 13:20:56'),
(467, 'BMN', 1, '504', '2', 0, 'WT', 0, '2014-07-23 06:42:04'),
(469, 'BMN', 1, '504', '10', 0, 'WT', 0, '2014-07-24 04:18:33'),
(470, 'BMN', 7, 'Walgreen Co.', '2', 0, 'WT', 0, '2014-07-24 04:34:57'),
(471, 'ER', 1, '504', '131', 0, '', 0, '2014-08-04 13:09:24'),
(472, 'ER', 1, '504', '57', 0, '', 0, '2014-08-05 06:22:35'),
(473, 'ER', 1, '504', '94', 0, '', 0, '2014-08-05 08:38:06'),
(474, 'ER', 1, '504', '44', 0, '', 0, '2014-08-05 10:28:35'),
(475, 'EPRFE', 1, '504', '115', 0, '', 0, '2014-08-06 11:16:35'),
(476, 'EPRFE', 1, '504', '116', 0, '', 0, '2014-08-06 12:10:04'),
(477, 'EPRFE', 1, '504', '77', 0, '', 0, '2014-08-06 12:23:55'),
(478, 'EPRFE', 1, '504', '83', 0, '', 0, '2014-08-06 12:34:02'),
(479, 'ER', 1, '504', '110', 0, '', 0, '2014-08-06 13:29:07'),
(480, 'ER', 1, '504', '139', 0, '', 0, '2014-08-07 07:51:28'),
(481, 'BMN', 1, '504', '9', 0, 'WT', 0, '2014-09-18 10:30:20'),
(482, 'BMN', 7, 'Walgreen Co.', '9', 0, 'WT', 0, '2014-09-18 11:08:25'),
(483, 'PC', 40, '504', '', 0, '', 0, '2015-01-24 05:06:42'),
(484, 'BMN', 1, '504', '9', 0, 'WT', 0, '2015-07-02 11:16:55'),
(485, 'ER', 95, '', '76', 0, '', 0, '2015-09-24 11:00:05'),
(486, 'ER', 1, '504', '162', 0, '', 0, '2016-03-04 05:16:13'),
(487, 'ER', 41, '45', '160', 0, '', 0, '2016-03-04 06:19:45'),
(488, 'EPRFE', 1, '504', '174', 0, '', 0, '2016-03-04 06:56:03'),
(489, 'ER', 1, '504', '161', 0, '', 0, '2016-03-04 07:42:50'),
(490, 'ER', 1, '504', '173', 0, '', 0, '2016-03-04 10:36:08');

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

--
-- Table structure for table `th_employer_reg_enquiry`
--

CREATE TABLE IF NOT EXISTS `th_employer_reg_enquiry` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `enquiry_cname` varchar(100) NOT NULL,
  `enquiry_name` varchar(50) NOT NULL,
  `enquiry_email` varchar(50) NOT NULL,
  `enquiry_contact` varchar(30) NOT NULL,
  `enqiry_details` text NOT NULL,
  `enquiry_ip` varchar(30) NOT NULL,
  `enquiry_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `th_employer_reg_enquiry`
--

INSERT INTO `th_employer_reg_enquiry` (`id`, `enquiry_cname`, `enquiry_name`, `enquiry_email`, `enquiry_contact`, `enqiry_details`, `enquiry_ip`, `enquiry_date`) VALUES
(1, 'United States Steel Corp.', 'sdfsdf', 'sdfsdf', 'sdfsdf', 'sdfsdf', '127.0.0.1', '2014-08-11 06:24:01');

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

--
-- Table structure for table `th_employer_subscription`
--

CREATE TABLE IF NOT EXISTS `th_employer_subscription` (
  `sub_id` int(11) NOT NULL AUTO_INCREMENT,
  `emp_id` int(11) NOT NULL,
  `plan_id` int(11) NOT NULL,
  `title` varchar(100) DEFAULT NULL,
  `allowed_clients` int(11) NOT NULL,
  `storage_space` int(11) NOT NULL COMMENT 'in MB',
  `price` float NOT NULL COMMENT 'in $',
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `purchase_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `payment_status` varchar(20) DEFAULT 'unpaid',
  `sub_duration` varchar(100) DEFAULT NULL,
  `plan_status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0=Inactive Plan, 1=Active Plan',
  `action` varchar(20) DEFAULT NULL COMMENT 'S=Starter, R=Renew, U=upgrade, D=Downgrade',
  PRIMARY KEY (`sub_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=36 ;

--
-- Dumping data for table `th_employer_subscription`
--

INSERT INTO `th_employer_subscription` (`sub_id`, `emp_id`, `plan_id`, `title`, `allowed_clients`, `storage_space`, `price`, `start_date`, `end_date`, `purchase_date`, `payment_status`, `sub_duration`, `plan_status`, `action`) VALUES
(10, 41, 3, 'Standard', 10, 400, 50, '2013-11-09', '2013-12-09', '2013-11-09 05:07:22', 'paid', '1', 0, 'U'),
(12, 41, 9, 'Test', 15, 20, 10, '2013-11-12', '2013-12-12', '2013-11-12 13:26:59', 'paid', '1', 0, 'U'),
(14, 60, 1, 'Beginner', 2, 100, 20, '2013-11-14', '2013-12-14', '2013-11-14 12:45:01', 'paid', '1', 1, 'S'),
(15, 60, 2, 'Basic', 5, 250, 40, '2013-11-14', '2013-12-14', '2013-11-14 13:09:03', 'unpaid', '1', 0, 'U'),
(16, 41, 3, 'Standard', 10, 400, 50, '2013-11-15', '2014-12-15', '2013-11-15 11:20:01', 'paid', '1', 1, 'D'),
(17, 92, 1, 'Beginner', 2, 100, 20, '2013-12-06', '2014-01-06', '2013-12-06 10:40:07', 'paid', '1', 1, 'S'),
(18, 72, 1, 'Beginner', 2, 100, 20, '2013-12-10', '2014-01-10', '2013-12-10 05:56:35', 'paid', '1', 1, 'S'),
(19, 72, 1, 'Beginner', 2, 100, 20, '2013-12-10', '2014-01-10', '2013-12-10 05:57:46', 'unpaid', '1', 0, 'R'),
(20, 41, 3, 'Standard', 10, 400, 50, '2013-12-21', '2014-01-21', '2013-12-21 10:59:54', 'unpaid', '1', 0, 'R'),
(21, 94, 1, 'Beginner', 2, 100, 20, '2013-12-26', '2014-01-26', '2013-12-26 11:09:16', 'paid', '1', 1, 'S'),
(22, 0, 1, 'Beginner', 2, 100, 20, '2013-12-28', '2014-01-28', '2013-12-28 14:40:05', 'paid', '1', 1, 'S'),
(23, 93, 1, 'Beginner', 2, 100, 20, '2013-12-30', '2014-01-28', '2013-12-30 14:04:58', 'paid', '1', 1, 'S'),
(24, 1, 1, 'Beginner', 2, 100, 20, '2014-01-08', '2014-02-08', '2014-01-08 04:31:01', 'paid', '1', 1, 'S'),
(25, 32, 1, 'Beginner', 2, 100, 20, '2014-02-11', '2014-03-11', '2014-02-11 06:36:52', 'paid', '1', 1, 'S'),
(26, 71, 1, 'Beginner', 2, 100, 20, '2014-05-02', '2014-06-02', '2014-05-02 09:09:23', 'paid', '1', 1, 'S'),
(27, 96, 1, 'Beginner', 2, 100, 20, '2014-05-24', '2014-06-24', '2014-05-24 12:45:37', 'paid', '1', 1, 'S'),
(28, 97, 1, 'Beginner', 2, 100, 20, '2014-05-26', '2014-06-26', '2014-05-26 04:38:52', 'paid', '1', 1, 'S'),
(29, 98, 1, 'Beginner', 2, 100, 20, '2014-05-28', '2014-06-28', '2014-05-28 06:42:43', 'paid', '1', 1, 'S'),
(30, 32, 5, 'Enterprise', 50, 1000, 120, '2014-06-01', '2014-06-10', '2014-06-05 04:52:21', 'paid', '1', 1, 'U'),
(31, 32, 3, 'Standard', 30, 400, 50, '2014-06-07', '2014-07-07', '2014-06-07 04:45:25', 'unpaid', '1', 0, 'U'),
(32, 102, 5, 'Enterprise', 50, 1000, 120, '2014-07-04', '2014-08-04', '2014-07-04 04:34:54', 'paid', '1', 1, 'S'),
(33, 103, 5, 'Enterprise', 50, 1000, 120, '2014-08-11', '2014-09-11', '2014-08-11 13:15:40', 'paid', '1', 1, 'S'),
(34, 104, 5, 'Enterprise', 50, 1000, 120, '2014-08-11', '2014-09-11', '2014-08-11 13:15:40', 'paid', '1', 1, 'S'),
(35, 109, 5, 'Enterprise', 50, 1000, 120, '2014-08-14', '2014-09-14', '2014-08-14 06:14:01', 'paid', '1', 1, 'S');

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

--
-- Table structure for table `th_employer_subs_data`
--

CREATE TABLE IF NOT EXISTS `th_employer_subs_data` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id_fkx` int(11) DEFAULT NULL,
  `total_connects` int(11) NOT NULL,
  `used_connects` int(11) NOT NULL,
  `total_memory` double NOT NULL,
  `used_memory` double NOT NULL,
  `paypal_id` varchar(100) NOT NULL,
  `paypal_status` tinyint(2) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `th_employer_subs_data`
--

INSERT INTO `th_employer_subs_data` (`id`, `user_id_fkx`, `total_connects`, `used_connects`, `total_memory`, `used_memory`, `paypal_id`, `paypal_status`) VALUES
(1, 32, 25, 22, 100000, 477, 'sheetalkumar105@gmail.com', 1),
(2, 103, 50, 0, 1024000, 0, '', 0),
(3, 104, 50, 0, 1024000, 0, '', 0),
(4, 109, 50, 0, 1024000, 0, '', 0);

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

--
-- Table structure for table `th_employer_task`
--

CREATE TABLE IF NOT EXISTS `th_employer_task` (
  `task_id` int(11) NOT NULL AUTO_INCREMENT,
  `task_met_id` int(11) NOT NULL,
  `task_title` varchar(200) NOT NULL,
  `task_desc` text NOT NULL,
  `task_target` text NOT NULL,
  `task_unit` varchar(50) NOT NULL,
  `sch_type` varchar(4) NOT NULL DEFAULT 'F' COMMENT 'F-> Frequency, C-> Custom',
  `task_frequency` varchar(50) NOT NULL,
  `task_start_date` date NOT NULL,
  `task_complete_date` date NOT NULL,
  `task_complete_time` time NOT NULL,
  `task_rem_status` varchar(2) NOT NULL,
  `task_rem_time` time NOT NULL,
  `task_rem_before` varchar(3) NOT NULL,
  `task_share` text NOT NULL,
  `task_assigned` text NOT NULL,
  `task_status` varchar(10) NOT NULL,
  `task_astatus` varchar(10) NOT NULL,
  `task_pstatus` varchar(10) NOT NULL,
  `task_pdate` date NOT NULL,
  `task_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`task_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=25 ;

--
-- Dumping data for table `th_employer_task`
--

INSERT INTO `th_employer_task` (`task_id`, `task_met_id`, `task_title`, `task_desc`, `task_target`, `task_unit`, `sch_type`, `task_frequency`, `task_start_date`, `task_complete_date`, `task_complete_time`, `task_rem_status`, `task_rem_time`, `task_rem_before`, `task_share`, `task_assigned`, `task_status`, `task_astatus`, `task_pstatus`, `task_pdate`, `task_created`) VALUES
(1, 3, 'Task 1', '225abebc09cc9b7b5c68cadf02a88e69', '23', 'Injection', 'F', 'weekly', '0000-00-00', '2014-06-27', '07:45:00', '1', '00:00:00', '1', '', '', 'Active', 'Yes', 'Yes', '2014-06-28', '2014-06-03 13:24:08'),
(2, 3, 'Distribute Cough Syrup', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', '10', 'Syrup', 'F', 'bidaily', '0000-00-00', '2014-08-21', '10:00:00', '1', '00:30:00', '2', '', '', 'Active', 'Yes', 'No', '2014-06-28', '2014-06-07 10:38:37'),
(3, 3, 'Health Insurance of all employees', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', '50', 'Employee', 'F', 'weekly', '0000-00-00', '2014-08-31', '16:30:00', '1', '00:00:00', '4', '', '', 'Active', 'Yes', 'Yes', '2014-06-28', '2014-06-07 10:47:27'),
(4, 7, 'Meeting with 3 Diabetes Expert', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed ornare nulla.', '3', 'Diabetes Expert', 'F', 'weekly', '0000-00-00', '2014-11-20', '12:30:00', '', '00:00:00', '1', '1,2', '', 'Active', 'Yes', 'No', '2014-06-30', '2014-06-26 06:57:27'),
(5, 8, 'Run 5 miles daily', 'Setup Jogging Events For Employees', '5', 'miles', 'F', 'daily', '1970-01-01', '2014-08-22', '16:00:00', '', '00:00:00', '1', '1,2', '1,2', 'Active', 'Yes', 'Yes', '2014-07-22', '2014-07-22 11:04:51'),
(6, 9, 'Test Coaching', 'test', '10', 'Syrup', 'F', 'daily', '2014-08-14', '2014-08-27', '10:40:00', '1', '14:00:00', '1', '', '1,2', 'Active', 'No', 'Yes', '2014-08-14', '2014-07-25 05:11:00'),
(9, 3, 'Task2', 'Task2', '10', 'Test', 'F', 'weekdays', '0000-00-00', '2014-07-16', '17:52:00', '', '00:00:00', '1', '', '', 'Active', 'No', 'No', '0000-00-00', '2014-07-26 12:22:56'),
(10, 9, 'Demo Task', 'Demo Task', '20', 'Unit', 'F', 'daily', '0000-00-00', '2014-07-30', '18:49:00', '', '00:00:00', '1', '', '', 'Active', 'No', 'No', '0000-00-00', '2014-07-26 13:20:03'),
(11, 10, 'Task1', 'Test Task1', '', '', 'F', '', '2014-08-15', '2014-08-20', '00:00:00', '', '00:00:00', '', '1,2', '2', 'Active', 'No', 'Yes', '2014-08-15', '2014-08-14 08:59:54'),
(12, 6, 'new Lerem Ipsum Doller Sit Amit.', 'Lerem Ipsum Doller Sit Amit.', '', '', 'F', '', '2014-08-18', '2014-08-28', '05:30:00', '', '00:00:00', '', '', '2', 'Active', 'No', 'Yes', '2014-08-18', '2014-08-18 07:19:04'),
(13, 11, 'Test Task1', 'Task1 Task1', '', '', 'F', '', '2014-08-18', '2014-08-22', '00:00:00', '', '00:00:00', '', '1,2', '1,2', 'Active', 'No', 'Yes', '2014-08-18', '2014-08-18 07:50:46'),
(14, 13, 'BP Test Device Distribution', 'The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham', '', '', 'F', '', '2014-08-19', '2014-08-22', '00:00:00', '', '00:00:00', '', '1,2', '2', 'Active', 'No', 'Yes', '2014-08-19', '2014-08-19 05:07:52'),
(15, 19, 'Fast in ever y Thuesday', '?? ???? ??? ?? ????? ?????? ?? ?????? ??????? ??????? ?? ????? ????? ??? ???? ?? ?? ?? ???? ?? ??????? ???? ??? ??. Lorem Ipsum ?? ?? ?? ?? ?????? ????? ????? ????? ?????? ???? ??, ???? ???????? ???? ?? ?? ?? ??? ''???? ????, ??? ?? ??? ??'' ??????? ?? ??? ???? ???? ?? ?? ????? ???????? ??????? ?? ??? ?? ????. ?? ??? ????? ?? ??? ?? ???? ???? ?? ??? ?????? ?? ??? ??? ?? ????? ????? ?? ???? ??? ?? ??? ??? ??? ??? ?????? ????????? ?? ????? Lorem Ipsum ?? ??????? ???? ????????? ?? ????? ??, ????? ???? "Lorem Ipsum", ???? ?? ?? ??? ???? ???. ??? ?? ?????? ???, Lorem Ipsum ??? ?? ??? ??????? ?? ???????? ????. ???????? (????, ?????? ?? ??? ??? ???????) - ??? ?? ???? ?????????, ??? ??? ???? ?? ??? ??? ?? ??.', '', '', 'F', '', '2014-08-19', '2014-08-22', '00:00:00', '', '00:00:00', '', '1,2', '1,2', 'Active', 'No', 'Yes', '2014-08-19', '2014-08-19 08:55:13'),
(18, 24, 'Meeting with 3 Diabetes Expert', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed ornare nulla.', '', '', 'F', '', '2014-08-22', '2014-11-29', '00:00:00', '', '00:00:00', '', '', '1', 'Active', 'No', 'Yes', '2014-08-22', '2014-08-22 12:18:19'),
(19, 25, 'Run 5 miles daily', 'Setup Jogging Events For Employees', '', '', 'F', '', '0000-00-00', '0000-00-00', '00:00:00', '', '00:00:00', '', '', '', 'Active', 'No', 'No', '0000-00-00', '2014-08-22 12:18:19'),
(20, 26, 'Meeting with 3 Diabetes Expert', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed ornare nulla.', '', '', 'F', '', '0000-00-00', '0000-00-00', '00:00:00', '', '00:00:00', '', '', '', 'Active', 'No', 'No', '0000-00-00', '2014-08-23 05:50:23'),
(21, 27, 'Run 5 miles daily', 'Setup Jogging Events For Employees', '', '', 'F', '', '0000-00-00', '0000-00-00', '00:00:00', '', '00:00:00', '', '', '', 'Active', 'No', 'No', '0000-00-00', '2014-08-23 05:50:23'),
(22, 30, 'Health Task1', 'Task1', '', '', 'C', '', '2015-04-06', '2015-04-25', '00:00:00', '', '00:00:00', '', '1,2', '1,2', 'Active', 'No', 'Yes', '2015-04-06', '2015-04-08 11:10:12'),
(23, 32, 'Daily Running', 'Running', '', '', 'C', '', '2015-04-11', '2015-05-30', '00:00:00', '', '00:00:00', '', '1,2', '1,2', 'Active', 'No', 'Yes', '2015-04-11', '2015-04-06 07:21:35'),
(24, 34, 'Reduce Weight Task1', 'Reduce Weight', '', '', 'C', '', '2015-04-10', '2015-04-30', '00:00:00', '', '00:00:00', '', '1,2', '1,2', 'Active', 'No', 'Yes', '2015-04-10', '2015-04-06 12:38:00');

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

--
-- Table structure for table `th_employer_task_approve`
--

CREATE TABLE IF NOT EXISTS `th_employer_task_approve` (
  `ap_id` int(11) NOT NULL AUTO_INCREMENT,
  `ap_user_id` int(11) NOT NULL,
  `ap_user_type` varchar(10) NOT NULL COMMENT 'WLT or WPM',
  `ap_task_id` int(11) NOT NULL,
  `ap_status` varchar(4) NOT NULL DEFAULT 'Yes',
  `ap_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ap_id`),
  KEY `ap_task_id` (`ap_task_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=20 ;

--
-- Dumping data for table `th_employer_task_approve`
--

INSERT INTO `th_employer_task_approve` (`ap_id`, `ap_user_id`, `ap_user_type`, `ap_task_id`, `ap_status`, `ap_created`) VALUES
(1, 2, 'WLT', 3, 'No', '2014-06-07 13:18:50'),
(2, 2, 'WLT', 2, 'No', '2014-06-09 11:54:42'),
(3, 1, 'WLT', 2, 'No', '2014-06-24 12:57:04'),
(5, 1, 'WLT', 4, 'No', '2014-06-28 07:34:54'),
(15, 98, 'WPM', 4, 'No', '2014-06-28 13:34:15'),
(16, 98, 'WPM', 2, 'Yes', '2014-06-30 06:05:07'),
(17, 1, 'WLT', 11, 'No', '2014-08-16 11:24:34'),
(18, 2, 'WLT', 14, 'Yes', '2014-08-19 07:02:44'),
(19, 1, 'WLT', 15, 'Yes', '2014-08-19 08:58:46');

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

--
-- Table structure for table `th_employer_task_data`
--

CREATE TABLE IF NOT EXISTS `th_employer_task_data` (
  `td_id` int(11) NOT NULL AUTO_INCREMENT,
  `td_task_id` int(11) NOT NULL,
  `td_met_id` int(11) NOT NULL,
  `td_freq_date` date NOT NULL,
  `td_completed` varchar(4) NOT NULL COMMENT 'Yes or No',
  `td_completed_val` double NOT NULL DEFAULT '0',
  `td_user_type` varchar(10) NOT NULL COMMENT 'WPM or WLT',
  `td_user_id` int(11) NOT NULL,
  `td_rdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`td_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=35 ;

--
-- Dumping data for table `th_employer_task_data`
--

INSERT INTO `th_employer_task_data` (`td_id`, `td_task_id`, `td_met_id`, `td_freq_date`, `td_completed`, `td_completed_val`, `td_user_type`, `td_user_id`, `td_rdate`) VALUES
(1, 1, 3, '2014-06-06', 'Yes', 3, 'WLT', 1, '2014-06-06 10:25:23'),
(3, 1, 3, '2014-06-07', 'Yes', 2, 'WLT', 1, '2014-06-07 10:28:32'),
(12, 4, 7, '2014-06-30', 'Yes', 3, 'WPM', 98, '2014-06-30 12:02:22'),
(13, 3, 3, '2014-06-28', 'Yes', 5, 'WLT', 1, '2014-06-30 12:47:11'),
(14, 0, 0, '2014-06-28', 'Yes', 11, 'WLT', 1, '2014-06-30 13:33:49'),
(15, 4, 7, '2014-07-01', 'Yes', 10, 'WPM', 98, '2014-07-01 04:59:02'),
(16, 4, 7, '2014-07-07', 'No', 0, 'WPM', 98, '2014-07-15 06:25:42'),
(17, 5, 8, '2014-07-22', 'No', 0, 'WPM', 98, '2014-07-25 11:35:40'),
(18, 5, 8, '0000-00-00', '', 0, 'WPM', 98, '2014-08-12 11:48:08'),
(19, 5, 8, '0000-00-00', '', 0, 'WPM', 98, '2014-08-12 11:49:56'),
(20, 5, 8, '0000-00-00', '', 0, 'WPM', 98, '2014-08-12 11:50:07'),
(21, 5, 8, '2014-07-24', 'No', 0, 'WPM', 98, '2014-08-12 11:50:09'),
(22, 5, 8, '2014-08-11', 'Yes', 0, 'WPM', 98, '2014-08-12 11:56:58'),
(23, 5, 8, '2014-07-26', 'No', 0, 'WPM', 98, '2014-08-12 11:57:12'),
(24, 5, 8, '2014-08-06', 'Yes', 0, 'WPM', 98, '2014-08-12 12:00:02'),
(25, 5, 8, '2014-08-05', 'No', 0, 'WPM', 98, '2014-08-14 07:49:06'),
(26, 5, 8, '2014-07-25', 'No', 0, 'WLT', 1, '2014-08-14 07:51:21'),
(27, 5, 8, '2014-07-23', 'No', 0, 'WPM', 98, '2014-08-14 07:51:29'),
(28, 6, 9, '2014-08-14', 'Yes', 0, 'WPM', 98, '2014-08-14 13:43:07'),
(29, 14, 13, '2014-08-19', 'No', 0, 'WLT', 2, '2014-08-19 07:09:27'),
(30, 15, 19, '2014-08-19', 'Yes', 0, 'WLT', 2, '2014-08-19 10:12:01'),
(31, 18, 24, '2014-08-23', 'No', 0, 'WLT', 1, '2014-08-25 04:51:58'),
(32, 18, 24, '2014-08-24', 'Yes', 0, 'WPM', 98, '2014-08-25 04:52:37'),
(33, 22, 30, '2015-04-07', 'Yes', 0, 'WLT', 1, '2015-04-08 07:10:14'),
(34, 24, 34, '2015-04-11', 'Yes', 0, 'WLT', 1, '2015-04-12 05:16:35');

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

--
-- Table structure for table `th_employer_task_sugg`
--

CREATE TABLE IF NOT EXISTS `th_employer_task_sugg` (
  `ts_id` int(11) NOT NULL AUTO_INCREMENT,
  `ts_user_id` varchar(50) NOT NULL,
  `ts_user_type` varchar(20) NOT NULL,
  `ts_task_id` int(11) NOT NULL,
  `ts_comment` text NOT NULL,
  `ts_type` varchar(10) NOT NULL DEFAULT 'Comment',
  `ts_hidden` tinyint(4) NOT NULL DEFAULT '0',
  `ts_new` tinyint(4) NOT NULL DEFAULT '1',
  `ts_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ts_id`),
  KEY `bc_post_id` (`ts_task_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=92 ;

--
-- Dumping data for table `th_employer_task_sugg`
--

INSERT INTO `th_employer_task_sugg` (`ts_id`, `ts_user_id`, `ts_user_type`, `ts_task_id`, `ts_comment`, `ts_type`, `ts_hidden`, `ts_new`, `ts_created`) VALUES
(3, '98', 'WPM', 1, 'uiuiui', 'Sugg', 0, 1, '2014-06-06 04:40:31'),
(4, '98', 'WPM', 3, 'hy', 'Reply', 0, 1, '2014-06-06 06:14:15'),
(7, '98', 'WPM', 6, 'sdfsdf', 'Reply', 0, 1, '2014-06-06 09:02:51'),
(8, '98', 'WPM', 1, 'dasfasf\r\n', 'Sugg', 0, 1, '2014-06-06 10:24:48'),
(9, '98', 'WPM', 1, 'dsaf', 'Sugg', 0, 1, '2014-06-06 10:24:52'),
(10, '1', 'WLT', 3, 'hii\r\n', 'Sugg', 0, 1, '2014-06-09 09:02:28'),
(11, '1', 'WLT', 3, 'ok\r\n', 'Sugg', 0, 1, '2014-06-09 10:54:48'),
(12, '2', 'WLT', 3, 'Should be followed for lower grade also', 'Sugg', 0, 1, '2014-06-09 11:27:24'),
(13, '1', 'WLT', 2, 'ok\r\n', 'Sugg', 0, 1, '2014-06-09 11:33:23'),
(14, '2', 'WLT', 2, 'ok for me', 'Sugg', 0, 1, '2014-06-09 11:48:13'),
(15, '1', 'WLT', 10, 'Yes Nelson', 'Reply', 0, 1, '2014-06-27 07:25:47'),
(16, '1', 'WLT', 12, 'Siman Kaise ho', 'Reply', 0, 1, '2014-06-27 07:25:59'),
(17, '2', 'WLT', 0, 'ok', 'Sugg', 0, 1, '2014-06-27 08:18:01'),
(18, '2', 'WLT', 0, 'yes', 'Sugg', 0, 1, '2014-06-27 08:28:08'),
(19, '2', 'WLT', 0, 'hggfh', 'Sugg', 0, 1, '2014-06-27 08:28:38'),
(20, '2', 'WLT', 0, 'dfg', 'Sugg', 0, 1, '2014-06-27 08:30:53'),
(21, '2', 'WLT', 0, 'test', 'Sugg', 0, 1, '2014-06-27 10:04:37'),
(23, '1', 'WLT', 22, 'ok', 'Reply', 0, 1, '2014-06-27 10:35:55'),
(24, '2', 'WLT', 2, 'kkk', 'Sugg', 0, 1, '2014-06-27 12:19:11'),
(25, '2', 'WLT', 2, 'tyy', 'Sugg', 0, 1, '2014-06-27 12:21:50'),
(26, '2', 'WLT', 2, 'fff', 'Sugg', 0, 1, '2014-06-27 12:24:26'),
(27, '2', 'WLT', 2, 'sss', 'Sugg', 0, 1, '2014-06-27 12:29:03'),
(28, '2', 'WLT', 2, 'test', 'Sugg', 0, 1, '2014-06-27 12:41:07'),
(29, '2', 'WLT', 2, 'uuu', 'Sugg', 0, 1, '2014-06-27 12:42:14'),
(30, '1', 'WLT', 26, 'hello ye kya hai', 'Reply', 0, 1, '2014-06-27 12:43:25'),
(31, '2', 'WLT', 22, 'sahi hai', 'Reply', 0, 1, '2014-06-27 12:52:27'),
(32, '1', 'WLT', 4, 'Nice Work', 'Sugg', 0, 1, '2014-06-27 13:35:07'),
(33, '1', 'WLT', 4, '7i', 'Sugg', 0, 1, '2014-06-27 13:36:38'),
(34, '1', 'WLT', 4, 'asdasd', 'Sugg', 0, 1, '2014-06-27 13:38:59'),
(35, '1', 'WLT', 4, 'sadas', 'Sugg', 0, 1, '2014-06-27 13:39:08'),
(36, '2', 'WLT', 1, 'This is nice job', 'Sugg', 0, 1, '2014-06-28 07:06:02'),
(37, '1', 'WLT', 1, 'okkkk', 'Sugg', 0, 1, '2014-06-28 07:36:37'),
(39, '98', 'WPM', 33, 'yes do', 'Reply', 0, 1, '2014-06-28 11:00:34'),
(40, '98', 'WPM', 1, 'Hello all', 'Sugg', 0, 1, '2014-06-28 11:06:42'),
(41, '98', 'WPM', 2, 'ygg', 'Sugg', 0, 1, '2014-06-28 11:07:45'),
(42, '98', 'WPM', 1, 'fsd', 'Sugg', 0, 1, '2014-06-28 11:11:11'),
(43, '98', 'WPM', 2, 'gfg', 'Sugg', 0, 1, '2014-06-28 11:15:02'),
(44, '98', 'WPM', 1, 'dvdfs', 'Sugg', 0, 1, '2014-06-28 11:15:22'),
(45, '98', 'WPM', 2, 'asd', 'Sugg', 0, 1, '2014-06-28 11:16:21'),
(46, '98', 'WPM', 4, 'sdf', 'Sugg', 0, 1, '2014-06-28 11:18:35'),
(47, '98', 'WPM', 4, 'gfh', 'Sugg', 0, 1, '2014-06-28 11:18:59'),
(48, '1', 'WLT', 2, 'sad', 'Sugg', 0, 1, '2014-06-28 11:23:58'),
(49, '98', 'WPM', 4, 'mj', 'Sugg', 0, 1, '2014-06-28 11:24:09'),
(50, '100', 'WPM', 4, 'Nice', 'Sugg', 0, 1, '2014-06-30 04:49:50'),
(51, '1', 'WLT', 41, 'done', 'Reply', 0, 1, '2014-06-30 04:54:21'),
(54, '98', 'WPM', 47, 'asd', 'Reply', 0, 1, '2014-06-30 05:47:36'),
(55, '98', 'WPM', 50, 'Thanks for suggestion', 'Reply', 0, 1, '2014-06-30 05:53:35'),
(56, '98', 'WPM', 26, 'Test', 'Reply', 0, 1, '2014-07-22 12:54:57'),
(57, '2', 'WLT', 6, 'Nice Task', 'Sugg', 0, 1, '2014-07-25 05:15:17'),
(58, '98', 'WPM', 6, 'thanks', 'Sugg', 0, 1, '2014-07-25 05:16:07'),
(59, '98', 'WPM', 57, 'thanks', 'Reply', 0, 1, '2014-07-25 05:17:00'),
(60, '2', 'WLT', 57, 'ok', 'Reply', 0, 1, '2014-07-25 05:33:08'),
(61, '1', 'WLT', 6, 'yeh', 'Sugg', 0, 1, '2014-07-25 05:36:28'),
(62, '98', 'WPM', 61, 'goood', 'Reply', 0, 1, '2014-07-25 05:36:48'),
(63, '98', 'WPM', 2, 'sdafasdf', 'Reply', 0, 1, '2014-08-13 13:12:16'),
(64, '98', 'WPM', 2, 'tesy', 'Reply', 0, 1, '2014-08-13 13:27:52'),
(65, '99', 'WPM', 2, 'oks', 'Reply', 0, 1, '2014-08-14 04:52:32'),
(66, '98', 'WPM', 61, 'ok', 'Reply', 0, 1, '2014-08-14 05:37:45'),
(67, '99', 'WPM', 6, 'yes it is better', 'Sugg', 0, 1, '2014-08-14 05:38:37'),
(68, '98', 'WPM', 67, 'saying true', 'Reply', 0, 1, '2014-08-14 05:39:02'),
(69, '99', 'WPM', 67, 'than u', 'Reply', 0, 1, '2014-08-14 05:39:19'),
(70, '99', 'WPM', 67, 'good', 'Reply', 0, 1, '2014-08-14 05:39:55'),
(71, '99', 'WPM', 67, 'liker it', 'Reply', 0, 1, '2014-08-14 05:41:30'),
(72, '99', 'WPM', 67, 'uyuy', 'Reply', 0, 1, '2014-08-14 05:42:03'),
(73, '99', 'WPM', 67, 'uiui', 'Reply', 0, 1, '2014-08-14 05:42:23'),
(74, '99', 'WPM', 67, 'off', 'Reply', 0, 1, '2014-08-14 05:55:25'),
(75, '99', 'WPM', 6, 'test', 'Sugg', 0, 1, '2014-08-14 05:55:40'),
(76, '1', 'WLT', 11, 'test', 'Sugg', 0, 1, '2014-08-18 07:33:48'),
(77, '98', 'WPM', 76, 'tt', 'Reply', 0, 1, '2014-08-18 07:35:24'),
(78, '1', 'WLT', 76, 'sdf', 'Reply', 0, 1, '2014-08-18 08:15:49'),
(79, '1', 'WLT', 11, 'sdfasf', 'Sugg', 0, 1, '2014-08-18 08:15:56'),
(80, '1', 'WLT', 13, 'Test Suggestion', 'Sugg', 0, 1, '2014-08-18 08:26:41'),
(81, '1', 'WLT', 80, 'Reply Test Suggestion', 'Reply', 0, 1, '2014-08-18 08:27:07'),
(82, '98', 'WPM', 14, 'Good Work', 'Sugg', 0, 1, '2014-08-19 05:42:55'),
(83, '1', 'WLT', 82, 'yes', 'Reply', 0, 1, '2014-08-19 05:43:13'),
(84, '98', 'WPM', 82, 'fine', 'Reply', 0, 1, '2014-08-19 05:43:48'),
(85, '2', 'WLT', 14, 'Good for health', 'Sugg', 0, 1, '2014-08-19 06:56:02'),
(86, '1', 'WLT', 14, 'thank', 'Sugg', 0, 1, '2014-08-19 06:56:17'),
(87, '1', 'WLT', 85, 'yes', 'Reply', 0, 1, '2014-08-19 07:02:15'),
(88, '2', 'WLT', 85, 'thanks', 'Reply', 0, 1, '2014-08-19 07:02:41'),
(89, '1', 'WLT', 15, 'Good Work', 'Sugg', 0, 1, '2014-08-19 09:00:46'),
(90, '98', 'WPM', 89, 'the', 'Reply', 0, 1, '2014-08-19 09:02:30'),
(91, '1', 'WLT', 15, 'hii', 'Sugg', 0, 1, '2014-08-19 09:03:24');

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

--
-- Table structure for table `th_employer_verification_rqst`
--

CREATE TABLE IF NOT EXISTS `th_employer_verification_rqst` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `rgs_id` int(10) unsigned NOT NULL,
  `comp_id` int(11) NOT NULL,
  `recorded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `rgs_id` (`rgs_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=160 ;

--
-- Dumping data for table `th_employer_verification_rqst`
--

INSERT INTO `th_employer_verification_rqst` (`id`, `rgs_id`, `comp_id`, `recorded`) VALUES
(1, 81, 296, '2012-10-31 12:20:01'),
(2, 81, 296, '2012-10-31 13:25:05'),
(3, 81, 296, '2012-11-01 09:20:37'),
(4, 81, 296, '2012-11-01 12:17:15'),
(5, 1, 296, '2012-11-01 13:14:18'),
(6, 1, 296, '2012-11-01 13:16:06'),
(7, 1, 296, '2012-11-01 13:18:07'),
(8, 1, 296, '2012-11-01 13:19:45'),
(9, 1, 296, '2012-11-01 13:21:56'),
(10, 1, 296, '2012-11-01 13:22:12'),
(11, 1, 296, '2012-11-01 13:22:49'),
(12, 1, 296, '2012-11-01 13:25:38'),
(13, 1, 296, '2012-11-01 13:26:54'),
(14, 1, 296, '2012-11-01 13:27:17'),
(15, 1, 296, '2012-11-01 13:29:31'),
(16, 1, 296, '2012-11-01 13:29:44'),
(17, 53, 22, '2012-11-02 07:26:19'),
(18, 53, 223, '2012-11-02 07:26:33'),
(19, 53, 223, '2012-11-02 07:27:43'),
(20, 53, 223, '2012-11-02 07:38:22'),
(21, 53, 223, '2012-11-02 07:39:27'),
(22, 53, 223, '2012-11-02 07:49:50'),
(23, 53, 223, '2012-11-02 07:52:30'),
(24, 53, 223, '2012-11-02 07:56:22'),
(25, 53, 223, '2012-11-02 07:57:32'),
(26, 53, 223, '2012-11-02 08:03:04'),
(27, 53, 223, '2012-11-02 08:05:38'),
(28, 53, 223, '2012-11-02 08:11:14'),
(29, 53, 223, '2012-11-02 08:12:21'),
(30, 53, 223, '2012-11-02 08:13:36'),
(31, 81, 223, '2012-11-02 10:15:23'),
(32, 81, 223, '2012-11-03 06:13:51'),
(33, 81, 223, '2012-11-03 06:13:57'),
(34, 81, 223, '2012-11-03 06:14:15'),
(35, 81, 223, '2012-11-03 06:14:39'),
(36, 81, 223, '2012-11-03 06:15:15'),
(37, 81, 223, '2012-11-03 06:15:43'),
(38, 32, 296, '2012-11-06 13:06:09'),
(39, 81, 296, '2012-11-08 11:40:19'),
(40, 81, 296, '2012-11-15 09:14:50'),
(41, 81, 296, '2012-11-15 10:24:21'),
(42, 81, 296, '2012-11-15 13:15:13'),
(43, 81, 501, '2012-11-17 06:10:05'),
(44, 81, 296, '2012-11-20 09:28:05'),
(45, 81, 296, '2012-11-20 09:30:52'),
(46, 81, 296, '2012-11-20 09:33:29'),
(47, 81, 296, '2012-11-20 09:33:40'),
(48, 81, 296, '2012-11-20 09:34:14'),
(49, 81, 296, '2012-11-21 06:21:04'),
(50, 81, 296, '2012-11-21 06:21:52'),
(51, 81, 296, '2012-11-21 06:22:50'),
(52, 81, 296, '2012-11-21 06:23:53'),
(53, 81, 296, '2012-11-21 06:25:10'),
(54, 81, 296, '2012-11-21 06:25:46'),
(55, 81, 296, '2012-11-21 07:00:10'),
(56, 81, 296, '2012-11-21 07:01:32'),
(57, 81, 296, '2012-11-21 07:02:58'),
(60, 63, 296, '2012-12-08 05:49:16'),
(61, 63, 296, '2012-12-08 05:50:05'),
(62, 33, 296, '2012-12-10 12:33:19'),
(63, 65, 296, '2012-12-11 10:12:55'),
(64, 34, 504, '2012-12-17 10:13:57'),
(65, 34, 504, '2012-12-17 10:14:09'),
(66, 34, 504, '2012-12-17 10:14:51'),
(67, 34, 504, '2012-12-17 10:14:55'),
(68, 17, 296, '2012-12-20 10:49:58'),
(69, 17, 296, '2012-12-20 10:50:09'),
(70, 17, 296, '2012-12-20 10:52:53'),
(71, 17, 296, '2012-12-20 10:52:58'),
(72, 34, 45, '2012-12-21 09:57:44'),
(73, 34, 45, '2012-12-21 09:59:22'),
(74, 63, 245, '2013-04-30 11:30:00'),
(75, 41, 504, '2013-05-01 09:09:15'),
(76, 39, 45, '2013-05-01 11:46:07'),
(77, 20, 45, '2013-05-01 12:32:43'),
(78, 64, 504, '2013-05-02 05:52:11'),
(79, 39, 45, '2013-05-02 06:17:49'),
(80, 9, 504, '2013-05-02 13:11:45'),
(81, 63, 296, '2013-05-03 07:07:19'),
(82, 63, 296, '2013-05-03 07:07:49'),
(83, 63, 296, '2013-05-03 07:13:16'),
(84, 63, 296, '2013-05-03 07:16:35'),
(85, 63, 296, '2013-05-03 07:17:19'),
(86, 63, 296, '2013-05-03 07:19:54'),
(87, 54, 76, '2013-05-04 07:08:26'),
(88, 54, 504, '2013-05-04 07:16:14'),
(89, 19, 45, '2013-05-04 12:45:48'),
(90, 52, 23, '2013-05-06 08:47:37'),
(91, 76, 19, '2013-05-06 09:39:10'),
(92, 76, 356, '2013-05-07 06:18:00'),
(93, 76, 21, '2013-05-07 06:18:47'),
(94, 62, 23, '2013-05-08 09:09:57'),
(95, 62, 23, '2013-05-08 09:13:09'),
(96, 49, 23, '2013-05-10 07:40:13'),
(97, 49, 27, '2013-05-10 13:36:34'),
(98, 18, 59, '2013-05-14 08:53:28'),
(99, 65, 296, '2013-05-22 06:31:46'),
(100, 65, 296, '2013-05-22 06:32:35'),
(101, 65, 296, '2013-05-22 06:34:28'),
(102, 65, 296, '2013-05-22 06:35:37'),
(103, 65, 296, '2013-05-22 06:36:19'),
(104, 65, 296, '2013-05-22 06:38:08'),
(105, 65, 296, '2013-05-22 06:40:35'),
(106, 65, 296, '2013-05-22 06:40:41'),
(107, 65, 45, '2013-05-22 07:32:24'),
(108, 65, 45, '2013-05-22 10:37:57'),
(109, 65, 45, '2013-05-22 10:46:57'),
(110, 1, 296, '2013-05-23 07:28:54'),
(111, 1, 296, '2013-05-23 07:40:09'),
(112, 1, 296, '2013-05-23 07:41:29'),
(113, 1, 296, '2013-05-23 10:28:49'),
(115, 1, 296, '2013-05-24 09:32:52'),
(116, 1, 296, '2013-05-25 04:44:34'),
(117, 1, 296, '2013-05-25 04:44:51'),
(118, 1, 296, '2013-05-25 04:45:35'),
(119, 1, 296, '2013-05-25 05:03:18'),
(120, 1, 296, '2013-05-25 06:33:32'),
(121, 1, 296, '2013-05-25 06:58:02'),
(122, 1, 296, '2013-05-25 13:47:57'),
(123, 15, 504, '2013-05-29 05:23:45'),
(124, 1, 296, '2013-05-31 07:20:31'),
(125, 1, 296, '2013-05-31 07:21:20'),
(126, 1, 504, '2013-06-05 09:13:48'),
(127, 1, 504, '2013-06-28 13:29:25'),
(128, 81, 504, '2013-07-15 13:49:09'),
(129, 81, 504, '2013-10-08 08:02:58'),
(130, 1, 504, '2013-11-20 07:38:22'),
(131, 10, 504, '2013-12-06 05:09:54'),
(132, 1, 504, '2013-12-06 13:18:23'),
(133, 1, 504, '2013-12-06 13:24:16'),
(141, 1, 504, '2014-02-13 13:46:15'),
(142, 1, 504, '2014-02-13 13:49:31'),
(143, 1, 504, '2014-02-14 06:50:18'),
(144, 1, 504, '2014-02-15 05:24:13'),
(145, 1, 0, '2014-02-18 05:44:30'),
(146, 1, 0, '2014-02-18 05:45:42'),
(147, 1, 0, '2014-02-18 05:47:44'),
(148, 1, 0, '2014-02-22 10:52:53'),
(149, 1, 0, '2014-02-22 10:56:43'),
(150, 1, 0, '2014-02-22 10:58:13'),
(151, 1, 0, '2014-02-22 11:06:38'),
(152, 1, 296, '2014-02-22 11:10:42'),
(153, 1, 289, '2014-02-22 11:14:42'),
(154, 1, 3, '2014-03-29 07:48:36'),
(155, 1, 504, '2014-04-29 07:16:18'),
(156, 1, 504, '2014-04-29 08:06:50'),
(157, 1, 504, '2014-05-16 08:06:18'),
(158, 48, 296, '2014-05-29 11:14:00'),
(159, 1, 2, '2014-06-13 10:48:55');

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

--
-- Table structure for table `th_employer_wlt`
--

CREATE TABLE IF NOT EXISTS `th_employer_wlt` (
  `wlt_id` int(11) NOT NULL AUTO_INCREMENT,
  `wlt_name` varchar(50) NOT NULL,
  `wlt_photo` varchar(50) NOT NULL,
  `wlt_gender` varchar(10) NOT NULL,
  `wlt_email` varchar(50) NOT NULL,
  `wlt_password` varchar(30) NOT NULL,
  `wlt_designation` varchar(50) NOT NULL,
  `wlt_mobile` varchar(20) NOT NULL,
  `wlt_street` varchar(50) NOT NULL,
  `wlt_city` varchar(30) NOT NULL,
  `wlt_state` varchar(30) NOT NULL,
  `wlt_zip` varchar(10) NOT NULL,
  `wlt_longi` varchar(50) NOT NULL,
  `wlt_lati` varchar(50) NOT NULL,
  `wlt_country` smallint(6) DEFAULT '1',
  `wpm_id_fkx` int(11) NOT NULL COMMENT 'user_id from tc_users table and user_role=9 or 10',
  `emp_id_fkx` int(11) NOT NULL COMMENT 'user_id from tc_users table and user_role=3',
  `wlt_status` varchar(10) NOT NULL DEFAULT 'Active',
  `wlt_cdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `wlt_leader` smallint(6) DEFAULT '0' COMMENT 'Leader of Wellness Team 0->Member 1->Leader',
  PRIMARY KEY (`wlt_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

--
-- Dumping data for table `th_employer_wlt`
--

INSERT INTO `th_employer_wlt` (`wlt_id`, `wlt_name`, `wlt_photo`, `wlt_gender`, `wlt_email`, `wlt_password`, `wlt_designation`, `wlt_mobile`, `wlt_street`, `wlt_city`, `wlt_state`, `wlt_zip`, `wlt_longi`, `wlt_lati`, `wlt_country`, `wpm_id_fkx`, `emp_id_fkx`, `wlt_status`, `wlt_cdate`, `wlt_leader`) VALUES
(1, 'Nelson', '_1403672228.jpg', 'Male', 'nelson001@gmail.com', '123456', 'CFO', '7865432102', 'Narain', 'HOLTSVILLE', 'NY', '501', '-73.43512314843747', '41.076771049755955', 1, 98, 32, 'Active', '2014-05-27 08:37:31', 1),
(2, 'Simon Jolly', '', 'Male', 'simon@gmail.com', '123456', 'HR', '6512301245', '', '', '', '', '', '', 1, 98, 32, 'Active', '2014-05-27 12:20:30', 0);

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

--
-- Table structure for table `th_employer_wp`
--

CREATE TABLE IF NOT EXISTS `th_employer_wp` (
  `wp_id` int(11) NOT NULL AUTO_INCREMENT,
  `wp_user_id` int(11) NOT NULL,
  `wp_user_type` varchar(10) NOT NULL,
  `wp_comp_id` int(11) NOT NULL,
  `wp_name` varchar(150) NOT NULL,
  `wp_desc` text NOT NULL,
  `wp_status` varchar(10) NOT NULL DEFAULT 'Active',
  `wp_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `wp_ended` date NOT NULL,
  PRIMARY KEY (`wp_id`),
  KEY `wp_comp_id` (`wp_comp_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;

--
-- Dumping data for table `th_employer_wp`
--

INSERT INTO `th_employer_wp` (`wp_id`, `wp_user_id`, `wp_user_type`, `wp_comp_id`, `wp_name`, `wp_desc`, `wp_status`, `wp_created`, `wp_ended`) VALUES
(1, 1, 'WLT', 32, 'Test Plan 1', '<p> </p>\r\n\r\n<table>\r\n	<thead>\r\n		<tr>\r\n			<th style="vertical-align:top"> </th>\r\n			<th style="vertical-align:top">Field</th>\r\n			<th style="vertical-align:top">Type</th>\r\n			<th style="vertical-align:top">Collation</th>\r\n			<th style="vertical-align:top">Attributes</th>\r\n			<th style="vertical-align:top">Null</th>\r\n			<th style="vertical-align:top">Default</th>\r\n			<th style="vertical-align:top">Extra</th>\r\n			<th colspan="7" style="vertical-align:top">Action</th>\r\n		</tr>\r\n	</thead>\r\n	<tbody>\r\n		<tr>\r\n			<td style="vertical-align:top"> </td>\r\n			<th style="background-position:initial; background-repeat:initial; vertical-align:top">\r\n			<h1>wp_id</h1>\r\n			</th>\r\n			<td style="vertical-align:top">\r\n			<h1>int(11)</h1>\r\n			</td>\r\n			<td style="vertical-align:top">\r\n			<h1> </h1>\r\n			</td>\r\n			<td style="vertical-align:top">\r\n			<h1> </h1>\r\n			</td>\r\n			<td style="vertical-align:top">\r\n			<h1>No</h1>\r\n			</td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top">auto_increment</td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=SELECT+COUNT%28%2A%29+AS+%60Rows%60%2C+%60wp_id%60+FROM+%60tc_wellness_plan%60+GROUP+BY+%60wp_id%60+ORDER+BY+%60wp_id%60"><img alt="Browse distinct values" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_browse.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/tbl_alter.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&field=wp_id"><img alt="Change" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_edit.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+DROP+%60wp_id%60&cpurge=1&purgekey=wp_id&zero_rows=Field+wp_id+has+been+dropped"><img alt="Drop" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_drop.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+DROP+PRIMARY+KEY%2C+ADD+PRIMARY+KEY%28%60wp_id%60%29&zero_rows=A+primary+key+has+been+added+on+wp_id"><img alt="Primary" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_primary.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+ADD+UNIQUE%28%60wp_id%60%29&zero_rows=An+index+has+been+added+on+wp_id"><img alt="Unique" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_unique.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+ADD+INDEX%28%60wp_id%60%29&zero_rows=An+index+has+been+added+on+wp_id"><img alt="Index" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_index.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><img alt="Fulltext" src="http://192.168.137.58/phpmyadmin/themes/original/img/bd_ftext.png" style="height:16px; margin:0px; width:16px" /></td>\r\n		</tr>\r\n		<tr>\r\n			<td style="vertical-align:top"> </td>\r\n			<th style="background-position:initial; background-repeat:initial; vertical-align:top">wp_name</th>\r\n			<td style="vertical-align:top">varchar(100)</td>\r\n			<td style="vertical-align:top">latin1_swedish_ci</td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top">Yes</td>\r\n			<td style="vertical-align:top"><em>NULL</em></td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=SELECT+COUNT%28%2A%29+AS+%60Rows%60%2C+%60wp_name%60+FROM+%60tc_wellness_plan%60+GROUP+BY+%60wp_name%60+ORDER+BY+%60wp_name%60"><img alt="Browse distinct values" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_browse.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/tbl_alter.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&field=wp_name"><img alt="Change" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_edit.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+DROP+%60wp_name%60&cpurge=1&purgekey=wp_name&zero_rows=Field+wp_name+has+been+dropped"><img alt="Drop" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_drop.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+DROP+PRIMARY+KEY%2C+ADD+PRIMARY+KEY%28%60wp_name%60%29&zero_rows=A+primary+key+has+been+added+on+wp_name"><img alt="Primary" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_primary.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+ADD+UNIQUE%28%60wp_name%60%29&zero_rows=An+index+has+been+added+on+wp_name"><img alt="Unique" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_unique.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+ADD+INDEX%28%60wp_name%60%29&zero_rows=An+index+has+been+added+on+wp_name"><img alt="Index" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_index.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><img alt="Fulltext" src="http://192.168.137.58/phpmyadmin/themes/original/img/bd_ftext.png" style="height:16px; margin:0px; width:16px" /></td>\r\n		</tr>\r\n		<tr>\r\n			<td style="vertical-align:top"> </td>\r\n			<th style="background-position:initial; background-repeat:initial; vertical-align:top">wp_description</th>\r\n			<td style="vertical-align:top">text</td>\r\n			<td style="vertical-align:top">latin1_swedish_ci</td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top">Yes</td>\r\n			<td style="vertical-align:top"><em>NULL</em></td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=SELECT+COUNT%28%2A%29+AS+%60Rows%60%2C+%60wp_description%60+FROM+%60tc_wellness_plan%60+GROUP+BY+%60wp_description%60+ORDER+BY+%60wp_description%60"><img alt="Browse distinct values" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_browse.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/tbl_alter.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&field=wp_description"><img alt="Change" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_edit.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+DROP+%60wp_description%60&cpurge=1&purgekey=wp_description&zero_rows=Field+wp_description+has+been+dropped"><img alt="Drop" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_drop.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><img alt="Primary" src="http://192.168.137.58/phpmyadmin/themes/original/img/bd_primary.png" style="height:16px; margin:0px; width:16px" /></td>\r\n			<td style="vertical-align:top"><img alt="Unique" src="http://192.168.137.58/phpmyadmin/themes/original/img/bd_unique.png" style="height:16px; margin:0px; width:16px" /></td>\r\n			<td style="vertical-align:top"><img alt="Index" src="http://192.168.137.58/phpmyadmin/themes/original/img/bd_index.png" style="height:16px; margin:0px; width:16px" /></td>\r\n			<td style="vertical-align:top"><img alt="Fulltext" src="http://192.168.137.58/phpmyadmin/themes/original/img/bd_ftext.png" style="height:16px; margin:0px; width:16px" /></td>\r\n		</tr>\r\n		<tr>\r\n			<td style="vertical-align:top"> </td>\r\n			<th style="background-position:initial; background-repeat:initial; vertical-align:top">user_id_fkx</th>\r\n			<td style="vertical-align:top">int(11)</td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top">No</td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=SELECT+COUNT%28%2A%29+AS+%60Rows%60%2C+%60user_id_fkx%60+FROM+%60tc_wellness_plan%60+GROUP+BY+%60user_id_fkx%60+ORDER+BY+%60user_id_fkx%60"><img alt="Browse distinct values" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_browse.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/tbl_alter.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&field=user_id_fkx"><img alt="Change" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_edit.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+DROP+%60user_id_fkx%60&cpurge=1&purgekey=user_id_fkx&zero_rows=Field+user_id_fkx+has+been+dropped"><img alt="Drop" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_drop.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+DROP+PRIMARY+KEY%2C+ADD+PRIMARY+KEY%28%60user_id_fkx%60%29&zero_rows=A+primary+key+has+been+added+on+user_id_fkx"><img alt="Primary" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_primary.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+ADD+UNIQUE%28%60user_id_fkx%60%29&zero_rows=An+index+has+been+added+on+user_id_fkx"><img alt="Unique" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_unique.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+ADD+INDEX%28%60user_id_fkx%60%29&zero_rows=An+index+has+been+added+on+user_id_fkx"><img alt="Index" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_index.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><img alt="Fulltext" src="http://192.168.137.58/phpmyadmin/themes/original/img/bd_ftext.png" style="height:16px; margin:0px; width:16px" /></td>\r\n		</tr>\r\n		<tr>\r\n			<td style="vertical-align:top"> </td>\r\n			<th style="background-position:initial; background-repeat:initial; vertical-align:top">rgs_id_<span style="color:#FF0000">fkx</span></th>\r\n			<td style="vertical-align:top"><span style="color:#FF0000">varchar(100)</span></td>\r\n			<td style="vertical-align:top"><span style="color:#FF0000">latin1_swedish_ci</span></td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top"><span style="color:#FF0000">Yes</span></td>\r\n			<td style="vertical-align:top"><span style="color:#FF0000"><em>NULL</em></span></td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=SELECT+COUNT%28%2A%29+AS+%60Rows%60%2C+%60rgs_id_fkx%60+FROM+%60tc_wellness_plan%60+GROUP+BY+%60rgs_id_fkx%60+ORDER+BY+%60rgs_id_fkx%60"><span style="color:#FF0000"><img alt="Browse distinct values" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_browse.png" style="height:16px; margin:0px; width:16px" /></span></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/tbl_alter.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&field=rgs_id_fkx"><span style="color:#FF0000"><img alt="Change" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_edit.png" style="height:16px; margin:0px; width:16px" /></span></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+DROP+%60rgs_id_fkx%60&cpurge=1&purgekey=rgs_id_fkx&zero_rows=Field+rgs_id_fkx+has+been+dropped"><span style="color:#FF0000"><img alt="Drop" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_drop.png" style="height:16px; margin:0px; width:16px" /></span></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+DROP+PRIMARY+KEY%2C+ADD+PRIMARY+KEY%28%60rgs_id_fkx%60%29&zero_rows=A+primary+key+has+been+added+on+rgs_id_fkx"><span style="color:#FF0000"><img alt="Primary" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_primary.png" style="height:16px; margin:0px; width:16px" /></span></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+ADD+UNIQUE%28%60rgs_id_fkx%60%29&zero_rows=An+index+has+been+added+on+rgs_id_fkx"><span style="color:#FF0000"><img alt="Unique" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_unique.png" style="height:16px; margin:0px; width:16px" /></span></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+ADD+INDEX%28%60rgs_id_fkx%60%29&zero_rows=An+index+has+been+added+on+rgs_id_fkx"><span style="color:#FF0000"><img alt="Index" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_index.png" style="height:16px; margin:0px; width:16px" /></span></a></td>\r\n			<td style="vertical-align:top"><span style="color:#FF0000"><img alt="Fulltext" src="http://192.168.137.58/phpmyadmin/themes/original/img/bd_ftext.png" style="height:16px; margin:0px; width:16px" /></span></td>\r\n		</tr>\r\n		<tr>\r\n			<td style="vertical-align:top"> </td>\r\n			<th style="background-position:initial; background-repeat:initial; vertical-align:top"><span style="color:#FF0000">wp_cdc</span></th>\r\n			<td style="vertical-align:top"><span style="color:#FF0000">varchar(5</span>)</td>\r\n			<td style="vertical-align:top">latin1_swedish_ci</td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top">Yes</td>\r\n			<td style="vertical-align:top"><em>NULL</em></td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=SELECT+COUNT%28%2A%29+AS+%60Rows%60%2C+%60wp_cdc%60+FROM+%60tc_wellness_plan%60+GROUP+BY+%60wp_cdc%60+ORDER+BY+%60wp_cdc%60"><img alt="Browse distinct values" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_browse.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/tbl_alter.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&field=wp_cdc"><img alt="Change" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_edit.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+DROP+%60wp_cdc%60&cpurge=1&purgekey=wp_cdc&zero_rows=Field+wp_cdc+has+been+dropped"><img alt="Drop" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_drop.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+DROP+PRIMARY+KEY%2C+ADD+PRIMARY+KEY%28%60wp_cdc%60%29&zero_rows=A+primary+key+has+been+added+on+wp_cdc"><img alt="Primary" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_primary.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+ADD+UNIQUE%28%60wp_cdc%60%29&zero_rows=An+index+has+been+added+on+wp_cdc"><img alt="Unique" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_unique.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+ADD+INDEX%28%60wp_cdc%60%29&zero_rows=An+index+has+been+added+on+wp_cdc"><img alt="Index" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_index.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><img alt="Fulltext" src="http://192.168.137.58/phpmyadmin/themes/original/img/bd_ftext.png" style="height:16px; margin:0px; width:16px" /></td>\r\n		</tr>\r\n		<tr>\r\n			<td style="vertical-align:top"> </td>\r\n			<th style="background-position:initial; background-repeat:initial; vertical-align:top">wp_stat<span style="background-color:#FF8C00">us</span></th>\r\n			<td style="vertical-align:top"><span style="background-color:#FF8C00">varchar(10)</span></td>\r\n			<td style="vertical-align:top"><span style="background-color:#FF8C00">latin1_swe</span>dish_ci</td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top">No</td>\r\n			<td style="vertical-align:top">Active</td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=SELECT+COUNT%28%2A%29+AS+%60Rows%60%2C+%60wp_status%60+FROM+%60tc_wellness_plan%60+GROUP+BY+%60wp_status%60+ORDER+BY+%60wp_status%60"><img alt="Browse distinct values" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_browse.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/tbl_alter.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&field=wp_status"><img alt="Change" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_edit.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+DROP+%60wp_status%60&cpurge=1&purgekey=wp_status&zero_rows=Field+wp_status+has+been+dropped"><img alt="Drop" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_drop.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+DROP+PRIMARY+KEY%2C+ADD+PRIMARY+KEY%28%60wp_status%60%29&zero_rows=A+primary+key+has+been+added+on+wp_status"><img alt="Primary" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_primary.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+ADD+UNIQUE%28%60wp_status%60%29&zero_rows=An+index+has+been+added+on+wp_status"><img alt="Unique" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_unique.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+ADD+INDEX%28%60wp_status%60%29&zero_rows=An+index+has+been+added+on+wp_status"><img alt="Index" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_index.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><img alt="Fulltext" src="http://192.168.137.58/phpmyadmin/themes/original/img/bd_ftext.png" style="height:16px; margin:0px; width:16px" /></td>\r\n		</tr>\r\n		<tr>\r\n			<td style="vertical-align:top"> </td>\r\n			<th style="background-position:initial; background-repeat:initial; vertical-align:top">wp_cdate</th>\r\n			<td style="vertical-align:top">timestamp</td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top">Yes</td>\r\n			<td style="vertical-align:top">CURRENT_TIMESTAMP</td>\r\n			<td style="vertical-align:top"> </td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=SELECT+COUNT%28%2A%29+AS+%60Rows%60%2C+%60wp_cdate%60+FROM+%60tc_wellness_plan%60+GROUP+BY+%60wp_cdate%60+ORDER+BY+%60wp_cdate%60"><img alt="Browse distinct values" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_browse.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/tbl_alter.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&field=wp_cdate"><img alt="Change" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_edit.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+DROP+%60wp_cdate%60&cpurge=1&purgekey=wp_cdate&zero_rows=Field+wp_cdate+has+been+dropped"><img alt="Drop" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_drop.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+DROP+PRIMARY+KEY%2C+ADD+PRIMARY+KEY%28%60wp_cdate%60%29&zero_rows=A+primary+key+has+been+added+on+wp_cdate"><img alt="Primary" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_primary.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+ADD+UNIQUE%28%60wp_cdate%60%29&zero_rows=An+index+has+been+added+on+wp_cdate"><img alt="Unique" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_unique.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><a href="http://192.168.137.58/phpmyadmin/sql.php?db=tulasi_db&table=tc_wellness_plan&token=d3065c6206a944a3d791b7c931e69170&goto=tbl_structure.php&back=tbl_structure.php&sql_query=ALTER+TABLE+%60tc_wellness_plan%60+ADD+INDEX%28%60wp_cdate%60%29&zero_rows=An+index+has+been+added+on+wp_cdate"><img alt="Index" src="http://192.168.137.58/phpmyadmin/themes/original/img/b_index.png" style="height:16px; margin:0px; width:16px" /></a></td>\r\n			<td style="vertical-align:top"><img alt="Fulltext" src="http://192.168.137.58/phpmyadmin/themes/original/img/bd_ftext.png" style="height:16px; margin:0px; width:16px" /><br />\r\n			 </td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n', 'Inactive', '2014-05-30 08:43:18', '2014-06-20'),
(2, 1, 'WLT', 32, 'Test Plan 21', '<p><strong>Lorem</strong> <strong>ipsum</strong> dolor sit amet, consectetuer adipiscing elit. Nam cursus. Morbi ut mi. Nullam enim leo, egestas id, condimentum at, laoreet mattis, massa. Sed eleifend nonummy diam. Praesent mauris ante, elementum et, bibendum at, posuere sit amet, nibh. Duis tincidunt lectus quis dui viverra vestibulum. Suspendisse vulputate aliquam dui. Nulla elementum dui ut augue. Aliquam vehicula mi at mauris. Maecenas placerat, nisl at consequat rhoncus, sem nunc gravida justo, quis eleifend arcu velit quis lacus. Morbi magna magna, tincidunt a, mattis non, imperdiet vitae, tellus. Sed odio est, auctor ac, sollicitudin in, consequat vitae, orci. Fusce id felis. <span style="color:#FF8C00">Vivamus sollicitudin metus eget eros.</span></p>\r\n\r\n<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In posuere felis nec tortor. Pellentesque faucibus. Ut accumsan ultricies elit. Maecenas at justo id velit placerat molestie. Donec dictum lectus non odio. Cras a ante vitae enim iaculis aliquam. Mauris nunc quam, venenatis nec, euismod sit amet, egestas placerat, est. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Cras id elit. Integer quis urna. Ut ante enim, dapibus malesuada, fringilla eu, condimentum quis, tellus. Aenean porttitor eros vel dolor. Donec convallis pede venenatis nibh. Duis quam. Nam eget lacus. Aliquam erat volutpat. Quisque dignissim congue leo.</p>\r\n\r\n<p>Mauris vel lacus vitae felis vestibulum volutpat. <span style="color:#008000">Etiam est nunc, venenatis in, tristique eu, imperdiet ac, nisl. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. </span>In iaculis facilisis massa. Etiam eu urna. Sed porta. Suspendisse quam leo, molestie sed, luctus quis, feugiat in, pede. Fusce tellus. Sed metus augue, convallis et, vehicula ut, pulvinar eu, ante. Integer orci tellus, tristique vitae, consequat nec, porta vel, lectus. Nulla sit amet diam. Duis non nunc. Nulla rhoncus dictum metus. Curabitur tristique mi condimentum orci. Phasellus pellentesque aliquam enim. Proin dui lectus, cursus eu, mattis laoreet, viverra sit amet, quam. Curabitur vel dolor ultrices ipsum dictum tristique. Praesent vitae lacus. Ut velit enim, vestibulum non, fermentum nec, hendrerit quis, leo. Pellentesque rutrum malesuada neque.</p>\r\n', 'Inactive', '2014-05-30 11:38:11', '0000-00-00'),
(3, 98, 'WPM', 32, 'Healthy Staff1', '<p>Lorem ipsum dolor sit amet, <strong>consectetur adipiscing elit.</strong> Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros.<span style="color:#DAA520"> In sed ornare nulla</span>.</p>\r\n\r\n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed ornare nulla.</p>\r\n', 'Inactive', '2014-06-25 08:23:43', '0000-00-00'),
(4, 1, 'WLT', 32, 'Toplogic Health', '<p><strong>Lorem Ipsum</strong><span style="color:rgb(0, 0, 0)"> 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.</span></p>\r\n', 'Active', '2014-08-19 05:05:13', '0000-00-00'),
(5, 98, 'WPM', 32, 'Healthy Life Forever', '<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don''t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn''t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>\r\n\r\n<table border="0" cellpadding="0" cellspacing="0" style="width:100%">\r\n	<tbody>\r\n		<tr>\r\n			<td style="vertical-align:middle"> </td>\r\n			<td style="text-align:left; vertical-align:middle">\r\n			<table align="left" border="0" cellpadding="0" cellspacing="0">\r\n				<tbody>\r\n					<tr>\r\n						<td style="height:20px; vertical-align:middle"> </td>\r\n						<td style="height:20px; vertical-align:middle">paragraphs</td>\r\n					</tr>\r\n					<tr>\r\n						<td style="height:20px; vertical-align:middle"> </td>\r\n						<td style="height:20px; vertical-align:middle">words</td>\r\n					</tr>\r\n					<tr>\r\n						<td style="height:20px; vertical-align:middle"> </td>\r\n						<td style="height:20px; vertical-align:middle">bytes</td>\r\n					</tr>\r\n					<tr>\r\n						<td style="height:20px; vertical-align:middle"> </td>\r\n						<td style="height:20px; vertical-align:middle">lists</td>\r\n					</tr>\r\n				</tbody>\r\n			</table>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n', 'Inactive', '2014-08-19 08:33:23', '0000-00-00'),
(6, 98, 'WPM', 32, 'Healthy Life', '<p><span style="color:rgb(0, 0, 0)">The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</span></p>\r\n', 'Inactive', '2014-08-19 08:45:41', '0000-00-00'),
(7, 98, 'WPM', 32, 'test', '<p>test</p>\r\n', 'Active', '2014-08-23 07:58:25', '0000-00-00');

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

--
-- Table structure for table `th_employer_wpms`
--

CREATE TABLE IF NOT EXISTS `th_employer_wpms` (
  `ec_id` int(11) NOT NULL AUTO_INCREMENT,
  `wpm_id_fkx` int(11) NOT NULL COMMENT 'User id of WPM in th_users table with role 9',
  `user_id_fkx` int(11) NOT NULL,
  `reg_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `wpm_status` varchar(10) DEFAULT 'Active' COMMENT 'Active,Inactive',
  `students` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1-> Manage Students',
  PRIMARY KEY (`ec_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `th_employer_wpms`
--

INSERT INTO `th_employer_wpms` (`ec_id`, `wpm_id_fkx`, `user_id_fkx`, `reg_date`, `wpm_status`, `students`) VALUES
(1, 99, 32, '2014-06-10 10:40:53', 'Active', 1),
(2, 100, 32, '2014-06-10 11:43:04', 'Active', 1),
(3, 98, 32, '2014-06-10 11:55:45', 'Active', 1);

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

--
-- Table structure for table `th_employer_wp_files`
--

CREATE TABLE IF NOT EXISTS `th_employer_wp_files` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `wp_id` int(11) NOT NULL,
  `filename` varchar(150) NOT NULL,
  `filepath` varchar(150) NOT NULL,
  `cerated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `fc_id` (`wp_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;

--
-- Dumping data for table `th_employer_wp_files`
--

INSERT INTO `th_employer_wp_files` (`id`, `wp_id`, `filename`, `filepath`, `cerated`) VALUES
(2, 6, 'organisational Metrics.docx', 'wp_6_14087092296213.docx', '2014-08-22 12:07:09'),
(4, 7, 'newseventsimages.jpg', 'wp_7_14089420253045.jpg', '2014-08-25 04:47:05'),
(5, 7, '1.-balancing-squat-420x420.jpg', 'wp_7_14089420701655.jpg', '2014-08-25 04:47:50'),
(6, 4, 'images.jpg', 'wp_4_14089446852205.jpg', '2014-08-25 05:31:25');

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

--
-- Table structure for table `th_employer_wp_template`
--

CREATE TABLE IF NOT EXISTS `th_employer_wp_template` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id_fkx` int(11) NOT NULL,
  `wp_id` int(11) NOT NULL,
  `status` varchar(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

--
-- Dumping data for table `th_employer_wp_template`
--

INSERT INTO `th_employer_wp_template` (`id`, `user_id_fkx`, `wp_id`, `status`) VALUES
(2, 32, 3, 'Active');

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

--
-- Table structure for table `th_events`
--

CREATE TABLE IF NOT EXISTS `th_events` (
  `tc_evnt_id` int(11) NOT NULL AUTO_INCREMENT,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `event_name` varchar(255) DEFAULT NULL,
  `ev_category` varchar(50) DEFAULT NULL,
  `ev_orgname` varchar(100) DEFAULT NULL,
  `ev_start_date` date DEFAULT NULL,
  `ev_end_date` date DEFAULT NULL,
  `ev_street` varchar(100) NOT NULL,
  `ev_zip` int(11) DEFAULT NULL,
  `ev_state` varchar(100) DEFAULT NULL,
  `ev_city` varchar(100) DEFAULT NULL,
  `ev_longi` double DEFAULT NULL,
  `ev_lati` double DEFAULT NULL,
  `ev_descp` text,
  `ev_broch` varchar(100) DEFAULT NULL,
  `ev_wsite` varchar(50) DEFAULT NULL,
  `ev_orgnisername` varchar(100) DEFAULT NULL,
  `ev_orgcon` varchar(25) DEFAULT NULL,
  `contact_person` varchar(50) DEFAULT NULL,
  `ev_thumb` varchar(100) DEFAULT NULL,
  `ev_image` varchar(100) DEFAULT NULL,
  `tc_posted_by` varchar(100) DEFAULT NULL COMMENT 'Null: by participant,admin: by admin, NC: by Nutritonist coach, FC: by Fitness coach,NFC: Nutrition and fitness coach',
  `ev_status` tinyint(4) DEFAULT '1',
  `ev_timestmp` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `event_activity` varchar(100) DEFAULT NULL,
  `ev_audience` varchar(5) DEFAULT NULL,
  PRIMARY KEY (`tc_evnt_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;

--
-- Dumping data for table `th_events`
--

INSERT INTO `th_events` (`tc_evnt_id`, `rgs_id_fkx`, `event_name`, `ev_category`, `ev_orgname`, `ev_start_date`, `ev_end_date`, `ev_street`, `ev_zip`, `ev_state`, `ev_city`, `ev_longi`, `ev_lati`, `ev_descp`, `ev_broch`, `ev_wsite`, `ev_orgnisername`, `ev_orgcon`, `contact_person`, `ev_thumb`, `ev_image`, `tc_posted_by`, `ev_status`, `ev_timestmp`, `event_activity`, `ev_audience`) VALUES
(1, 0, 'Running And Bicycling Event', NULL, NULL, '2016-03-06', '2016-03-07', 'lucknow', 55555, 'MN', 'YOUNG AMERICA', -93.90999999999997, 44.78, 'Running And Bicycling Event Running And Bicycling Event Running And Bicycling Event', NULL, NULL, 'Zafar Iqbal Khan', '7860158305', NULL, NULL, 'photos/event/image/img_PiqhikI77rHdmTgyEoHD.jpg', 'admin', 1, '2016-03-05 10:37:34', '39,40', 'E'),
(2, 0, 'Merathan Long Running', NULL, NULL, '2016-03-07', '2016-03-07', 'lucknow', 12345, 'NY', 'SCHENECTADY', -73.92000000000002, 42.8, 'rtrttete', NULL, NULL, 'sheetal', '9876543210', NULL, NULL, 'photos/event/image/img_KhnR3t6RQnmFazWDq83A.jpg', 'admin', 1, '2016-03-05 10:58:09', '40', 'E'),
(3, 0, 'Lucknow Bicycling event', NULL, 'Zafar', '2016-03-08', '2016-03-08', 'lucknow', 55555, 'MN', 'YOUNG AMERICA', -93.90999999999997, 44.78, 'After Evelyn Stevens broke the women’s UCI World Hour Record last Saturday, the first person to grab a one-on-one interview wasn’t the big media outlets—it was nine-year-old Abby Henderson, AKA “Abby the Awesome.” Abby’s interview—which goes way deeper than your typical post-race wrap-up—is the first of what the enterprising young reporter promises to be a series of interviews with athletes. Watch as Abby captures Stevens'' interests on and off the bike in a video she edited herself—and subscribe to Abby the Awesome’s channel for more upcoming “Face to Face” interviews with other inspiring names in sport.', NULL, NULL, 'Zafar', '7860158305', NULL, NULL, 'photos/event/image/img_mT4YdojQbrFAAyeoiDz1.jpg', 'admin', 1, '2016-03-05 11:23:56', '39', 'E'),
(4, 1, 'Rajwant''s Merathan', NULL, NULL, '2016-03-05', '2016-03-07', 'yuganda', 12345, 'MN', 'YOUNG AMERICA', -93.90999999999997, 44.78, 'Could Eating Lower Your Blood Pressure? This Study Finds Out You''ve heard this before. A bowl of yogurt is good for you. First off, let''s nto foegt that yogurt is made with milk which is packed with protein and other nutrients like calcium, vitamin', 'photos/event/brochure/br_FcMCwcuZd6KizQcgYYR8.jpg', NULL, 'Rajwant Singh', '9697952233', NULL, NULL, 'photos/event/image/img_enoBFASTcxTJ7Hxlg4pq.jpg', NULL, 1, '2016-03-05 11:32:02', '40,41', 'E'),
(5, 32, 'Toplogic Hiking and Bicycling Event ', NULL, NULL, '2016-03-07', '2016-03-07', 'Ravindrapalli', 12345, 'NY', 'SCHENECTADY', -73.92000000000002, 42.8, 'Group of scientists are challenging the now conventional wisdom that a low-sodium diet is better for your long-term health, asking whether people should take official advice on the matter with a pinch of salt.', NULL, NULL, 'Mohd Jafar Iqbal Khan', '9876543210', NULL, NULL, 'photos/event/image/img_Rnlsy7WgDdknP2ZXlnUy.jpg', 'Company', 1, '2016-03-05 11:51:05', '63,64', '3'),
(6, 98, 'Climbing Event by Tom', NULL, 'Tom Hanks', '2016-03-10', '2016-03-12', 'Raurkela', 55555, 'MN', 'YOUNG AMERICA', -93.90999999999997, 44.78, 'Group of scientists are challenging the now conventional wisdom that a low-sodium diet is better for your long-term health, asking whether people should take official advice on the matter with a pinch of salt.', NULL, NULL, 'Tom Hanks', '9876543210', NULL, NULL, 'photos/event/image/img_DFlRgh8kfy5j5AoEHXQI.jpg', 'NC', 1, '2016-03-05 11:59:25', '51', 'C'),
(7, 41, 'Health Event by Bassel Doe', NULL, 'Mohd Jafar Iqbal Khan', '2016-03-05', '2016-03-10', 'Ravindrapalli', 55555, 'MN', 'YOUNG AMERICA', -93.90999999999997, 44.78, '5uyioo', NULL, NULL, 'Mohd Jafar Iqbal Khan', '9876543210', NULL, NULL, 'photos/event/image/img_W1dLdIZfGWlnwR99fcGZ.jpg', 'NC', 1, '2016-03-05 13:27:32', '7,14,16,34', 'E');

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

--
-- Table structure for table `th_events_backup`
--

CREATE TABLE IF NOT EXISTS `th_events_backup` (
  `tc_evnt_id` int(11) NOT NULL AUTO_INCREMENT,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `event_name` varchar(255) DEFAULT NULL,
  `ev_category` varchar(50) DEFAULT NULL,
  `ev_orgname` varchar(100) DEFAULT NULL,
  `ev_start_date` date DEFAULT NULL,
  `ev_end_date` date DEFAULT NULL,
  `ev_street` varchar(100) NOT NULL,
  `ev_zip` int(11) DEFAULT NULL,
  `ev_state` varchar(100) DEFAULT NULL,
  `ev_city` varchar(100) DEFAULT NULL,
  `ev_longi` double DEFAULT NULL,
  `ev_lati` double DEFAULT NULL,
  `ev_descp` text,
  `ev_broch` varchar(100) DEFAULT NULL,
  `ev_wsite` varchar(50) DEFAULT NULL,
  `ev_orgnisername` varchar(100) DEFAULT NULL,
  `ev_orgcon` varchar(25) DEFAULT NULL,
  `contact_person` varchar(50) DEFAULT NULL,
  `ev_thumb` varchar(100) DEFAULT NULL,
  `ev_image` varchar(100) DEFAULT NULL,
  `tc_posted_by` varchar(100) DEFAULT NULL COMMENT 'Null: by participant,admin: by admin, NC: by Nutritonist coach, FC: by Fitness coach,NFC: Nutrition and fitness coach',
  `ev_status` tinyint(4) DEFAULT '1',
  `ev_timestmp` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `event_activity` varchar(100) DEFAULT NULL,
  `ev_audience` varchar(5) DEFAULT NULL,
  PRIMARY KEY (`tc_evnt_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=177 ;

--
-- Dumping data for table `th_events_backup`
--

INSERT INTO `th_events_backup` (`tc_evnt_id`, `rgs_id_fkx`, `event_name`, `ev_category`, `ev_orgname`, `ev_start_date`, `ev_end_date`, `ev_street`, `ev_zip`, `ev_state`, `ev_city`, `ev_longi`, `ev_lati`, `ev_descp`, `ev_broch`, `ev_wsite`, `ev_orgnisername`, `ev_orgcon`, `contact_person`, `ev_thumb`, `ev_image`, `tc_posted_by`, `ev_status`, `ev_timestmp`, `event_activity`, `ev_audience`) VALUES
(55, 32, 'Alok Company', '4', NULL, '2016-03-05', '2016-03-08', 'abc', 12345, 'NY', 'SCHENECTADY', -73.057573242188, 43.017264050879, 'fdsfdf', 'photos/event/brochure/b_592522001371280.pdf', 'http://facebook.com', 'abc', '9795766770', NULL, 'photos/event/thumb/t_592522001371280.jpg', 'photos/event/image/img_sGngDisAIHBFnG9YDpUq.png', 'Company', 1, '2013-06-15 07:07:58', '57,59', '3'),
(83, 32, 'Serenity', NULL, NULL, '2016-03-08', '2016-03-09', 'crge-Sri Street', 501, 'NY', 'HOLTSVILLE', NULL, NULL, 'this event not only train people for yoga but also backoned by serenity.', NULL, 'http://', 'Patanjali', '0522525252', NULL, NULL, 'photos/event/image/img_9ChzXx5jFSDboQN5JcWu.png', 'Company', 1, '2013-07-30 11:46:28', '58,60,64', '1'),
(94, 41, 'Utkarsh Fest', NULL, NULL, '2013-11-15', '2013-12-26', 'crge-Sri Street', 501, 'NY', 'HOLTSVILLE', -73.0451085, 40.8153762, 'dfgsghfhf', 'photos/event/brochure/b_736526001384952.jpg', 'http://toplogin.in', 'Toplogic', '9554483905', NULL, 'photos/event/thumb/t_736526001384952.png', 'photos/event/image/i_736526001384952.png', 'NC', 1, '2013-11-12 13:04:29', '11,12,13', 'C'),
(95, 41, 'Sheetal Fest', NULL, NULL, '2013-12-19', '2013-12-28', 'crge-Sri Street', 501, 'NY', 'HOLTSVILLE', NULL, NULL, 'hahfkjdhfd', 'photos/event/brochure/b_425117001384586.jpg', 'http://toplogin.in', 'Albert Crew', '9554483905', NULL, 'photos/event/thumb/t_425117001384586.jpg', 'photos/event/image/i_425117001384586.jpg', 'NC', 1, '2013-11-13 04:50:12', '7,11', 'C'),
(131, 1, 'Test', NULL, NULL, '2016-03-10', '2016-03-12', '123123', 501, 'NY', 'HOLTSVILLE', -73.04227608728024, 40.81648048282016, 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry''s  ', 'photos/event/brochure/br_14069862128129.gif', NULL, 'Test', '1123123', NULL, NULL, 'photos/event/image/img_14069862130821.jpg', NULL, 1, '2016-03-03 18:30:00', '39', 'E'),
(139, 41, 'hsdakjh', NULL, 'fdgd', '2014-08-04', '2014-08-23', 'gdfg', 501, 'NY', 'HOLTSVILLE', -73.0451085, 40.8153762, 'gdfjkldj', 'photos/event/brochure/br_14071510873623.jpg', NULL, 'fdgd', '465465464', NULL, NULL, 'photos/event/image/img_14071510873658.png', 'NC', 1, '2014-08-04 11:18:07', '7,11,12', 'C'),
(148, 109, 'ABC', NULL, NULL, '2014-08-16', '2014-08-30', 'dsfs', 501, 'NY', 'HOLTSVILLE', -73.0451085, 40.8153762, 'dfsdfsf', 'photos/event/brochure/br_14081781373205.jpg', NULL, 'ABC', '9554483905', NULL, NULL, 'photos/event/image/img_14081781373229.jpg', 'admin', 1, '2014-08-16 08:35:37', '41', 'E'),
(152, 97, 'Testing', NULL, 'Test', '2015-10-05', '2015-10-13', '123', 12345, 'NY', 'SCHENECTADY', -73.92000000000002, 42.8, 'Test', 'photos/event/brochure/br_TsRZ3oPi8j3XCjGMtXua.jpg', NULL, 'Test', 'Test', NULL, NULL, 'photos/event/image/img_clHRH72iuiFixxlbiTjM.jpg', NULL, 1, '2015-10-05 11:28:44', '39,40', 'E'),
(153, 41, 'Test', NULL, 'Test', '2015-10-10', '2015-10-15', 'street', 12345, 'NY', 'SCHENECTADY', -73.92000000000002, 42.8, NULL, NULL, NULL, 'Test', '786786786', NULL, NULL, NULL, 'NC', 1, '2015-10-06 06:53:15', '57,58', 'E'),
(154, 98, 'Test2', NULL, NULL, '2015-10-14', '2015-10-17', '34wer34', 12345, 'NY', 'SCHENECTADY', -73.92197410583498, 42.79987404679295, NULL, NULL, NULL, 'Test', '897897987897', NULL, NULL, NULL, 'NC', 1, '2015-10-06 08:06:49', '58,67', '1'),
(156, 32, 'Test2', NULL, NULL, '2015-10-14', '2015-10-23', '123', 12345, 'NY', 'SCHENECTADY', -73.92000000000002, 42.8, NULL, NULL, NULL, 'Test', '9865632236', NULL, NULL, NULL, 'Company', 1, '2015-10-06 09:53:19', '57', '1'),
(157, 1, 'Test Event', NULL, NULL, '2015-10-15', '2015-10-15', '12345', 12345, 'NY', 'SCHENECTADY', -73.92266075134279, 42.80075571385798, NULL, NULL, NULL, 'Test', '1231231', NULL, NULL, NULL, 'admin', 1, '2015-10-07 12:20:49', '39', 'E'),
(158, 1, 'Test Event', NULL, NULL, '2015-10-15', '2015-10-23', '12345', 12345, 'NY', 'SCHENECTADY', NULL, NULL, NULL, NULL, NULL, 'Test', '1231231', NULL, NULL, NULL, 'admin', 1, '2015-10-07 12:26:04', '39', 'E'),
(159, 1, 'my demo event', NULL, 'Zafar', '2016-03-02', '2016-03-08', 'yuganda', 12345, 'NY', 'SCHENECTADY', -73.92000000000002, 42.8, 'wed', NULL, NULL, 'Zafar', '7860158305', NULL, NULL, 'photos/event/image/img_R15ug47tIGuqI3sbeEI5.png', 'admin', 1, '2016-03-02 04:33:51', '39,40', 'E'),
(160, 1, 'demo event jjjj', NULL, 'Zafar', '2016-03-02', '2016-03-18', 'lucknow', 12345, 'NY', 'SCHENECTADY', -73.92000000000002, 42.8, 'hiuhui', NULL, NULL, 'Zafar', '7678767853', NULL, NULL, 'photos/event/image/img_pe6rI2gALDliKXiaqhBh.png', 'admin', 1, '2016-03-02 04:41:40', '40', 'E'),
(161, 111, 'mera event daudo yaaron', NULL, 'Akshay', '2016-03-02', '2016-03-16', 'lucknow', 12345, 'NY', 'SCHENECTADY', -73.92000000000002, 42.8, 'ee', 'photos/event/brochure/br_Zsdf9RBa8jJBEa6GXgC1.jpg', NULL, 'Akshay', '9876543210', NULL, NULL, 'photos/event/image/img_IWPCd3Da7TyHDnwQxP2G.jpg', NULL, 1, '2016-03-02 05:08:28', '40', 'E'),
(162, 98, 'event bu tom', NULL, 'zafar', '2016-03-02', '2016-03-06', 'yuganda', 12345, 'NY', 'SCHENECTADY', -73.92000000000002, 42.8, 'uihi', NULL, NULL, 'zafar', '7860158305', NULL, NULL, 'photos/event/image/img_maMlApgoS8TPQ157yhBb.png', 'NC', 1, '2016-03-02 05:58:29', '52', 'E'),
(163, 98, 'my demo event', NULL, NULL, '2016-03-06', '2016-03-07', 'lucknow', 12345, 'NY', 'SCHENECTADY', -73.92000000000002, 42.8, '2erwtt', NULL, NULL, 'Zafar', '7678767853', NULL, 'photos/event/thumb/t_068645001456898.png', 'photos/event/image/i_068645001456898.png', 'NC', 1, '2016-03-02 06:01:52', '57', '1'),
(173, 98, 'running event', NULL, 'sheetal', '2016-03-03', '2016-03-04', 'lucknow', 22222, 'VA', 'ARLINGTON', -77.10000000000002, 38.87, 'scvdvdfve', NULL, NULL, 'sheetal', '7860158305', NULL, NULL, 'photos/event/image/img_urrzkkBk7cZpi7NGQGPt.png', 'NC', 1, '2016-03-02 11:27:38', '52', 'C'),
(174, 32, 'Cycling Event', NULL, 'Zafar Iqbal Khan', '2016-03-12', '2016-03-13', 'Sitapur', 12121, 'NY', 'MELROSE', NULL, NULL, 'wrfgegg rgererrterter erer', NULL, NULL, 'Zafar Iqbal Khan', '7860158305', NULL, NULL, 'photos/event/image/img_MZdsRKQEBpEumoHfZGCA.jpg', 'Company', 1, '2016-03-02 11:37:12', '64', '3'),
(175, 32, 'rajzwant bicycling 23232', NULL, NULL, '2016-03-02', '2016-03-08', 'lucknow', 32123, 'FL', 'PORT ORANGE', -81.05000000000001, 29.19, 'ergetge rth tryry r', NULL, NULL, 'sheetal', '7678767853', NULL, NULL, 'photos/event/image/img_PKsKIARt1DSYxR8WDJGA.png', 'Company', 1, '2016-03-02 11:44:12', '58', '3'),
(176, 32, 'example demo event', NULL, 'Jafar Iqbal Khan', '2016-03-05', '2016-03-07', 'lucknow', 12345, 'NY', 'SCHENECTADY', -73.92000000000002, 42.8, 'description', NULL, NULL, 'Jafar Iqbal Khan', '7860158305', NULL, NULL, 'photos/event/image/img_mfeja3YxybEhDTaw2TNJ.png', 'Company', 1, '2016-03-04 10:07:49', '57,59', '3');

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

--
-- Table structure for table `th_event_registration`
--

CREATE TABLE IF NOT EXISTS `th_event_registration` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `event_id` int(11) DEFAULT NULL,
  `event_type` varchar(10) DEFAULT NULL,
  `register_by` varchar(100) NOT NULL DEFAULT 'Self',
  `event_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;

--
-- Dumping data for table `th_event_registration`
--

INSERT INTO `th_event_registration` (`id`, `rgs_id_fkx`, `event_id`, `event_type`, `register_by`, `event_date`) VALUES
(1, 1, 175, 'Company', 'Self', '2016-03-05 09:52:21'),
(4, 41, 175, 'Company', '1', '2016-03-05 10:02:24'),
(5, 1, 1, 'admin', 'Self', '2016-03-05 11:54:30'),
(6, 1, 3, 'admin', 'Self', '2016-03-06 05:06:26');

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

--
-- Table structure for table `th_event_views`
--

CREATE TABLE IF NOT EXISTS `th_event_views` (
  `ev_id` int(10) NOT NULL AUTO_INCREMENT,
  `event_id_fkx` int(10) NOT NULL,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `ev_ip` varchar(40) NOT NULL,
  `ev_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ev_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=140 ;

--
-- Dumping data for table `th_event_views`
--

INSERT INTO `th_event_views` (`ev_id`, `event_id_fkx`, `rgs_id_fkx`, `ev_ip`, `ev_time`) VALUES
(1, 2, 1, '192.168.1.83', '2012-09-25 13:25:45'),
(2, 1, 1, '192.168.1.83', '2012-09-28 12:03:20'),
(3, 2, 7, '192.168.1.83', '2012-09-25 13:25:45'),
(4, 2, 81, '192.168.1.83', '2012-09-25 13:25:45'),
(5, 1, 81, '192.168.1.83', '2012-09-28 12:03:20'),
(6, 2, 65, '192.168.1.83', '2012-09-25 13:25:45'),
(7, 2, 17, '192.168.1.83', '2012-09-25 13:25:45'),
(8, 2, 23, '192.168.1.83', '2012-09-25 13:25:45'),
(9, 2, 23, '192.168.1.83', '2012-09-25 13:25:45'),
(10, 1, 23, '192.168.1.83', '2012-09-28 12:03:20'),
(11, 3, 7, '192.168.1.83', '2012-10-13 12:01:35'),
(12, 4, 1, '192.168.1.83', '2012-10-11 08:36:55'),
(13, 3, 1, '192.168.1.83', '2012-10-13 12:01:35'),
(14, 5, 1, '192.168.1.83', '2012-10-11 08:36:53'),
(15, 6, 1, '192.168.1.83', '2012-10-10 12:38:37'),
(16, 8, 1, '192.168.1.83', '2012-10-11 08:36:41'),
(17, 12, 1, '192.168.1.83', '2012-11-15 05:20:17'),
(18, 25, 1, '192.168.1.5', '2013-06-04 06:40:09'),
(19, 17, 1, '192.168.137.5', '2013-12-26 07:49:15'),
(20, 9, 1, '192.168.1.83', '2012-10-11 08:36:40'),
(21, 0, 1, '192.168.1.4', '2014-04-04 04:59:37'),
(22, 10, 1, '192.168.1.2', '2012-11-28 07:20:39'),
(23, 11, 7, '192.168.1.83', '2012-10-13 08:48:25'),
(24, 12, 81, '192.168.1.83', '2012-11-15 05:20:17'),
(25, 13, 1, '192.168.1.63', '2013-07-17 11:29:00'),
(26, 14, 1, '192.168.1.83', '2013-01-23 06:43:38'),
(27, 14, 81, '192.168.1.83', '2013-01-23 06:43:38'),
(28, 15, 7, '192.168.1.139', '2013-06-21 04:25:40'),
(29, 14, 63, '192.168.1.83', '2013-01-23 06:43:38'),
(30, 15, 63, '192.168.1.139', '2013-06-21 04:25:40'),
(31, 15, 33, '192.168.1.139', '2013-06-21 04:25:40'),
(32, 10, 81, '192.168.1.2', '2012-11-28 07:20:39'),
(33, 15, 81, '192.168.1.139', '2013-06-21 04:25:40'),
(34, 15, 1, '192.168.1.139', '2013-06-21 04:25:40'),
(35, 13, 63, '192.168.1.63', '2013-07-17 11:29:00'),
(36, 16, 1, '192.168.1.4', '2014-04-14 11:15:09'),
(37, 16, 7, '192.168.1.4', '2014-04-14 11:15:09'),
(38, 16, 63, '192.168.1.4', '2014-04-14 11:15:09'),
(39, 16, 81, '192.168.1.4', '2014-04-14 11:15:09'),
(40, 17, 63, '192.168.137.5', '2013-12-26 07:49:15'),
(42, 17, 65, '192.168.137.5', '2013-12-26 07:49:15'),
(43, 17, 7, '192.168.137.5', '2013-12-26 07:49:15'),
(44, 18, 81, '192.168.137.5', '2013-12-26 07:48:53'),
(45, 18, 63, '192.168.137.5', '2013-12-26 07:48:53'),
(46, 18, 1, '192.168.137.5', '2013-12-26 07:48:53'),
(47, 18, 65, '192.168.137.5', '2013-12-26 07:48:53'),
(48, 18, 61, '192.168.137.5', '2013-12-26 07:48:53'),
(49, 0, 81, '192.168.1.4', '2014-04-04 04:59:37'),
(50, 22, 1, '192.168.1.83', '2013-01-23 06:43:45'),
(51, 21, 1, '192.168.1.83', '2013-01-18 10:35:56'),
(52, 22, 81, '192.168.1.83', '2013-01-23 06:43:45'),
(53, 23, 19, '192.168.1.63', '2013-05-31 13:54:10'),
(54, 24, 1, '192.168.1.63', '2013-06-03 07:27:14'),
(55, 23, 1, '192.168.1.63', '2013-05-31 13:54:10'),
(56, 25, 19, '192.168.1.5', '2013-06-04 06:40:09'),
(57, 26, 19, '192.168.1.5', '2013-06-04 07:07:36'),
(58, 26, 1, '192.168.1.5', '2013-06-04 07:07:36'),
(59, 27, 19, '192.168.1.5', '2013-06-04 07:25:03'),
(60, 28, 19, '192.168.1.139', '2013-06-08 05:11:09'),
(61, 30, 1, '192.168.1.5', '2013-06-04 07:51:55'),
(62, 29, 1, '192.168.1.5', '2013-06-04 07:51:58'),
(63, 0, 19, '192.168.1.4', '2014-04-04 04:59:37'),
(64, 28, 1, '192.168.1.139', '2013-06-08 05:11:09'),
(65, 32, 1, '192.168.1.139', '2013-06-07 10:25:04'),
(66, 32, 81, '192.168.1.139', '2013-06-07 10:25:04'),
(67, 34, 19, '127.0.0.1', '2013-06-10 08:24:12'),
(68, 34, 1, '127.0.0.1', '2013-06-10 08:24:12'),
(69, 35, 1, '192.168.1.139', '2013-06-08 05:19:29'),
(70, 36, 1, '192.168.1.139', '2013-06-08 09:23:12'),
(71, 36, 19, '192.168.1.139', '2013-06-08 09:23:12'),
(72, 37, 1, '192.168.1.139', '2013-06-08 12:05:46'),
(73, 37, 19, '192.168.1.139', '2013-06-08 12:05:46'),
(74, 39, 22, '192.168.1.4', '2014-04-05 11:37:16'),
(75, 39, 1, '192.168.1.4', '2014-04-05 11:37:16'),
(76, 38, 1, '192.168.1.2', '2013-06-22 13:35:37'),
(77, 44, 1, '192.168.1.4', '2014-03-03 07:48:51'),
(78, 44, 19, '192.168.1.4', '2014-03-03 07:48:51'),
(80, 38, 19, '192.168.1.2', '2013-06-22 13:35:37'),
(83, 48, 1, '192.168.1.2', '2013-06-11 11:33:05'),
(85, 46, 1, '192.168.1.139', '2013-06-12 09:16:23'),
(86, 45, 1, '192.168.1.4', '2014-04-05 10:50:00'),
(87, 48, 19, '192.168.1.2', '2013-06-11 11:33:05'),
(89, 49, 1, '192.168.1.4', '2014-04-14 11:14:04'),
(90, 50, 1, '192.168.1.139', '2013-06-11 13:07:02'),
(95, 52, 1, '192.168.1.139', '2013-06-12 09:16:14'),
(97, 53, 1, '127.0.0.1', '2013-06-19 12:15:53'),
(99, 54, 1, '192.168.1.139', '2013-06-15 13:06:25'),
(100, 54, 19, '192.168.1.139', '2013-06-15 13:06:25'),
(102, 55, 1, '192.168.1.4', '2014-04-05 10:50:07'),
(103, 57, 1, '192.168.1.4', '2014-04-14 05:02:29'),
(104, 58, 1, '192.168.1.4', '2014-02-28 08:08:31'),
(105, 61, 1, '127.0.0.1', '2013-06-20 07:57:46'),
(106, 59, 1, '192.168.1.139', '2013-06-18 12:59:55'),
(107, 63, 1, '192.168.1.2', '2013-06-18 12:01:24'),
(108, 62, 1, '192.168.1.63', '2013-06-18 13:35:29'),
(109, 64, 1, '127.0.0.1', '2013-06-19 06:25:07'),
(110, 65, 1, '192.168.1.139', '2013-06-20 06:53:53'),
(111, 60, 1, '192.168.1.139', '2013-06-19 07:30:48'),
(112, 55, 81, '192.168.1.4', '2014-04-05 10:50:07'),
(113, 55, 7, '192.168.1.4', '2014-04-05 10:50:07'),
(115, 66, 1, '192.168.1.2', '2013-06-22 13:35:24'),
(117, 67, 1, '192.168.1.4', '2013-11-14 12:20:34'),
(118, 68, 81, '192.168.1.63', '2013-07-13 08:51:27'),
(120, 76, 81, '192.168.1.63', '2013-07-20 08:00:54'),
(121, 17, 81, '192.168.137.5', '2013-12-26 07:49:15'),
(122, 80, 1, '192.168.1.2', '2013-07-31 11:50:55'),
(123, 79, 1, '192.168.1.63', '2013-07-17 09:18:16'),
(124, 78, 1, '192.168.1.63', '2013-07-17 09:23:09'),
(125, 77, 1, '192.168.1.63', '2013-07-17 11:42:55'),
(126, 81, 1, '192.168.1.2', '2013-07-31 09:00:29'),
(127, 82, 1, '192.168.1.63', '2013-07-17 11:38:09'),
(129, 83, 1, '192.168.1.2', '2013-07-31 11:50:46'),
(130, 83, 7, '192.168.1.2', '2013-07-31 11:50:46'),
(131, 80, 7, '192.168.1.2', '2013-07-31 11:50:55'),
(132, 81, 7, '192.168.1.2', '2013-07-31 09:00:29'),
(133, 84, 7, '192.168.1.2', '2013-07-31 11:11:38'),
(134, 83, 81, '192.168.1.2', '2013-08-29 06:43:11'),
(135, 102, 1, '192.168.1.4', '2013-11-16 13:41:07'),
(136, 95, 1, '192.168.137.5', '2013-12-19 13:34:22'),
(137, 99, 1, '127.0.0.1', '2014-01-08 06:34:03'),
(138, 114, 1, '192.168.1.4', '2014-02-27 08:27:55'),
(139, 116, 1, '192.168.1.4', '2014-03-06 05:14:43');

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

--
-- Table structure for table `th_fitness_test`
--

CREATE TABLE IF NOT EXISTS `th_fitness_test` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `user_id_fkx` varchar(50) NOT NULL,
  `assess_id_fkx` varchar(15) NOT NULL,
  `vo2` varchar(10) NOT NULL,
  `vo2_remark` varchar(225) NOT NULL,
  `beep` varchar(10) NOT NULL,
  `beep_remark` varchar(225) NOT NULL,
  `cooper_min` varchar(15) NOT NULL,
  `cooper_sec` varchar(15) NOT NULL,
  `cooper_remark` varchar(225) NOT NULL,
  `minute` varchar(10) NOT NULL,
  `minute_remark` varchar(225) NOT NULL,
  `muscle` varchar(10) NOT NULL,
  `muscle_remark` varchar(225) NOT NULL,
  `seven` varchar(10) NOT NULL,
  `seven_remark` varchar(225) NOT NULL,
  `four` varchar(10) NOT NULL,
  `four_remark` varchar(225) NOT NULL,
  `abdominal` varchar(10) NOT NULL,
  `abdominal_remark` varchar(225) NOT NULL,
  `vertical` varchar(10) NOT NULL,
  `vertical_remark` varchar(225) NOT NULL,
  `speed` varchar(10) NOT NULL,
  `speed_remark` varchar(225) NOT NULL,
  `skin` varchar(10) NOT NULL,
  `skin_type` varchar(15) NOT NULL,
  `skin_remark` varchar(225) NOT NULL,
  `WHR` varchar(10) NOT NULL,
  `WHR_remark` varchar(225) NOT NULL,
  `pushup` varchar(10) NOT NULL,
  `pushup_remark` varchar(225) NOT NULL,
  `situp` varchar(10) NOT NULL,
  `situp_remark` varchar(225) NOT NULL,
  `squat` varchar(10) NOT NULL,
  `squat_remark` varchar(225) NOT NULL,
  `minute_step` varchar(10) NOT NULL,
  `minute_step_remark` varchar(225) NOT NULL,
  `sitreach` varchar(10) NOT NULL,
  `sitreach_remark` varchar(225) NOT NULL,
  `bmi_height` varchar(15) NOT NULL,
  `bmi_weight` varchar(15) NOT NULL,
  `bmi_remark` varchar(225) NOT NULL,
  `girth` varchar(225) NOT NULL,
  `test_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `update_status` varchar(2) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=73 ;

--
-- Dumping data for table `th_fitness_test`
--

INSERT INTO `th_fitness_test` (`id`, `rgs_id_fkx`, `user_id_fkx`, `assess_id_fkx`, `vo2`, `vo2_remark`, `beep`, `beep_remark`, `cooper_min`, `cooper_sec`, `cooper_remark`, `minute`, `minute_remark`, `muscle`, `muscle_remark`, `seven`, `seven_remark`, `four`, `four_remark`, `abdominal`, `abdominal_remark`, `vertical`, `vertical_remark`, `speed`, `speed_remark`, `skin`, `skin_type`, `skin_remark`, `WHR`, `WHR_remark`, `pushup`, `pushup_remark`, `situp`, `situp_remark`, `squat`, `squat_remark`, `minute_step`, `minute_step_remark`, `sitreach`, `sitreach_remark`, `bmi_height`, `bmi_weight`, `bmi_remark`, `girth`, `test_date`, `update_status`) VALUES
(9, 1, '41', '77', '45', '<font style="color:#63E75E;">Good</font>', '55', '<font style="color:#007FFF;">Excellent</font>', '', '', '', '', '', '44', '<font style="color:#E60108;">Very Poor</font>', '0', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '1', '<font style="color:#FD4B0F;">Poor</font>', '', '', '', '', '', '', '', 'N', '', '0.98', '', '55', '<font style="color:#007FFF;">Excellent</font>', '55', '<font style="color:#007FFF;">Excellent</font>', '55', '<font style="color:#007FFF;">Excellent</font>', '', '', '55', '<font style="color:#084C9E;">Super</font>', '67', '1069', '<font style="color:#1DBC17;">Normal</font>', 'a:13:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:2:"58";i:8;s:2:"59";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";}', '2013-10-11 12:48:16', '1'),
(10, 1, '41', '78', '22', '<font style="color:#63E75E;">Good</font>', '22', '<font style="color:#007FFF;">Excellent</font>', '22', '22', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '22', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '22', '<font style="color:#E60108;">Very Poor</font>', '6', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#1DBC17;">Very Good</font>', '2', '<font style="color:#DFC22A;">Average</font>', '75', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '22', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#63E75E;">Above Average</font>', '22', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '22', 'N', '<font style="color:red;">Not Applicable</font>', '0.81', '', '22', '<font style="color:#007FFF;">Excellent</font>', '22', '<font style="color:#007FFF;">Excellent</font>', '22', '<font style="color:#007FFF;">Excellent</font>', '22', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '22', '<font style="color:#084C9E;">Super</font>', '67', '77', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#DFC22A;">Under Weight</font>', 'a:13:{i:0;s:2:"22";i:1;s:2:"22";i:2;s:2:"22";i:3;s:2:"22";i:4;s:2:"22";i:5;s:2:"22";i:6;s:2:"22";i:7;s:2:"34";i:8;s:2:"42";i:9;s:2:"22";i:10;s:2:"22";i:11;s:2:"22";i:12;s:2:"22";}', '2013-10-07 10:44:20', '1'),
(11, 1, '41', '79', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#63E75E;">Good</font>', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '55', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '4', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#63E75E;">Above Average</font>', '2', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#DFC22A;">Average</font>', '90', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '55', 'N', '<font style="color:red;">Not Applicable</font>', '1.36', '', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '54', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#084C9E;">Super</font>', '173', '143', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#1DBC17;">Normal</font>', 'a:13:{i:0;s:2:"55";i:1;s:2:"20";i:2;s:2:"55";i:3;s:2:"55";i:4;s:2:"55";i:5;s:2:"55";i:6;s:2:"55";i:7;s:2:"34";i:8;s:2:"25";i:9;s:2:"55";i:10;s:2:"55";i:11;s:2:"55";i:12;s:2:"55";}', '2013-05-25 13:13:21', '1'),
(19, 39, '41', '87', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '86', 'N', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#63E75E;">Good</font>', '0.84', '', '54', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '', '', '', '', '', '', '', '', '50', '142', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Obese</font>', 'a:13:{i:0;s:0:"";i:1;s:1:"0";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:2:"32";i:8;s:2:"38";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";}', '2015-05-05 08:13:45', '0'),
(20, 76, '41', '88', '3', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '3', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '3', '3', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#084C9E;">Superior</font>', '3', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '3', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '1', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '3', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#63E75E;">Good</font>', '90', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '3', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '3', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#1DBC17;">Very Good</font>', '3', 'N', '<font style="color:red;">Not Applicable</font>', '1.33', '', '3', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '3', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '3', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '3', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '3', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#DFC22A;">Average</font>', '177', '150', '<font style="color:#DFC22A;">Under Weight</font>', 'a:13:{i:0;s:0:"";i:1;s:2:"12";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:2:"44";i:8;s:2:"33";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";}', '2015-05-05 08:13:45', '0'),
(21, 56, '41', '89', '77', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '77', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '60', '60', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '77', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '77', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '5', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#63E75E;">Good</font>', '1', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '45', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#DFC22A;">Average</font>', '77', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '77', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '77', 'A', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#63E75E;">Good</font>', '1.00', '', '77', '<font style="color:red;">Not Applicable</font>', '77', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '77', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '77', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '77', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#084C9E;">Super</font>', '77', '77', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#DFC22A;">Under Weight</font>', 'a:13:{i:0;s:2:"77";i:1;s:2:"77";i:2;s:2:"77";i:3;s:2:"77";i:4;s:2:"77";i:5;s:2:"77";i:6;s:2:"77";i:7;s:2:"77";i:8;s:2:"77";i:9;s:2:"77";i:10;s:2:"77";i:11;s:2:"77";i:12;s:2:"77";}', '2015-05-05 08:13:45', '0'),
(22, 49, '41', '90', '66', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '66', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '55', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '4', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#63E75E;">Above Average</font>', '1', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '75', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '55', 'A', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '0.4', '', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '55', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '66', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#084C9E;">Super</font>', '173', '160', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#DFC22A;">Under Weight</font>', 'a:13:{i:0;s:0:"";i:1;s:2:"10";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:2:"12";i:8;s:2:"30";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";}', '2015-05-05 08:13:45', '0'),
(46, 18, '41', '114', '22', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FF9315;">Below Average</font>', '22', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '22', '22', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '22', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '22', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '3', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#DFC22A;">Average</font>', '2', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#DFC22A;">Average</font>', '75', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '22', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#63E75E;">Above Average</font>', '22', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '22', 'A', '<font style="color:red;">Not Applicable</font>', '1.00', '', '22', '<font style="color:red;">Not Applicable</font>', '22', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#63E75E;">Good</font>', '22', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#63E75E;">Good</font>', '22', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '56', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#084C9E;">Super</font>', '170', '177', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FF9315;">Over Weight</font>', 'a:13:{i:0;s:2:"22";i:1;s:2:"22";i:2;s:2:"22";i:3;s:2:"22";i:4;s:2:"22";i:5;s:2:"22";i:6;s:2:"22";i:7;s:2:"22";i:8;s:2:"22";i:9;s:2:"22";i:10;s:2:"22";i:11;s:2:"22";i:12;s:2:"22";}', '2015-05-05 08:13:45', '0'),
(47, 39, '41', '115', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'N', '', '1', '', '', '', '', '', '', '', '', '', '', '', '173', '150', '<font style="color:#1DBC17;">Normal</font>', 'a:13:{i:0;s:0:"";i:1;s:2:"12";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:2:"32";i:8;s:2:"32";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";}', '2015-05-05 08:13:45', '1'),
(48, 81, '41', '116', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '2015-05-05 08:13:45', '0'),
(49, 81, '41', '117', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '2015-05-05 08:13:45', '0'),
(50, 81, '41', '118', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '2015-05-05 08:13:45', '0'),
(51, 81, '41', '119', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '2015-05-05 08:13:45', '0'),
(52, 81, '41', '120', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '45', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#DFC22A;">Average</font>', '', '', '', '', '', 'N', '', '1', '', '', '', '', '', '', '', '', '', '', '', '122', '77', '<font style="color:#1DBC17;">Normal</font>', 'a:13:{i:0;s:2:"45";i:1;s:2:"30";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:2:"32";i:8;s:2:"32";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";}', '2015-05-05 08:13:45', '1'),
(60, 39, '41', '129', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'N', '', '1', '', '', '', '', '', '', '', '', '', '', '', '173', '150', '<font style="color:#1DBC17;">Normal</font>', 'a:13:{i:0;s:0:"";i:1;s:2:"12";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:2:"32";i:8;s:2:"32";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";}', '2015-05-05 08:13:45', '1'),
(61, 1, '41', '130', '55', '<font style="color:#63E75E;">Good</font>', '55', '<font style="color:#007FFF;">Excellent</font>', '', '', '', '', '', '55', '<font style="color:#E60108;">Very Poor</font>', '', '', '2', '<font style="color:#DFC22A;">Average</font>', '', '', '', '', '', '', '', 'N', '', '0.81', '', '55', '<font style="color:#007FFF;">Excellent</font>', '55', '<font style="color:#007FFF;">Excellent</font>', '55', '<font style="color:#007FFF;">Excellent</font>', '', '', '55', '<font style="color:#084C9E;">Super</font>', '67', '77', '<font style="color:#E60108;">Extremely Obese</font>', 'a:13:{i:0;s:0:"";i:1;s:2:"22";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:2:"34";i:8;s:2:"42";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";}', '2013-10-08 05:43:46', '1'),
(62, 1, '41', '131', '1', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '1', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '40', '40', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '1', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '1', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '0', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '0', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '90', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '1', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '1', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#1DBC17;">Very Good</font>', '6764', 'A', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FD4B0F;">Poor</font>', '0.98', '', '1', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '1', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '1', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#E60108;">Very Poor</font>', '1', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#007FFF;">Excellent</font>', '15', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#63E75E;">Good</font>', '164', '150', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#FF9315;">Over Weight</font>', 'a:13:{i:0;s:2:"51";i:1;s:2:"52";i:2;s:2:"53";i:3;s:2:"54";i:4;s:2:"55";i:5;s:2:"56";i:6;s:2:"57";i:7;s:2:"58";i:8;s:2:"59";i:9;s:2:"60";i:10;s:2:"61";i:11;s:2:"62";i:12;s:2:"63";}', '2015-06-11 09:22:58', '1'),
(63, 1, '41', '132', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '2013-10-11 12:42:01', '0'),
(64, 1, '41', '133', '55', '<font style="color:#63E75E;">Good</font>', '55', '<font style="color:#007FFF;">Excellent</font>', '', '', '', '', '', '44', '<font style="color:#E60108;">Very Poor</font>', '', '', '1', '<font style="color:#FD4B0F;">Poor</font>', '', '', '', '', '', '', '', 'N', '', '0.98', '', '55', '<font style="color:#007FFF;">Excellent</font>', '55', '<font style="color:#007FFF;">Excellent</font>', '55', '<font style="color:#007FFF;">Excellent</font>', '', '', '55', '<font style="color:#084C9E;">Super</font>', '67', '1069', '<font style="color:#E60108;">Extremely Obese</font>', 'a:13:{i:0;s:0:"";i:1;s:2:"52";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:2:"89";i:7;s:2:"58";i:8;s:2:"59";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";}', '2013-10-14 04:45:47', '1'),
(65, 1, '41', '134', '50', '\r\n\r\n\r\n\r\n\r\n\r\n		<font style="color:#63E75E;">Above Average</font>', '55', '<font style="color:#007FFF;">Excellent</font>', '', '', '', '', '', '44', '<font style="color:#E60108;">Very Poor</font>', '', '', '1', '<font style="color:#FD4B0F;">Poor</font>', '', '', '', '', '', '', '', 'N', '', '0.98', '', '55', '<font style="color:#007FFF;">Excellent</font>', '55', '<font style="color:#007FFF;">Excellent</font>', '55', '<font style="color:#007FFF;">Excellent</font>', '', '', '55', '<font style="color:#084C9E;">Super</font>', '67', '1069', '<font style="color:#E60108;">Extremely Obese</font>', 'a:13:{i:0;s:0:"";i:1;s:2:"52";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:2:"58";i:8;s:2:"59";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";}', '2013-10-18 08:53:00', '1'),
(66, 81, '41', '135', '25', '<font style="color:;"></font>', '14', '<font style="color:#007FFF;">Excellent</font>', '', '', '', '', '', '52', '<font style="color:#E60108;">Very Poor</font>', '', '', '1', '<font style="color:#FD4B0F;">Poor</font>', '', '', '', '', '', '', '', 'N', '', '1', '', '55', '<font style="color:;"></font>', '54', '<font style="color:;"></font>', '11', '<font style="color:;"></font>', '', '', '54', '<font style="color:#007FFF;">Excellent</font>', '', '', '<font style="color:#DFC22A;">Under Weight</font>', 'a:13:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";i:3;s:0:"";i:4;s:0:"";i:5;s:0:"";i:6;s:0:"";i:7;s:2:"32";i:8;s:2:"32";i:9;s:0:"";i:10;s:0:"";i:11;s:0:"";i:12;s:0:"";}', '2015-05-05 08:13:45', '1'),
(67, 18, '41', '136', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '2015-05-05 08:13:45', '0'),
(69, 7, '41', '138', '4', '\r\n\r\n<font style="color:#E60108;">Very Poor</font>', '5', '\r\n\r\n<font style="color:#FD4B0F;">Poor</font>', '56', '6', '\r\n\r\n<font style="color:#E60108;">Very Poor</font>', '56', '\r\n\r\n<font style="color:#FD4B0F;">Poor</font>', '56', '\r\n\r\n<font style="color:#FF9315;">Below Average</font>', '4', '\r\n\r\n<font style="color:#63E75E;">Above Average</font>', '', '', '75', '\r\n\r\n<font style="color:#FD4B0F;">Poor</font>', '45', '\r\n\r\n<font style="color:#007FFF;">Excellent</font>', '45', '\r\n\r\n<font style="color:#FD4B0F;">Poor</font>', '', 'N', '', '0.50', '', '456', '\r\n\r\n<font style="color:#007FFF;">Excellent</font>', '544', '\r\n\r\n<font style="color:#007FFF;">Excellent</font>', '', '', '45', '\r\n\r\n<font style="color:#007FFF;">Excellent</font>', '45', '\r\n\r\n<font style="color:#084C9E;">Super</font>', '45', '345', '\r\n\r\n<font style="color:#E60108;">Extremely Obese</font>', 'a:13:{i:0;s:2:"54";i:1;s:2:"45";i:2;s:2:"56";i:3;s:2:"56";i:4;s:2:"45";i:5;s:1:"5";i:6;s:2:"45";i:7;s:2:"32";i:8;s:2:"64";i:9;s:2:"43";i:10;s:2:"45";i:11;s:1:"4";i:12;s:1:"4";}', '2015-05-05 08:13:45', '1'),
(70, 10, '41', '139', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '2015-05-05 08:13:45', '0'),
(72, 1, '41', '141', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '2015-06-30 10:34:19', '0');

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

--
-- Table structure for table `th_get_well_soon_wishes`
--

CREATE TABLE IF NOT EXISTS `th_get_well_soon_wishes` (
  `tc_gift_id` int(11) NOT NULL AUTO_INCREMENT,
  `tc_sender_id` int(10) unsigned NOT NULL,
  `tc_reciever_id` int(10) unsigned NOT NULL,
  `tc_tulasi_sent` int(11) DEFAULT NULL,
  `tc_sent_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`tc_gift_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=43 ;

--
-- Dumping data for table `th_get_well_soon_wishes`
--

INSERT INTO `th_get_well_soon_wishes` (`tc_gift_id`, `tc_sender_id`, `tc_reciever_id`, `tc_tulasi_sent`, `tc_sent_time`) VALUES
(1, 1, 7, 5, '2012-09-12 12:23:03'),
(2, 1, 23, 5, '2012-09-12 13:17:10'),
(3, 1, 7, 5, '2012-09-13 04:34:48'),
(4, 1, 7, 5, '2012-09-13 05:05:06'),
(5, 23, 1, 5, '2012-09-13 05:17:12'),
(6, 1, 81, 5, '2012-09-13 06:35:53'),
(7, 1, 7, 5, '2012-09-13 06:36:07'),
(8, 1, 23, 5, '2012-09-13 11:12:25'),
(9, 23, 7, 5, '2012-09-13 11:13:20'),
(10, 1, 87, 5, '2012-09-13 11:16:15'),
(11, 1, 65, 5, '2012-09-13 11:16:47'),
(12, 7, 1, 5, '2012-09-13 13:26:53'),
(13, 23, 1, 5, '2012-09-19 05:37:06'),
(14, 23, 7, 5, '2012-09-19 05:37:51'),
(15, 1, 7, 5, '2012-09-19 07:13:37'),
(16, 81, 1, 5, '2012-09-19 11:50:28'),
(17, 1, 81, 5, '2012-09-19 11:51:46'),
(18, 7, 1, 5, '2012-09-19 11:56:42'),
(19, 23, 81, 5, '2012-09-20 06:34:11'),
(20, 81, 1, 5, '2012-09-21 05:49:34'),
(21, 1, 65, 5, '2012-11-20 11:02:52'),
(22, 1, 7, 5, '2012-11-20 11:03:16'),
(23, 65, 81, 5, '2012-11-26 09:02:10'),
(24, 1, 7, 5, '2012-12-03 08:26:50'),
(25, 1, 65, 5, '2012-12-11 04:58:09'),
(26, 65, 81, 5, '2012-12-11 11:45:26'),
(27, 1, 65, 5, '2013-01-01 05:52:26'),
(28, 81, 1, 5, '2013-03-23 10:21:35'),
(29, 1, 81, 5, '2013-05-23 13:44:31'),
(30, 1, 81, 5, '2013-05-24 10:39:17'),
(32, 1, 41, 5, '2014-03-14 12:23:46'),
(33, 1, 81, 5, '2014-03-15 10:30:46'),
(35, 1, 33, 5, '2014-04-07 05:39:41'),
(36, 1, 17, 5, '2014-04-07 05:39:41'),
(38, 1, 7, 5, '2014-05-08 06:43:11'),
(39, 81, 1, 5, '2014-05-12 07:39:52'),
(40, 1, 7, 5, '2014-05-30 07:39:08'),
(41, 1, 17, 5, '2015-01-31 11:25:48'),
(42, 1, 7, 5, '2015-01-31 11:25:59');

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

--
-- Table structure for table `th_habi`
--

CREATE TABLE IF NOT EXISTS `th_habi` (
  `habi_id` int(11) NOT NULL AUTO_INCREMENT,
  `habi_cdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `habi_wmilk` int(11) DEFAULT NULL,
  `habi_1milk` int(11) DEFAULT NULL,
  `habi_2milk` int(11) DEFAULT NULL,
  `habi_ffmilk` int(11) DEFAULT NULL,
  `habi_soda` int(11) DEFAULT NULL,
  `habi_dietsoda` int(11) DEFAULT NULL,
  `habi_water` int(11) DEFAULT NULL,
  `habi_fj` int(11) DEFAULT NULL,
  `habi_beer` int(11) DEFAULT NULL,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `source_type` varchar(50) DEFAULT 'Self',
  `hv_person_id` varchar(100) DEFAULT NULL COMMENT 'coach_id or client_id',
  PRIMARY KEY (`habi_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=101 ;

--
-- Dumping data for table `th_habi`
--

INSERT INTO `th_habi` (`habi_id`, `habi_cdate`, `habi_wmilk`, `habi_1milk`, `habi_2milk`, `habi_ffmilk`, `habi_soda`, `habi_dietsoda`, `habi_water`, `habi_fj`, `habi_beer`, `rgs_id_fkx`, `source_type`, `hv_person_id`) VALUES
(6, '2012-06-25 06:55:34', 3, 1, 0, 0, 3, 2, 12, 0, 0, 1, 'Self', NULL),
(7, '2012-06-28 12:54:41', 1, 0, 0, 2, 2, 1, 10, 0, 0, 1, 'Self', NULL),
(8, '2012-07-27 07:07:16', 2, 2, 3, 3, 4, 3, 3, 0, 0, 1, 'Self', NULL),
(9, '2012-07-31 09:35:31', 3, 4, 0, 0, 0, 0, 10, 0, 0, 1, 'Self', NULL),
(10, '2012-08-01 11:47:25', 8, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(11, '2012-08-06 09:11:51', 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 'Self', NULL),
(12, '2012-08-07 12:42:28', 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(13, '2012-08-09 07:51:47', 3, 1, 0, 0, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(14, '2012-08-11 12:36:03', 0, 0, 0, 0, 0, 2, 0, 0, 0, 1, 'Self', NULL),
(16, '2012-08-22 08:09:37', 2, 2, 2, 2, 2, 2, 2, 0, 0, 1, 'Self', NULL),
(17, '2012-08-24 08:34:33', 2, 0, 0, 0, 0, 1, 5, 0, 0, 1, 'Self', NULL),
(18, '2012-08-30 13:12:41', 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(19, '2012-08-31 12:52:37', 2, 2, 2, 2, 3, 2, 2, 0, 0, 1, 'Self', NULL),
(20, '2012-09-01 08:09:36', 2, 1, 0, 0, 1, 3, 3, 0, 0, 1, 'Self', NULL),
(21, '2012-09-08 05:31:36', 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(22, '2012-09-10 12:22:52', 0, 3, 3, 0, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(23, '2012-09-13 05:41:14', 3, 0, 0, 0, 0, 0, 10, 0, 0, 1, 'Self', NULL),
(24, '2012-09-14 11:39:38', 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(25, '2012-09-20 08:04:43', 2, 2, 0, 0, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(26, '2012-09-21 07:44:25', 0, 3, 0, 0, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(27, '2012-09-21 12:59:38', 1, 0, 0, 0, 0, 0, 1, 0, 0, 17, 'Self', NULL),
(28, '2012-09-22 10:59:13', 0, 0, 0, 0, 0, 0, 2, 0, 0, 81, 'Self', NULL),
(29, '2012-09-24 11:58:49', 0, 2, 0, 0, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(30, '2012-09-24 13:17:04', 3, 2, 2, 0, 5, 2, 10, 0, 0, 7, 'Self', NULL),
(31, '2012-09-27 05:15:06', 0, 0, 0, 0, 0, 0, 2, 0, 0, 53, 'Self', NULL),
(32, '2012-10-11 11:04:35', 2, 2, 2, 2, 2, 2, 9, 0, 0, 1, 'Self', NULL),
(33, '2012-10-19 13:09:03', 1, 1, 3, 1, 1, 2, 10, 0, 0, 17, 'Self', NULL),
(34, '2012-10-27 09:16:03', 4, 1, 0, 0, 3, 3, 2, 0, 0, 17, 'Self', NULL),
(35, '2012-10-29 12:59:11', 5, 7, 7, 5, 4, 2, 3, 0, 0, 17, 'Self', NULL),
(36, '2012-11-17 09:04:04', 2, 3, 3, 0, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(37, '2012-12-17 10:53:22', 1, 0, 0, 0, 0, 0, 4, 0, 0, 53, 'Self', NULL),
(38, '2012-12-21 10:02:07', 4, 0, 0, 0, 0, 0, 0, 0, 0, 34, 'Self', NULL),
(39, '2013-01-08 09:22:48', 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(40, '2013-01-30 09:55:16', 0, 0, 1, 0, 0, 0, 6, 0, 0, 1, 'Self', NULL),
(41, '2013-02-15 05:13:06', 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(42, '2013-02-22 05:48:59', 3, 4, 2, 0, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(43, '2013-04-22 13:32:10', 5, 3, 3, 3, 6, 3, 3, 0, 0, 1, 'Self', NULL),
(44, '2013-04-23 11:00:33', 2, 4, 4, 1, 2, 2, 1, 0, 0, 1, 'Self', NULL),
(45, '2013-04-26 13:06:12', 2, 2, 12, 2, 2, 16, 2, 0, 0, 1, 'Self', NULL),
(46, '2013-05-01 09:16:19', 2, 2, 2, 2, 2, 2, 2, 0, 0, 1, 'Self', NULL),
(47, '2013-05-01 12:28:29', 2, 2, 3, 2, 2, 2, 2, 0, 0, 41, 'Self', NULL),
(48, '2013-05-03 12:39:48', 2, 2, 2, 2, 2, 2, 2, 0, 0, 39, 'Self', NULL),
(49, '2013-05-06 11:45:19', 2, 2, 2, 2, 2, 2, 2, 0, 0, 76, 'Self', NULL),
(50, '2013-05-10 05:36:32', 4, 4, 0, 0, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(51, '2013-05-10 13:34:45', 2, 2, 3, 1, 1, 2, 1, 0, 0, 49, 'Self', NULL),
(52, '2013-05-11 05:45:13', 0, 0, 0, 0, 0, 0, 5, 0, 0, 53, 'Self', NULL),
(53, '2013-05-14 05:31:54', 2, 1, 3, 1, 2, 1, 1, 0, 0, 1, 'Self', NULL),
(54, '2013-05-14 08:21:39', 2, 1, 2, 1, 1, 1, 1, 0, 0, 18, 'Self', NULL),
(55, '2013-05-14 12:22:27', 1, 0, 0, 0, 0, 0, 4, 0, 0, 53, 'Self', NULL),
(56, '2013-05-16 08:36:36', 2, 2, 2, 2, 4, 3, 2, 0, 0, 1, 'Self', NULL),
(58, '2013-05-25 06:54:56', 2, 2, 1, 1, 1, 1, 1, 0, 0, 1, 'Self', NULL),
(59, '2013-06-19 12:13:42', 2, 0, 0, 0, 0, 0, 0, 0, 0, 19, 'Self', NULL),
(60, '2013-07-20 08:10:43', 5, 5, 4, 4, 4, 18, 0, 0, 0, 7, 'Self', NULL),
(61, '2013-11-25 14:01:47', 3, 2, 2, 2, 3, 4, 4, 0, 0, 1, 'Self', NULL),
(62, '2013-11-29 13:44:14', 2, 2, 2, 2, 0, 0, 3, 0, 0, 1, 'Self', NULL),
(63, '2013-12-02 14:08:07', 4, 3, 0, 2, NULL, NULL, 8, 0, 0, 1, 'coach', '41'),
(72, '2013-12-02 18:30:00', NULL, NULL, NULL, NULL, 3, 5, NULL, 0, 0, 1, 'coach', '41'),
(74, '2013-12-05 07:28:01', NULL, NULL, NULL, NULL, NULL, NULL, 2, 0, 0, 1, 'coach', '41'),
(75, '2013-12-11 05:35:57', 2, 0, 0, 0, 2, 3, 8, 0, 0, 1, 'Self', NULL),
(76, '2013-12-16 11:17:20', 3, 5, 2, 5, 3, 3, 1, 0, 0, 1, 'Self', NULL),
(77, '2014-01-31 11:36:16', 3, 4, 2, 0, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(78, '2014-02-01 06:26:43', 2, 3, 0, 0, 0, 3, 7, 0, 0, 1, 'Self', NULL),
(79, '2014-04-09 04:38:15', 2, 2, 2, 2, 0, 0, 0, 0, 0, 1, 'Self', NULL),
(80, '2013-10-16 05:52:48', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, 1, 'coach', '41'),
(81, '2014-04-17 12:31:32', 9, 8, 3, 4, 1, 2, 12, 3, 2, 1, 'Self', NULL),
(82, '2014-04-18 08:03:59', 3, 2, 1, 3, 1, 3, 7, 5, 3, 1, 'Self', NULL),
(83, '2014-04-21 06:35:00', 1, 2, 5, 0, 0, 0, 4, 0, 0, 1, 'Self', NULL),
(84, '2014-04-25 12:46:50', 2, 5, 7, 4, 1, 4, 3, 2, 3, 63, 'Self', NULL),
(85, '2014-04-28 04:57:40', 2, 4, 3, 1, 1, 0, 9, 2, 0, 1, 'Self', NULL),
(86, '2014-05-05 13:08:50', 2, 2, 3, 6, 3, 4, 5, 4, 4, 1, 'Self', NULL),
(87, '2014-05-06 12:00:46', 5, 4, 4, 0, 0, 0, 9, 0, 0, 1, 'Self', NULL),
(88, '2014-05-13 07:46:54', NULL, NULL, NULL, NULL, NULL, NULL, 18, NULL, NULL, 1, 'coach', '41'),
(89, '2014-05-20 12:31:31', 4, 1, 3, 2, 2, 2, 11, 5, 2, 1, 'Self', NULL),
(90, '2014-07-04 07:51:44', 2, 5, 5, 1, 0, 0, 7, 0, 0, 1, 'Self', NULL),
(91, '2014-07-15 14:47:26', 5, 20, 0, 0, 0, 0, 13, 0, 0, 1, 'Self', NULL),
(92, '2014-07-24 11:03:46', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, 'coach', '41'),
(93, '2014-08-30 12:38:37', 5, 5, 4, 3, 6, 7, 5, 3, 5, 1, 'Self', NULL),
(94, '2015-04-27 04:55:10', NULL, NULL, NULL, NULL, NULL, NULL, 15, 8, 2, 1, 'coach', '98'),
(95, '2015-04-28 05:01:06', 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, 1, 'coach', '41'),
(96, '2015-05-14 05:09:07', 1, 0, 0, 2, NULL, NULL, NULL, NULL, NULL, 1, 'coach', '41'),
(97, '2015-07-02 10:34:19', 1, 0, 0, 0, 2, 0, 12, 5, 2, 1, 'Self', NULL),
(98, '2016-01-13 07:20:28', 1, 1, 1, 1, 2, 3, 22, 2, 0, 1, 'Self', NULL),
(99, '2016-03-16 10:50:31', 10, 10, 10, 10, 10, 10, 10, 10, 0, 111, 'Self', NULL),
(100, '2016-03-18 12:26:42', 5, 10, 10, 9, 0, 0, 15, 10, 0, 1, 'Self', NULL);

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

--
-- Table structure for table `th_haip`
--

CREATE TABLE IF NOT EXISTS `th_haip` (
  `haip_id` int(11) NOT NULL AUTO_INCREMENT,
  `haip_ftype` int(11) DEFAULT NULL COMMENT '1->Breakfast, 2->Lunch, 3->Snacks, 4->Dinner',
  `haip_cdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `haip_msize` int(11) DEFAULT '0',
  `haip_wgrain` float DEFAULT '0',
  `haip_rgrain` float DEFAULT '0',
  `haip_protien` float DEFAULT '0',
  `haip_vegetable` float DEFAULT '0',
  `haip_fruit` float DEFAULT '0',
  `rc_wgrain` float unsigned NOT NULL DEFAULT '0',
  `rc_rgrain` float unsigned NOT NULL DEFAULT '0',
  `rc_protien` float unsigned NOT NULL DEFAULT '0',
  `rc_vegetable` float unsigned NOT NULL DEFAULT '0',
  `rc_fruit` float unsigned NOT NULL DEFAULT '0',
  `recorded_from` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '0-> custom, 1-> Coach Recipe, 2-> Standard Plan Recipe',
  `meal_id` int(10) unsigned NOT NULL,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  PRIMARY KEY (`haip_id`),
  KEY `rgs_id_fkx` (`rgs_id_fkx`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=345 ;

--
-- Dumping data for table `th_haip`
--

INSERT INTO `th_haip` (`haip_id`, `haip_ftype`, `haip_cdate`, `haip_msize`, `haip_wgrain`, `haip_rgrain`, `haip_protien`, `haip_vegetable`, `haip_fruit`, `rc_wgrain`, `rc_rgrain`, `rc_protien`, `rc_vegetable`, `rc_fruit`, `recorded_from`, `meal_id`, `rgs_id_fkx`) VALUES
(48, 1, '2012-06-25 10:47:26', 0, 15, 55, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(49, 3, '2012-06-25 12:55:44', 1, 15, 20, 30, 20, 15, 0, 0, 0, 0, 0, 0, 0, 1),
(52, 1, '2012-06-28 12:53:24', 1, 20, 20, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 1),
(53, 2, '2012-06-28 12:53:36', 0, 15, 30, 10, 20, 5, 0, 0, 0, 0, 0, 0, 0, 1),
(54, 3, '2012-06-28 12:53:52', 0, 5, 10, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 1),
(55, 4, '2012-06-28 12:54:04', 0, 0, 20, 20, 15, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(56, 1, '2012-07-11 12:45:08', 1, 15, 15, 20, 20, 20, 0, 0, 0, 0, 0, 0, 0, 1),
(57, 1, '2012-07-12 07:09:12', 1, 15, 15, 15, 25, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(58, 1, '2012-07-13 13:19:38', 0, 35, 10, 5, 10, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(59, 2, '2012-07-13 13:20:24', 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(60, 3, '2012-07-13 13:21:33', 0, 0, 0, 5, 35, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(61, 4, '2012-07-13 13:22:07', 1, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1),
(62, 1, '2012-07-21 07:30:44', 1, 35, 15, 30, 10, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(63, 2, '2012-07-21 07:31:05', 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(64, 1, '2012-07-24 08:16:17', 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(65, 2, '2012-07-24 08:16:34', 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(66, 3, '2012-07-24 08:19:25', 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(67, 4, '2012-07-24 08:19:34', 1, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1),
(68, 1, '2012-07-26 05:04:50', 0, 40, 25, 25, 10, 0, 0, 0, 0, 0, 0, 0, 0, 7),
(69, 2, '2012-07-26 05:06:18', 0, 45, 45, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7),
(70, 3, '2012-07-26 05:06:31', 0, 0, 5, 20, 35, 40, 0, 0, 0, 0, 0, 0, 0, 7),
(71, 4, '2012-07-26 05:06:44', 1, 30, 30, 30, 0, 10, 0, 0, 0, 0, 0, 0, 0, 7),
(72, 1, '2012-07-27 07:15:22', 1, 15, 25, 20, 15, 15, 0, 0, 0, 0, 0, 0, 0, 1),
(73, 1, '2012-07-26 07:08:30', 0, 40, 45, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(74, 2, '2012-07-26 07:15:05', 0, 35, 30, 25, 10, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(75, 3, '2012-07-26 07:22:55', 0, 0, 15, 40, 40, 5, 0, 0, 0, 0, 0, 0, 0, 1),
(76, 4, '2012-07-26 07:23:13', 1, 25, 30, 25, 5, 15, 0, 0, 0, 0, 0, 0, 0, 1),
(77, 1, '2012-07-30 09:21:08', 0, 10, 20, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(78, 2, '2012-07-30 12:47:31', 1, 15, 15, 15, 15, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(79, 1, '2012-07-31 04:39:38', 1, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(89, 1, '2012-08-06 12:23:20', 1, 80, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(90, 3, '2012-08-06 12:36:31', 1, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7),
(91, 2, '2012-08-06 12:41:55', 0, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(92, 3, '2012-08-06 13:28:00', 0, 25, 15, 20, 15, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(94, 2, '2012-08-07 13:07:36', 0, 20, 20, 25, 10, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(96, 1, '2012-08-07 13:31:41', 1, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(97, 3, '2012-08-07 13:08:38', 0, 5, 40, 30, 15, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(98, 4, '2012-08-07 12:16:41', 0, 10, 10, 0, 35, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(99, 1, '2012-08-09 10:15:06', 1, 50, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(100, 1, '2012-08-10 08:48:40', 1, 15, 10, 35, 25, 15, 0, 0, 0, 0, 0, 0, 0, 1),
(101, 1, '2012-08-11 05:52:07', 1, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(102, 1, '2012-08-13 11:43:42', 1, 10, 35, 20, 10, 20, 0, 0, 0, 0, 0, 0, 0, 1),
(103, 1, '2012-08-16 13:09:48', 1, 0, 60, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7),
(104, 2, '2012-08-16 13:10:04', 0, 25, 10, 30, 25, 10, 0, 0, 0, 0, 0, 0, 0, 7),
(105, 3, '2012-08-16 13:10:16', 0, 0, 45, 50, 5, 0, 0, 0, 0, 0, 0, 0, 0, 7),
(106, 4, '2012-08-16 13:10:34', 0, 15, 35, 25, 15, 10, 0, 0, 0, 0, 0, 0, 0, 7),
(107, 1, '2012-08-21 13:01:54', 1, 25, 45, 20, 10, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(108, 1, '2012-08-22 04:58:23', 1, 15, 20, 20, 20, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(109, 2, '2012-08-22 04:58:53', 0, 25, 25, 5, 20, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(110, 3, '2012-08-22 04:59:10', 0, 25, 15, 25, 25, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(111, 4, '2012-08-22 04:59:26', 0, 30, 30, 25, 10, 5, 0, 0, 0, 0, 0, 0, 0, 1),
(112, 1, '2012-08-22 11:35:33', 0, 5, 35, 20, 15, 5, 0, 0, 0, 0, 0, 0, 0, 7),
(113, 2, '2012-08-22 11:35:52', 0, 15, 20, 20, 20, 25, 0, 0, 0, 0, 0, 0, 0, 7),
(114, 3, '2012-08-22 11:36:11', 0, 20, 20, 20, 30, 10, 0, 0, 0, 0, 0, 0, 0, 7),
(115, 4, '2012-08-22 11:36:28', 1, 15, 15, 25, 25, 20, 0, 0, 0, 0, 0, 0, 0, 7),
(116, 1, '2012-08-24 08:22:33', 1, 30, 10, 25, 15, 5, 0, 0, 0, 0, 0, 0, 0, 1),
(117, 1, '2012-08-28 12:35:28', 1, 30, 50, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(118, 1, '2012-09-05 10:50:29', 1, 50, 25, 15, 10, 0, 0, 0, 0, 0, 0, 0, 0, 7),
(119, 1, '2012-09-05 13:12:48', 1, 25, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(120, 1, '2012-09-06 05:00:27', 1, 35, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(121, 1, '2012-09-06 07:03:55', 1, 0, 10, 5, 0, 45, 0, 0, 0, 0, 0, 0, 0, 53),
(122, 1, '2012-09-08 08:57:00', 1, 25, 20, 20, 25, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(123, 1, '2012-09-08 09:00:54', 1, 35, 15, 20, 25, 5, 0, 0, 0, 0, 0, 0, 0, 23),
(124, 2, '2012-09-08 09:38:50', 0, 20, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(125, 1, '2012-09-10 12:20:48', 1, 20, 0, 20, 25, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(126, 2, '2012-09-13 05:40:37', 1, 10, 20, 25, 20, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(127, 1, '2012-09-14 07:25:07', 1, 15, 20, 15, 20, 20, 0, 0, 0, 0, 0, 0, 0, 1),
(128, 2, '2012-09-14 07:25:46', 0, 5, 5, 10, 5, 5, 0, 0, 0, 0, 0, 0, 0, 1),
(129, 1, '2012-09-18 08:37:51', 1, 30, 25, 15, 20, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(132, 1, '2012-09-22 11:00:39', 0, 10, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 81),
(133, 2, '2012-09-22 11:01:19', 0, 25, 5, 15, 10, 0, 0, 0, 0, 0, 0, 0, 0, 81),
(134, 3, '2012-09-22 11:01:46', 0, 5, 5, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 81),
(135, 4, '2012-09-22 11:02:12', 1, 35, 10, 15, 20, 0, 0, 0, 0, 0, 0, 0, 0, 81),
(136, 1, '2012-09-22 11:37:47', 1, 10, 20, 15, 20, 10, 0, 0, 0, 0, 0, 0, 0, 7),
(137, 1, '2012-09-22 11:38:10', 1, 20, 35, 35, 5, 5, 0, 0, 0, 0, 0, 0, 0, 65),
(138, 2, '2012-09-22 11:38:50', 0, 5, 5, 70, 10, 10, 0, 0, 0, 0, 0, 0, 0, 65),
(139, 3, '2012-09-22 11:40:19', 0, 15, 15, 15, 40, 15, 0, 0, 0, 0, 0, 0, 0, 65),
(140, 4, '2012-09-22 11:40:39', 0, 15, 15, 20, 30, 20, 0, 0, 0, 0, 0, 0, 0, 65),
(141, 1, '2012-09-24 11:57:58', 1, 20, 0, 20, 60, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(142, 1, '2012-09-25 11:48:32', 1, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 0, 7),
(143, 1, '2012-09-27 05:12:39', 1, 10, 5, 20, 15, 0, 0, 0, 0, 0, 0, 0, 0, 53),
(144, 3, '2012-10-05 08:55:23', 1, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(145, 3, '2012-10-05 12:06:56', 1, 25, 25, 15, 15, 20, 0, 0, 0, 0, 0, 0, 0, 23),
(146, 2, '2012-10-09 10:32:11', 1, 20, 35, 35, 5, 5, 0, 0, 0, 0, 0, 0, 0, 81),
(147, 2, '2012-10-11 07:33:49', 0, 0, 0, 50, 25, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(148, 1, '2012-10-11 11:30:40', 1, 25, 20, 15, 15, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(149, 3, '2012-10-11 11:03:54', 0, 5, 20, 30, 30, 5, 0, 0, 0, 0, 0, 0, 0, 1),
(150, 4, '2012-10-11 11:30:24', 0, 5, 25, 15, 20, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(151, 2, '2012-10-12 07:32:48', 1, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(162, 1, '2012-10-13 11:44:57', 1, 15, 25, 10, 20, 25, 0, 0, 0, 0, 0, 0, 0, 17),
(163, 2, '2012-10-13 11:46:58', 0, 5, 5, 15, 15, 35, 0, 0, 0, 0, 0, 0, 0, 17),
(164, 1, '2012-10-15 12:51:49', 0, 20, 10, 20, 15, 15, 0, 0, 0, 0, 0, 0, 0, 17),
(165, 2, '2012-10-15 11:56:44', 1, 30, 15, 30, 15, 10, 0, 0, 0, 0, 0, 0, 0, 17),
(166, 2, '2012-10-15 13:04:29', 1, 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(167, 1, '2012-10-16 04:13:17', 0, 15, 20, 15, 20, 15, 0, 0, 0, 0, 0, 0, 0, 17),
(168, 2, '2012-10-16 05:57:40', 0, 20, 15, 15, 20, 10, 0, 0, 0, 0, 0, 0, 0, 17),
(169, 3, '2012-10-16 05:21:40', 1, 0, 40, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17),
(170, 1, '2012-10-18 05:01:19', 1, 25, 15, 30, 10, 10, 0, 0, 0, 0, 0, 0, 0, 17),
(171, 1, '2012-10-22 11:50:21', 1, 15, 10, 35, 20, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(172, 1, '2012-10-25 11:17:54', 1, 25, 10, 10, 15, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(173, 1, '2012-10-26 06:53:58', 1, 60, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 81),
(174, 1, '2012-10-27 09:14:05', 1, 25, 30, 40, 5, 0, 0, 0, 0, 0, 0, 0, 0, 17),
(175, 1, '2012-10-30 09:09:59', 1, 30, 15, 25, 10, 10, 0, 0, 0, 0, 0, 0, 0, 17),
(176, 1, '2012-11-09 09:49:12', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(177, 4, '2012-11-09 09:52:03', 1, 50, 25, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(178, 2, '2012-11-09 10:05:25', 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(179, 3, '2012-11-09 10:05:35', 0, 0, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(180, 1, '2012-11-10 07:26:38', 0, 25, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(181, 2, '2012-11-10 07:22:58', 0, 20, 30, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(182, 3, '2012-11-10 07:23:41', 0, 20, 15, 15, 25, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(183, 4, '2012-11-10 07:24:00', 1, 0, 15, 45, 25, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(184, 1, '2012-11-17 08:46:38', 0, 15, 15, 10, 15, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(185, 2, '2012-11-17 08:46:54', 0, 10, 15, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(186, 3, '2012-11-17 08:47:06', 0, 0, 20, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 1),
(187, 4, '2012-11-17 08:47:24', 1, 15, 15, 20, 15, 20, 0, 0, 0, 0, 0, 0, 0, 1),
(188, 1, '2012-12-01 08:06:44', 1, 20, 10, 20, 10, 15, 0, 0, 0, 0, 0, 0, 0, 17),
(189, 1, '2012-12-03 07:59:02', 1, 10, 15, 15, 15, 10, 0, 0, 0, 0, 0, 0, 0, 17),
(190, 2, '2012-12-03 07:51:46', 0, 25, 5, 20, 10, 0, 0, 0, 0, 0, 0, 0, 0, 17),
(191, 2, '2012-12-03 09:22:21', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7),
(192, 1, '2012-12-03 11:35:11', 1, 50, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 81),
(193, 1, '2012-12-04 04:25:35', 1, 25, 15, 10, 15, 20, 0, 0, 0, 0, 0, 0, 0, 17),
(194, 1, '2012-12-07 10:15:30', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(195, 1, '2012-12-11 10:34:59', 1, 15, 20, 15, 15, 35, 0, 0, 0, 0, 0, 0, 0, 65),
(196, 2, '2012-12-11 10:35:28', 0, 15, 5, 5, 5, 70, 0, 0, 0, 0, 0, 0, 0, 65),
(197, 3, '2012-12-11 10:35:42', 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 65),
(198, 4, '2012-12-11 10:37:34', 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65),
(199, 1, '2012-12-14 05:49:26', 1, 30, 35, 10, 20, 5, 0, 0, 0, 0, 0, 0, 0, 1),
(200, 1, '2012-12-14 06:03:08', 1, 30, 20, 20, 10, 20, 0, 0, 0, 0, 0, 0, 0, 81),
(201, 2, '2012-12-14 06:08:38', 0, 50, 15, 20, 10, 5, 0, 0, 0, 0, 0, 0, 0, 1),
(202, 3, '2012-12-14 06:09:12', 0, 10, 20, 10, 30, 30, 0, 0, 0, 0, 0, 0, 0, 1),
(203, 4, '2012-12-14 06:09:42', 0, 10, 10, 35, 20, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(204, 1, '2012-12-14 13:05:16', 1, 20, 20, 20, 20, 20, 0, 0, 0, 0, 0, 0, 0, 7),
(205, 1, '2012-12-17 10:32:20', 1, 30, 0, 25, 30, 15, 0, 0, 0, 0, 0, 0, 0, 34),
(206, 1, '2012-12-17 10:50:49', 1, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0, 53),
(207, 2, '2012-12-17 10:51:19', 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 53),
(208, 1, '2012-12-17 11:44:15', 1, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(209, 1, '2012-12-21 09:51:53', 1, 50, 15, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 34),
(210, 2, '2012-12-21 09:55:26', 0, 10, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34),
(211, 1, '2012-12-21 10:15:11', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(212, 1, '2013-01-08 09:21:58', 1, 10, 15, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(213, 1, '2013-01-10 05:01:03', 1, 15, 25, 30, 15, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(214, 1, '2013-01-24 08:48:55', 1, 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(215, 1, '2013-01-30 09:54:41', 1, 35, 20, 15, 10, 20, 0, 0, 0, 0, 0, 0, 0, 1),
(216, 2, '2013-01-30 10:11:46', 0, 15, 15, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(217, 3, '2013-01-30 10:12:08', 0, 5, 5, 5, 5, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(218, 4, '2013-01-30 10:12:49', 0, 10, 10, 20, 15, 5, 0, 0, 0, 0, 0, 0, 0, 1),
(219, 1, '2013-02-07 07:44:03', 1, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(220, 2, '2013-02-07 07:44:14', 0, 50, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(221, 3, '2013-02-07 07:44:26', 0, 50, 0, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 1),
(222, 4, '2013-02-07 07:44:36', 0, 50, 0, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(223, 1, '2013-03-15 06:04:59', 1, 30, 10, 30, 0, 20, 0, 0, 0, 0, 0, 0, 0, 53),
(224, 1, '2013-03-29 11:12:11', 0, 15, 15, 15, 15, 30, 0, 0, 0, 0, 0, 0, 0, 1),
(225, 2, '2013-03-29 11:14:23', 1, 10, 15, 20, 25, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(226, 3, '2013-03-29 11:15:14', 0, 0, 0, 15, 20, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(227, 4, '2013-03-29 11:15:34', 0, 15, 15, 20, 15, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(228, 1, '2013-04-22 08:59:09', 0, 15, 25, 15, 10, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(229, 2, '2013-04-22 09:00:08', 0, 15, 15, 15, 0, 35, 0, 0, 0, 0, 0, 0, 0, 1),
(230, 3, '2013-04-22 13:29:15', 1, 10, 15, 20, 15, 30, 0, 0, 0, 0, 0, 0, 0, 1),
(231, 1, '2013-04-23 11:02:37', 0, 10, 10, 15, 5, 5, 0, 0, 0, 0, 0, 0, 0, 1),
(232, 2, '2013-04-23 11:02:54', 0, 15, 15, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 1),
(233, 3, '2013-04-23 11:03:16', 1, 10, 10, 15, 10, 50, 0, 0, 0, 0, 0, 0, 0, 1),
(234, 1, '2013-04-26 13:01:51', 0, 15, 15, 15, 15, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(235, 2, '2013-04-26 07:53:45', 0, 15, 25, 30, 10, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(236, 3, '2013-04-26 07:54:00', 0, 15, 10, 10, 10, 15, 0, 0, 0, 0, 0, 0, 0, 1),
(237, 4, '2013-04-26 13:02:07', 1, 15, 15, 25, 10, 30, 0, 0, 0, 0, 0, 0, 0, 1),
(238, 1, '2013-04-29 09:34:13', 1, 20, 30, 40, 10, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(239, 1, '2013-05-01 09:16:01', 1, 15, 5, 10, 10, 55, 0, 0, 0, 0, 0, 0, 0, 1),
(240, 1, '2013-05-01 12:27:57', 1, 15, 15, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 41),
(241, 1, '2013-05-03 12:41:54', 1, 15, 15, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 39),
(242, 1, '2013-05-06 05:50:35', 1, 25, 0, 50, 10, 15, 0, 0, 0, 0, 0, 0, 0, 19),
(243, 2, '2013-05-06 05:56:44', 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19),
(244, 1, '2013-05-06 12:59:14', 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 39),
(245, 1, '2013-05-06 11:43:58', 1, 15, 15, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 76),
(246, 2, '2013-05-06 13:00:19', 0, 75, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 39),
(247, 3, '2013-05-06 12:12:54', 0, 0, 0, 0, 0, 75, 0, 0, 0, 0, 0, 0, 0, 39),
(248, 4, '2013-05-06 12:13:06', 1, 0, 0, 0, 0, 75, 0, 0, 0, 0, 0, 0, 0, 39),
(249, 1, '2013-05-09 03:17:45', 1, 25, 0, 50, 0, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(250, 1, '2013-05-10 07:41:59', 0, 15, 15, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 49),
(251, 1, '2013-05-10 11:08:05', 1, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41),
(252, 1, '2013-05-10 11:59:07', 1, 10, 10, 10, 15, 30, 0, 0, 0, 0, 0, 0, 0, 1),
(253, 2, '2013-05-10 12:01:14', 0, 0, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(254, 3, '2013-05-10 12:01:29', 0, 15, 10, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(255, 4, '2013-05-10 12:01:48', 0, 10, 15, 15, 10, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(256, 2, '2013-05-10 13:34:32', 1, 15, 15, 15, 20, 15, 0, 0, 0, 0, 0, 0, 0, 49),
(257, 1, '2013-05-11 05:44:05', 1, 10, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 53),
(258, 1, '2013-05-14 05:31:37', 1, 10, 15, 10, 15, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(259, 1, '2013-05-14 08:21:06', 1, 10, 15, 15, 10, 15, 0, 0, 0, 0, 0, 0, 0, 18),
(260, 1, '2013-05-14 12:20:01', 0, 10, 0, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 53),
(261, 2, '2013-05-14 12:20:40', 0, 20, 20, 20, 15, 10, 0, 0, 0, 0, 0, 0, 0, 53),
(262, 3, '2013-05-14 12:21:46', 0, 20, 20, 25, 30, 0, 0, 0, 0, 0, 0, 0, 0, 53),
(263, 4, '2013-05-14 12:22:08', 1, 35, 40, 20, 5, 0, 0, 0, 0, 0, 0, 0, 0, 53),
(264, 1, '2013-05-15 05:47:23', 1, 40, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(265, 1, '2013-05-16 08:33:49', 1, 15, 15, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 1),
(270, 1, '2013-05-25 06:53:59', 1, 15, 15, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 1),
(271, 1, '2013-05-30 12:43:32', 1, 25, 15, 50, 0, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(272, 1, '2013-06-06 11:23:44', 1, 25, 20, 15, 20, 15, 0, 0, 0, 0, 0, 0, 0, 1),
(273, 1, '2013-06-08 13:21:43', 1, 35, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(274, 1, '2013-06-13 09:14:41', 1, 25, 20, 30, 15, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(275, 1, '2013-11-25 05:41:05', 0, 15, 45, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(276, 2, '2013-11-25 12:23:20', 1, 30, 30, 10, 25, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(277, 1, '2013-11-26 08:58:58', 1, 25, 25, 20, 10, 15, 0, 0, 0, 0, 0, 0, 0, 1),
(278, 1, '2013-11-28 11:12:23', 1, 25, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(279, 1, '2013-11-29 13:43:05', 0, 10, 15, 25, 15, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(280, 2, '2013-11-29 13:42:51', 0, 15, 30, 20, 25, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(281, 4, '2013-11-29 13:43:44', 1, 25, 20, 35, 20, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(282, 1, '2013-12-06 06:34:22', 1, 20, 20, 30, 25, 0, 0, 0, 0, 0, 0, 0, 0, 10),
(283, 2, '2013-12-06 06:34:43', 0, 15, 20, 20, 30, 10, 0, 0, 0, 0, 0, 0, 0, 10),
(284, 1, '2014-01-22 12:00:06', 1, 15, 10, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10),
(285, 1, '2014-04-05 06:23:20', 1, 15, 20, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(286, 2, '2014-04-05 06:25:00', 0, 0, 0, 0, 0, 55, 0, 0, 0, 0, 0, 0, 0, 1),
(287, 1, '2014-04-07 08:51:39', 0, 30, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(288, 3, '2014-04-07 12:17:37', 1, 0, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 1),
(289, 2, '2014-04-11 12:10:17', 0, 10, 5, 25, 5, 15, 0, 0, 0, 0, 0, 0, 0, 1),
(290, 4, '2014-04-11 12:30:48', 0, 10, 0, 10, 25, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(291, 3, '2014-04-11 12:34:24', 0, 15, 10, 0, 25, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(292, 1, '2014-04-11 12:35:12', 1, 25, 0, 25, 25, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(293, 4, '2014-04-12 06:21:36', 1, 30, 5, 25, 15, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(294, 2, '2014-04-12 06:22:11', 0, 15, 0, 30, 5, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(295, 3, '2014-04-12 06:28:55', 0, 10, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(296, 1, '2014-04-12 06:29:18', 0, 0, 0, 0, 5, 95, 0, 0, 0, 0, 0, 0, 0, 1),
(297, 1, '2014-04-14 11:28:47', 0, 20, 0, 25, 15, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(298, 2, '2014-04-14 11:29:03', 0, 10, 0, 15, 20, 30, 0, 0, 0, 0, 0, 0, 0, 1),
(299, 3, '2014-04-14 11:29:15', 0, 30, 0, 15, 15, 30, 0, 0, 0, 0, 0, 0, 0, 1),
(300, 4, '2014-04-14 11:29:26', 1, 25, 0, 15, 20, 40, 0, 0, 0, 0, 0, 0, 0, 1),
(301, 2, '2014-04-15 07:37:29', 1, 20, 5, 15, 20, 35, 0, 0, 0, 0, 0, 0, 0, 1),
(302, 1, '2014-04-15 07:38:06', 0, 0, 0, 5, 0, 5, 0, 0, 0, 0, 0, 0, 0, 1),
(303, 3, '2014-04-28 04:55:23', 1, 15, 0, 25, 25, 25, 0, 0, 0, 0, 0, 0, 0, 1),
(304, 1, '2014-05-13 11:02:21', 1, 10, 0, 15, 15, 15, 0, 0, 0, 0, 0, 0, 0, 1),
(305, 1, '2014-06-18 14:00:34', 1, 20, 0, 30, 35, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(306, 1, '2014-07-04 07:49:32', 1, 10, 5, 10, 25, 45, 0, 0, 0, 0, 0, 0, 0, 1),
(307, 1, '2014-09-17 04:49:23', 1, 25, 5, 10, 40, 20, 0, 0, 0, 0, 0, 0, 0, 81),
(308, 3, '2014-09-17 10:34:02', 0, 20, 0, 15, 40, 20, 0, 0, 0, 0, 0, 0, 0, 81),
(309, 4, '2014-09-17 10:34:17', 0, 25, 0, 25, 10, 25, 0, 0, 0, 0, 0, 0, 0, 81),
(310, 2, '2014-09-17 10:35:18', 0, 5, 0, 10, 15, 20, 0, 0, 0, 0, 0, 0, 0, 81),
(311, 4, '2015-04-30 07:21:52', 1, 20, 15, 5, 25, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(312, 2, '2015-05-08 12:16:40', 1, 25, 15, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
(321, 1, '2015-05-26 10:22:34', 1, 25, 15, 10, 10, 10, 25, 5, 10, 10, 0, 1, 5, 1),
(322, 1, '2015-05-27 04:37:20', 1, 15, 5, 15, 20, 0, 15, 5, 15, 20, 0, 1, 9, 1),
(323, 2, '2015-05-27 04:54:34', 0, 20, 0, 10, 0, 10, 20, 0, 10, 0, 0, 1, 10, 1),
(324, 1, '2015-06-01 05:09:03', 1, 10, 0, 15, 10, 0, 10, 0, 15, 10, 0, 1, 1, 1),
(325, 1, '2015-06-25 10:14:40', 1, 5, 0, 10, 5, 0, 5, 0, 10, 5, 0, 1, 13, 1),
(326, 1, '2015-07-02 10:29:05', 1, 25, 5, 10, 15, 10, 0, 0, 0, 0, 0, 0, 0, 1),
(327, 2, '2015-07-02 10:29:45', 0, 10, 5, 10, 0, 40, 0, 0, 0, 0, 0, 0, 0, 1),
(328, 1, '2015-08-10 08:09:39', 1, 10, 25, 5, 5, 10, 0, 0, 0, 0, 0, 0, 0, 94),
(329, 1, '2016-02-20 05:03:41', 1, 0, 0, 40, 5, 3, 0, 0, 40, 5, 3, 1, 229, 1),
(330, 1, '2016-03-07 12:04:29', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 233, 1),
(332, 1, '2016-03-17 10:50:45', 1, 5, 0, 5, 10, 0, 5, 0, 5, 10, 0, 2, 245, 1),
(333, 1, '2016-03-18 10:20:43', 1, 25, 5, 20, 20, 0, 25, 5, 20, 20, 0, 1, 45, 111),
(334, 2, '2016-03-18 10:38:25', 0, 20, 0, 10, 0, 0, 20, 0, 10, 0, 0, 1, 46, 111),
(335, 3, '2016-03-18 10:41:01', 0, 0, 0, 15, 15, 0, 0, 0, 15, 15, 0, 1, 47, 111),
(336, 4, '2016-03-18 10:41:26', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 48, 111),
(337, 1, '2016-03-18 11:19:42', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 5, 1),
(338, 1, '2016-03-17 11:44:05', 1, 25, 5, 20, 25, 0, 25, 5, 20, 25, 0, 1, 41, 111),
(339, 3, '2016-03-17 11:44:33', 0, 0, 0, 15, 15, 0, 0, 0, 15, 15, 0, 1, 43, 111),
(340, 1, '2016-03-16 11:46:26', 1, 25, 5, 25, 20, 0, 25, 5, 25, 20, 0, 1, 37, 111),
(341, 2, '2016-03-16 11:46:37', 0, 20, 0, 10, 0, 0, 20, 0, 10, 0, 0, 1, 38, 111),
(342, 1, '2016-03-26 12:55:33', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 113, 1),
(343, 1, '2016-04-18 13:00:54', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 233, 1),
(344, 1, '2016-04-29 08:31:17', 1, 0, 0, 40, 5, 3, 0, 0, 40, 5, 3, 1, 229, 1);

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

--
