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




--
-- Database: `tulasi_webdb`
--

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

--
-- Table structure for table `activity_invitation`
--

CREATE TABLE IF NOT EXISTS `activity_invitation` (
  `invite_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `rgs_id_fkx` int(11) unsigned NOT NULL,
  `activity_id` int(11) unsigned NOT NULL,
  `venue` varchar(100) NOT NULL,
  `activity_date` date NOT NULL,
  `activity_time` time NOT NULL,
  `venue_lat` varchar(20) NOT NULL,
  `venue_long` varchar(20) NOT NULL,
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`invite_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=24 ;

--
-- Dumping data for table `activity_invitation`
--

INSERT INTO `activity_invitation` (`invite_id`, `rgs_id_fkx`, `activity_id`, `venue`, `activity_date`, `activity_time`, `venue_lat`, `venue_long`, `created`) VALUES
(1, 111, 40, 'gomti', '2016-02-23', '07:00:00', '26.847026', '80.945161', '2016-02-22 06:26:16'),
(2, 1, 39, 'nb', '2016-02-22', '07:00:00', '26.576845', '80.904617', '2016-02-22 06:31:21'),
(3, 107, 39, 'gjk', '2016-02-23', '06:00:00', '--', '--', '2016-02-23 12:32:10'),
(13, 1, 39, 'Lohiya park', '2016-02-28', '07:00:00', '--', '--', '2016-02-24 07:42:55'),
(14, 1, 40, 'janeshwar mishr park', '0000-00-00', '00:00:00', '49.0089', '9.98786', '2016-02-24 08:07:48'),
(15, 1, 40, 'janeshwar mishr park', '0000-00-00', '00:00:00', '49.0089', '9.98786', '2016-02-24 08:08:38'),
(16, 111, 42, 'gomtinagar', '2016-02-25', '07:00:00', '26.864773999999997', '80.981398', '2016-02-24 08:48:09'),
(17, 1, 40, 'janeshwar mishr park', '0000-00-00', '00:00:00', '49.0089', '9.98786', '2016-02-24 10:40:07'),
(18, 111, 39, 'gomti', '2016-02-26', '06:00:00', '26.860052', '80.980587', '2016-02-26 05:48:05'),
(19, 111, 39, 'gomtiu', '2016-02-26', '07:00:00', '26.860052', '80.980587', '2016-02-26 05:54:46'),
(20, 107, 40, 'Abc Park, Ingira Nagar, Lucknow', '2016-03-12', '14:00:00', '26.881636999999998', '80.993048', '2016-03-05 13:13:41'),
(21, 132, 39, 'test', '2016-07-20', '06:00:00', '--', '--', '2016-07-11 13:25:28'),
(22, 1, 40, 'mini stadium', '2016-07-30', '07:00:00', '--', '--', '2016-07-28 05:12:40'),
(23, 1, 40, 'Lohiya Park', '2016-09-21', '03:20:00', '42.804845393128424', '-73.92555892467499', '2016-09-20 10:56:55');

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

--
-- Table structure for table `activity_invitation_ally`
--

CREATE TABLE IF NOT EXISTS `activity_invitation_ally` (
  `aiar_id` int(9) unsigned NOT NULL AUTO_INCREMENT,
  `invitation_id` int(9) unsigned NOT NULL,
  `ally_id` int(9) unsigned NOT NULL,
  `reply_status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '0=>pending,1=>yes,2=>no,3=>may be',
  `created` datetime NOT NULL,
  `last_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`aiar_id`),
  KEY `invitation_id` (`invitation_id`,`ally_id`,`reply_status`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=36 ;

--
-- Dumping data for table `activity_invitation_ally`
--

INSERT INTO `activity_invitation_ally` (`aiar_id`, `invitation_id`, `ally_id`, `reply_status`, `created`, `last_modified`) VALUES
(1, 1, 1, 1, '2016-02-22 11:56:17', '2016-02-22 06:41:20'),
(2, 1, 107, 1, '2016-02-22 11:56:17', '2016-02-24 08:45:37'),
(3, 2, 81, 0, '2016-02-22 12:01:21', '2016-02-22 06:31:21'),
(4, 2, 107, 1, '2016-02-22 12:01:21', '2016-03-05 13:44:32'),
(5, 2, 111, 2, '2016-02-22 12:01:21', '2016-02-24 08:53:01'),
(6, 3, 1, 1, '2016-02-23 18:02:10', '2016-07-28 05:27:11'),
(16, 13, 17, 0, '2016-02-24 13:12:55', '2016-02-24 07:42:55'),
(17, 13, 7, 0, '2016-02-24 13:12:55', '2016-02-24 07:42:55'),
(18, 13, 45, 0, '2016-02-24 13:12:55', '2016-02-24 07:42:55'),
(21, 16, 1, 2, '2016-02-24 14:18:10', '2016-02-24 08:50:37'),
(22, 16, 107, 0, '2016-02-24 14:18:10', '2016-02-24 08:48:10'),
(23, 17, 0, 0, '2016-02-24 16:10:08', '2016-02-24 10:40:08'),
(24, 18, 1, 0, '2016-02-26 11:18:06', '2016-02-26 05:48:06'),
(25, 18, 107, 0, '2016-02-26 11:18:06', '2016-02-26 05:48:06'),
(26, 19, 1, 1, '2016-02-26 11:24:46', '2016-02-29 06:11:17'),
(27, 19, 107, 3, '2016-02-26 11:24:46', '2016-02-29 12:19:01'),
(28, 20, 1, 1, '2016-03-05 18:43:41', '2016-03-06 05:02:40'),
(29, 20, 111, 0, '2016-03-05 18:43:41', '2016-03-05 13:13:41'),
(30, 21, 130, 0, '2016-07-11 18:55:28', '2016-07-11 13:25:28'),
(31, 22, 81, 0, '2016-07-28 10:42:40', '2016-07-28 05:12:40'),
(32, 22, 115, 0, '2016-07-28 10:42:40', '2016-07-28 05:12:40'),
(33, 22, 107, 0, '2016-07-28 10:42:40', '2016-07-28 05:12:40'),
(34, 22, 130, 0, '2016-07-28 10:42:40', '2016-07-28 05:12:40'),
(35, 23, 132, 0, '2016-09-20 16:26:55', '2016-09-20 10:56:55');

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

--
-- Table structure for table `master_country`
--

CREATE TABLE IF NOT EXISTS `master_country` (
  `country_id` int(11) NOT NULL AUTO_INCREMENT,
  `country_name` varchar(50) NOT NULL,
  `country_code` varchar(4) NOT NULL,
  `country_status` varchar(2) NOT NULL DEFAULT 'A' COMMENT 'A-> Active,I->Inactive',
  PRIMARY KEY (`country_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=251 ;

--
-- Dumping data for table `master_country`
--

INSERT INTO `master_country` (`country_id`, `country_name`, `country_code`, `country_status`) VALUES
(1, 'Andorra', 'AD', 'A'),
(2, 'United Arab Emirates', 'AE', 'A'),
(3, 'Afghanistan', 'AF', 'A'),
(4, 'Antigua and Barbuda', 'AG', 'A'),
(5, 'Anguilla', 'AI', 'A'),
(6, 'Albania', 'AL', 'A'),
(7, 'Armenia', 'AM', 'A'),
(8, 'Angola', 'AO', 'A'),
(9, 'Antarctica', 'AQ', 'A'),
(10, 'Argentina', 'AR', 'A'),
(11, 'American Samoa', 'AS', 'A'),
(12, 'Austria', 'AT', 'A'),
(13, 'Australia', 'AU', 'A'),
(14, 'Aruba', 'AW', 'A'),
(15, 'Åland Islands', 'AX', 'A'),
(16, 'Azerbaijan', 'AZ', 'A'),
(17, 'Bosnia and Herzegovina', 'BA', 'A'),
(18, 'Barbados', 'BB', 'A'),
(19, 'Bangladesh', 'BD', 'A'),
(20, 'Belgium', 'BE', 'A'),
(21, 'Burkina Faso', 'BF', 'A'),
(22, 'Bulgaria', 'BG', 'A'),
(23, 'Bahrain', 'BH', 'A'),
(24, 'Burundi', 'BI', 'A'),
(25, 'Benin', 'BJ', 'A'),
(26, 'Saint Barthélemy', 'BL', 'A'),
(27, 'Bermuda', 'BM', 'A'),
(28, 'Brunei Darussalam', 'BN', 'A'),
(29, 'Bolivia', 'BO', 'A'),
(30, 'Caribbean Netherlands ', 'BQ', 'A'),
(31, 'Brazil', 'BR', 'A'),
(32, 'Bahamas', 'BS', 'A'),
(33, 'Bhutan', 'BT', 'A'),
(34, 'Bouvet Island', 'BV', 'A'),
(35, 'Botswana', 'BW', 'A'),
(36, 'Belarus', 'BY', 'A'),
(37, 'Belize', 'BZ', 'A'),
(38, 'Canada', 'CA', 'A'),
(39, 'Cocos (Keeling) Islands', 'CC', 'A'),
(40, 'Congo, Democratic Republic of', 'CD', 'A'),
(41, 'Central African Republic', 'CF', 'A'),
(42, 'Congo', 'CG', 'A'),
(43, 'Switzerland', 'CH', 'A'),
(44, 'Côte d''Ivoire', 'CI', 'A'),
(45, 'Cook Islands', 'CK', 'A'),
(46, 'Chile', 'CL', 'A'),
(47, 'Cameroon', 'CM', 'A'),
(48, 'China', 'CN', 'A'),
(49, 'Colombia', 'CO', 'A'),
(50, 'Costa Rica', 'CR', 'A'),
(51, 'Cuba', 'CU', 'A'),
(52, 'Cape Verde', 'CV', 'A'),
(53, 'Curaçao', 'CW', 'A'),
(54, 'Christmas Island', 'CX', 'A'),
(55, 'Cyprus', 'CY', 'A'),
(56, 'Czech Republic', 'CZ', 'A'),
(57, 'Germany', 'DE', 'A'),
(58, 'Djibouti', 'DJ', 'A'),
(59, 'Denmark', 'DK', 'A'),
(60, 'Dominica', 'DM', 'A'),
(61, 'Dominican Republic', 'DO', 'A'),
(62, 'Algeria', 'DZ', 'A'),
(63, 'Ecuador', 'EC', 'A'),
(64, 'Estonia', 'EE', 'A'),
(65, 'Egypt', 'EG', 'A'),
(66, 'Western Sahara', 'EH', 'A'),
(67, 'Eritrea', 'ER', 'A'),
(68, 'Spain', 'ES', 'A'),
(69, 'Ethiopia', 'ET', 'A'),
(70, 'Finland', 'FI', 'A'),
(71, 'Fiji', 'FJ', 'A'),
(72, 'Falkland Islands', 'FK', 'A'),
(73, 'Micronesia, Federated States of', 'FM', 'A'),
(74, 'Faroe Islands', 'FO', 'A'),
(75, 'France', 'FR', 'A'),
(76, 'Gabon', 'GA', 'A'),
(77, 'United Kingdom', 'GB', 'A'),
(78, 'Grenada', 'GD', 'A'),
(79, 'Georgia', 'GE', 'A'),
(80, 'French Guiana', 'GF', 'A'),
(81, 'Guernsey', 'GG', 'A'),
(82, 'Ghana', 'GH', 'A'),
(83, 'Gibraltar', 'GI', 'A'),
(84, 'Greenland', 'GL', 'A'),
(85, 'Gambia', 'GM', 'A'),
(86, 'Guinea', 'GN', 'A'),
(87, 'Guadeloupe', 'GP', 'A'),
(88, 'Equatorial Guinea', 'GQ', 'A'),
(89, 'Greece', 'GR', 'A'),
(90, 'South Georgia and the South Sandwich Islands', 'GS', 'A'),
(91, 'Guatemala', 'GT', 'A'),
(92, 'Guam', 'GU', 'A'),
(93, 'Guinea-Bissau', 'GW', 'A'),
(94, 'Guyana', 'GY', 'A'),
(95, 'Hong Kong', 'HK', 'A'),
(96, 'Heard and McDonald Islands', 'HM', 'A'),
(97, 'Honduras', 'HN', 'A'),
(98, 'Croatia', 'HR', 'A'),
(99, 'Haiti', 'HT', 'A'),
(100, 'Hungary', 'HU', 'A'),
(101, 'Indonesia', 'ID', 'A'),
(102, 'Ireland', 'IE', 'A'),
(103, 'Israel', 'IL', 'A'),
(104, 'Isle of Man', 'IM', 'A'),
(105, 'India', 'IN', 'A'),
(106, 'British Indian Ocean Territory', 'IO', 'A'),
(107, 'Iraq', 'IQ', 'A'),
(108, 'Iran', 'IR', 'A'),
(109, 'Iceland', 'IS', 'A'),
(110, 'Italy', 'IT', 'A'),
(111, 'Jersey', 'JE', 'A'),
(112, 'Jamaica', 'JM', 'A'),
(113, 'Jordan', 'JO', 'A'),
(114, 'Japan', 'JP', 'A'),
(115, 'Kenya', 'KE', 'A'),
(116, 'Kyrgyzstan', 'KG', 'A'),
(117, 'Cambodia', 'KH', 'A'),
(118, 'Kiribati', 'KI', 'A'),
(119, 'Comoros', 'KM', 'A'),
(120, 'Saint Kitts and Nevis', 'KN', 'A'),
(121, 'North Korea', 'KP', 'A'),
(122, 'South Korea', 'KR', 'A'),
(123, 'Kuwait', 'KW', 'A'),
(124, 'Cayman Islands', 'KY', 'A'),
(125, 'Kazakhstan', 'KZ', 'A'),
(126, 'Lao People''s Democratic Republic', 'LA', 'A'),
(127, 'Lebanon', 'LB', 'A'),
(128, 'Saint Lucia', 'LC', 'A'),
(129, 'Liechtenstein', 'LI', 'A'),
(130, 'Sri Lanka', 'LK', 'A'),
(131, 'Liberia', 'LR', 'A'),
(132, 'Lesotho', 'LS', 'A'),
(133, 'Lithuania', 'LT', 'A'),
(134, 'Luxembourg', 'LU', 'A'),
(135, 'Latvia', 'LV', 'A'),
(136, 'Libya', 'LY', 'A'),
(137, 'Morocco', 'MA', 'A'),
(138, 'Monaco', 'MC', 'A'),
(139, 'Moldova', 'MD', 'A'),
(140, 'Montenegro', 'ME', 'A'),
(141, 'Saint-Martin (France)', 'MF', 'A'),
(142, 'Madagascar', 'MG', 'A'),
(143, 'Marshall Islands', 'MH', 'A'),
(144, 'Macedonia', 'MK', 'A'),
(145, 'Mali', 'ML', 'A'),
(146, 'Myanmar', 'MM', 'A'),
(147, 'Mongolia', 'MN', 'A'),
(148, 'Macau', 'MO', 'A'),
(149, 'Northern Mariana Islands', 'MP', 'A'),
(150, 'Martinique', 'MQ', 'A'),
(151, 'Mauritania', 'MR', 'A'),
(152, 'Montserrat', 'MS', 'A'),
(153, 'Malta', 'MT', 'A'),
(154, 'Mauritius', 'MU', 'A'),
(155, 'Maldives', 'MV', 'A'),
(156, 'Malawi', 'MW', 'A'),
(157, 'Mexico', 'MX', 'A'),
(158, 'Malaysia', 'MY', 'A'),
(159, 'Mozambique', 'MZ', 'A'),
(160, 'Namibia', 'NA', 'A'),
(161, 'New Caledonia', 'NC', 'A'),
(162, 'Niger', 'NE', 'A'),
(163, 'Norfolk Island', 'NF', 'A'),
(164, 'Nigeria', 'NG', 'A'),
(165, 'Nicaragua', 'NI', 'A'),
(166, 'The Netherlands', 'NL', 'A'),
(167, 'Norway', 'NO', 'A'),
(168, 'Nepal', 'NP', 'A'),
(169, 'Nauru', 'NR', 'A'),
(170, 'Niue', 'NU', 'A'),
(171, 'New Zealand', 'NZ', 'A'),
(172, 'Oman', 'OM', 'A'),
(173, 'Panama', 'PA', 'A'),
(174, 'Peru', 'PE', 'A'),
(175, 'French Polynesia', 'PF', 'A'),
(176, 'Papua New Guinea', 'PG', 'A'),
(177, 'Philippines', 'PH', 'A'),
(178, 'Pakistan', 'PK', 'A'),
(179, 'Poland', 'PL', 'A'),
(180, 'St. Pierre and Miquelon', 'PM', 'A'),
(181, 'Pitcairn', 'PN', 'A'),
(182, 'Puerto Rico', 'PR', 'A'),
(183, 'Palestine, State of', 'PS', 'A'),
(184, 'Portugal', 'PT', 'A'),
(185, 'Palau', 'PW', 'A'),
(186, 'Paraguay', 'PY', 'A'),
(187, 'Qatar', 'QA', 'A'),
(188, 'Réunion', 'RE', 'A'),
(189, 'Romania', 'RO', 'A'),
(190, 'Serbia', 'RS', 'A'),
(191, 'Russian Federation', 'RU', 'A'),
(192, 'Rwanda', 'RW', 'A'),
(193, 'Saudi Arabia', 'SA', 'A'),
(194, 'Solomon Islands', 'SB', 'A'),
(195, 'Seychelles', 'SC', 'A'),
(196, 'Sudan', 'SD', 'A'),
(197, 'Sweden', 'SE', 'A'),
(198, 'Singapore', 'SG', 'A'),
(199, 'Saint Helena', 'SH', 'A'),
(200, 'Slovenia', 'SI', 'A'),
(201, 'Svalbard and Jan Mayen Islands', 'SJ', 'A'),
(202, 'Slovakia', 'SK', 'A'),
(203, 'Sierra Leone', 'SL', 'A'),
(204, 'San Marino', 'SM', 'A'),
(205, 'Senegal', 'SN', 'A'),
(206, 'Somalia', 'SO', 'A'),
(207, 'Suriname', 'SR', 'A'),
(208, 'South Sudan', 'SS', 'A'),
(209, 'Sao Tome and Principe', 'ST', 'A'),
(210, 'El Salvador', 'SV', 'A'),
(211, 'Sint Maarten (Dutch part)', 'SX', 'A'),
(212, 'Syria', 'SY', 'A'),
(213, 'Swaziland', 'SZ', 'A'),
(214, 'Turks and Caicos Islands', 'TC', 'A'),
(215, 'Chad', 'TD', 'A'),
(216, 'French Southern Territories', 'TF', 'A'),
(217, 'Togo', 'TG', 'A'),
(218, 'Thailand', 'TH', 'A'),
(219, 'Tajikistan', 'TJ', 'A'),
(220, 'Tokelau', 'TK', 'A'),
(221, 'Timor-Leste', 'TL', 'A'),
(222, 'Turkmenistan', 'TM', 'A'),
(223, 'Tunisia', 'TN', 'A'),
(224, 'Tonga', 'TO', 'A'),
(225, 'Turkey', 'TR', 'A'),
(226, 'Trinidad and Tobago', 'TT', 'A'),
(227, 'Tuvalu', 'TV', 'A'),
(228, 'Taiwan', 'TW', 'A'),
(229, 'Tanzania', 'TZ', 'A'),
(230, 'Ukraine', 'UA', 'A'),
(231, 'Uganda', 'UG', 'A'),
(232, 'United States Minor Outlying Islands', 'UM', 'A'),
(233, 'United States', 'US', 'A'),
(234, 'Uruguay', 'UY', 'A'),
(235, 'Uzbekistan', 'UZ', 'A'),
(236, 'Vatican', 'VA', 'A'),
(237, 'Saint Vincent and the Grenadines', 'VC', 'A'),
(238, 'Venezuela', 'VE', 'A'),
(239, 'Virgin Islands (British)', 'VG', 'A'),
(240, 'Virgin Islands (U.S.)', 'VI', 'A'),
(241, 'Vietnam', 'VN', 'A'),
(242, 'Vanuatu', 'VU', 'A'),
(243, 'Wallis and Futuna Islands', 'WF', 'A'),
(244, 'Samoa', 'WS', 'A'),
(245, 'Yemen', 'YE', 'A'),
(246, 'Mayotte', 'YT', 'A'),
(247, 'South Africa', 'ZA', 'A'),
(248, 'Zambia', 'ZM', 'A'),
(249, 'Zimbabwe', 'ZW', 'A'),
(250, 'India', 'IN', 'A');

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

--
-- Table structure for table `th_activity_images`
--

CREATE TABLE IF NOT EXISTS `th_activity_images` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `rgs_id_fkx` int(11) unsigned NOT NULL,
  `activity_id` int(11) unsigned NOT NULL,
  `activity_source` varchar(3) NOT NULL COMMENT 'Random->R,Matric->M,Self->S',
  `image_path` varchar(50) NOT NULL,
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `rgs_id_fkx` (`rgs_id_fkx`,`activity_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=128 ;

--
-- Dumping data for table `th_activity_images`
--

INSERT INTO `th_activity_images` (`id`, `rgs_id_fkx`, `activity_id`, `activity_source`, `image_path`, `created`) VALUES
(1, 1, 1, 'R', '1_145412874460.jpg', '2016-01-30 04:39:04'),
(2, 1, 1, 'R', '1_145412874458.jpg', '2016-01-30 04:39:04'),
(3, 1, 1, 'R', '1_145412874442.jpg', '2016-01-30 04:39:04'),
(4, 1, 1, 'R', '1_145412874453.jpg', '2016-01-30 04:39:04'),
(5, 1, 18, 'R', 'R_1455357095.jpg', '2016-02-13 09:51:35'),
(6, 1, 19, 'R', 'R_1455360892.jpg', '2016-02-13 10:54:52'),
(7, 1, 19, 'R', 'R_1455360892.jpg', '2016-02-13 10:54:52'),
(8, 1, 20, 'R', 'R_1455361210.jpg', '2016-02-13 11:00:10'),
(9, 1, 20, 'R', 'R_1455361210.jpg', '2016-02-13 11:00:10'),
(10, 1, 21, 'R', 'R_1_0_1455362102.jpg', '2016-02-13 11:15:02'),
(11, 1, 21, 'R', 'R_1_1_1455362102.jpg', '2016-02-13 11:15:02'),
(12, 1, 21, 'R', 'R_1_2_1455362102.jpg', '2016-02-13 11:15:02'),
(13, 1, 21, 'R', 'R_1_3_1455362102.jpg', '2016-02-13 11:15:02'),
(14, 1, 23, 'R', 'R_1_0_1455363268.jpg', '2016-02-13 11:34:28'),
(15, 1, 23, 'R', 'R_1_1_1455363268.jpg', '2016-02-13 11:34:28'),
(16, 1, 23, 'R', 'R_1_2_1455363268.jpg', '2016-02-13 11:34:28'),
(17, 1, 23, 'R', 'R_1_3_1455363269.jpg', '2016-02-13 11:34:29'),
(26, 1, 0, 'M', 'M_1__1455542777.jpg', '2016-02-15 13:26:17'),
(32, 1, 2747, 'M', 'M_1_0_1455543355.jpg', '2016-02-15 13:35:55'),
(33, 1, 2747, 'M', 'M_1_1_1455543355.jpg', '2016-02-15 13:35:55'),
(34, 1, 2748, 'M', 'M_1_0_1455601277.jpg', '2016-02-16 05:41:17'),
(35, 1, 2749, 'M', 'M_1_0_1455604334.jpg', '2016-02-16 06:32:14'),
(40, 1, 2750, 'M', 'M_1_0_1455605605.jpg', '2016-02-16 06:53:25'),
(41, 1, 2751, 'M', 'M_1_0_1455605743.jpg', '2016-02-16 06:55:43'),
(42, 1, 2090, 'M', 'M_1_0_1455606839.jpg', '2016-02-16 07:13:59'),
(43, 1, 2093, 'M', 'M_1_0_1455617591.jpg', '2016-02-16 10:13:11'),
(44, 1, 2093, 'M', 'M_1_1_1455617591.jpg', '2016-02-16 10:13:11'),
(45, 1, 26, 'R', 'R_1_0_1455861950.jpg', '2016-02-19 06:05:50'),
(46, 1, 36, 'R', 'R_1_0_1455948393.jpg', '2016-02-20 06:06:33'),
(47, 1, 37, 'R', 'R_1_0_1455948586.jpg', '2016-02-20 06:09:46'),
(48, 1, 37, 'R', 'R_1_1_1455948586.jpg', '2016-02-20 06:09:46'),
(49, 1, 37, 'R', 'R_1_2_1455948586.jpg', '2016-02-20 06:09:46'),
(50, 1, 37, 'R', 'R_1_3_1455948586.jpg', '2016-02-20 06:09:46'),
(51, 1, 2759, 'M', 'M_1_0_1455954505.jpg', '2016-02-20 07:48:25'),
(52, 1, 2759, 'M', 'M_1_1_1455954505.jpg', '2016-02-20 07:48:25'),
(53, 1, 38, 'R', 'R_1_0_1455956315.jpg', '2016-02-20 08:18:35'),
(54, 1, 42, 'R', 'R_1_0_1455973452.jpg', '2016-02-20 13:04:12'),
(55, 1, 52, 'R', 'R_1_0_1456751179.jpg', '2016-02-29 13:06:19'),
(56, 1, 52, 'R', 'R_1_1_1456751179.jpg', '2016-02-29 13:06:19'),
(57, 1, 53, 'R', 'R_1_0_1456805555.jpg', '2016-03-01 04:12:36'),
(58, 1, 53, 'R', 'R_1_1_1456805556.jpg', '2016-03-01 04:12:36'),
(59, 107, 2765, 'M', 'M_107_0_1456914799.jpg', '2016-03-02 10:33:19'),
(60, 107, 2765, 'M', 'M_107_1_1456914799.jpg', '2016-03-02 10:33:19'),
(61, 107, 2538, 'S', 'S_107_0_1456916576.jpg', '2016-03-02 11:02:56'),
(62, 1, 60, 'R', 'R_1_0_1456921204.jpg', '2016-03-02 12:20:04'),
(63, 1, 2766, 'M', 'M_1_0_1456924050.jpg', '2016-03-02 13:07:30'),
(64, 114, 62, 'R', 'R_114_0_1457183316.jpg', '2016-03-05 13:08:36'),
(65, 1, 2101, 'M', 'M_1_0_1457239221.jpg', '2016-03-06 04:40:21'),
(66, 1, 63, 'R', 'R_1_0_1458632612.jpg', '2016-03-22 07:43:32'),
(67, 1, 64, 'R', 'R_1_0_1459314793.jpg', '2016-03-30 05:13:13'),
(68, 1, 66, 'R', 'R_1_0_1459409213.jpg', '2016-03-31 07:26:53'),
(69, 1, 67, 'R', 'R_1_0_1459410275.jpg', '2016-03-31 07:44:35'),
(70, 1, 2540, 'S', 'S_1_0_1459585211.jpg', '2016-04-02 08:20:11'),
(71, 1, 2540, 'S', 'S_1_1_1459585211.jpg', '2016-04-02 08:20:11'),
(72, 1, 2540, 'S', 'S_1_2_1459585211.jpg', '2016-04-02 08:20:11'),
(76, 1, 0, 'S', 'S_1_0_1459585611.jpg', '2016-04-02 08:26:51'),
(77, 1, 0, 'S', 'S_1_1_1459585611.jpg', '2016-04-02 08:26:51'),
(78, 1, 0, 'S', 'S_1_2_1459585611.jpg', '2016-04-02 08:26:51'),
(86, 1, 2768, 'M', 'M_1_0_1459590453.jpg', '2016-04-02 09:47:33'),
(87, 1, 2768, 'M', 'M_1_1_1459590453.jpg', '2016-04-02 09:47:33'),
(88, 1, 2768, 'M', 'M_1_2_1459590453.jpg', '2016-04-02 09:47:33'),
(89, 1, 2769, 'M', 'M_1_0_1459592761.jpg', '2016-04-02 10:26:01'),
(90, 1, 2769, 'M', 'M_1_1_1459592761.jpg', '2016-04-02 10:26:01'),
(91, 1, 71, 'R', 'R_1_0_1459748993.jpg', '2016-04-04 05:49:53'),
(92, 1, 73, 'R', 'R_1_0_1459751307.jpg', '2016-04-04 06:28:27'),
(93, 1, 73, 'R', 'R_1_1_1459751307.jpg', '2016-04-04 06:28:27'),
(94, 1, 74, 'R', 'R_1_0_1459751780.jpg', '2016-04-04 06:36:20'),
(95, 1, 74, 'R', 'R_1_1_1459751780.jpg', '2016-04-04 06:36:20'),
(96, 1, 75, 'R', 'R_1_0_1459752912.jpg', '2016-04-04 06:55:12'),
(97, 1, 75, 'R', 'R_1_1_1459752912.jpg', '2016-04-04 06:55:12'),
(98, 1, 76, 'R', 'R_1_0_1459753319.jpg', '2016-04-04 07:01:59'),
(99, 1, 2770, 'M', 'M_1_0_1459762896.jpg', '2016-04-04 09:41:37'),
(100, 1, 2770, 'M', 'M_1_1_1459762898.jpg', '2016-04-04 09:41:38'),
(101, 1, 77, 'R', 'R_1_0_1459774700.jpg', '2016-04-04 12:58:20'),
(102, 1, 77, 'R', 'R_1_1_1459774700.jpg', '2016-04-04 12:58:20'),
(104, 1, 79, 'R', 'R_1_0_1461234485.jpg', '2016-04-21 10:28:05'),
(105, 1, 80, 'R', 'R_1_0_1461918452.jpg', '2016-04-29 08:27:32'),
(106, 1, 2102, 'M', 'M_1_0_1464093297.jpg', '2016-05-24 12:34:57'),
(108, 1, 2772, 'M', 'M_1_0_1464093535.jpg', '2016-05-24 12:38:55'),
(109, 132, 87, 'R', 'R_132_0_1468230987.jpg', '2016-07-11 09:56:27'),
(110, 130, 88, 'R', 'R_130_0_1468237191.jpg', '2016-07-11 11:39:51'),
(111, 130, 88, 'R', 'R_130_1_1468237191.jpg', '2016-07-11 11:39:51'),
(112, 1, 95, 'R', 'R_1_0_1468330867.jpg', '2016-07-12 13:41:07'),
(116, 130, 97, 'R', 'R_130_0_1468393900.jpg', '2016-07-13 07:11:40'),
(117, 130, 97, 'R', 'R_130_1_1468393900.jpg', '2016-07-13 07:11:40'),
(118, 130, 2542, 'S', 'S_130_0_1468397569.jpg', '2016-07-13 08:12:49'),
(119, 130, 2103, 'S', 'S_130_0_1468402639.jpg', '2016-07-13 09:37:19'),
(120, 130, 2104, 'M', 'M_130_0_1468479577.jpg', '2016-07-14 06:59:37'),
(121, 132, 2544, 'S', 'S_132_0_1468481824.jpg', '2016-07-14 07:37:04'),
(123, 130, 2774, 'M', 'M_130_0_1468486003.jpg', '2016-07-14 08:46:43'),
(124, 130, 2774, 'M', 'M_130_1_1468486003.jpg', '2016-07-14 08:46:43'),
(125, 130, 2774, 'M', 'M_130_2_1468486003.jpg', '2016-07-14 08:46:43'),
(126, 132, 98, 'R', 'R_132_0_1469853662.jpg', '2016-07-30 04:41:02'),
(127, 1, 2106, 'M', 'M_1_0_1469857894.jpg', '2016-07-30 05:51:34');

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

--
-- Table structure for table `th_activity_share_fb`
--

CREATE TABLE IF NOT EXISTS `th_activity_share_fb` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `fk_user_id` int(11) NOT NULL,
  `fb_share` text NOT NULL,
  `tw_share` text NOT NULL,
  `status_fb` tinyint(4) NOT NULL DEFAULT '0',
  `status_tw` tinyint(4) NOT NULL DEFAULT '0',
  `act_type` varchar(50) NOT NULL,
  `act_name` text NOT NULL,
  `activity_id` int(11) NOT NULL,
  `act_date` date NOT NULL,
  `source_type` varchar(10) NOT NULL,
  `gps_type` tinyint(4) NOT NULL,
  `image_source` varchar(200) NOT NULL,
  `image_path` varchar(200) NOT NULL,
  `distance` varchar(20) NOT NULL,
  `duration` varchar(20) NOT NULL,
  `pace` varchar(20) NOT NULL,
  `calories` varchar(20) NOT NULL,
  `steps` varchar(20) NOT NULL,
  `asteps` varchar(10) NOT NULL,
  `laps` varchar(10) NOT NULL,
  `hops` varchar(10) NOT NULL,
  `reps` varchar(10) NOT NULL,
  `sets` varchar(10) NOT NULL,
  `weight` varchar(10) NOT NULL,
  `rest` varchar(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=41 ;

--
-- Dumping data for table `th_activity_share_fb`
--

INSERT INTO `th_activity_share_fb` (`id`, `fk_user_id`, `fb_share`, `tw_share`, `status_fb`, `status_tw`, `act_type`, `act_name`, `activity_id`, `act_date`, `source_type`, `gps_type`, `image_source`, `image_path`, `distance`, `duration`, `pace`, `calories`, `steps`, `asteps`, `laps`, `hops`, `reps`, `sets`, `weight`, `rest`) VALUES
(1, 1, 'CAAFUZCMeGSIABAHTdw0rAjLfPZA0ZAMhIJydbzVopqNDZAAMVyJvMW4l7XT8b9pYvzYAT6x8IWUBEhaOeZA9e2ubx15JsbdczZB9TnJfI7OYMNWI0ruv2dUdizHOGMmZBpgQjpeozalZBv8yZAKxNGXvpOw6Ct2bA6YIuks8VZCmA1Qa48z95YiamNnJSKtzRfeeeemCoMJm72ZBQZDZD___952834608060022', '', 1, 0, 'distance', '(R)Bicycling', 39, '2016-03-30', 'R', 1, 'R_1_0_1459314793.jpg', 'share_1459321692715.jpg', '0.0', '1.2166666666667', '0', '0.0', '', '', '', '', '', '', '', ''),
(2, 1, 'CAAFUZCMeGSIABAIIJdc6Cvg3qKtWguUxN8asZAFzVVeL8cEsZBzNuaiEZCUpXevXJCBMpha3K6scfxHfo7Avc4CWjMbQu9BIj2HYfnO0Ir1tvEcB8yw6K0NcnoTi1jJMj167TvltVFJaW3ZBRJDLmFrT9gKxZCjhJKKGenafBaX8kTg3kl0XOqs28HUJZB1GEPte39MsfSukDg1yPzgRoA4qLDyZBlXEXQfcImhiQ3B7XQZDZD___952834608060022', '', 1, 0, 'distance', '(R)Bicycling', 39, '2016-03-31', 'R', 1, '', '', '0.0', '0.3', '0', '0.0', '', '', '', '', '', '', '', ''),
(3, 1, 'CAAFUZCMeGSIABAJwAZC9VBXHrMWhGz8ZAPbZBGFjK27hIZAECr6KkmjAdUHX66XXxx5kKkzyoFgqtSIOtofzNb2D6ALYnGWQyaU6jRVy4wMSaPaeUqOdlPbS8QtFL0aMNdbW0wsRnQugHdGZCGntqGR1Exk7vMABYRles68LxsEZBkOCd37Y2iz0nzxKPLZAUs8ZA8dLsuPVqSSsWvcgrO1PFjgXni0Pa9h5QKr6vPnU6bwZDZD___952834608060022', '', 1, 0, 'distance', '(R)Running', 40, '2016-03-31', 'R', 1, 'R_1_0_1459409213.jpg', '', '0.25901547963478', '6.7333333333333', '2.3080587294188', '31.0', '', '', '', '', '', '', '', ''),
(4, 1, 'CAAFUZCMeGSIABAEAqeUmDtKHEMRN3WHBYBxtMuPoS9wdpNwzlzcT4PFZCaKqNZAi1m5ACcweuoaZBzPDnKWD7K8kO0ZBuDngH8BqIbCRVcCyaROxlZCfF347LVNSlZCvCSc24YafZCchpobbI6UZAnIT7gpNm4UJrZBblBtKV8gnCZBZCHo3re5CbBRrbaWVxHGad6jw7zcgSfjJUbpKtFZBPWKBSCw3MiEDhNojt56DlwbYTPwZDZD___876451695738885', '', 1, 0, 'distance', '(R)Running', 40, '2016-03-31', 'R', 1, 'R_1_0_1459410275.jpg', '', '0.0', '0.6', '0', '0.0', '', '', '', '', '', '', '', ''),
(5, 1, 'CAAFUZCMeGSIABAK5oxCtHAqADeO8TTc4tn0d94H9nvyu2nLHffjOb26rZB7goJkUq3Ca9pBTRiCfid1XjUDCNZCEBhHykofcdgcv8crQmeWoMEkpdOVDhjWgC80sVH5VvjAzmCOk57IBfuhrtz4tbcx4QwE6WLrRttn5QZAyTZAaxK9HvYZBMBLQs8CvrGdRomCP5jhaqQVpkilUbPVuRPfNzDkceyrRpOjZB7tmsAw3QZDZD___876451695738885___2', '', 1, 0, 'repetation', '', 0, '2016-04-02', 'S', 0, '', '', '', '8', '', '', '', '', '', '', '69', '3', '25', '2'),
(6, 1, 'CAAFUZCMeGSIABAK5oxCtHAqADeO8TTc4tn0d94H9nvyu2nLHffjOb26rZB7goJkUq3Ca9pBTRiCfid1XjUDCNZCEBhHykofcdgcv8crQmeWoMEkpdOVDhjWgC80sVH5VvjAzmCOk57IBfuhrtz4tbcx4QwE6WLrRttn5QZAyTZAaxK9HvYZBMBLQs8CvrGdRomCP5jhaqQVpkilUbPVuRPfNzDkceyrRpOjZB7tmsAw3QZDZD___876451695738885___2', '', 1, 0, 'repetation', '', 0, '2016-04-02', 'S', 0, '', '', '', '8', '', '', '', '', '', '', '69', '3', '25', '2'),
(7, 1, 'CAAFUZCMeGSIABAK5oxCtHAqADeO8TTc4tn0d94H9nvyu2nLHffjOb26rZB7goJkUq3Ca9pBTRiCfid1XjUDCNZCEBhHykofcdgcv8crQmeWoMEkpdOVDhjWgC80sVH5VvjAzmCOk57IBfuhrtz4tbcx4QwE6WLrRttn5QZAyTZAaxK9HvYZBMBLQs8CvrGdRomCP5jhaqQVpkilUbPVuRPfNzDkceyrRpOjZB7tmsAw3QZDZD___876451695738885___1', '', 1, 0, 'repetation', 'Vertical Leg Crunch', 0, '2016-04-02', 'M', 0, '', '', '', '5', '', '', '', '', '', '', '6', '7', '8', '9'),
(8, 1, 'CAAFUZCMeGSIABAK5oxCtHAqADeO8TTc4tn0d94H9nvyu2nLHffjOb26rZB7goJkUq3Ca9pBTRiCfid1XjUDCNZCEBhHykofcdgcv8crQmeWoMEkpdOVDhjWgC80sVH5VvjAzmCOk57IBfuhrtz4tbcx4QwE6WLrRttn5QZAyTZAaxK9HvYZBMBLQs8CvrGdRomCP5jhaqQVpkilUbPVuRPfNzDkceyrRpOjZB7tmsAw3QZDZD___876451695738885___2', '', 1, 0, 'repetation', 'Vertical Leg Crunch', 42, '2016-04-02', 'M', 0, '', '', '', '5', '', '', '', '', '', '', '6', '7', '8', '9'),
(9, 1, 'CAAFUZCMeGSIABAK5oxCtHAqADeO8TTc4tn0d94H9nvyu2nLHffjOb26rZB7goJkUq3Ca9pBTRiCfid1XjUDCNZCEBhHykofcdgcv8crQmeWoMEkpdOVDhjWgC80sVH5VvjAzmCOk57IBfuhrtz4tbcx4QwE6WLrRttn5QZAyTZAaxK9HvYZBMBLQs8CvrGdRomCP5jhaqQVpkilUbPVuRPfNzDkceyrRpOjZB7tmsAw3QZDZD___876451695738885___2', '', 1, 0, 'repetation', 'Vertical Leg Crunch', 42, '2016-04-02', 'M', 0, '', '', '', '5', '', '', '', '', '', '', '6', '7', '8', '9'),
(10, 1, 'CAAFUZCMeGSIABAK5oxCtHAqADeO8TTc4tn0d94H9nvyu2nLHffjOb26rZB7goJkUq3Ca9pBTRiCfid1XjUDCNZCEBhHykofcdgcv8crQmeWoMEkpdOVDhjWgC80sVH5VvjAzmCOk57IBfuhrtz4tbcx4QwE6WLrRttn5QZAyTZAaxK9HvYZBMBLQs8CvrGdRomCP5jhaqQVpkilUbPVuRPfNzDkceyrRpOjZB7tmsAw3QZDZD___876451695738885___2', '', 1, 0, 'repetation', 'Vertical Leg Crunch', 42, '2016-04-02', 'M', 0, 'M_1_1_1459590453.jpg', '', '', '5', '', '', '', '', '', '', '6', '7', '8', '9'),
(11, 1, 'CAAFUZCMeGSIABAJ8Q9ZCBuIvNQWZAZAkYYqtO6yk0kyAnLKrZB2TRS8EZBaDuYbuikMbwjFeivq5SmILsTF8vRACEF1IpcdLS6RdvEftIhHZC0TXld6Ij2sFBLMshuhkbqYDra5p5z5bZAQ1bc1sLpNiMEqaHnVwHI9ZC1rqkiZCxw5ng7znm2KWTZBdmcocv1vARiihXdTBLlZAYZAaooRm8wWA7Oamgx6m5bHKuYiZA8t07XtAZDZD___952834608060022', '', 1, 0, 'distance', '(R)Bicycling', 39, '2016-04-04', 'R', 1, 'R_1_0_1459748993.jpg', '', '0.0', '0.6', '0', '0.0', '', '', '', '', '', '', '', ''),
(12, 1, 'CAAFUZCMeGSIABAJ8Q9ZCBuIvNQWZAZAkYYqtO6yk0kyAnLKrZB2TRS8EZBaDuYbuikMbwjFeivq5SmILsTF8vRACEF1IpcdLS6RdvEftIhHZC0TXld6Ij2sFBLMshuhkbqYDra5p5z5bZAQ1bc1sLpNiMEqaHnVwHI9ZC1rqkiZCxw5ng7znm2KWTZBdmcocv1vARiihXdTBLlZAYZAaooRm8wWA7Oamgx6m5bHKuYiZA8t07XtAZDZD___952834608060022___0', '', 1, 0, 'distance', '(R)Bicycling', 39, '2016-04-04', 'R', 1, '', '', '0.0', '0.23333333333333', '0', '0.0', '', '', '', '', '', '', '', ''),
(13, 1, 'CAAFUZCMeGSIABAJ8Q9ZCBuIvNQWZAZAkYYqtO6yk0kyAnLKrZB2TRS8EZBaDuYbuikMbwjFeivq5SmILsTF8vRACEF1IpcdLS6RdvEftIhHZC0TXld6Ij2sFBLMshuhkbqYDra5p5z5bZAQ1bc1sLpNiMEqaHnVwHI9ZC1rqkiZCxw5ng7znm2KWTZBdmcocv1vARiihXdTBLlZAYZAaooRm8wWA7Oamgx6m5bHKuYiZA8t07XtAZDZD___952834608060022___0', '', 1, 0, 'distance', '(R)Bicycling', 39, '2016-04-04', 'R', 1, '', '', '0.0', '1.5166666666667', '0', '0.0', '', '', '', '', '', '', '', ''),
(14, 1, 'CAAFUZCMeGSIABAJ8Q9ZCBuIvNQWZAZAkYYqtO6yk0kyAnLKrZB2TRS8EZBaDuYbuikMbwjFeivq5SmILsTF8vRACEF1IpcdLS6RdvEftIhHZC0TXld6Ij2sFBLMshuhkbqYDra5p5z5bZAQ1bc1sLpNiMEqaHnVwHI9ZC1rqkiZCxw5ng7znm2KWTZBdmcocv1vARiihXdTBLlZAYZAaooRm8wWA7Oamgx6m5bHKuYiZA8t07XtAZDZD___952834608060022___2', '', 1, 0, 'distance', '(R)Running', 40, '2016-04-04', 'R', 1, '', '', '0.000705384571854056', '1.0833333333333', '0.039067453210378', '0.0', '', '', '', '', '', '', '', ''),
(15, 1, 'CAAFUZCMeGSIABAJ8Q9ZCBuIvNQWZAZAkYYqtO6yk0kyAnLKrZB2TRS8EZBaDuYbuikMbwjFeivq5SmILsTF8vRACEF1IpcdLS6RdvEftIhHZC0TXld6Ij2sFBLMshuhkbqYDra5p5z5bZAQ1bc1sLpNiMEqaHnVwHI9ZC1rqkiZCxw5ng7znm2KWTZBdmcocv1vARiihXdTBLlZAYZAaooRm8wWA7Oamgx6m5bHKuYiZA8t07XtAZDZD___952834608060022___0', '', 1, 0, 'distance', '(R)Running', 40, '2016-04-04', 'R', 1, '', '', '0.000312131035755218', '1.1166666666667', '0.016771219831624', '0.0', '', '', '', '', '', '', '', ''),
(16, 1, 'CAAFUZCMeGSIABAJ8Q9ZCBuIvNQWZAZAkYYqtO6yk0kyAnLKrZB2TRS8EZBaDuYbuikMbwjFeivq5SmILsTF8vRACEF1IpcdLS6RdvEftIhHZC0TXld6Ij2sFBLMshuhkbqYDra5p5z5bZAQ1bc1sLpNiMEqaHnVwHI9ZC1rqkiZCxw5ng7znm2KWTZBdmcocv1vARiihXdTBLlZAYZAaooRm8wWA7Oamgx6m5bHKuYiZA8t07XtAZDZD___952834608060022___1', '', 1, 0, 'distance', '(R)Bicycling', 39, '2016-04-04', 'R', 1, 'R_1_0_1459753319.jpg', '', '0.0', '0.7', '0', '0.0', '', '', '', '', '', '', '', ''),
(17, 1, 'CAAFUZCMeGSIABAJ8Q9ZCBuIvNQWZAZAkYYqtO6yk0kyAnLKrZB2TRS8EZBaDuYbuikMbwjFeivq5SmILsTF8vRACEF1IpcdLS6RdvEftIhHZC0TXld6Ij2sFBLMshuhkbqYDra5p5z5bZAQ1bc1sLpNiMEqaHnVwHI9ZC1rqkiZCxw5ng7znm2KWTZBdmcocv1vARiihXdTBLlZAYZAaooRm8wWA7Oamgx6m5bHKuYiZA8t07XtAZDZD___952834608060022___2', '', 1, 0, 'count', '6 Moves for Slimmer for all', 58, '2016-04-04', 'M', 0, 'M_1_1_1459762898.jpg', '', '', '4', '', '20.1', '2', '6', '1', '2', '', '', '', ''),
(18, 1, 'CAAFUZCMeGSIABADL55bR4aZBbIie8zM9OkhTsGaL9WNs3bZBDUvYZA7pNUAluSZBZCS3x0OidboD3oYhfbgI8JHUD8s4Di8IdmAcz0u8UfWe1zCYVemzgCIcJZA6zUvELMpWT53suybQseXelyfoNhsm7HGcHjRWbyz7Ax0xXOsxnYFPR2DZAkrDTzJ6kGZCHm0iO3LqnneFFHgZDZD___952834608060022___2', '', 1, 0, 'duration', '', 38, '2016-04-04', 'R', 0, 'R_1_1_1459774700.jpg', 'share_1468064401739.jpg', '', '35', '', '', '', '', '', '', '', '', '', ''),
(19, 1, '', '', 1, 0, 'duration', '', 38, '2016-04-21', 'R', 0, '', 'share_1468064405310.jpg', '', '10', '', '104', '', '', '', '', '', '', '', ''),
(20, 1, '', '', 1, 0, 'duration', '', 38, '2016-04-21', 'R', 0, '', 'share_1468064405497.jpg', '', '103', '', '0', '', '', '', '', '', '', '', ''),
(21, 1, '', '', 1, 0, 'duration', '', 38, '2016-04-21', 'R', 0, '', 'share_1468064405520.jpg', '', '103', '', '0', '', '', '', '', '', '', '', ''),
(22, 1, '', '', 1, 0, 'duration', '', 38, '2016-04-21', 'R', 0, '', 'share_1468064405718.jpg', '', '105', '', '0', '', '', '', '', '', '', '', ''),
(23, 1, '', '', 1, 0, 'duration', '', 38, '2016-04-21', 'R', 0, '', 'share_1468064405304.jpg', '', '105', '', '0', '', '', '', '', '', '', '', ''),
(24, 1, 'EAAFUZCMeGSIABAFsZAhtHv6OM3D7GxsRmZBxsNWuZBfAHCFCYMDei1vfzgJ5zZAeJ3N1zqenU6P5blIBKHaIyJheOOf4bLSuDg6D0UN3uj9hEgUpPR45ctwSZB3ZBZBD0lhwaTJDE9ayw2SNEnRNtD90I8NvzOoNeuUcJGPHLbjWvyZBT2TEqAmNc___515430068597291___0', '', 1, 0, 'distance', '(R)Running', 40, '2016-04-29', 'R', 1, '', 'share_1468064405546.jpg', '0.0', '1.5166666666667', '0', '0.0', '', '', '', '', '', '', '', ''),
(25, 1, '', '', 1, 0, 'repetation', 'Chest Muscle Strengthen', 41, '2016-05-24', 'M', 0, '', 'share_1468064406576.jpg', '', '20', '', '', '', '', '', '', '7', '3', '40', '20'),
(26, 1, '', '', 1, 0, 'repetation', 'Chest Muscle Strengthen', 41, '2016-05-24', 'M', 0, '', 'share_1468064406449.jpg', '', '20', '', '', '', '', '', '', '7', '3', '40', '20'),
(27, 132, '', '', 1, 0, 'duration', '', 38, '2016-07-11', 'R', 0, '', 'share_1468231021651.jpg', '', '20', '', '0', '', '', '', '', '', '', '', ''),
(28, 130, 'EAAFUZCMeGSIABADklpIAp9wkAPFgUfAFvUtAnMXC1ITAqzKA6IWjZCJrv39YOZCcPy5NbdFYBCWSEcdyD0CZCj5ZAK3iXA3idbDtPPmR5ZBU3cLQ2WZBaSYGAv5ROzlnfINwR0kNVWjl7KmNZBU1uOzPIbRZBksiZCKGWyr9zcZA7SrzGhCXeR0GZCTI2IgzSGv81gdl5j8Yp64tB17HwpYcHBv7___952834608060022___2', '', 1, 0, 'distance', 'Walking', 58, '2016-07-11', 'R', 1, 'R_130_1_1468237191.jpg', 'share_1468237202811.jpg', '0.237338498684377', '8.05', '1.76898259889', '14.818659', '', '', '', '', '', '', '', ''),
(29, 132, '', '', 1, 0, 'repetation', 'Chest Muscle Strengthen', 74, '2016-07-12', 'S', 0, '', 'share_1468317362773.jpg', '', '20', '', '', '', '', '', '', '15', '3', '40', '25'),
(30, 1, 'EAAFUZCMeGSIABAOZAXEWrkCZB9vxdDVjGzLPTevu6AWp4HqD0Y77VIrMXLTZBJ9pCFVjBlZBAtRlsTwFEgOZByunUGcdadJyyUBcZAa7PV6oZAV28ByKkXpFaV9uq5Ul3ehMl3xVMX7q5Ol5EVDrL7wQhP6BQinbBAAZD___952834608060022___0', '', 1, 0, 'distance', 'Bicycling', 39, '2016-07-12', 'R', 1, '', 'share_1468324741752.jpg', '0.0', '15.3', '0', '0.0', '', '', '', '', '', '', '', ''),
(31, 130, '', '', 1, 0, 'duration', '', 38, '2016-07-13', 'R', 0, '', 'share_1468386362790.jpg', '', '25', '', '0', '', '', '', '', '', '', '', ''),
(32, 130, '', '', 1, 0, 'duration', '', 38, '2016-07-13', 'R', 0, '', 'share_1468393081286.jpg', '', '25', '', '0', '', '', '', '', '', '', '', ''),
(33, 130, '', '', 1, 0, 'duration', 'Chest Muscle Strengthen', 38, '0000-00-00', '2016-07-13', 0, '', 'share_1468393921628.jpg', '', '30', '', '0', '', '', '', '', '', '', '', ''),
(34, 130, '', '', 1, 0, 'repetation', 'Chest Muscle Strengthen', 76, '2016-07-13', 'S', 0, '', 'share_1468397581252.jpg', '', '20', '', '', '', '', '', '', '15', '3', '40', '20'),
(35, 132, '', '', 1, 0, 'repetation', 'Chest Muscle Strengthen', 74, '2016-07-14', 'S', 0, '', 'share_1468481881128.jpg', '', '20', '', '', '', '', '', '', '3', '3', '30', '20'),
(36, 130, '', '', 1, 0, 'repetation', 'Bench Press Exercise', 97, '2016-07-14', 'M', 0, '', 'share_1468482122646.jpg', '', '20', '', '', '', '', '', '', '3', '2', '10', '20'),
(37, 130, '', '', 1, 0, 'repetation', 'Bench Press Exercise', 97, '2016-07-14', 'M', 0, '', 'share_1468486021198.jpg', '', '20', '', '', '', '', '', '', '5', '2', '10', '20'),
(38, 1, '', '', 1, 0, 'repetation', 'Chest Muscle Strengthen', 41, '2016-07-14', 'M', 0, '', 'share_1468492261916.jpg', '', '', '', '', '', '', '', '', '5', '2', '18', '25'),
(39, 132, '', '', 1, 0, 'repetation', 'Chest Muscle Strengthen', 74, '2016-07-30', 'S', 0, '', 'share_1472628422886.jpg', '', '', '', '', '', '', '', '', '3', '4', '20', '15'),
(40, 1, '', '', 1, 0, 'repetation', 'Vertical Leg Crunch', 42, '2016-07-30', 'M', 0, '', 'share_1472628422137.jpg', '', '', '', '', '', '', '', '', '5', '2', '20', '15');

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

--
-- Table structure for table `th_activity_sharing`
--

CREATE TABLE IF NOT EXISTS `th_activity_sharing` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `activity_id` int(10) unsigned NOT NULL,
  `activity_source` varchar(3) NOT NULL,
  `gps_type` tinyint(4) NOT NULL DEFAULT '0',
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `allys_id` int(10) unsigned NOT NULL,
  `status` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `activity_id` (`activity_id`,`rgs_id_fkx`,`allys_id`,`status`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `th_activity_wise_tulasi`
--

CREATE TABLE IF NOT EXISTS `th_activity_wise_tulasi` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `exe_id` int(11) NOT NULL,
  `ex_title` varchar(200) NOT NULL,
  `ex_source` varchar(2) NOT NULL COMMENT 'R-> Random, M->Metric, S->Self',
  `activity_type` varchar(2) NOT NULL COMMENT 'C-> Cardio, M-> Muscle Strength',
  `cdc_level` varchar(2) NOT NULL COMMENT 'M-> Moderate, V->Vigourous',
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `dur_minute` float DEFAULT NULL,
  `tulasi` int(11) NOT NULL,
  `due_date` date NOT NULL,
  `cal_burned` float DEFAULT '0',
  `source_type` varchar(4) NOT NULL DEFAULT 'S' COMMENT 'S-> Self, C->Coach',
  `source_id` varchar(4) NOT NULL DEFAULT 'WP' COMMENT 'A-> Android, I-> Iphone, WA->Windows App, WP-> Web Portal or Coach ID',
  `inactivity_ratio` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0-> Valid, 1-> Invalid, calorie/distance ratio should be>=30',
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `exe_id` (`exe_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `th_activity_wise_tulasi`
--

INSERT INTO `th_activity_wise_tulasi` (`id`, `exe_id`, `ex_title`, `ex_source`, `activity_type`, `cdc_level`, `rgs_id_fkx`, `dur_minute`, `tulasi`, `due_date`, `cal_burned`, `source_type`, `source_id`, `inactivity_ratio`, `created`) VALUES
(1, 39, 'Bicycling', 'R', 'C', 'M', 1, 1014.68, 15220, '2016-10-16', 276, 'S', 'M', 0, '2016-10-16 19:30:02');

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

--
-- Table structure for table `th_admin`
--

CREATE TABLE IF NOT EXISTS `th_admin` (
  `aid` int(25) NOT NULL AUTO_INCREMENT,
  `auname` varchar(255) DEFAULT NULL,
  `apass` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`aid`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `th_admin`
--

INSERT INTO `th_admin` (`aid`, `auname`, `apass`) VALUES
(1, 'admin', '123456');

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

--
-- Table structure for table `th_admin_lib_doc`
--

CREATE TABLE IF NOT EXISTS `th_admin_lib_doc` (
  `doc_id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(225) NOT NULL,
  `description` text NOT NULL,
  `doc_name` text NOT NULL,
  `doc_group` int(11) NOT NULL,
  `doc_size` double NOT NULL,
  `doc_source` varchar(10) NOT NULL COMMENT 'Int=> Internal, Ext=> External',
  `user_id_fkx` varchar(50) NOT NULL,
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`doc_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=43 ;

--
-- Dumping data for table `th_admin_lib_doc`
--

INSERT INTO `th_admin_lib_doc` (`doc_id`, `title`, `description`, `doc_name`, `doc_group`, `doc_size`, `doc_source`, `user_id_fkx`, `created`) VALUES
(39, 'test admin 1', 'test', 'file__1391662843227_lib.jpg', 1, 14, 'Int', '', '2014-01-29 13:09:49'),
(40, 'SN. Prasad', 'testing', 'file__13910017445467_lib.jpg', 0, 17, 'Int', '', '2014-01-29 13:22:24'),
(41, 'chest', 'chest', 'file__1391058671755_lib.jpg', 1, 9, 'Int', '1', '2014-01-30 05:11:11'),
(42, 'demo file', 'rfhfgjhdghjfghg', 'file_BQR779KX1Ns91brKk6Fq_lib.jpg', 2, 7, 'Int', '1', '2016-03-11 09:56:30');

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

--
-- Table structure for table `th_admin_lib_exercise`
--

CREATE TABLE IF NOT EXISTS `th_admin_lib_exercise` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id_fkx` int(10) NOT NULL COMMENT 'Admin id',
  `name` varchar(150) NOT NULL,
  `description` text NOT NULL,
  `met_value` decimal(4,2) NOT NULL,
  `activity_type` varchar(4) DEFAULT NULL COMMENT 'C->Cardio, M-> Muscle Strength',
  `cdc_level` varchar(4) DEFAULT NULL COMMENT 'M->Moderate, V->Vigourous',
  `image1` varchar(150) NOT NULL,
  `image2` varchar(150) NOT NULL,
  `attachments` varchar(100) NOT NULL,
  `youtube` text NOT NULL,
  `body_part` varchar(50) NOT NULL,
  `equipment` varchar(50) NOT NULL,
  `gender` varchar(30) NOT NULL,
  `gps` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'GPS Tracable 0-> No, 1-> Yes',
  `met_ref_id` int(11) unsigned NOT NULL,
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `met_ref_id` (`met_ref_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=48 ;

--
-- Dumping data for table `th_admin_lib_exercise`
--

INSERT INTO `th_admin_lib_exercise` (`id`, `user_id_fkx`, `name`, `description`, `met_value`, `activity_type`, `cdc_level`, `image1`, `image2`, `attachments`, `youtube`, `body_part`, `equipment`, `gender`, `gps`, `met_ref_id`, `created`) VALUES
(38, 1, 'Chest Muscle Strengthen1', 'exercises to build chest muscle with lorem ipsum doller sit amit.', '0.00', 'M', NULL, 'nutrition/library/ex__1391058683865_first.jpg', 'nutrition/library/ex_9HPSkwtrQSp4p83Me8mg_first.jpg', '40,41', 'http://www.youtube.com/watch?v=kVewl7_pua8', '1,2,3,4,5,6,7,8', '12,13,14,15,16,17,18,24,27', 'Male', 0, 0, '2014-01-30 05:11:23'),
(39, 1, 'Bicycling', 'Whether you''re outdoors or indoors, cycling is an excellent cardio workout. ', '5.00', 'C', 'M', 'nutrition/library/_14406586122383_first_new5.png', 'nutrition/library/ex__1391066320232_second.jpg', '39', '', '1,2,3,4,5,6,7,8', '12,13,14,15,16,17,18,24,27', 'Male', 1, 0, '2014-01-30 07:18:40'),
(40, 1, 'Running', 'Running', '3.00', 'C', 'M', 'nutrition/library/ex_sAqmDxLABgKgs1fnLtyo_first.jpg', 'nutrition/library/ex_FUyiI2zx31r6cBxpi3Ft_second.jpg', '40', '', '2,3,4', '13,14,15', 'Male and Female', 1, 0, '2015-09-14 08:33:43'),
(41, 1, 'Rope Jumping Activity', 'Please do not reply to this message or mail address. For any queries, please call our 24 Hrs. Customer Contact Centre at our toll free number*- 1800 102 6022 or use Secure Mail by clicking on Inbox link after logging into Net Banking. if the toll free numbers are not supported by your service provider. ', '0.00', 'C', 'M', 'nutrition/library/ex_nEP8yJRRMaSoQdnNTKjG_first.jpg', 'nutrition/library/ex_G899qbQKQgTDacgl5lo2_second.jpg', '39', '', '1,2,3,4,7,8', '15,27', 'Male and Female', 0, 0, '2016-01-05 13:25:53'),
(42, 1, '3d3f', 'eerferfere', '8.00', 'C', 'M', 'nutrition/library/ex_Q7P1ogp6ImQeM1NL6gxy_first.png', '', '', '', '3,4', '15', 'Male and Female', 1, 0, '2016-06-28 10:46:34'),
(43, 1, 'texst', 'thrtujhdtyuyt', '0.00', 'C', 'M', 'nutrition/library/ex_emA7HQiwpwepHPt2rLD4_first.jpg', '', '', '', '3,4', '15', 'Male and Female', 1, 1, '2016-06-30 05:32:11'),
(44, 1, 'Walking', 'Walking is simple, free and one of the easiest ways to get more active, lose weight and become healthier. ', '0.00', 'C', 'M', 'nutrition/library/ex_3jJu1nnxtBsoRLWDHj4n_first.jpg', '', '', '', '2,7', '', 'Male and Female', 1, 2, '2016-07-14 06:03:51'),
(45, 0, 'Push Ups', 'Push-ups work your chest, shoulders, triceps and core for a complete muscle-building exercise. They''re a major deal, so don''t neglect them. To do: Place your hands on the ground slightly wider than shoulder-width apart and lower yourself until your chest almost touches the floor.', '0.00', 'M', NULL, 'nutrition/library/ex_U5xDlCBWGlHQG1qUCNjN_first.jpg', '', '', '', '2,4,7', '', 'Male and Female', 0, 0, '2016-07-14 11:34:17'),
(46, 1, 'Test', 'Test', '0.00', 'M', NULL, 'nutrition/library/ex_ALXGfTxoG8aJJplrJegJ_first.jpg', '', '', '', '2', '13', 'Male and Female', 0, 0, '2016-09-08 10:56:01'),
(47, 1, 'Test2', 'Test2', '0.00', 'M', NULL, 'nutrition/library/ex_uTYw4ef8E1H8WXGXXh3A_first.jpg', '', '', '', '2', '13', 'Male and Female', 0, 0, '2016-09-08 13:46:34');

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

--
-- Table structure for table `th_admin_lib_rand_activity`
--

CREATE TABLE IF NOT EXISTS `th_admin_lib_rand_activity` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id_fkx` int(10) NOT NULL COMMENT 'Admin id',
  `name` varchar(150) NOT NULL,
  `description` text NOT NULL,
  `met_value` decimal(4,2) NOT NULL,
  `activity_type` varchar(4) DEFAULT NULL,
  `cdc_level` varchar(2) NOT NULL DEFAULT 'M' COMMENT 'M-> Moderate, V->Vigorous',
  `image1` varchar(150) NOT NULL,
  `image2` varchar(150) NOT NULL,
  `youtube` text NOT NULL,
  `body_part` varchar(50) NOT NULL,
  `equipment` varchar(50) NOT NULL,
  `gender` varchar(30) NOT NULL,
  `gps` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'GPS Tracable 0-> No, 1-> Yes',
  `met_ref_id` int(11) unsigned NOT NULL,
  `activity_duration` int(11) NOT NULL DEFAULT '0',
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `met_ref_id` (`met_ref_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=63 ;

--
-- Dumping data for table `th_admin_lib_rand_activity`
--

INSERT INTO `th_admin_lib_rand_activity` (`id`, `user_id_fkx`, `name`, `description`, `met_value`, `activity_type`, `cdc_level`, `image1`, `image2`, `youtube`, `body_part`, `equipment`, `gender`, `gps`, `met_ref_id`, `activity_duration`, `created`) VALUES
(38, 1, 'Chest Muscle Strengthen', 'exercises to build chest muscle with lorem ipsum doller sit amit.exercises to build chest muscle with lorem ipsum doller sit amit.exercises to build chest muscle with lorem ipsum doller sit amit.exercises to build chest muscle with lorem ipsum doller sit amit.exercises to build chest muscle with lorem ipsum doller sit amit.exercises to build chest muscle with lorem ipsum doller sit amit.exercises to build chest muscle with lorem ipsum doller sit amit.', '0.00', 'M', '', 'nutrition/library/ex_n8KgaEhfcn3HML6RPL5r_first.jpg', 'nutrition/library/ex_Qcgzg7DUhmXLZd5aZllu_second.jpg', 'https://www.youtube.com/watch?v=exlvkALgtvY', '1,2,3,4,5,6,7,8', '12,13,14,15,16,17,18,24,27', 'Male', 0, 0, 0, '2014-01-30 05:11:23'),
(39, 1, 'Bicycling', 'Interested in riding a bicycle? We welcome bicyclists of all skill levels.', '5.00', 'C', 'M', 'nutrition/library/_14406586122383_first_new5.png', '', '', '1,2,3,4,5,6,7,8', '30', 'Male and Female', 1, 2, 5, '2014-01-30 07:18:40'),
(40, 1, 'Running', 'Running is a method of terrestrial locomotion allowing humans and other animals to move rapidly on foot.', '3.00', 'C', 'M', 'nutrition/library/running_black.png', '', '', '2,3,4,7', '13,14,15', 'Male and Female', 1, 2, 9, '2015-09-14 08:33:43'),
(49, 1, 'Cross-country Skiing', 'Cross-country skiing is a form of skiing where skiers rely on their own locomotion to move across snow-covered terrain, rather than using ski lifts or other forms of assistance.', '0.00', 'C', 'M', 'nutrition/library/cross_country_skiing_black.png', '', '', '7', '', 'Male and Female', 1, 5, 15, '2016-07-09 10:44:27'),
(50, 1, 'Canoeing', 'Canoeing is a sport or recreational activity which involves paddling a canoe with a single-bladed paddle.', '0.00', 'C', 'M', 'nutrition/library/ex_6yiNL5Efk45RXksgmgly_first.png', '', '', '', '', 'Male and Female', 1, 6, 15, '2016-07-09 10:46:58'),
(51, 1, 'Kayaking', 'A kayak is a small, narrow boat which is propelled by means of a double-bladed paddle. ', '0.00', 'C', 'M', 'nutrition/library/ex_iRAfSPRNYL5mi4GY5wFf_first.jpg', '', '', '2', '', 'Male and Female', 1, 4, 15, '2016-07-09 10:56:28'),
(52, 1, 'Rafting', 'Rafting and white water rafting are recreational outdoor activities which use an inflatable raft to navigate a river or other body of water.', '0.00', 'C', 'M', 'nutrition/library/rafting_black.png', '', '', '2', '', 'Male and Female', 1, 4, 15, '2016-07-09 10:59:06'),
(53, 1, 'Rowing', 'Rowing, often referred to as crew in the United States, is a sport with origins back to Ancient Egyptian times. It is based on propelling a boat (racing shell) on water using oars.', '0.00', 'C', 'M', 'nutrition/library/ex_qgG2uApyKQguWnHXf2Hu_first.png', '', '', '2', '', 'Male and Female', 1, 4, 15, '2016-07-09 11:00:46'),
(54, 1, 'Sailing', 'Sailing comprises wind propulsion of a craft by means of sails and steering it over water, ice or land, depending on the type of craft.', '3.00', 'C', 'M', 'nutrition/library/sailing_black.png', '', '', '', '', 'Male and Female', 1, 0, 15, '2016-07-09 11:11:20'),
(55, 1, 'Skateboarding', 'Skateboarding is an action sport which involves riding and performing tricks using a skateboard.', '5.00', 'C', 'M', 'nutrition/library/skatboarding_black.png', '', '', '7', '', 'Male and Female', 1, 0, 15, '2016-07-09 11:15:52'),
(56, 1, 'Skating', 'Skating involves any sports or recreational activity which consists of traveling on surfaces or on ice using skates.', '0.00', 'C', 'M', 'nutrition/library/skating_black.png', '', '', '7', '', 'Male and Female', 1, 3, 15, '2016-07-09 11:17:54'),
(57, 1, 'Unicycling', 'A unicycle is a vehicle that touches the ground with only one wheel. The most common variation has a frame with a saddle, and has a pedal-driven direct drive.', '5.00', 'C', 'M', 'nutrition/library/ex_sgFBjGoLb1Q6j5Z7qdgX_first.jpg', '', '', '2,7', '', 'Male and Female', 1, 0, 15, '2016-07-09 11:25:00'),
(58, 1, 'Walking', 'Walking is simple, free and one of the easiest ways to get more active, lose weight and become healthier. ', '0.00', 'C', 'M', 'nutrition/library/walking_black.png', '', '', '2,7', '', 'Male and Female', 1, 2, 30, '2016-07-09 11:26:31'),
(59, 1, 'Golf', 'Golf is a club and ball sport in which players use various clubs to hit balls into a series of holes on a course in as few strokes as possible.', '4.80', 'C', 'M', 'nutrition/library/golf_black.png', '', '', '1,2,7', '', 'Male and Female', 0, 0, 15, '2016-07-09 11:31:21'),
(60, 1, 'Hiking', 'Hiking is the preferred term, in Canada and the United States, for a long, vigorous walk, usually on trails (footpaths), in the countryside.', '7.80', 'C', 'M', 'nutrition/library/hiking_black.png', '', '', '7', '', 'Male and Female', 1, 0, 15, '2016-07-09 11:34:49'),
(61, 1, 'Push Ups ', 'Push-ups work your chest, shoulders, triceps and core for a complete muscle-building exercise. They''re a major deal, so don''t neglect them. To do: Place your hands on the ground slightly wider than shoulder-width apart and lower yourself until your chest almost touches the floor.', '0.00', 'M', '', 'nutrition/library/ex_DgrujYDuFXgPAbWdp8JQ_first.jpg', 'nutrition/library/ex_YKgsByBicrm32XCUZ2ZD_first.jpg', '', '2,7', '', 'Male and Female', 0, 0, 15, '2016-07-14 11:35:46'),
(62, 1, 'Test2', 'test2', '5.00', 'C', 'M', 'nutrition/library/ex_HafLLB2Qn4ITcQQ1sMkL_first.jpg', 'nutrition/library/ex_FCuFyz47SPbKe9baIIUe_first.jpg', 'https://www.youtube.com/watch?v=exlvkALgtvY', '2', '13', 'Male and Female', 1, 0, 30, '2016-09-09 07:26:19');

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

--
-- Table structure for table `th_admin_lib_recipe`
--

CREATE TABLE IF NOT EXISTS `th_admin_lib_recipe` (
  `rc_id` int(10) NOT NULL AUTO_INCREMENT,
  `user_id_fkx` int(10) NOT NULL,
  `name` varchar(100) NOT NULL,
  `category` varchar(5) NOT NULL,
  `ingredients` text NOT NULL,
  `c_direction` text NOT NULL,
  `serv_no` int(10) NOT NULL,
  `serv_size` varchar(50) NOT NULL,
  `prep_time` float NOT NULL,
  `cook_time` float NOT NULL,
  `image` varchar(120) NOT NULL,
  `youtube` varchar(200) DEFAULT NULL,
  `attachments` varchar(100) DEFAULT NULL,
  `rcp_category` varchar(20) NOT NULL COMMENT 'Comma Separated Categories will be stored i.e 1,3,4',
  `rcp_wg` smallint(5) unsigned NOT NULL DEFAULT '0',
  `rcp_rg` smallint(5) unsigned NOT NULL DEFAULT '0',
  `rcp_pr` smallint(5) unsigned NOT NULL DEFAULT '0',
  `rcp_vg` smallint(5) unsigned NOT NULL DEFAULT '0',
  `rcp_fr` smallint(5) unsigned NOT NULL DEFAULT '0',
  `created_by` int(11) NOT NULL,
  `created_type` varchar(10) NOT NULL,
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`rc_id`),
  KEY `user_id_fkx` (`user_id_fkx`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=35 ;

--
-- Dumping data for table `th_admin_lib_recipe`
--

INSERT INTO `th_admin_lib_recipe` (`rc_id`, `user_id_fkx`, `name`, `category`, `ingredients`, `c_direction`, `serv_no`, `serv_size`, `prep_time`, `cook_time`, `image`, `youtube`, `attachments`, `rcp_category`, `rcp_wg`, `rcp_rg`, `rcp_pr`, `rcp_vg`, `rcp_fr`, `created_by`, `created_type`, `created`) VALUES
(12, 41, 'Bombay Pavbhaji', '1', 'Potatoes__^^__boiled and mashed	4 medium__^^__Tomatoes__^^__chopped	4 medium__^^__Onions__^^__chopped	2 medium__^^__Green capsicum__^^__chopped deseeded	1 medium', 'Boil green peas in salted water till soft, drain, mash lightly and set aside. Grind ginger and garlic to a fine paste. Heat oil in a pan and add three fourth quantity of onions. Sauté till light brown. Add green chillies and ginger-garlic paste. Stir-fry for half a minute. Add half the quantity of tomatoes and cook on medium heat for three to four minutes, stirring continuously or till oil separates from the masala. Add capsicum, mashed peas, cauliflower, potatoes and one and half cups of water. Bring it to a boil and simmer for ten minutes, pressing with back of the spoon a few times, till all the vegetables are completely mashed. Add Pavbhaji Masala, salt and remaining tomatoes. Cook on medium heat for two minutes, stirring continuously. Heat half of the butter in a thick-bottomed pan or a tawa. Slice pav horizontally into two and pan fry in butter for half a minute, pressing two or three times or till pav is crisp and light brown. Garnish the bhaji with chopped coriander leaves, remaining butter and serve hot with pav accompanied with remaining chopped onion and lemon wedges. \r\n', 4, 'Half', 15, 20, 'nutrition/recipe/rcp_ma1X3pDcNP8Dum11sunu_img.jpg', '', '', '5', 5, 5, 0, 10, 0, 0, '', '2013-03-14 13:39:13'),
(13, 41, 'Semiya Paneer Upma', '1', 'Vermicelli	1 1/2 cups__^^__Cottage cheese (paneer)__^^__cut into cubes	100 grams__^^__Salt	 to taste__^^__Oil	2 tablespoons', 'Bring five cups of water to a boil in deep non stick pan; add vermicelli, salt and one tablespoon of oil. Cook for one minute or till vermicelli is slightly cooked. Drain, refresh under cold water and drain again. Heat remaining oil in a non stick pan and add mustard seeds and curry leaves. When the mustards seeds begin to splutter, add urad dal, ginger and onion. Sauté till the onion turns light brown. Add green chillies and stir. Add cottage cheese and turmeric powder and sauté for four to five minutes. Add cooked vermicelli and salt and stir gently. Cook for five to six minutes. Remove from heat. Mix in the lemon juice. Serve hot garnished with coriander leaves.', 4, 'Full', 15, 15, 'nutrition/recipe/rcp_eUKN3N4Cl1CzCzIwP73N_img.jpg', 'http://www.youtube.com/watch?v=SogcWMwjxS0', '', '5', 10, 0, 5, 0, 0, 0, '', '2013-03-14 13:46:55'),
(14, 41, 'Grilled Chicken', '2', 'Pepper__^^__Salt__^^__Olive Oil__^^__Basil__^^__Chicken Breast', '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.', 2, 'Full', 30, 60, 'nutrition/recipe/rcp_zLXiy946A6uR9JxpcFR8_img.jpg', 'http://www.youtube.com/watch?v=vpS5mHJBQDE', '', '5', 0, 0, 0, 0, 0, 0, '', '2013-03-16 11:05:50'),
(17, 41, 'Hyderabadi Biryani', '2', 'Green cardamoms 10__^^__Black peppercorns 25-30__^^__Cinnamon 3 inch stick__^^__Oil 1 tablespoon + to deep fry__^^__Onions__^^__sliced 5 large__^^__Caraway seeds (shahi jeera) 1/2 teaspoon__^^__Cloves 10__^^__Fresh coriander leaves__^^__torn 2 tablespoons__^^__Fresh mint leaves__^^__Saffron (kesar)', 'Heat five to six cups of water in a deep pan. Add drained rice, salt, bay leaves, five green cardamoms, seven to eight black peppercorns, one cinnamon stick and cook till three fourth done. Drain and set aside. Heat sufficient oil in a kadai and deep-fry half the onion slices till golden. Drain and place on an absorbent paper. Grind caraway seeds, one cinnamon stick, remaining black peppercorns, cloves and remaining green cardamoms to a fine powder and set aside. Take mutton pieces in a bowl. Add ginger paste, garlic paste and salt and mix. Add the spice powder, red chilli powder, half the fried onions crushed, yogurt, coriander leaves, half of the mint leaves and one tablespoon oil and mix. Let it marinate for about two hours in the refrigerator. Heat two tablespoons ghee in a pan, remaining cinnamon and black cardamoms and sauté till fragrant. Add remaining onions and sauté till light golden. Add marinated mutton, stir and cook on high heat for three to four minutes. Cover, reduce heat and cook till almost done. Heat the remaining ghee in a thick-bottomed pan. Spread half the rice in a layer. Spread the mutton over the rice. Sprinkle remaining torn mint leaves. Spread the remaining rice. Sprinkle saffron milk. Cover and cook under dum till done. Serve hot with a raita of your choice.', 2, 'Half', 15, 55, 'nutrition/recipe/rcp_QYsUusXuKtAdzB5npTCQ_img.jpg', 'http://www.youtube.com/watch?v=iJUdcbCoIcA', '', '5', 0, 0, 0, 0, 0, 0, '', '2013-10-22 12:53:23'),
(18, 41, 'Shahi Paneer', '1', 'Green cardamoms 10__^^__Black peppercorns 25-30__^^__Cinnamon 3 inch stick__^^__Oil 1 tablespoon + to deep fry__^^__Onions__^^__sliced 5 large__^^__Caraway seeds (shahi jeera) 1/2 teaspoon__^^__Cloves 10__^^__Fresh coriander leaves__^^__torn 2 tablespoons__^^__Fresh mint leaves__^^__Saffron (kesar)__^^__mix in 1/4 cup milk a few strands__^^__Pure ghee 4 tablespoons Black cardamoms 2', 'Cut the paneer into half inch wide and one inch long pieces. Boil the onions in quarter cup of water. Drain and allow to cool. Grind to a fine paste. Heat the oil in a kadai, add the cloves, peppercorns, cinnamon and bay leaf and sauté till fragrant. Add the green chillies and boiled onion paste and sauté for three to four minutes on low heat so it does not get coloured. Add the ginger paste and garlic paste and continue to sauté for half a minute. Add the cashewnut paste and sauté for another two minutes. Add the yogurt and sauté till the water from the yogurt gets absorbed. Stir in the cream, saffron and garam masala powder and salt to taste. Add the paneer and stir gently to mix. Sprinkle''s green cardamom powder and serve hot.', 4, 'Full', 15, 30, 'nutrition/recipe/rcp_QI9kkHieLc8G2cfrpaJI_img.jpg', 'http://www.youtube.com/watch?v=bPTmDhNPhFY', '', '5', 0, 0, 5, 5, 0, 0, '', '2013-10-22 12:57:35'),
(19, 98, 'Fiery Fish Tacos with Crunchy Corn Salsa', '1', 'Fish__^^__Green Chilly__^^__Tomato', 'Spicy grilled fish are cooled down with a fresh crunchy veggie salsa featuring fresh corn. Your guests will swim back for seconds', 4, '2', 15, 30, 'nutrition/recipe/rcp_WP99rL9ZmXMAuiEGfjQs_img.jpg', '', '', '5', 0, 0, 0, 0, 0, 0, '', '2014-05-30 10:41:04'),
(23, 32, 'Apple Soya Shake', '1', 'Beans__^^__Soy/Tofu', 'Bake potato wedges, mixed with mayonnaise, mustard paste and crushed', 2, 'Full', 12, 21, 'nutrition/recipe/rcp_7poYzsGGeTEznanQUfqd_img.jpg', '', '', '5', 5, 0, 5, 0, 0, 41, 'PTC', '2014-08-09 08:29:39'),
(25, 32, 'Pepper Chicken', '2', 'Cut chicken - 2 lbs__^^__Whole Garam Masala__^^__Mustard__^^__Onion -2 Chopped__^^__Tomato 2', '1.Heat oil in a deep vessel.\r\n2.Add the tempering mustard,cumin.\r\n3.After it splutters add whole garam masala.\r\n4.Add chopped onions and saute until golden brown.\r\n5.Add salt, turmeric powder, ginger garlic paste,green chillies andcurry leaves.\r\n6.Saute everything for 5 mins.\r\n7.Add tomatoes and saute it until it becomes a gravy.\r\n8.Add chilli powder,coriander  powder,cumin powder.\r\n9.Saute everything for 10 mins in medium heat.\r\n10.When oil comes out its the correct consistency\r\n11.Now add chicken, little water and cover and cook.\r\n12.After its cooked add the crushed pepper powder and check for seasoning.\r\n13.To garnish add chopped corriander leaves. You can also add chunks of capsicum.', 2, 'half', 15, 30, 'nutrition/recipe/rcp_K344ggpc5bcXMuKMxtWG_img.jpg', '', '49,54', '5', 0, 0, 40, 5, 3, 41, 'PTC', '2015-05-07 13:08:51'),
(26, 32, 'Lima Beans Curry', '1', 'Baby Lima beans - 1 cup__^^__Onion - 1(finely minced)', '1.Soak lima beans for atleast 5-6 hours or overnight. Baby lima beans tastes better than big ones.\r\n2.Wash the beans and cook them with water and salt until the beans become tender. If pressure cooker is used the beans should be done in 1-2 whistles. If left longer, the beans will become mushy.', 2, 'Full', 2, 10, 'nutrition/recipe/rcp_inxSCgKEaLJGSxdihAmk_img.jpg', '', '', '1,5', 5, 0, 5, 10, 0, 41, 'PTC', '2015-05-08 11:29:00'),
(27, 41, 'Recipe 1', '2', '', 'Test Test', 2, 'Full', 15, 30, 'nutrition/recipe/rcp_QMsqXqNR8wkFYLnjyqMK_img.jpg', '', '4', '5', 0, 0, 0, 0, 0, 0, '', '2015-05-11 10:37:01'),
(28, 41, 'Recipe 2', '1', 'Test1__^^__Test2', 'Test', 1, 'Full', 10, 15, 'nutrition/recipe/rcp_T7cGFCdIicYjrbWwmn7X_img.jpg', '', '55', '5', 10, 0, 10, 20, 0, 0, '', '2015-05-11 10:42:35'),
(29, 32, 'Fish Mappas', '2', 'Fish - 1 lb__^^__Shallots (Sambhar Onions) - 1/2 cup (sliced)__^^__Tomatoes - 2 (chopped)__^^__Green chilly- 2', '1. Heat the oil in a clay pot or a pan, splutter the mustard seeds, fennel seeds and peppercons.\r\n2. Add the curry leaves followed by the sliced shallots, ginger, garlic and green chillies. Saute for few minutes.\r\n3. Mix the chilly powder, turmeric powder and corriander powder in a separate bowl with some water to make a paste.', 2, 'Full', 15, 30, 'nutrition/recipe/rcp_pnaFMcBx2AgbbPXzSB4b_img.jpg', '', '', '1,4,5', 0, 0, 20, 5, 0, 41, 'PTC', '2015-05-15 07:41:00'),
(30, 32, 'Mutton Curry', '2', 'Mutton - 1 lb (cut into small cubes)__^^__Onion - 1 medium (sliced)__^^__Tomatoes - 2 (chopped)', 'Whole Garam Masala - 1 cinnamon stick, 2 cloves, 2 cardamom, 1 star anise, kalpasi - 2\r\nFennel Seeds - 1 tsp\r\nCumin Seeds - 1/2 tsp\r\nBlack Peppercorns - 1 tsp\r\nCoriander Seeds - 3 tbsp', 2, 'Full', 15, 30, 'nutrition/recipe/rcp_4IGdG58nLAUd3CyNF32J_img.jpg', '', '', '1,5', 0, 0, 25, 5, 0, 98, 'FTC', '2015-05-22 05:49:40'),
(34, 0, 'Paneer Butter Masala', '1', '1 tejpatta/indian bay leaf__^^__2 to 3 cloves__^^__½ inch cinnamon__^^__2 green cardamoms__^^__1 single strand of mace__^^__a pinch of asafoetida/hing__^^__200 to 250 grams paneer/cottage cheese__^^__2 to 3 tbsp butter__^^__1 tsp kashmiri red chili powder or deghi mirch__^^__1.25 cups water or add as required__^^__½ tsp ginger paste or ½ inch ginger crushed to a paste in mortar-pestle__^^__1 green chili__^^__slit__^^__½ tsp garam masala powder__^^__1 tsp kasuri methi/dry fenugreek leaves__^^__crushed__^^__1 to 2 tbsp chopped coriander leaves/dhania patta__^^__2 tbsp low fat cream (optional)__^^__¼ to 1 tsp sugar__^^__add as per taste and depending on the sourness of the tomatoes__^^__salt as required', 'preparing cashew paste:\r\nsoak 12 to 15 cashews in a hot water for 20 to 30 minutes.\r\nthen drain and add the soaked cashews in a blender or grinder.\r\nadd 2 to 3 tbsp water and grind to a smooth paste.\r\nremove the cashew paste and keep aside.\r\npreparing tomato puree:\r\nin the same blender add chopped tomatoes.\r\nblend to a smooth tomato puree. keep aside.\r\npreparing the butter masala gravy:\r\nnow heat 2 to 3 tbsp butter in a pan or kadai.\r\nallow the butter to melt.\r\nthen add the whole spices mentioned above in the ingredient list.\r\nsaute the spices till they become fragrant.\r\nadd ginger paste and saute the ginger paste till the raw aroma of ginger goes away.\r\nadd the prepared tomato puree. stir very well and simmer for 3 minutes.\r\nthen add 1 tsp kashmiri red chili powder.\r\nstir and saute the tomato paste till you see fat releasing from the sides and top.\r\nthen add the cashew paste.\r\nbegin to stir and mix the cashew paste very well with the tomato paste. continue to saute on a low to medium flame, till you see specks of fat on the sides or on the top.\r\nthen add water and stir very well.\r\nbring the gravy to a boil and then add ginger julienne and slit green chilies.\r\nseason with salt. check the taste and add sugar as required. i added ¼ tsp sugar. you can add from ¼ tsp to 1 tsp depending on sourness or ''khatas'' of the tomatoes.\r\nwhen the gravy thickens a bit and you see fat specks on the top, then add paneer cubes. simmer for a minute.\r\nnow add crushed kasuri methi and garam masala powder. at this step, if you want you can add 2 to 3 tbsp of low fat cream or 1 to 2 tbsp of whipping cream.\r\nstir and switch off the flame.\r\ngarnish this no onion no garlic paneer butter masala with chopped coriander leaves and serve with chapatis, rotis, steamed rice or jeera rice.', 2, '2', 20, 30, 'nutrition/recipe/rcp_E9F7lsm8LsK8iDYjJUBq_img.jpg', '', '', '5', 30, 24, 12, 13, 8, 0, '', '2016-03-16 06:53:24');

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

--
-- Table structure for table `th_admin_recipe_componant`
--

CREATE TABLE IF NOT EXISTS `th_admin_recipe_componant` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `rc_id` int(10) NOT NULL,
  `calories` float NOT NULL DEFAULT '0',
  `fat` float NOT NULL DEFAULT '0',
  `sat_fat` float NOT NULL DEFAULT '0',
  `cholesterol` float NOT NULL DEFAULT '0',
  `sodium` float NOT NULL DEFAULT '0',
  `carbs` float NOT NULL DEFAULT '0',
  `fiber` float NOT NULL DEFAULT '0',
  `sugar` float NOT NULL DEFAULT '0',
  `protein` float NOT NULL DEFAULT '0',
  `calcium` float NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `rc_id` (`rc_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=33 ;

--
-- Dumping data for table `th_admin_recipe_componant`
--

INSERT INTO `th_admin_recipe_componant` (`id`, `rc_id`, `calories`, `fat`, `sat_fat`, `cholesterol`, `sodium`, `carbs`, `fiber`, `sugar`, `protein`, `calcium`) VALUES
(11, 12, 23, 34.5, 76, 45, 2, 13, 54, 57, 98, 700),
(12, 13, 45, 34, 23, 54, 56, 76, 87, 876, 4, 32),
(13, 14, 100, 200, 50, 100, 10, 100, 150, 50, 400, 200),
(16, 17, 32, 34, 32, 4432, 12, 234, 334, 32, 233, 443),
(17, 18, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60),
(18, 19, 52, 12, 32, 25, 15, 15, 15, 2, 50, 12),
(22, 23, 1, 23, 12, 2, 32, 43, 23, 11, 1, 1),
(24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 250, 0),
(25, 26, 15, 0, 0, 0, 0, 0, 0, 0, 30, 0),
(26, 27, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0),
(27, 28, 15, 10, 0, 0, 0, 0, 0, 0, 0, 0),
(28, 29, 0, 0, 0, 0, 0, 0, 0, 0, 150, 10),
(29, 30, 0, 0, 0, 0, 0, 0, 0, 0, 200, 0),
(32, 34, 2, 5, 7, 8, 2, 9, 6, 7, 3, 9);

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

--
-- Table structure for table `th_advertiser_branch`
--

CREATE TABLE IF NOT EXISTS `th_advertiser_branch` (
  `ab_id` int(11) NOT NULL AUTO_INCREMENT,
  `ab_advertiser` int(11) NOT NULL,
  `ab_name` varchar(100) NOT NULL,
  `ab_street` varchar(50) NOT NULL,
  `ab_city` varchar(50) NOT NULL,
  `ab_state` varchar(30) NOT NULL,
  `ab_zip` varchar(20) NOT NULL,
  `ab_long` varchar(30) NOT NULL,
  `ab_lat` varchar(30) NOT NULL,
  `ab_phone` varchar(30) NOT NULL,
  `ab_email` varchar(50) NOT NULL,
  `ab_ref` varchar(10) NOT NULL,
  `ab_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ab_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `th_advertiser_branch`
--

INSERT INTO `th_advertiser_branch` (`ab_id`, `ab_advertiser`, `ab_name`, `ab_street`, `ab_city`, `ab_state`, `ab_zip`, `ab_long`, `ab_lat`, `ab_phone`, `ab_email`, `ab_ref`, `ab_created`) VALUES
(1, 3, 'Spencers Shopping Center', 'Indira Nagarr', 'HOLTSVILLE', 'NY', '501', '81.13710623693851', '27.062116082285367', '9889745896', 'spencers@gmail.com', '', '2014-05-20 13:15:27'),
(2, 6, 'Toplogic Softlabs Pvt. Lt', 'Elm 103', 'SCHENECTADY', 'NY', '12345', '-73.9198283386231', '42.799874046793', '', '', '24', '2014-05-21 08:59:06'),
(3, 6, 'Toplogic Softlabs Pvt. Lt', 'ABTEST', 'GREIG', 'NY', '13345', '-75.31', '43.68', '', '', '50', '2014-05-21 08:59:06');

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

--
-- Table structure for table `th_advertiser_users`
--

CREATE TABLE IF NOT EXISTS `th_advertiser_users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(150) NOT NULL,
  `email` varchar(50) NOT NULL,
  `phone` varchar(20) NOT NULL,
  `street` varchar(100) NOT NULL,
  `zip` varchar(30) NOT NULL,
  `city` varchar(50) NOT NULL,
  `state` varchar(50) NOT NULL,
  `long` varchar(20) NOT NULL,
  `lat` varchar(20) NOT NULL,
  `ref_id` varchar(20) NOT NULL,
  `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  KEY `id` (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;

--
-- Dumping data for table `th_advertiser_users`
--

INSERT INTO `th_advertiser_users` (`id`, `name`, `email`, `phone`, `street`, `zip`, `city`, `state`, `long`, `lat`, `ref_id`, `created`) VALUES
(1, 'Sheetal Kumar', 'sheetalkumar105@gmail.com', '7388866668', 'Narayan Nagar', '501', 'HOLTSVILLE', 'NY', '-73.99542588281247', '40.9814611096686', '', '2014-05-14 05:54:43'),
(2, 'Raj  Gabbar', 'raj@gmail.com', '9876543210', '1234, Elm Street', '12345', 'SCHENECTADY', 'NY', '-73.92000000000002', '42.8', '70', '2014-05-14 08:18:33'),
(3, 'Suneel Yadav', 'suneel@gmail.com', '9795572344', 'Lucknow', '12345', 'SCHENECTADY', 'NY', '-73.92000000000002', '42.8', '67', '2014-05-14 08:32:11'),
(4, 'AT&amp;T Wireless Services I', 'devesh101@gmail.com', '12345', '13', '12345', 'SCHENECTADY', 'NY', '-73.69478027343752', '42.759681887784765', '82', '2014-05-21 06:54:56'),
(5, 'Sheetal Kumar Maurya', 'skm.skm@gmail.com', '8899665566', 'Ring Road New', '12345', 'SCHENECTADY', 'NY', '-73.96943847656252', '42.89665634392347', '15', '2014-05-21 07:19:30'),
(6, 'Toplogic Soft Labs Pvt Ltd', 'sheetalkumar105@gmail.com', '9795572344', 'Narayan Nagar', '501', 'HOLTSVILLE', 'NY', '-73.04510849999997', '40.8153762', '32', '2014-05-21 07:31:25');

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

--
-- Table structure for table `th_advertise_avail`
--

CREATE TABLE IF NOT EXISTS `th_advertise_avail` (
  `av_id` int(11) NOT NULL AUTO_INCREMENT,
  `adv_id_fkx` int(11) NOT NULL,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `av_discount` float NOT NULL,
  `av_tulasi` int(11) NOT NULL,
  `av_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`av_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ;

--
-- Dumping data for table `th_advertise_avail`
--

INSERT INTO `th_advertise_avail` (`av_id`, `adv_id_fkx`, `rgs_id_fkx`, `av_discount`, `av_tulasi`, `av_created`) VALUES
(1, 2, 1, 1.5, 300, '2014-05-19 10:48:48'),
(2, 4, 1, 2, 400, '2014-05-19 11:32:42'),
(3, 1, 1, 2.6, 0, '2014-05-20 12:13:52'),
(4, 10, 1, 1.2, 240, '2014-05-23 11:09:48'),
(5, 9, 1, 1.1, 0, '2014-07-03 08:45:40'),
(6, 12, 1, 1.1, 220, '2014-08-26 13:58:14'),
(9, 5, 81, 1.3, 0, '2014-09-18 08:52:50'),
(10, 9, 81, 1.1, 220, '2014-09-18 08:55:36');

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

--
-- Table structure for table `th_advertise_list`
--

CREATE TABLE IF NOT EXISTS `th_advertise_list` (
  `adv_id` int(11) NOT NULL AUTO_INCREMENT,
  `adv_advertiser` int(10) NOT NULL,
  `adv_title` varchar(100) NOT NULL,
  `adv_desc` text NOT NULL,
  `adv_url` text NOT NULL,
  `adv_offer_type` varchar(10) NOT NULL,
  `adv_offer_link` text NOT NULL,
  `adv_category` int(10) NOT NULL,
  `adv_discount` varchar(20) NOT NULL,
  `adv_start` date NOT NULL,
  `adv_end` date NOT NULL,
  `adv_tulasi` int(2) NOT NULL,
  `adv_image` varchar(100) NOT NULL,
  `adv_status` varchar(10) NOT NULL DEFAULT 'Active',
  `adv_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`adv_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ;

--
-- Dumping data for table `th_advertise_list`
--

INSERT INTO `th_advertise_list` (`adv_id`, `adv_advertiser`, `adv_title`, `adv_desc`, `adv_url`, `adv_offer_type`, `adv_offer_link`, `adv_category`, `adv_discount`, `adv_start`, `adv_end`, `adv_tulasi`, `adv_image`, `adv_status`, `adv_created`) VALUES
(1, 3, 'Test Coupon', 'testing', 'http://192.168.137.58/phpmyadmin/', 'offline', '', 1, '2.6', '2014-05-15', '2014-05-30', 1, 'ad_3__14001589643213_img.gif', 'Active', '2014-05-15 07:55:40'),
(2, 2, 'Airtel 10G High Speed', 'airtel Prepaid | Postpaid | Fixed Line | Broadband Services | DTH India\r\nwww.airtel.in/Shareairtel is India''s leading provider of mobile prepaid & postpaid, broadband and Digital TV services - offerin', 'www.airtel.in', 'offline', '', 4, '1.50', '2014-05-16', '2014-06-30', 0, 'ad_2__14002193477557_img.jpg', 'Active', '2014-05-16 05:49:07'),
(3, 3, 'Old Navy', 'Get 6% Cash Back when spending $50+', 'https://www.coupons.com/card-linked-offers/', 'offline', '', 2, '1.10', '2014-05-19', '2014-10-10', 1, 'ad_3_14081700832645_img.png', 'Active', '2014-05-19 10:55:35'),
(4, 3, 'GAP', 'Get 3% cash back when spending $70', 'https://www.coupons.com/card-linked-offers/', 'offline', '', 3, '2.0', '2014-05-19', '2014-10-30', 0, 'ad_3__14004971773667_img.png', 'Active', '2014-05-19 10:59:37'),
(5, 3, 'PERRY ELLIS', '20% Cash Back when spending $100', 'https://www.coupons.com/card-linked-offers/', 'offline', '', 1, '1.30', '2014-05-19', '2014-10-06', 1, 'ad_3__14004973802897_img.gif', 'Active', '2014-05-19 11:03:00'),
(6, 2, 'Purfumania', '90% Off on selected Item', 'https://www.coupons.com/card-linked-offers/', 'offline', '', 2, '2.30', '2014-05-19', '2014-12-24', 1, 'ad_2__14004978159707_img.jpg', 'Active', '2014-05-19 11:10:15'),
(7, 2, 'Travelocity', '20% cash back when spending $100+', 'https://www.coupons.com/card-linked-offers/', 'offline', '', 3, '1.10', '2014-05-19', '2014-11-12', 0, 'ad_2__14004980546227_img.jpg', 'Active', '2014-05-19 11:14:14'),
(8, 2, 'Piperlime', 'Get 6% cash back when spending $60+', 'https://www.coupons.com/card-linked-offers/', 'offline', '', 2, '2.10', '2014-05-19', '2014-10-31', 0, 'ad_2__14004982430287_img.jpg', 'Active', '2014-05-19 11:17:23'),
(9, 1, 'Banana Republic', 'Get 6% cash back when spending $50+', 'https://www.coupons.com/card-linked-offers/', 'offline', '', 3, '1.10', '2014-05-19', '2014-11-26', 1, 'ad_1__14004984917407_img.png', 'Active', '2014-05-19 11:21:32'),
(10, 1, 'Athleta', 'save up 60%', 'https://www.coupons.com/card-linked-offers/', 'offline', '', 4, '1.20', '2014-05-19', '2014-11-18', 0, 'ad_1__14004986497497_img.jpg', 'Active', '2014-05-19 11:24:09'),
(11, 1, 'Tilly''s', 'Get $5 when spending $50+', 'https://www.coupons.com/card-linked-offers/', 'offline', '', 3, '2.20', '2014-05-19', '2014-11-06', 0, 'ad_1__14004987568177_img.jpg', 'Active', '2014-05-19 11:25:56'),
(12, 1, 'Vitamin World1', '$1 off  when spending $65+ more', 'https://www.coupons.com/card-linked-offers/', 'offline', '', 1, '1.10', '2014-05-19', '2014-11-10', 0, 'ad_1_14081701687945_img.png', 'Inactive', '2014-05-19 11:29:53');

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

--
-- Table structure for table `th_allys`
--

CREATE TABLE IF NOT EXISTS `th_allys` (
  `ally_id` int(10) NOT NULL AUTO_INCREMENT,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `frend_id` int(10) unsigned NOT NULL,
  `ally_status` varchar(5) DEFAULT 'P' COMMENT 'C,P,D,U,B (Confirm, Pending, Discard, Unfriend, Block)',
  `rel_name` varchar(30) DEFAULT NULL,
  `rel_status` varchar(5) DEFAULT NULL COMMENT 'May be C,P,D (Confirm,Pending,Discard)',
  `not_now` int(11) DEFAULT NULL,
  `is_new` int(5) NOT NULL,
  `health_status` tinyint(1) DEFAULT '0',
  `req_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`ally_id`),
  KEY `rgs_id_fkx` (`rgs_id_fkx`),
  KEY `frend_id` (`frend_id`),
  KEY `rel_status` (`rel_status`),
  KEY `rel_name` (`rel_name`),
  KEY `ally_status` (`ally_status`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=353 ;

--
-- Dumping data for table `th_allys`
--

INSERT INTO `th_allys` (`ally_id`, `rgs_id_fkx`, `frend_id`, `ally_status`, `rel_name`, `rel_status`, `not_now`, `is_new`, `health_status`, `req_date`) VALUES
(1, 7, 1, 'U', NULL, NULL, 0, 0, 1, '2012-09-12 08:21:56'),
(8, 7, 7, 'D', 'Ally', 'C', 0, 0, 1, '2012-09-12 11:51:23'),
(11, 23, 7, 'C', 'Ally', 'C', 0, 0, 1, '2012-09-13 05:32:57'),
(12, 7, 23, 'C', 'Ally', 'C', 0, 0, 1, '2012-09-13 05:33:39'),
(17, 7, 7, 'C', 'Ally', 'C', 0, 0, 1, '2012-09-13 06:05:46'),
(18, 7, 1, 'U', 'NULL', 'NULL', 0, 0, 1, '2012-09-13 06:05:47'),
(19, 1, 7, 'U', 'NULL', 'NULL', 0, 0, 1, '2012-09-13 06:05:58'),
(21, 65, 7, 'C', 'Ally', 'C', 0, 0, 1, '2012-09-13 06:07:59'),
(22, 65, 1, 'U', NULL, NULL, 0, 0, 1, '2012-09-13 06:08:00'),
(24, 87, 1, 'U', NULL, NULL, 0, 0, 1, '2012-09-13 06:12:03'),
(26, 87, 7, 'C', 'Ally', 'C', 0, 0, 1, '2012-09-13 06:12:08'),
(27, 1, 87, 'U', NULL, NULL, 0, 0, 1, '2012-09-13 06:12:18'),
(28, 53, 1, 'U', NULL, NULL, 0, 0, 1, '2012-09-13 06:13:36'),
(29, 53, 7, 'C', 'Ally', 'C', 0, 0, 1, '2012-09-13 06:13:36'),
(31, 1, 53, 'U', NULL, NULL, 0, 0, 1, '2012-09-13 06:13:44'),
(36, 7, 1, 'U', NULL, NULL, 0, 0, 1, '2012-09-13 06:17:03'),
(37, 7, 7, 'C', 'Ally', 'C', 0, 0, 1, '2012-09-13 06:17:03'),
(72, 7, 81, 'U', NULL, NULL, 0, 0, 1, '2012-09-19 12:44:25'),
(73, 81, 7, 'P', NULL, 'P', 1, 0, 1, '2012-09-19 12:49:24'),
(74, 81, 23, 'C', 'Ally', 'C', 0, 0, 1, '2012-09-19 12:50:00'),
(75, 81, 7, 'U', NULL, NULL, 0, 0, 1, '2012-09-19 12:50:01'),
(76, 23, 81, 'C', 'Ally', 'C', 0, 0, 1, '2012-09-19 12:50:16'),
(78, 7, 81, 'U', NULL, NULL, 0, 0, 1, '2012-09-20 13:28:26'),
(79, 53, 17, 'C', 'Ally', 'P', 0, 0, 1, '2012-09-22 05:25:48'),
(80, 17, 53, 'C', 'Ally', 'P', 0, 0, 1, '2012-09-22 05:26:08'),
(81, 65, 17, 'C', 'Ally', 'P', 0, 0, 1, '2012-09-22 11:50:06'),
(82, 17, 65, 'C', 'Ally', 'P', 0, 0, 1, '2012-09-22 11:50:12'),
(83, 81, 65, 'C', 'Ally', 'C', 0, 0, 1, '2012-09-22 11:50:44'),
(84, 65, 81, 'C', 'Ally', 'C', 0, 0, 1, '2012-09-22 11:51:10'),
(85, 53, 1, 'U', NULL, NULL, 0, 0, 1, '2012-09-24 05:49:55'),
(87, 53, 81, 'C', 'Ally', 'C', 0, 0, 1, '2012-09-24 09:09:13'),
(88, 81, 53, 'U', NULL, NULL, 0, 0, 1, '2012-09-24 09:09:23'),
(90, 53, 23, 'C', 'Ally', 'C', 0, 0, 1, '2012-09-26 11:33:40'),
(91, 23, 53, 'C', 'Ally', 'C', 0, 0, 1, '2012-09-26 11:34:07'),
(92, 65, 7, 'C', 'Ally', 'C', 0, 0, 1, '2012-10-11 06:20:29'),
(93, 53, 7, 'C', 'Ally', 'C', 0, 0, 1, '2012-10-11 06:20:45'),
(94, 7, 65, 'C', 'Ally', 'C', 0, 0, 1, '2012-10-11 06:27:49'),
(95, 65, 53, 'C', 'Ally', 'C', 0, 0, 1, '2012-10-11 06:28:41'),
(96, 53, 65, 'C', 'Ally', 'C', 0, 0, 1, '2012-10-11 06:45:16'),
(97, 65, 7, 'C', 'Ally', 'C', 0, 0, 1, '2012-10-11 06:46:25'),
(98, 7, 65, 'C', 'Ally', 'C', 0, 0, 1, '2012-10-11 06:46:58'),
(101, 1, 17, 'C', 'Friend', 'P', 0, 0, 1, '2012-10-20 04:44:13'),
(102, 17, 1, 'C', 'Ally', 'C', 0, 0, 1, '2012-10-20 04:44:19'),
(105, 7, 53, 'C', 'Ally', 'C', 0, 0, 1, '2012-10-23 08:07:18'),
(107, 1, 33, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-19 06:42:46'),
(108, 33, 1, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-19 06:43:01'),
(111, 7, 33, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-19 08:13:45'),
(112, 33, 7, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-19 08:13:56'),
(113, 81, 33, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-19 08:15:24'),
(114, 33, 81, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-19 08:15:30'),
(115, 63, 33, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-19 12:20:27'),
(116, 33, 63, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-19 12:20:32'),
(117, 63, 81, 'U', NULL, NULL, 0, 0, 1, '2012-11-19 12:41:37'),
(118, 81, 63, 'U', NULL, NULL, 0, 0, 1, '2012-11-19 12:41:43'),
(120, 1, 63, 'C', 'Niece', 'C', 0, 0, 1, '2012-11-23 12:30:44'),
(121, 65, 63, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-23 12:36:23'),
(122, 63, 1, 'C', 'Uncle', 'C', 0, 0, 1, '2012-11-23 12:36:55'),
(123, 63, 65, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-23 12:36:59'),
(124, 63, 7, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-24 10:24:04'),
(125, 63, 7, 'P', 'Ally', 'P', 1, 1, 1, '2012-11-24 10:24:06'),
(126, 63, 17, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-24 10:24:08'),
(127, 7, 63, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-24 10:24:49'),
(128, 17, 63, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-26 06:14:58'),
(129, 63, 32, 'P', 'Ally', 'P', 1, 0, 1, '2012-11-26 06:15:52'),
(130, 63, 23, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-26 06:15:53'),
(139, 63, 55, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-27 11:06:54'),
(140, 55, 63, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-27 11:06:58'),
(141, 1, 55, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-27 11:23:21'),
(142, 55, 1, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-27 11:23:28'),
(143, 7, 55, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-27 11:24:53'),
(144, 55, 7, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-27 11:25:00'),
(145, 23, 55, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-27 12:44:36'),
(146, 55, 23, 'C', 'Ally', 'C', 0, 0, 1, '2012-11-27 12:44:43'),
(147, 81, 7, 'C', 'Ally', 'C', 0, 0, 1, '2012-12-12 11:53:13'),
(148, 7, 81, 'C', 'Ally', 'C', 0, 0, 1, '2012-12-12 11:53:23'),
(149, 34, 1, 'U', NULL, NULL, 0, 0, 1, '2012-12-17 10:36:22'),
(150, 53, 34, 'C', 'Friend', 'C', 0, 0, 1, '2012-12-17 10:36:31'),
(151, 1, 34, 'U', NULL, NULL, 0, 0, 1, '2012-12-17 10:36:32'),
(152, 34, 53, 'C', 'Friend', 'C', 0, 0, 1, '2012-12-17 10:36:58'),
(153, 23, 81, 'C', 'Ally', 'C', 0, 0, 1, '2013-01-12 08:52:46'),
(154, 23, 63, 'C', 'Ally', 'C', 0, 0, 1, '2013-01-12 08:52:48'),
(157, 81, 23, 'C', 'Ally', 'C', 0, 0, 1, '2013-01-12 09:03:47'),
(158, 81, 53, 'C', 'Ally', 'C', 0, 0, 1, '2013-01-12 09:03:50'),
(169, 61, 1, 'C', 'Ally', 'C', 0, 0, 1, '2013-01-14 05:24:53'),
(171, 1, 61, 'C', 'Ally', 'C', 0, 0, 0, '2013-01-14 05:26:24'),
(173, 41, 22, 'P', 'Ally', 'P', 1, 2, 1, '2013-05-01 09:46:16'),
(174, 41, 81, 'C', 'Ally', 'C', 0, 0, 1, '2013-05-01 09:46:28'),
(176, 81, 41, 'C', 'Ally', 'C', 0, 0, 1, '2013-05-01 09:49:10'),
(177, 41, 1, 'C', 'Husband', 'C', 0, 0, 1, '2013-05-03 11:31:52'),
(178, 19, 1, 'U', 'NULL', 'NULL', 0, 0, 1, '2013-05-06 09:46:57'),
(179, 19, 41, 'C', 'Ally', 'C', 0, 0, 1, '2013-05-06 09:47:40'),
(180, 19, 7, 'C', 'Ally', 'C', 0, 0, 1, '2013-05-06 09:50:27'),
(181, 41, 19, 'C', 'Ally', 'C', 0, 0, 1, '2013-05-06 09:53:50'),
(188, 1, 41, 'C', 'Wife', 'C', 0, 0, 0, '2013-05-07 11:59:34'),
(208, 1, 19, 'U', 'NULL', 'NULL', 0, 0, 0, '2013-05-10 08:55:13'),
(209, 7, 19, 'C', 'Ally', 'C', 0, 0, 1, '2013-05-11 11:07:21'),
(210, 7, 7, 'C', 'Ally', 'C', 0, 0, 1, '2013-05-11 11:07:34'),
(211, 7, 65, 'C', 'Ally', 'C', 0, 0, 1, '2013-05-11 11:07:38'),
(212, 7, 87, 'C', 'Ally', 'C', 0, 0, 1, '2013-05-11 11:07:39'),
(213, 7, 53, 'C', 'Ally', 'C', 0, 0, 1, '2013-05-11 11:07:40'),
(214, 7, 7, 'C', 'Ally', 'C', 0, 0, 1, '2013-05-11 11:07:41'),
(234, 17, 15, 'C', 'Son', 'C', 0, 0, 1, '2013-05-29 06:22:37'),
(235, 15, 17, 'C', 'Father', 'C', 0, 0, 1, '2013-05-29 06:25:09'),
(242, 1, 81, 'C', 'Son', 'C', 0, 0, 0, '2014-03-19 08:01:09'),
(243, 81, 1, 'C', 'Father', 'C', 0, 0, 1, '2014-03-19 08:07:08'),
(244, 1, 1, 'D', 'Ally', 'P', 1, 0, 1, '2014-03-19 08:08:01'),
(247, 81, 42, 'P', 'Ally', 'P', 1, 0, 1, '2014-03-19 11:06:12'),
(248, 81, 19, 'C', 'Ally', 'C', 0, 0, 1, '2014-03-19 11:06:17'),
(249, 81, 39, 'C', 'Ally', 'C', 0, 0, 1, '2014-03-19 11:06:18'),
(253, 7, 1, 'D', 'Ally', 'P', 1, 0, 1, '2014-03-22 13:19:28'),
(255, 39, 81, 'C', 'Ally', 'C', 0, 0, 1, '2014-03-24 13:25:11'),
(265, 23, 61, 'P', 'Ally', 'P', 1, 1, 1, '2014-03-25 06:30:46'),
(271, 1, 45, 'C', 'Ally', 'C', 0, 0, 1, '2014-04-02 11:31:11'),
(272, 45, 1, 'C', 'Ally', 'C', 0, 0, 1, '2014-04-02 11:31:16'),
(275, 19, 81, 'C', 'Ally', 'C', 0, 0, 1, '2014-04-05 05:42:32'),
(276, 7, 1, 'C', 'Stepsister', 'C', 0, 0, 1, '2014-04-07 05:34:10'),
(277, 1, 7, 'C', 'Stepsister', 'C', 0, 0, 1, '2014-04-07 05:35:03'),
(278, 40, 1, 'C', 'Ally', 'C', 0, 0, 0, '2015-01-24 05:09:29'),
(279, 1, 40, 'C', 'Father', 'P', 0, 0, 0, '2015-01-24 05:09:38'),
(280, 68, 82, 'P', 'Ally', 'P', 1, 1, 0, '2015-01-30 07:21:24'),
(292, 11, 1, 'U', 'NULL', 'NULL', 0, 0, 0, '2015-03-17 10:09:58'),
(293, 1, 11, 'U', 'NULL', 'NULL', 0, 0, 1, '2015-03-17 10:10:08'),
(294, 7, 11, 'C', 'Ally', 'C', 0, 0, 0, '2015-03-18 11:53:37'),
(295, 11, 7, 'C', 'Ally', 'C', 0, 0, 0, '2015-03-18 11:53:42'),
(298, 111, 107, 'C', 'Ally', 'C', 0, 0, 0, '2016-02-20 11:04:29'),
(299, 111, 1, 'U', 'NULL', 'NULL', 0, 0, 0, '2016-02-20 11:04:38'),
(300, 1, 111, 'U', 'NULL', 'NULL', 0, 0, 0, '2016-02-20 11:05:12'),
(301, 107, 111, 'C', 'Ally', 'C', 0, 0, 0, '2016-02-20 11:05:30'),
(302, 115, 1, 'C', 'Ally', 'C', 0, 0, 0, '2016-05-27 10:20:03'),
(303, 1, 115, 'C', 'Ally', 'C', 0, 0, 1, '2016-05-27 10:20:51'),
(329, 107, 1, 'C', 'Son-in-Law', 'P', 0, 0, 0, '2016-07-01 05:17:57'),
(332, 130, 1, 'C', 'Ally', 'C', 0, 0, 0, '2016-07-12 07:04:02'),
(333, 1, 130, 'C', 'Ally', 'C', 0, 0, 0, '2016-07-12 07:04:39'),
(334, 1, 107, 'C', 'Ally', 'C', 0, 0, 0, '2016-07-12 07:04:44'),
(339, 132, 130, 'C', 'Grandfather', 'C', 0, 0, 0, '2016-07-28 08:17:52'),
(340, 130, 132, 'C', 'Grandson', 'C', 0, 0, 0, '2016-07-28 08:18:14'),
(341, 132, 1, 'C', 'Ally', 'C', 0, 0, 0, '2016-07-28 12:04:13'),
(342, 1, 132, 'C', 'Ally', 'C', 0, 0, 1, '2016-08-19 11:27:14'),
(351, 1, 137, 'P', 'Ally', 'P', 1, 1, 0, '2016-09-28 10:24:35'),
(352, 138, 1, 'P', 'Ally', 'P', 1, 1, 0, '2016-10-05 11:59:37');

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

--
-- Table structure for table `th_ally_chat`
--

CREATE TABLE IF NOT EXISTS `th_ally_chat` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `from` varchar(100) NOT NULL,
  `to` varchar(100) NOT NULL,
  `message` text NOT NULL,
  `sent` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `recd` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `to` (`to`),
  KEY `from` (`from`),
  KEY `to_2` (`to`),
  KEY `sent` (`sent`),
  KEY `recd` (`recd`),
  KEY `recd_2` (`recd`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `th_ally_message`
--

CREATE TABLE IF NOT EXISTS `th_ally_message` (
  `tm_id` int(10) NOT NULL AUTO_INCREMENT,
  `tc_sender_id` int(10) unsigned NOT NULL,
  `tc_rec_id` int(10) unsigned NOT NULL,
  `tc_message` text COMMENT 'Motivatation,Wishes',
  `read_msg` int(10) DEFAULT NULL,
  `is_new` int(10) DEFAULT NULL,
  `removed` varchar(50) NOT NULL DEFAULT 'Not',
  `msg_arch` varchar(50) DEFAULT '0',
  `msg_arch_send` varchar(50) DEFAULT '0',
  `tc_mdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`tm_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=281 ;

--
-- Dumping data for table `th_ally_message`
--

INSERT INTO `th_ally_message` (`tm_id`, `tc_sender_id`, `tc_rec_id`, `tc_message`, `read_msg`, `is_new`, `removed`, `msg_arch`, `msg_arch_send`, `tc_mdate`) VALUES
(1, 7, 1, 'hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii', 1, 0, 'Not', 'AR', '1', '2012-09-01 07:41:38'),
(2, 7, 1, 'hiiiiiiiiiiiiii', 1, 0, 'Not', 'AR', '1', '2012-09-01 07:42:23'),
(3, 53, 7, 'dadadada', 0, 0, 'Not', 'AR', '0', '2012-09-01 08:01:18'),
(4, 53, 7, 'dadadad', 1, 0, 'Not', 'AR', '0', '2012-09-01 08:01:23'),
(5, 81, 53, 'ddd', 1, 0, 'Not', 'AR', '0', '2012-09-01 08:07:42'),
(6, 81, 53, 'sdfsdfsdfsdfsdf', 1, 0, 'Not', '0', '0', '2012-09-01 08:08:07'),
(7, 81, 53, 'asdaasd', 1, 0, 'Not', '0', '0', '2012-09-01 08:08:51'),
(8, 81, 1, 'sdf', 1, 0, 'Not', '0', '0', '2012-09-01 08:09:00'),
(9, 81, 53, 'bncvnbvnvbvn', 1, 0, 'Not', '0', '0', '2012-09-01 08:09:27'),
(10, 81, 7, 'ghgfh', 1, 0, 'Not', '0', '0', '2012-09-01 08:17:10'),
(11, 81, 53, 'hjkghjghj', 1, 0, 'Not', '0', '0', '2012-09-01 08:17:26'),
(12, 7, 1, 'Hello Sir', 1, 0, 'Not', '0', '0', '2012-09-10 12:22:16'),
(13, 7, 81, 'Hello Sheetal', 1, 0, 'Not', '0', '0', '2012-09-10 12:22:35'),
(14, 1, 81, 'Hello Sheetal', 1, 0, 'skm_skm_gmail_com', '0', '0', '2012-09-10 13:10:39'),
(15, 1, 7, 'Anuj', 1, 0, 'Not', '2', '1', '2012-09-10 13:20:38'),
(16, 65, 23, 'dadadada', 1, 0, 'Not', 'AR', 'AR', '2012-09-11 07:44:51'),
(17, 23, 65, 'hiiiiiiiiiiiiiiiiiii', 1, 0, 'Not', 'AR', '0', '2012-09-11 08:55:56'),
(18, 7, 1, 'dsf', 1, 0, 'Not', '1', '0', '2012-09-13 05:57:53'),
(19, 7, 1, 'helo raj', 1, 0, 'Not', '0', '0', '2012-09-15 06:11:21'),
(20, 1, 7, 'yas sir', 0, 0, 'Not', '0', '0', '2012-09-15 06:19:41'),
(21, 1, 7, 'What happen sir', 1, 0, 'Not', '0', 'AR', '2012-09-15 06:33:07'),
(22, 7, 1, 'Nothing Rajwant', 1, 0, 'Not', '0', '0', '2012-09-15 06:33:57'),
(23, 7, 1, 'jn', 1, 0, 'Not', '0', '0', '2012-09-14 10:53:22'),
(24, 1, 7, 'b', 1, 0, 'Not', '0', '0', '2012-09-14 10:53:48'),
(25, 7, 1, 'helllllllllllll', 1, 0, 'Not', '0', '0', '2012-08-25 11:36:38'),
(26, 1, 7, 'hooooo', 0, 0, 'Not', '0', 'AR', '2012-08-15 11:37:18'),
(27, 7, 1, 'd\r\nfasd\r\n', 1, 0, 'Not', '0', '0', '2012-09-15 12:32:38'),
(28, 7, 1, 'dasfasdf', 1, 0, 'Not', '0', '0', '2012-09-15 12:32:46'),
(29, 7, 1, 'dsfsdfsdfa', 1, 0, 'Not', '0', '0', '2012-09-15 12:33:01'),
(30, 1, 7, 'asd', 1, 0, 'Not', '0', 'AR', '2012-09-15 12:36:18'),
(31, 1, 7, 'asdas', 1, 0, 'Not', '0', '0', '2012-09-15 12:36:26'),
(32, 7, 1, 'asdad', 1, 0, 'Not', '0', '0', '2012-09-15 12:37:09'),
(33, 7, 1, 'asdad', 1, 0, 'Not', '0', '0', '2012-09-15 12:37:34'),
(34, 23, 1, 'nkakkfadklwa', 1, 0, 'Not', '1', '1', '2012-09-18 11:25:46'),
(35, 23, 1, 'nglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdnanglnalkfnalkndlawnlkdna', 1, 0, 'Not', '1', '1', '2012-09-18 11:26:41'),
(36, 1, 23, 'dfgdfg', 1, 0, 'Not', '1', '1', '2012-09-18 11:46:45'),
(37, 81, 1, 'hi... \r\n	Male	2002-08-04	asdf@dfgdf.sdfg	123456	11111	OH	KITTS HILL	45645	1	1111	NULL	NULL	Walgreen Co.	NULL	0	qwwww	NY	SCHENECTADY	12345	1	NULL	NULL	0	2012-08-03 13:23:56	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	photos/profile_photo/14_1344068100.jpg	0	0	0	0	0	-1	-1	0	-79.936199151563	39.609187927431	Active	5594287c7bd218edd6f70cbf365476e6	0	NULL	NULL	Inactive	YES	2222\r\n			2	Nitin	Srivastava	Male	1970-01-01	chat.nitin@gmail.com	123456	4444	NY	MOUNT MARION	12456	1	4444	1111	0	Walgreen Co.	NULL	0	1234	NY	SCHENECTADY	12345	1	-73.9323582	40.6426645	0	2012-04-21 12:37:44	137	165	34	NULL	NULL	3	NULL	NULL	photos/profile_photo/2_1347517868.jpg	0	0	0	0	0	-1	-1	3	-74.032958984375	42.3190403108	Active	NULL	1.5	NULL	NULL	Inactive	YES	2222\r\n			3	NULL	NULL	Male	NULL	rajwant@gmail.com	123456	NULL	NY	SCHENECTADY	12345	1	NULL	NULL	1	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	2012-04-23 11:33:27	154	162	32	NULL	NULL	3	NULL	NULL	NULL	0	0	0	0	0	 	 	0	NULL	NULL	Active	NULL	0	NULL	NULL	Inactive	YES	7777\r\n			4	Sita	Rawat	Female	1990-05-30	test@gmail.com	123456	1111	VA	VIRGINIA BEACH	23456	1	NULL	NULL	2	Walgreen Co.	NULL	0	1234	NY	SCHENECTADY	12345	1	NULL	NULL	0	2012-04-23 11:36:13	159	176	32	24	20	2	NULL	NULL	photos/profile_photo/4_1346479841.jpg	0	0	0	0	0	-1	-1	0	-76.408041992188	36.73	Active	NULL	0	NULL	NULL	Inactive	YES	5555\r\n			5	Riya	Kassel	Female	1985-07-10	riya@gmail.com	123456	1111	VA	VIRGINIA BEACH	23456	1	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	0	2012-06-01 10:47:40	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	photos/profile_photo/5_1347543209.jpg	0	0	0	0	0	-1	-1	0	NULL	NULL	Active	NULL	0	NULL	NULL	Inactive	NO	NULL\r\n			6	Anuj	Kacker	Male	1981-02-03	anuj@gmail.com	1234567	abcd	NY	SCHENECTADY	12345	1	NULL	NULL	2	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	0	2012-07-21 18:40:33	159	172	32	NULL	NULL	3	NULL	NULL	photos/profile_photo/6_1346325100.jpg	0	0	0	0	0	-1	-1	0	NULL	NULL	Active	3b698be0dddabfb7a0d5b50cda658dfd	4	NULL	NULL	Inactive	NO	NULL\r\n			7	NULL	NULL	Male	NULL	new@gmail.com	123456	NULL	NY	SCHENECTADY	12345	1	NULL	NULL	3	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	2012-07-27 13:43:23	137	165	34	NULL	NULL	3	NULL	NULL	NULL	0	0	0	0	0	 	 	0	NULL	NULL	Active	0119687eae34daac89e89c8ebbe82d60	3.2	NULL	NULL	Inactive	NO	NULL\r\n			anurag_gmail_com	Anurag	Srivastava	Male	2002-09-10	anurag@gmail.com	123456	1111	ME	HAMPDEN	4444	1	NULL	NULL	NULL	Walgreen Co.	NULL	0	12345	NY	SCHENECTADY	12345	1	-73.94197265625	42.820149210693	0	2012-09-01 18:07:23	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	photos/profile_photo/anu_1347519286.jpg	0	0	0	0	0	-1	-1	9	-68.780561523437	44.810190457179	Active	d1f2e44eaffa4aa3635ccacb2a79cae1	1.25	NULL	NULL	Inactive	NO	2222\r\n			paulg_gmail_com	Ashutosh	Paul	Male	2002-08-17	paulg@gmail.com	123456	lucknow	FL	NOMA	32452	1	2147483647	2147483647	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	0	2012-08-14 17:56:26	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	photos/profile_photo/0qij615pom84nsh_1346836575.jp...	0	0	0	0	0	-1	-1	0	NULL	NULL	Active	ddf9d0e9862df3f7498bc94fb3ef7937	0	NULL	NULL	Inactive	NO	NULL\r\n			rajat_gmail_com	Rajat	Kumar	Male	NULL	rajat@gmail.com	123456	NULL	NY', 1, 0, 'Not', '0', '0', '2012-09-20 08:30:08'),
(38, 81, 1, '&#2344;&#2380;&#2325;&#2352;&#2366;&#2344;&#2368; &#2325;&#2375; &#2346;&#2381;&#2352;&#2375;&#2350;&#2368; &#2344;&#2375; &#2342;&#2368;&#2357;&#2366;&#2344;&#2327;&#2368; &#2350;&#2375;&#2306; &#2354;&#2368; &#2337;&#2377;&#2325;&#2381;&#2335;&#2352; &#2325;&#2368; &#2332;&#2366;&#2344;\r\nSep 20, 01:00 am\r\n&#2348;&#2340;&#2366;&#2319;&#2306;\r\n&#2332;&#2366;&#2327;&#2352;&#2339; &#2360;&#2306;&#2357;&#2366;&#2342;&#2342;&#2366;&#2340;&#2366;, &#2344;&#2312; &#2342;&#2367;&#2354;&#2381;&#2354;&#2368;: &#2344;&#2381;&#2351;&#2370; &#2352;&#2366;&#2332;&#2375;&#2306;&#2342;&#2381;&#2352; &#2344;&#2327;&#2352; &#2350;&#2375;&#2306; &#2344;&#2380;&#2325;&#2352;&#2366;&#2344;&#2368; &#2325;&#2375; &#2346;&#2381;&#2352;&#2375;&#2350; &#2350;&#2375;&#2306; &#2346;&#2366;&#2327;&#2354; &#2346;&#2370;&#2352;&#2381;&#2357; &#2347;&#2380;&#2332;&#2368; &#2344;&#2375; &#2360;&#2352; &#2327;&#2306;&#2327;&#2366;&#2352;&#2366;&#2350; &#2309;&#2360;&#2381;&#2346;&#2340;&#2366;&#2354; &#2325;&#2375; &#2357;&#2352;&#2367;&#2359;&#2381;&#2336; &#2361;&#2371;&#2342;&#2351; &#2352;&#2379;&#2327; &#2357;&#2367;&#2358;&#2375;&#2359;&#2332;&#2381;&#2334; &#2337;&#2377;. &#2360;&#2306;&#2332;&#2368;&#2357; &#2343;&#2357;&#2344; (51) &#2325;&#2368; &#2327;&#2379;&#2354;&#2368; &#2350;&#2366;&#2352; &#2325;&#2352; &#2361;&#2340;&#2381;&#2351;&#2366; &#2325;&#2352; &#2342;&#2368;&#2404; &#2337;&#2377;&#2325;&#2381;&#2335;&#2352; &#2309;&#2360;&#2381;&#2346;&#2340;&#2366;&#2354; &#2325;&#2375; &#2337;&#2367;&#2346;&#2366;&#2352;&#2381;&#2335;&#2350;&#2375;&#2306;&#2335; &#2321;&#2347; &#2325;&#2366;&#2352;&#2381;&#2337;&#2367;&#2351;&#2379;&#2354;&#2366;&#2332;&#2368; &#2325;&#2375; &#2357;&#2366;&#2311;&#2360; &#2330;&#2375;&#2351;&#2352;&#2346;&#2352;&#2381;&#2360;&#2344; &#2341;&#2375;&#2404; &#2310;&#2352;&#2379;&#2346;&#2368; &#2344;&#2380;&#2325;&#2352;&#2366;&#2344;&#2368; &#2325;&#2379; &#2309;&#2346;&#2344;&#2368; &#2346;&#2340;&#2381;&#2344;&#2368; &#2348;&#2340;&#2366;&#2340;&#2366; &#2341;&#2366; &#2340;&#2341;&#2366; &#2313;&#2360;&#2375; &#2360;&#2380;&#2306;&#2346;&#2344;&#2375; &#2325;&#2375; &#2354;&#2367;&#2319; &#2357;&#2361; &#2346;&#2361;&#2354;&#2375; &#2349;&#2368; &#2337;&#2377;&#2325;&#2381;&#2335;&#2352; &#2325;&#2379; &#2350;&#2366;&#2352;&#2344;&#2375; &#2325;&#2368; &#2343;&#2350;&#2325;&#2368; &#2342;&#2375; &#2330;&#2369;&#2325;&#2366; &#2341;&#2366;&#2404; &#2344;&#2380;&#2325;&#2352;&#2366;&#2344;&#2368; &#2340;&#2354;&#2366;&#2325;&#2358;&#2369;&#2342;&#2366; &#2361;&#2376; &#2340;&#2341;&#2366; &#2347;&#2380;&#2332;&#2368; &#2325;&#2375; &#2349;&#2368; &#2346;&#2340;&#2381;&#2344;&#2368; &#2324;&#2352; &#2340;&#2368;&#2344; &#2348;&#2330;&#2381;&#2330;&#2375; &#2361;&#2376;&#2306;&#2404; &#2352;&#2366;&#2332;&#2375;&#2306;&#2342;&#2381;&#2352; &#2344;&#2327;&#2352; &#2341;&#2366;&#2344;&#2366; &#2346;&#2369;&#2354;&#2367;&#2360; &#2344;&#2375; &#2346;&#2369;&#2354;&#2367;&#2360; &#2344;&#2375; &#2361;&#2340;&#2381;&#2351;&#2366; &#2325;&#2375; &#2310;&#2352;&#2379;&#2346; &#2350;&#2375;&#2306; &#2343;&#2352;&#2381;&#2350;&#2375;&#2306;&#2342;&#2381;&#2352; &#2325;&#2369;&#2350;&#2366;&#2352; &#2335;&#2306;&#2337;&#2344; (32) &#2325;&#2379; &#2327;&#2367;&#2352;&#2347;&#2381;&#2340;&#2366;&#2352; &#2325;&#2352; &#2340;&#2341;&#2366; &#2361;&#2340;&#2381;&#2351;&#2366; &#2350;&#2375;&#2306; &#2346;&#2381;&#2352;&#2351;&#2369;&#2325;&#2381;&#2340; &#2352;&#2366;&#2311;&#2347;&#2354; &#2357; &#2325;&#2369;&#2354;&#2381;&#2361;&#2366;&#2396;&#2368; &#2311;&#2340;&#2381;&#2351;&#2366;&#2342;&#2367; &#2348;&#2352;&#2366;&#2350;&#2342; &#2325;&#2352; &#2354;&#2367;&#2351;&#2366; &#2361;&#2376;&#2404; &#2357;&#2366;&#2352;&#2342;&#2366;&#2340; &#2325;&#2375; &#2357;&#2325;&#2381;&#2340; &#2357;&#2361; &#2360;&#2375;&#2344;&#2366; &#2325;&#2368; &#2357;&#2352;&#2381;&#2342;&#2368; &#2350;&#2375;&#2306; &#2341;&#2366;&#2404;\r\n&#2346;&#2369;&#2354;&#2367;&#2360; &#2309;&#2343;&#2367;&#2325;&#2366;&#2352;&#2367;&#2351;&#2379;&#2306; &#2325;&#2375; &#2350;&#2369;&#2340;&#2366;&#2348;&#2367;&#2325; &#2343;&#2357;&#2344; &#2346;&#2352;&#2367;&#2357;&#2366;&#2352; &#2344;&#2375; 20 &#2342;&#2367;&#2344; &#2346;&#2361;&#2354;&#2375; &#2360;&#2306;&#2327;&#2368;&#2340;&#2366; &#2344;&#2366;&#2350; &#2325;&#2368; 27 &#2357;&#2352;&#2381;&#2359;&#2368;&#2351; &#2344;&#2380;&#2325;&#2352;&#2366;&#2344;&#2368; &#2325;&#2379; &#2328;&#2352;&#2375;&#2354;&#2370; &#2325;&#2366;&#2350;&#2325;&#2366;&#2332; &#2325;&#2375; &#2354;&#2367;&#2319; &#2328;&#2352; &#2346;&#2352; &#2352;&#2326;&#2366; &#2341;&#2366;&#2404; &#2360;&#2306;&#2327;&#2368;&#2340;&#2366; &#2350;&#2370;&#2354; &#2352;&#2370;&#2346; &#2360;&#2375; &#2313;&#2354;&#2352; &#2346;&#2381;&#2352;&#2342;&#2375;&#2358; &#2325;&#2375; &#2324;&#2352;&#2376;&#2351;&#2366; &#2332;&#2367;&#2354;&#2366; &#2325;&#2375; &#2352;&#2366;&#2332;&#2366; &#2352;&#2366;&#2350; &#2344;&#2327;&#2352;&#2367;&#2351;&#2366; &#2327;&#2366;&#2306;&#2357; &#2325;&#2368; &#2352;&#2361;&#2344;&#2375; &#2357;&#2366;&#2354;&#2368; &#2361;&#2376;&#2404; &#2357;&#2361; &#2340;&#2354;&#2366;&#2325;&#2358;&#2369;&#2342;&#2366; &#2361;&#2376;&#2404; &#2313;&#2360;&#2325;&#2375; &#2342;&#2379; &#2348;&#2330;&#2381;&#2330;&#2375; &#2346;&#2370;&#2352;&#2381;&#2357; &#2346;&#2340;&#2367; &#2325;&#2375; &#2360;&#2366;&#2341; &#2310;&#2306;&#2343;&#2381;&#2352; &#2346;&#2381;&#2352;&#2342;&#2375;&#2358; &#2325;&#2375; &#2357;&#2367;&#2332;&#2351;&#2357;&#2366;&#2396;&#2366; &#2350;&#2375;&#2306; &#2352;&#2361;&#2340;&#2375; &#2361;&#2376;&#2306;&#2404; &#2360;&#2306;&#2327;&#2368;&#2340;&#2366; &#2325;&#2368; &#2350;&#2369;&#2354;&#2366;&#2325;&#2366;&#2340; &#2337;&#2375;&#2338;&#2364; &#2357;&#2352;&#2381;&#2359; &#2346;&#2361;&#2354;&#2375; &#2344;&#2312; &#2342;&#2367;&#2354;&#2381;&#2354;&#2368; &#2352;&#2375;&#2354;&#2357;&#2375; &#2360;&#2381;&#2335;&#2375;&#2358;&#2344; &#2346;&#2352; &#2346;&#2370;&#2352;&#2381;&#2357; &#2347;&#2380;&#2332;&#2368; &#2343;&#2352;&#2381;&#2350;&#2375;&#2306;&#2342;&#2381;&#2352; &#2335;&#2306;&#2337;&#2344; &#2360;&#2375; &#2361;&#2369;&#2312; &#2341;&#2368;&#2404; &#2348;&#2366;&#2342; &#2350;&#2375;&#2306; &#2313;&#2344;&#2325;&#2375; &#2348;&#2368;&#2330; &#2344;&#2332;&#2342;&#2368;&#2325;&#2367;&#2351;&#2366;&#2306; &#2348;&#2338;&#2364; &#2327;&#2312; &#2341;&#2368;&#2306;&#2404;\r\n&#2343;&#2352;&#2381;&#2350;&#2375;&#2306;&#2342;&#2381;&#2352; &#2335;&#2306;&#2337;&#2344; 10 &#2357;&#2352;&#2381;&#2359; &#2325;&#2368; &#2344;&#2380;&#2325;&#2352;&#2368; &#2325;&#2375; &#2348;&#2366;&#2342; &#2357;&#2352;&#2381;&#2359; 2010 &#2350;&#2375;&#2306; &#2332;&#2350;&#2381;&#2350;&#2370;-&#2325;&#2358;&#2381;&#2350;&#2368;&#2352; &#2325;&#2375; &#2350;&#2368;&#2337;&#2367;&#2351;&#2350; &#2352;&#2375;&#2332;&#2367;&#2350;&#2375;&#2306;&#2335; &#2360;&#2375; &#2350;&#2375;&#2337;&#2367;&#2325;&#2354; &#2327;&#2381;&#2352;&#2366;&#2313;&#2306;&#2337; &#2346;&#2352; &#2360;&#2375;&#2357;&#2366;&#2350;&#2369;&#2325;&#2381;&#2340; &#2361;&#2369;&#2310; &#2341;&#2366;&#2404; &#2311;&#2360;&#2325;&#2375; &#2348;&#2366;&#2342; &#2357;&#2361; &#2342;&#2367;&#2354;&#2381;&#2354;&#2368; &#2310; &#2327;&#2351;&#2366; &#2341;&#2366;&#2404; &#2357;&#2352;&#2381;&#2340;&#2350;&#2366;&#2344; &#2350;&#2375;&#2306; &#2357;&#2361; &#2319;&#2325; &#2360;&#2367;&#2325;&#2381;&#2351;&#2370;&#2352;&#2367;&#2335;&#2368; &#2319;&#2332;&#2375;&#2306;&#2360;&#2368; &#2325;&#2375; &#2340;&#2361;&#2340; &#2327;&#2369;&#2396;&#2327;&#2366;&#2306;&#2357; &#2325;&#2375; &#2319;&#2325; &#2361;&#2379;&#2335;&#2354; &#2350;&#2375;&#2306; &#2327;&#2366;&#2352;&#2381;&#2337; &#2341;&#2366;&#2404; &#2350;&#2343;&#2381;&#2351; &#2332;&#2367;&#2354;&#2366; &#2325;&#2375; &#2319;&#2337;&#2367;&#2358;&#2344;&#2354; &#2346;&#2369;&#2354;&#2367;&#2360; &#2325;&#2350;&#2367;&#2358;&#2381;&#2344;&#2352; &#2342;&#2375;&#2357;&#2375;&#2358; &#2330;&#2306;&#2342; &#2358;&#2381;&#2352;&#2368;&#2357;&#2366;&#2360;&#2381;&#2340;&#2357; &#2344;&#2375; &#2348;&#2340;&#2366;&#2351;&#2366; &#2325;&#2367; &#2343;&#2352;&#2381;&#2350;&#2375;&#2306;&#2342;&#2381;&#2352; &#2357; &#2360;&#2306;&#2327;&#2368;&#2340;&#2366; &#2325;&#2312; &#2342;&#2367;&#2344; &#2360;&#2366;&#2341; &#2352;&#2361;&#2375; &#2361;&#2376;&#2306; &#2340;&#2341;&#2366; &#2342;&#2379;&#2344;&#2379;&#2306; &#2360;&#2366;&#2341; &#2350;&#2375;&#2306; &#2325;&#2312; &#2332;&#2327;&#2361;&#2379;&#2306; &#2325;&#2368; &#2351;&#2366;&#2340;&#2381;&#2352;&#2366; &#2349;&#2368; &#2325;&#2352; &#2330;&#2369;&#2325;&#2375; &#2361;&#2376;&#2306;&#2404; &#2343;&#2352;&#2381;&#2350;&#2375;&#2306;&#2342;&#2381;&#2352; &#2344;&#2375; &#2348;&#2340;&#2366;&#2351;&#2366; &#2341;&#2366; &#2325;&#2367; &#2357;&#2361; &#2325;&#2369;&#2306;&#2357;&#2366;&#2352;&#2366; &#2361;&#2376;&#2404; &#2354;&#2375;&#2325;&#2367;&#2344; &#2332;&#2348; &#2360;&#2306;&#2327;&#2368;&#2340;&#2366; &#2325;&#2379; &#2346;&#2340;&#2366; &#2330;&#2354;&#2366; &#2325;&#2367; &#2357;&#2361; &#2358;&#2366;&#2342;&#2368;&#2358;&#2369;&#2342;&#2366; &#2361;&#2376; &#2324;&#2352; &#2313;&#2360;&#2325;&#2368; &#2346;&#2340;&#2381;&#2344;&#2368; &#2331;&#2354;&#2368;&#2360;&#2327;&#2338;&#2364; &#2325;&#2375; &#2348;&#2367;&#2354;&#2366;&#2360;&#2346;&#2369;&#2352; &#2350;&#2375;&#2306; &#2352;&#2361;&#2340;&#2368; &#2361;&#2376;, &#2340;&#2379; &#2357;&#2361; &#2313;&#2360;&#2360;&#2375; &#2346;&#2368;&#2331;&#2366; &#2331;&#2369;&#2396;&#2366;&#2344;&#2375; &#2354;&#2327;&#2368;&#2404; &#2311;&#2360;&#2368; &#2348;&#2368;&#2330; &#2357;&#2361; &#2319;&#2325; &#2332;&#2366;&#2344;&#2325;&#2366;&#2352; &#2325;&#2375; &#2350;&#2366;&#2343;&#2381;&#2351;&#2350; &#2360;&#2375; &#2337;&#2377;. &#2360;&#2306;&#2332;&#2368;&#2357; &#2343;&#2357;&#2344; &#2325;&#2375; &#2328;&#2352; &#2346;&#2352; &#2325;&#2366;&#2350; &#2346;&#2352; &#2354;&#2327; &#2327;&#2312;&#2404; &#2360;&#2306;&#2332;&#2368;&#2357; &#2343;&#2357;&#2344; &#2325;&#2368; &#2346;&#2340;&#2381;&#2344;&#2368; &#2357; &#2342;&#2379; &#2348;&#2375;&#2335;&#2375; &#2361;&#2376;&#2306;&#2404; &#2348;&#2396;&#2366; &#2348;&#2375;&#2335;&#2366; &#2360;&#2350;&#2352;&#2381;&#2341; &#2332;&#2351;&#2346;&#2369;&#2352; &#2360;&#2375; &#2319;&#2350;&#2348;&#2368;&#2348;&#2368;&#2319;&#2360; &#2325;&#2368; &#2346;&#2338;&#2364;&#2366;&#2312; &#2325;&#2352; &#2352;&#2361;&#2366; &#2361;&#2376; &#2340;&#2341;&#2366; &#2331;&#2379;&#2335;&#2366; &#2348;&#2375;&#2335;&#2366; &#2360;&#2366;&#2352;&#2381;&#2341;&#2325; &#2342;&#2367;&#2354;&#2381;&#2354;&#2368; &#2325;&#2375; &#2360;&#2370;&#2352;&#2332;&#2350;&#2354; &#2311;&#2306;&#2360;&#2381;&#2335;&#2368;&#2335;&#2381;&#2351;&#2370;&#2335; &#2350;&#2375;&#2306; &#2348;&#2368;&#2348;&#2368;&#2319; &#2346;&#2381;&#2352;&#2341;&#2350; &#2357;&#2352;&#2381;&#2359; &#2325;&#2366; &#2331;&#2366;&#2340;&#2381;&#2352; &#2361;&#2376;&#2404; &#2337;&#2377;. &#2360;&#2306;&#2332;&#2368;&#2357; &#2343;&#2357;&#2344; &#2325;&#2375; &#2348;&#2375;&#2335;&#2375; &#2360;&#2366;&#2352;&#2381;&#2341;&#2325; &#2344;&#2375; &#2348;&#2340;&#2366;&#2351;&#2366; &#2325;&#2367; &#2343;&#2352;&#2381;&#2350;&#2375;&#2306;&#2342;&#2381;&#2352; &#2346;&#2367;&#2331;&#2354;&#2375; &#2325;&#2369;&#2331; &#2342;&#2367;&#2344;&#2379;&#2306; &#2360;&#2375; &#2313;&#2344;&#2325;&#2375; &#2346;&#2367;&#2340;&#2366; &#2325;&#2379; &#2347;&#2379;&#2344; &#2325;&#2352; &#2360;&#2306;&#2327;&#2368;&#2340;&#2366; &#2325;&#2379; &#2357;&#2366;&#2346;&#2360; &#2349;&#2375;&#2332;&#2344;&#2375; &#2325;&#2366; &#2342;&#2348;&#2366;&#2357; &#2348;&#2344;&#2366; &#2352;&#2361;&#2366; &#2341;&#2366;&#2404; &#2311;&#2360; &#2350;&#2369;&#2342;&#2381;&#2342;&#2375; &#2346;&#2352; &#2357;&#2361; &#2327;&#2340; &#2342;&#2367;&#2344;&#2379;&#2306; &#2360;&#2352; &#2327;&#2306;&#2327;&#2366;&#2352;&#2366;&#2350; &#2309;&#2360;&#2381;&#2346;&#2340;&#2366;&#2354; &#2350;&#2375;&#2306; &#2337;&#2377;. &#2360;&#2306;&#2332;&#2368;&#2357; &#2343;&#2357;&#2344; &#2360;&#2375; &#2350;&#2367;&#2354;&#2366; &#2341;&#2366;&#2404; &#2346;&#2369;&#2354;&#2367;&#2360; &#2309;&#2343;&#2367;&#2325;&#2366;&#2352;&#2367;&#2351;&#2379;&#2306; &#2344;&#2375; &#2348;&#2340;&#2366;&#2351;&#2366; &#2325;&#2367; &#2348;&#2369;&#2343;&#2357;&#2366;&#2352; &#2325;&#2368; &#2342;&#2375;&#2352; &#2352;&#2366;&#2340; &#2357;&#2361; &#2327;&#2369;&#2396;&#2327;&#2366;&#2306;&#2357; &#2360;&#2375; &#2354;&#2366;&#2311;&#2360;&#2375;&#2306;&#2360;&#2368; &#2352;&#2366;&#2311;&#2347;&#2354; &#2357; &#2325;&#2369;&#2354;&#2381;&#2361;&#2366;&#2396;&#2368; &#2354;&#2375;&#2325;&#2352; &#2337;&#2377;&#2325;&#2381;&#2335;&#2352; &#2325;&#2375; &#2328;&#2352; &#2310;&#2351;&#2366;&#2404; &#2313;&#2360;&#2344;&#2375; &#2358;&#2352;&#2366;&#2348; &#2346;&#2368; &#2352;&#2326;&#2368; &#2341;&#2368;&#2404; &#2351;&#2361;&#2366;&#2306; &#2310;&#2325;&#2352; &#2313;&#2360;&#2344;&#2375; &#2361;&#2306;&#2327;&#2366;&#2350;&#2366; &#2325;&#2352;&#2344;&#2366; &#2358;&#2369;&#2352;&#2370; &#2325;&#2352; &#2342;&#2367;&#2351;&#2366;&#2404;\r\n&#2328;&#2335;&#2344;&#2366; &#2325;&#2375; &#2357;&#2325;&#2381;&#2340; &#2360;&#2306;&#2327;&#2368;&#2340;&#2366; &#2348;&#2375;&#2360;&#2350;&#2375;&#2306;&#2335; &#2350;&#2375;&#2306; &#2332;&#2348;&#2325;&#2367; &#2337;&#2377;&#2325;&#2381;&#2335;&#2352; &#2346;&#2352;&#2367;&#2357;&#2366;&#2352; &#2360;&#2361;&#2367;&#2340; &#2346;&#2381;&#2352;&#2341;&#2350; &#2340;&#2354; &#2346;&#2352; &#2360;&#2379; &#2352;&#2361;&#2375; &#2341;&#2375;&#2404; &#2361;&#2306;&#2327;&#2366;&#2350;&#2366; &#2325;&#2352;&#2344;&#2375; &#2360;&#2375; &#2350;&#2344;&#2366; &#2325;&#2352;&#2344;&#2375; &#2346;&#2352; &#2313;&#2360;&#2344;&#2375; &#2337;&#2377;&#2325;&#2381;&#2335;&#2352; &#2325;&#2375; &#2346;&#2396;&#2379;&#2360;&#2368; &#2340;&#2352;&#2369;&#2339; &#2325;&#2366;&#2354;&#2352;&#2366; &#2346;&#2352; &#2349;&#2368; &#2361;&#2350;&#2354;&#2366; &#2325;&#2367;&#2351;&#2366;&#2404; &#2358;&#2379;&#2352;-&#2358;&#2352;&#2366;&#2348;&#2366; &#2360;&#2369;&#2344;&#2325;&#2352; &#2337;&#2377;. &#2360;&#2306;&#2332;&#2368;&#2357; &#2343;&#2357;&#2344; &#2310;&#2343;&#2368; &#2352;&#2366;&#2340; 2.30 &#2348;&#2332;&#2375; &#2309;&#2346;&#2344;&#2368; &#2348;&#2366;&#2354;&#2325;&#2344;&#2368; &#2346;&#2352; &#2310;&#2319; &#2340;&#2341;&#2366; &#2343;&#2352;&#2381;&#2350;&#2375;&#2306;&#2342;&#2381;&#2352; &#2360;&#2375; &#2361;&#2306;&#2327;&#2366;&#2350;&#2366; &#2325;&#2352;&#2344;&#2375; &#2360;&#2375; &#2352;&#2379;&#2325;&#2366;&#2404; &#2340;&#2349;&#2368; &#2327;&#2369;&#2360;&#2381;&#2360;&#2375; &#2350;&#2375;&#2306; &#2343;&#2352;&#2381;&#2350;&#2375;&#2342;&#2381;&#2352; &#2344;&#2375; &#2327;&#2379;&#2354;&#2367;&#2351;&#2366;&#2306; &#2330;&#2354;&#2366;&#2344;&#2368; &#2358;&#2369;&#2352;&#2369; &#2325;&#2352; &#2342;&#2368;&#2404; &#2346;&#2381;&#2352;&#2340;&#2381;&#2351;&#2325;&#2381;&#2359;&#2342;&#2352;&#2381;&#2358;&#2367;&#2351;&#2379;&#2306; &#2325;&#2375; &#2350;&#2369;&#2340;&#2366;&#2348;&#2367;&#2325; &#2313;&#2360;&#2344;&#2375; &#2325;&#2369;&#2354; &#2346;&#2366;&#2306;&#2330; &#2327;&#2379;&#2354;&#2367;&#2351;&#2366;&#2306; &#2330;&#2354;&#2366;&#2312;&#2404; &#2311;&#2360;&#2350;&#2375;&#2306; &#2325;&#2369;&#2331; &#2342;&#2352;&#2357;&#2366;&#2332;&#2375; &#2357; &#2342;&#2368;&#2357;&#2366;&#2352; &#2350;&#2375;&#2306; &#2354;&#2327;&#2344;&#2375; &#2325;&#2375; &#2360;&#2366;&#2341; &#2361;&#2368; &#2319;&#2325; &#2327;&#2379;&#2354;&#2368; &#2337;&#2377;&#2325;&#2381;&#2335;&#2352; &#2325;&#2375; &#2360;&#2368;&#2344;&#2375; &#2325;&#2375; &#2348;&#2366;&#2312;&#2306; &#2340;&#2352;&#2347; &#2354;&#2327;&#2368; &#2340;&#2341;&#2366; &#2313;&#2344;&#2325;&#2368; &#2350;&#2380;&#2340; &#2361;&#2379; &#2327;&#2312;&#2404; &#2346;&#2369;&#2354;&#2367;&#2360; &#2309;&#2343;&#2367;&#2325;&#2366;&#2352;&#2367;&#2351;&#2379;&#2306; &#2344;&#2375; &#2348;&#2340;&#2366;&#2351;&#2366; &#2325;&#2367; &#2328;&#2335;&#2344;&#2366; &#2325;&#2368; &#2332;&#2366;&#2344;&#2325;&#2366;&#2352;&#2368; &#2325;&#2375; &#2348;&#2366;&#2342; &#2346;&#2369;&#2354;&#2367;&#2360; &#2344;&#2375; &#2344;&#2380;&#2325;&#2352;&#2366;&#2344;&#2368; &#2342;&#2381;&#2357;&#2366;&#2352;&#2366; &#2347;&#2379;&#2344; &#2325;&#2352;&#2366; &#2348;&#2361;&#2366;&#2344;&#2375; &#2360;&#2375; &#2343;&#2352;&#2381;&#2350;&#2375;&#2342;&#2381;&#2352; &#2325;&#2379; &#2325;&#2352;&#2379;&#2354;&#2348;&#2366;&#2327; &#2350;&#2375;&#2335;&#2381;&#2352;&#2379; &#2360;&#2381;&#2335;&#2375;&#2358;&#2344; &#2346;&#2352; &#2348;&#2369;&#2354;&#2357;&#2366;&#2351;&#2366; &#2340;&#2341;&#2366; &#2319;&#2360;&#2319;&#2330;&#2323; &#2350;&#2344;&#2368;&#2359; &#2332;&#2379;&#2358;&#2368; &#2360;&#2361;&#2367;&#2340; &#2350;&#2344;&#2379;&#2332; &#2325;&#2369;&#2350;&#2366;&#2352; &#2344;&#2375; &#2313;&#2360;&#2375; &#2343;&#2352; &#2342;&#2348;&#2379;&#2330;&#2366;&#2404; &#2346;&#2370;&#2331;&#2340;&#2366;&#2331; &#2350;&#2375;&#2306; &#2346;&#2340;&#2366; &#2330;&#2354;&#2366; &#2325;&#2367; &#2357;&#2361; &#2360;&#2352;&#2367;&#2340;&#2366; &#2357;&#2367;&#2361;&#2366;&#2352; &#2311;&#2354;&#2366;&#2325;&#2375; &#2350;&#2375;&#2306; &#2346;&#2361;&#2354;&#2375; &#2349;&#2368; &#2360;&#2306;&#2327;&#2368;&#2340;&#2366; &#2325;&#2375; &#2350;&#2325;&#2366;&#2344; &#2350;&#2366;&#2354;&#2367;&#2325; &#2346;&#2352; &#2361;&#2350;&#2354;&#2366; &#2325;&#2352; &#2330;&#2369;&#2325;&#2366; &#2361;&#2376; &#2340;&#2341;&#2366; 10 &#2342;&#2367;&#2344; &#2332;&#2375;&#2354; &#2325;&#2368; &#2360;&#2332;&#2366; &#2349;&#2368; &#2325;&#2366;&#2335; &#2330;&#2369;&#2325;&#2366; &#2361;&#2376;&#2404;\r\n&#2360;&#2352; &#2327;&#2306;&#2327;&#2366;&#2352;&#2366;&#2350; &#2309;&#2360;&#2381;&#2346;&#2340;&#2366;&#2354; &#2325;&#2375; &#2337;&#2377;&#2325;&#2381;&#2335;&#2352;&#2379;&#2306; &#2344;&#2375; &#2332;&#2340;&#2366;&#2351;&#2366; &#2358;&#2379;&#2325;\r\n&#2360;&#2352; &#2327;&#2306;&#2327;&#2366;&#2352;&#2366;&#2350; &#2309;&#2360;&#2381;&#2346;&#2340;&#2366;&#2354; &#2325;&#2375; &#2337;&#2377;. &#2360;&#2306;&#2332;&#2368;&#2357; &#2343;&#2357;&#2344; &#2325;&#2368; &#2310;&#2325;&#2360;&#2381;&#2350;&#2367;&#2325; &#2350;&#2380;&#2340; &#2360;&#2375; &#2309;&#2360;&#2381;&#2346;&#2340;&#2366;&#2354; &#2346;&#2381;&#2352;&#2358;&#2366;&#2360;&#2344; &#2350;&#2375;&#2306; &#2358;&#2379;&#2325; &#2325;&#2368; &#2354;&#2361;&#2352; &#2342;&#2380;&#2396; &#2327;&#2312; &#2361;&#2376;&#2404; &#2361;&#2371;&#2342;&#2351; &#2352;&#2379;&#2327; &#2357;&#2367;&#2349;&#2366;&#2327; &#2325;&#2375; &#2309;&#2343;&#2381;&#2351;&#2325;&#2381;&#2359; &#2337;&#2377;&#2325;&#2381;&#2335;&#2352; &#2332;&#2375;&#2346;&#2368;&#2319;&#2360; &#2360;&#2366;&#2361;&#2344;&#2368; &#2344;&#2375; &#2313;&#2344;&#2325;&#2368; &#2350;&#2380;&#2340; &#2346;&#2352; &#2358;&#2379;&#2325; &#2357;&#2381;&#2351;&#2325;&#2381;&#2340; &#2325;&#2352;&#2340;&#2375; &#2361;&#2369;&#2319; &#2325;&#2361;&#2366; &#2325;&#2367; &#2357;&#2375; &#2344; &#2325;&#2375;&#2357;&#2354; &#2361;&#2371;&#2342;&#2351; &#2352;&#2379;&#2327; &#2325;&#2375; &#2309;&#2330;&#2381;&#2331;&#2375; &#2337;&#2377;&#2325;&#2381;&#2335;&#2352; &#2341;&#2375; &#2348;&#2354;&#2381;&#2325;&#2367; &#2309;&#2330;&#2381;&#2331;&#2375; &#2311;&#2306;&#2360;&#2366;&#2344; &#2349;&#2368; &#2341;&#2375;&#2404; &#2313;&#2344;&#2325;&#2366; &#2344;&#2367;&#2343;&#2344; &#2344; &#2325;&#2375;&#2357;&#2354; &#2361;&#2350;&#2366;&#2352;&#2375; &#2354;&#2367;&#2319; &#2348;&#2354;&#2381;&#2325;&#2367; &#2361;&#2371;&#2342;&#2351; &#2352;&#2379;&#2327; &#2357;&#2367;&#2349;&#2366;&#2327; &#2325;&#2375; &#2354;&#2367;&#2319; &#2349;&#2368; &#2348;&#2396;&#2368; &#2325;&#2381;&#2359;&#2340;&#2367; &#2361;&#2376;&#2404;', 1, 0, 'Not', '0', '0', '2012-09-20 08:33:11'),
(39, 81, 1, 'Several opposition leaders were detained across the country during the protests.\r\n\r\nSamajwadi Party president Mulayam Singh Yadav, Left leaders Prakash Karat, A B Bardhan, Sitaram Yechury and TDP leader Chandrababu Naidu courted arrest in Delhi after joint protests.\r\n\r\nIn Delhi, most of the markets remained closed but vehicular movement was normal though protesters blocked traffic at some places.\r\n\r\nShops in some areas like Bhogal, Laxmi Nagar, Defence Colony and South Extension in the capital were open in the morning hours but big markets like Khan Market, Connaught Place, Greater Kailash, Karol Bagh, Chandni Chowk and Kashmere Gate were shut.\r\n\r\nAuto rickshaws plied in the city and buses of state-run Delhi Transport Corporation (DTC) were on the roads in large numbers. At New Delhi railway station, auto drivers staged a protest and refused to carry passengers.\r\n\r\nHowever, most of the private schools in Delhi remained closed.\r\n\r\nBJP supporters blocked vehicular movement on Vikas Marg. A BJP spokesperson said the party will be staging protests at around 100 locations in the national capital.\r\n\r\nA senior Delhi Police official said a large number of personnel have been deployed. "We have ensured that every major road has police presence," he said.\r\n\r\nUttar Pradesh\r\n\r\nSamajwadi Party and BJP workers staged demonstrations and stopped trains at a number of places in Uttar Pradesh. Protestors stopped trains in Mathura, Agra, Varanasi, Allahabad and Lucknow while BJP workers and traders blocked the Agra-Gwalior Highway by burning tyres.\r\n\r\nMajor markets remained closed at a number of places in UP, including in the state capital Lucknow.\r\n\r\nRaising slogans against FDI in retail, a group of SP workers held a demonstration outside the Walmart store at Sultanpur in Lucknow. The party also protested outside Divisional Railway Manager''s office in Hazratganj.\r\n\r\nBihar\r\n\r\nBJP leader Ravishankar Prasad led about 200 party leaders and workers in courting arrest near the busy Dak Bungalow roundabout here during the bandh.\r\n\r\nBesides Prasad, the BJP Bihar unit president CP Thakur, Kiran Ghai, Radhamohan Singh, Mangal Pandey were among prominent leaders who courted arrested.\r\n\r\nAbout 200 BJP leaders and workers, including Prasad, have been detained and taken to Kankerbagh stadium where they will be put up at a makeshift camp jail, police sources said.\r\n\r\nEarlier, Prasad led the BJP leaders and workers in taking out a bicycle march from the BJP office upto Dak Bungalow roundabout to protest the Centre''s economic policies, including 51 per cent FDI in multi-brand retain, diesel price hike and other issues.\r\n\r\nThe protesters shouted slogans against the UPA government for its ''anti-people'' policies and demanded rollback of the measures like FDI in retail, diesel price hike and rationing of subsidised LPG cylinders.\r\n\r\nJharkhand\r\n\r\nNormal life in Jharkhand was affected due to the nationwide strike to protest against FDI in multi-brand retail and hike in diesel price.\r\n\r\nSlogan-shouting bandh supporters squatted on railway tracks in Koderma, Dhanbad and other places disrupting train services for over a couple of hours, railways sources said.\r\n\r\nBJP activists also put up blockades on national highways, affecting vehicular traffic, to protest Centre''s decision allowing FDI in retail, hike in diesel prices and limiting subsidised LPG cylinders.\r\n\r\nWork at PSUs was affected following disruption of transportation of coal, iron ore, bauxite and other minerals in view of the stir.\r\n\r\nMost educational institutions, shops and business establishments remained closed for the day.\r\n\r\n"The BJP demands immediate roll back of diesel prices and limitation of subsidised LPG cylinders," party spokesman Pradip Sinha said at a gathering in Albert Ekka Chowk here.\r\n\r\nJharkhand Vikas Morcha (Prajatantric-JVM) president Babulal Marandi, JMM vice president Sudhir Mahto, RJD state unit president Girinath Singh and Left leaders also demanded immediate rollback of the decisions.\r\n\r\nJMM and JVM are supporting the UPA government at the Centre.\r\nAssam\r\n\r\nThe bandh has affected normal life in Assam. Markets, shops, educational institutions, banks and private offices remained closed, while long distance private buses and other vehicles were off the roads, officials said.\r\n\r\nThough privately operated city buses did not ply, the government-run ones were seen on the road with auto-rickshaws and cycle rickshaws ferrying passengers.\r\n\r\nTrains and air services also operated normally, they said.\r\n\r\nElaborate security arrangements were put in place with security personnel deployed on the city streets, highways, at vital installations and vulnerable areas across the state, they said.\r\n\r\nAll the state government offices, including transport and power, were functioning normally. The government had issued a notification yesterday to ensure normal functioning and attendance in all government offices and undertakings in the state in view of the nation-wide bandh today.\r\n\r\nThe notification warned that the government would resort to pay-cut, break in service and disciplinary action against employees who absent themselves from duties during the bandh period.\r\n\r\nAll heads of offices and departments were further instructed to deduct pay and allowances for unauthorised absence from offices and duties today and to initiate disciplinary action for such unauthorised absence.\r\n\r\nGoa\r\n\r\nIn Goa the bandh has evoked a mixed response. The state is currently ushering in the ten-day Ganpati celebrations.\r\n\r\nWhile markets remained partially closed, the private buses remained off roads since morning.\r\n\r\nThe bus stands wore a deserted look, but the markets registered considerable presence of the people.\r\n\r\nWith Ganesh Chaturthi, the biggest festival of the state, commencing yesterday, the people were seen buying commodities required for celebrations.\r\n\r\nThere was no untoward incident reported as bandh was not forced either by NDA or Left parties.\r\n\r\nThe state-run Kadamba Transport Corporation Limited (KTCL) was plying its buses on the regular routes.\r\n\r\nSikkim\r\n\r\nThe bandh has failed to evoke any response in Sikkim.\r\n\r\nSchools and Colleges in the state are open and vehicles are plying as usual in the roads, official source said.\r\n\r\nGovernment offices, banks and markets are also open, they sources said.\r\n\r\nReports from the districts also said that the bandh failed to evoke any response and schools, colleges, offices and markets were open.\r\n\r\nMeghalaya\r\n\r\nBJP activists were detained in Meghalaya when they tried to force shopkeepers to close the shutters in view of a bandh called by them to protest FDI in multi-brand retail and diesel price hike.\r\n\r\nBJP general secretary Dipayan Chakraborty along with 26 party volunteers were picked up by the police while forcing shopkeepers to down shutters and forcing public transport vehicles off the roads, East Khasi Hills deputy commissioner, Sanjay Goyal said.\r\n\r\nBanks, markets, shops and educational institutions were closed, with government offices recording low attendance, reports said.\r\n\r\nGovernment transport vehicles and a few taxis were on the roads.\r\n\r\nThe bandh was being supported by the opposition National People''s Party and the Federation of Khasi Jaintia and Garo People. PTI JOP PC SG 09201159 NNNN\r\n\r\nManipur \r\n\r\nLife was affected in Manipur due to the 12-hour general strike called to protest diesel price hike, FDI in multi-brand retail and ceiling on subsidised LPG.\r\n\r\nMarkets, business establishments, educational institutions and entertainment houses remained closed while attendance in government offices was almost nil, reports said.\r\n\r\nBuses, taxis and private vehicles were off the roads as also transport services between Manipur and neighbouring states, the reports said.\r\n\r\nThe strike also affected normal life at all district headquarters.\r\n\r\nSecurity measures were in place at all vulnerable areas in the state capital complex.\r\n\r\nKarnataka\r\n\r\nThe nation-wide bandh has affected normal life in Karnataka.\r\n\r\nShops and offices chose to remain shut and only essential commodities like milk and medical services are available. All schools and colleges were closed.\r\n\r\nVidhan Souda, the Secretariat of Karnataka, wore a deserted look. However, Karnataka High Court and lower courts are functioning.\r\n\r\nBuses owned by Karnataka State Road Transport Corporation and Bangalore Metropolitan Transport Corporation were off the road.\r\n\r\nThose who arrived by trains were stranded in the railway station. There were reports of some autorickshaw drivers fleecing commuters.\r\n\r\nElectronic City, where many IT and BT companies are situated, also wore a deserted look. The IT companies have deployed Central Security Force personnel to man important infrastructure on their campuses.\r\n\r\nIn Mysore, BJP workers stopped a Kannada film shooting in which Kannada actor Ramya, who recently joined Congress, was acting, police said.\r\n\r\nThe bandh also affected normal life in cities like Mandya, Davanagere, Hubli-Dharwad, Shimoga, Tumkur and Mangalore.\r\n\r\nThe bandh also received good response in Gadag and Bidar districts.\r\n\r\nOdisha\r\n\r\nNormal life was disrupted in Odisha, barring the western region, due to disruption in train and road traffic during Thursday''s bandh.\r\n\r\nState government offices, banks and insurance offices remained closed on the occasion of ''Nuakhai''.\r\n\r\nSchools, colleges and other educational institutions remained closed due to the festival celebrated with gaiety in western districts like Sambalpur, Bolangir, Bargarh, Sonepur, Jharsuguda and Deogarh.\r\n\r\nDescribing the bandh, being observed as part of a country-wide programme as a success, BJP state president Jual Oram said, "We have decided to exclude all activities related to Nuakhai festival from the purview of bandh."\r\n\r\nOver a dozen trains were stopped at several railway stations including Bhubaneswar, Cuttack, Khurda Road, Bhadrak, Balasore and Berhampur as bandh supporters staged dharna on the tracks, an official of East Coast Railway (ECoR) said.\r\n\r\nVehicular movement was disrupted in many parts of the state as passenger buses, trucks and auto-rickshaw remained off the roads, police sources said.\r\n\r\nA large number of passengers were seen stranded at railway stations and bus stands at many places, while roads wore a deserted look during the shut-down.\r\n\r\nCity bus services in many places like Bhubaneswar, Cuttack and Puri were suspended.\r\n\r\nIn Bhubaneswar, supporters of BJP and left parties staged blocked roads and picketed separately at different places in a bid to enforce the bandh called by them.\r\n\r\nShops, business establishments and commercial centres downed their shutter in major areas including Bhubaneswar, Cuttack, Berhampur, Balasore, Baripada, Bhadrak, Jagatsinghpur and Puri.\r\n\r\nElaborate security arrangements were made by the police with heavy deployment of force throughout the state to prevent any untoward incident during the shut-down.\r\n\r\n"The situation is peaceful and no untoward incident has been reported from any place. We are keeping a close vigil," a senior police official said.\r\n', 1, 0, 'Not', '0', '0', '2012-09-20 08:37:16');
INSERT INTO `th_ally_message` (`tm_id`, `tc_sender_id`, `tc_rec_id`, `tc_message`, `read_msg`, `is_new`, `removed`, `msg_arch`, `msg_arch_send`, `tc_mdate`) VALUES
(40, 81, 1, 'Several opposition leaders were detained across the country during the protests.\r\n\r\nSamajwadi Party president Mulayam Singh Yadav, Left leaders Prakash Karat, A B Bardhan, Sitaram Yechury and TDP leader Chandrababu Naidu courted arrest in Delhi after joint protests.\r\n\r\nIn Delhi, most of the markets remained closed but vehicular movement was normal though protesters blocked traffic at some places.\r\n\r\nShops in some areas like Bhogal, Laxmi Nagar, Defence Colony and South Extension in the capital were open in the morning hours but big markets like Khan Market, Connaught Place, Greater Kailash, Karol Bagh, Chandni Chowk and Kashmere Gate were shut.\r\n\r\nAuto rickshaws plied in the city and buses of state-run Delhi Transport Corporation (DTC) were on the roads in large numbers. At New Delhi railway station, auto drivers staged a protest and refused to carry passengers.\r\n\r\nHowever, most of the private schools in Delhi remained closed.\r\n\r\nBJP supporters blocked vehicular movement on Vikas Marg. A BJP spokesperson said the party will be staging protests at around 100 locations in the national capital.\r\n\r\nA senior Delhi Police official said a large number of personnel have been deployed. "We have ensured that every major road has police presence," he said.\r\n\r\nUttar Pradesh\r\n\r\nSamajwadi Party and BJP workers staged demonstrations and stopped trains at a number of places in Uttar Pradesh. Protestors stopped trains in Mathura, Agra, Varanasi, Allahabad and Lucknow while BJP workers and traders blocked the Agra-Gwalior Highway by burning tyres.\r\n\r\nMajor markets remained closed at a number of places in UP, including in the state capital Lucknow.\r\n\r\nRaising slogans against FDI in retail, a group of SP workers held a demonstration outside the Walmart store at Sultanpur in Lucknow. The party also protested outside Divisional Railway Manager''s office in Hazratganj.\r\n\r\nBihar\r\n\r\nBJP leader Ravishankar Prasad led about 200 party leaders and workers in courting arrest near the busy Dak Bungalow roundabout here during the bandh.\r\n\r\nBesides Prasad, the BJP Bihar unit president CP Thakur, Kiran Ghai, Radhamohan Singh, Mangal Pandey were among prominent leaders who courted arrested.\r\n\r\nAbout 200 BJP leaders and workers, including Prasad, have been detained and taken to Kankerbagh stadium where they will be put up at a makeshift camp jail, police sources said.\r\n\r\nEarlier, Prasad led the BJP leaders and workers in taking out a bicycle march from the BJP office upto Dak Bungalow roundabout to protest the Centre''s economic policies, including 51 per cent FDI in multi-brand retain, diesel price hike and other issues.\r\n\r\nThe protesters shouted slogans against the UPA government for its ''anti-people'' policies and demanded rollback of the measures like FDI in retail, diesel price hike and rationing of subsidised LPG cylinders.\r\n\r\nJharkhand\r\n\r\nNormal life in Jharkhand was affected due to the nationwide strike to protest against FDI in multi-brand retail and hike in diesel price.\r\n\r\nSlogan-shouting bandh supporters squatted on railway tracks in Koderma, Dhanbad and other places disrupting train services for over a couple of hours, railways sources said.\r\n\r\nBJP activists also put up blockades on national highways, affecting vehicular traffic, to protest Centre''s decision allowing FDI in retail, hike in diesel prices and limiting subsidised LPG cylinders.\r\n\r\nWork at PSUs was affected following disruption of transportation of coal, iron ore, bauxite and other minerals in view of the stir.\r\n\r\nMost educational institutions, shops and business establishments remained closed for the day.\r\n\r\n"The BJP demands immediate roll back of diesel prices and limitation of subsidised LPG cylinders," party spokesman Pradip Sinha said at a gathering in Albert Ekka Chowk here.\r\n\r\nJharkhand Vikas Morcha (Prajatantric-JVM) president Babulal Marandi, JMM vice president Sudhir Mahto, RJD state unit president Girinath Singh and Left leaders also demanded immediate rollback of the decisions.\r\n\r\nJMM and JVM are supporting the UPA government at the Centre.\r\nAssam\r\n\r\nThe bandh has affected normal life in Assam. Markets, shops, educational institutions, banks and private offices remained closed, while long distance private buses and other vehicles were off the roads, officials said.\r\n\r\nThough privately operated city buses did not ply, the government-run ones were seen on the road with auto-rickshaws and cycle rickshaws ferrying passengers.\r\n\r\nTrains and air services also operated normally, they said.\r\n\r\nElaborate security arrangements were put in place with security personnel deployed on the city streets, highways, at vital installations and vulnerable areas across the state, they said.\r\n\r\nAll the state government offices, including transport and power, were functioning normally. The government had issued a notification yesterday to ensure normal functioning and attendance in all government offices and undertakings in the state in view of the nation-wide bandh today.\r\n\r\nThe notification warned that the government would resort to pay-cut, break in service and disciplinary action against employees who absent themselves from duties during the bandh period.\r\n\r\nAll heads of offices and departments were further instructed to deduct pay and allowances for unauthorised absence from offices and duties today and to initiate disciplinary action for such unauthorised absence.\r\n\r\nGoa\r\n\r\nIn Goa the bandh has evoked a mixed response. The state is currently ushering in the ten-day Ganpati celebrations.\r\n\r\nWhile markets remained partially closed, the private buses remained off roads since morning.\r\n\r\nThe bus stands wore a deserted look, but the markets registered considerable presence of the people.\r\n\r\nWith Ganesh Chaturthi, the biggest festival of the state, commencing yesterday, the people were seen buying commodities required for celebrations.\r\n\r\nThere was no untoward incident reported as bandh was not forced either by NDA or Left parties.\r\n\r\nThe state-run Kadamba Transport Corporation Limited (KTCL) was plying its buses on the regular routes.\r\n\r\nSikkim\r\n\r\nThe bandh has failed to evoke any response in Sikkim.\r\n\r\nSchools and Colleges in the state are open and vehicles are plying as usual in the roads, official source said.\r\n\r\nGovernment offices, banks and markets are also open, they sources said.\r\n\r\nReports from the districts also said that the bandh failed to evoke any response and schools, colleges, offices and markets were open.\r\n\r\nMeghalaya\r\n\r\nBJP activists were detained in Meghalaya when they tried to force shopkeepers to close the shutters in view of a bandh called by them to protest FDI in multi-brand retail and diesel price hike.\r\n\r\nBJP general secretary Dipayan Chakraborty along with 26 party volunteers were picked up by the police while forcing shopkeepers to down shutters and forcing public transport vehicles off the roads, East Khasi Hills deputy commissioner, Sanjay Goyal said.\r\n\r\nBanks, markets, shops and educational institutions were closed, with government offices recording low attendance, reports said.\r\n\r\nGovernment transport vehicles and a few taxis were on the roads.\r\n\r\nThe bandh was being supported by the opposition National People''s Party and the Federation of Khasi Jaintia and Garo People. PTI JOP PC SG 09201159 NNNN\r\n\r\nManipur \r\n\r\nLife was affected in Manipur due to the 12-hour general strike called to protest diesel price hike, FDI in multi-brand retail and ceiling on subsidised LPG.\r\n\r\nMarkets, business establishments, educational institutions and entertainment houses remained closed while attendance in government offices was almost nil, reports said.\r\n\r\nBuses, taxis and private vehicles were off the roads as also transport services between Manipur and neighbouring states, the reports said.\r\n\r\nThe strike also affected normal life at all district headquarters.\r\n\r\nSecurity measures were in place at all vulnerable areas in the state capital complex.\r\n\r\nKarnataka\r\n\r\nThe nation-wide bandh has affected normal life in Karnataka.\r\n\r\nShops and offices chose to remain shut and only essential commodities like milk and medical services are available. All schools and colleges were closed.\r\n\r\nVidhan Souda, the Secretariat of Karnataka, wore a deserted look. However, Karnataka High Court and lower courts are functioning.\r\n\r\nBuses owned by Karnataka State Road Transport Corporation and Bangalore Metropolitan Transport Corporation were off the road.\r\n\r\nThose who arrived by trains were stranded in the railway station. There were reports of some autorickshaw drivers fleecing commuters.\r\n\r\nElectronic City, where many IT and BT companies are situated, also wore a deserted look. The IT companies have deployed Central Security Force personnel to man important infrastructure on their campuses.\r\n\r\nIn Mysore, BJP workers stopped a Kannada film shooting in hich Kannada actor Ramya, who recently joined ongress, was acting, police said.\r\n\r\nThe bandh also affected normal life in cities like Mandya,Davanagere, Hubli-Dharwad, Shimoga, Tumkur and Mangalore.\r\n\r\nThe bandh also received good response in Gadag and Bidar districts.\r\n\r\nOdisha\r\n\r\nNormal life was disrupted in Odisha, barring the westernregion, due to disruption in train and road traffic uring Thursday''s bandh.\r\n\r\nState government offices, banks and insurance offices remained closed on the occasion of ''Nuakhai''.\r\n\r\nSchools, colleges and other educational institutions emained closed due to the festival celebrated with gaiety inwestern districts like Sambalpur, Bolangir, Bargarh, onepur, Jharsuguda and Deogarh.\r\n\r\nDescribing the bandh, being observed as part of a country-wide programme as a success, BJP state president Jual Oram said, "We have decided to exclude all activities related to Nuakhai festival from the purview of bandh."\r\nOver a dozen trains were stopped at several railway tations including Bhubaneswar, Cuttack, Khurda Road, adrak, Balasore and Berhampur as bandh supporters taged dharna on the tracks, an official of East Coast ailway (ECoR) said.\r\n\r\nVehicular movement was disrupted in many parts of the tate as passenger buses, trucks and auto-rickshaw emained off the roads, police sources said.\r\n\r\nA large number of passengers were seen stranded at ilway stations and bus stands at many places, while oads wore a deserted look during the shut-down.\r\n\r\nCity bus services in many places like Bhubaneswar, Cuttack nd Puri were suspended.\r\n\r\nIn Bhubaneswar, supporters of BJP and left parties staged locked roads and picketed separately at different places in a bid to enforce the bandh called by them.\r\n\r\nShops, business establishments and commercial centres owned their shutter in major areas including hubaneswar, Cuttack, Berhampur, Balasore, Baripada, hadrak, Jagatsinghpur and Puri.\r\n\r\nElaborate security arrangements were made by the police ith heavy deployment of force throughout the state to revent any untoward incident during the shut-down.\r\n\r\n"The situation is peaceful and no untoward incident has been reported from any place. We are keeping a close vigil," a senior police official said.\r\n', 1, 0, 'Not', '0', '0', '2012-09-20 08:39:40'),
(41, 81, 1, 'jadsf\r\ndsf\r\nd\r\nsfsd\r\nafasdf\r\nsdfs\r\naf\r\nsd\r\n', 1, 0, 'Not', 'AR', '0', '2012-09-20 11:22:34'),
(42, 53, 1, 'hiii', 1, 0, '1', '0', '0', '2012-09-21 12:40:28'),
(43, 81, 1, 'bjabwdbawbdja', 1, 0, 'Not', 'AR', '0', '2012-09-21 12:42:54'),
(44, 53, 1, 'mf', 1, 0, '1', '0', '0', '2012-09-21 12:43:51'),
(45, 53, 1, 'lll', 1, 0, 'Not', 'AR', '0', '2012-09-22 05:20:15'),
(49, 65, 81, 'kuchh nahi be', 1, 0, 'Not', '0', '0', '2012-09-24 11:30:14'),
(50, 1, 63, 'Hi Rajwant', 1, 0, 'Not', '0', '0', '2012-11-24 11:19:19'),
(51, 65, 81, 'hello', 1, 0, 'Not', '0', '0', '2012-11-26 06:11:06'),
(52, 65, 81, 'sdsd', 1, 0, 'Not', '0', '0', '2012-11-26 06:28:18'),
(53, 65, 81, 'sdfffffffffffffff', 1, 0, 'Not', '0', '0', '2012-11-26 06:29:19'),
(54, 65, 81, '0898', 1, 0, 'Not', '0', '0', '2012-11-26 06:40:10'),
(55, 65, 81, 'lll', 1, 0, 'Not', '0', '0', '2012-11-26 06:46:45'),
(56, 65, 81, 'ssssssssss', 1, 0, 'Not', '0', '0', '2012-11-26 07:23:59'),
(57, 65, 81, 'fgdg', 1, 0, 'Not', '0', '0', '2012-11-26 07:32:29'),
(58, 65, 81, 'ss', 1, 0, 'Not', '0', '0', '2012-11-26 07:33:44'),
(59, 65, 81, 'sssaaa', 1, 0, 'Not', '0', '0', '2012-11-26 07:35:23'),
(60, 65, 81, 'If you really need to, make your AJAX code call the local code (PHP, ASP, whatever) on blah.com and make it behave like client and fetch whatever you need from foo.com and return that back to the client. If you use PHP, you can do this with fopen(''www.foo.com/blah.html'', ''r'') and then reading the contents as if it was a regular file.', 1, 0, 'Not', '0', '0', '2012-11-26 07:39:20'),
(61, 65, 81, '16\r\ndown vote\r\naccepted\r\nHere are a few suggestions I would try:\r\n\r\n1) the ''datatype'' option you have specified should be ''dataType'' (case-sensitive I believe)\r\n\r\n2) try using the ''contentType'' option as so:\r\n\r\ncontentType: "application/json; charset=utf-8"\r\nI''m not sure how much that will help as it''s used in the request to your post url, not in the response. See this article for more info: http://encosia.com/2008/06/05/3-mistakes-to-avoid-when-using-jquery-with-aspnet-ajax (It''s written for asp.net, but may be applicable)\r\n\r\n3) Triple check the output of your post url and run the output through a JSON validator just to be absolutely sure it''s valid and can be parsed into a JSON object. http://www.jsonlint.com\r\n\r\nHope some of this helps!\r\n\r\nshare|improve this answer\r\nanswered Sep 17 ''08 at 3:22\r\n\r\nAdam Weber\r\n753411\r\nthanks so much for taking the time to answer. it was the dataType option that I had as datatype – CarolinaJay65 Sep 17 ''08 at 3:41\r\n7	  \r\nJust a note, setting dataType to "json" automatically sets the contentType to "application/json". – bhollis Sep 20 ''08 at 4:00\r\n@BHR +1 correct according to the docs. However, maybe useful to note: I''m working with jquery 1.6.4 atm and have found I need to explicitly set contentType: "application/json; charset=utf-8" – zack Feb 14 at 18:15\r\n', 1, 0, 'Not', '0', '0', '2012-11-26 07:45:04'),
(62, 53, 81, 'hi', 1, 0, 'Not', '0', '0', '2012-11-26 09:01:29'),
(63, 65, 81, 'sadaa sdhdsf asdh fdshdsj fjkdsafh dkjshf kasdjfh adsjf ajkh ajkshf jkashfk asdhf kasdj asd kadshkjfh ksdjf ksdjfh kasdjh ksdajh fjkasdh kjasdf fjsdahfk', 1, 0, 'Not', '0', '0', '2012-11-26 09:17:43'),
(64, 65, 81, 'ildquery		 		 		 	82	InnoDB	latin1_swedish_ci	16.0 KiB	-\r\n	chat		 		 		 	25	InnoDB	latin1_swedish_ci	32.0 KiB	-\r\n	doc_type		 		 		 	3	InnoDB	latin1_swedish_ci	16.0 KiB	-\r\n	hv_bgl		 		 		 	22	InnoDB	latin1_swedish_ci	16.0 KiB	-\r\n	hv_bp		 		 		 	0	InnoDB	latin1_swedish_ci	16.0 KiB	-\r\n	hv_ch		 		 		 	0	InnoDB	latin1_swedish_ci	16.0 KiB	-\r\n	hv_exc		 		 		 	0	InnoDB	latin1_swedish_ci	16.0 KiB	-\r\n	hv_weight		 		 		 	0	InnoDB	latin1_swedish_ci	16.0 KiB	-\r\n	session_log		 		 		 	8	InnoDB	latin1_swedish_ci	16.0 KiB	-\r\n	tc_ads		 		 		 	15	InnoDB	latin1_swedish_ci	16.0 KiB	-\r\n	tc_adsold		 		 		 	8	InnoDB	latin1_swedish_ci	16.0 KiB	-\r\n	tc_ads_availed		 		 		 	6	InnoDB	latin1_swedish_ci	32.0 KiB	-\r\n	tc_ads_category		 		 		 	4	InnoDB	latin1_swedish_ci	', 1, 0, 'Not', '0', '0', '2012-11-26 09:30:06'),
(65, 65, 81, 'asd', 1, 0, 'Not', '0', '0', '2012-11-26 09:30:25'),
(66, 65, 81, '\\\\\\', 1, 0, 'Not', '0', '0', '2012-11-26 09:33:29'),
(67, 65, 81, 'ff', 1, 0, 'Not', '0', '0', '2012-11-26 09:43:57'),
(68, 65, 81, 'tt', 1, 0, 'Not', '0', '0', '2012-11-26 09:44:54'),
(69, 65, 81, 't', 1, 0, 'Not', '0', '0', '2012-11-26 09:45:59'),
(70, 65, 81, 'ffbb', 1, 0, 'Not', '0', '0', '2012-11-26 09:46:43'),
(71, 65, 81, 'aaaaa', 1, 0, 'Not', '0', '0', '2012-11-26 09:48:06'),
(72, 65, 81, 'hello', 1, 0, 'Not', '0', '0', '2012-11-26 09:48:40'),
(73, 65, 81, 'g', 1, 0, 'Not', '0', '0', '2012-11-26 09:49:36'),
(74, 65, 81, 'lkj', 0, 0, 'Not', '0', '0', '2012-11-26 09:54:47'),
(75, 65, 81, 'r', 0, 0, 'Not', '0', '0', '2012-11-26 09:56:31'),
(76, 81, 65, 'kkk', 1, 0, 'Not', '0', '0', '2012-11-26 09:57:06'),
(77, 81, 65, 'kjas djas dkas d ', 1, 0, 'Not', '0', '0', '2012-11-26 09:57:50'),
(78, 65, 81, 'hj', 0, 0, 'Not', '0', '0', '2012-11-26 09:58:18'),
(79, 65, 81, 'a', 0, 0, 'Not', '0', '0', '2012-11-26 09:59:26'),
(80, 65, 81, 'ss', 0, 0, 'Not', '0', '0', '2012-11-26 10:00:07'),
(81, 65, 81, 'hi sheetal', 0, 0, 'Not', '0', '0', '2012-11-26 10:04:09'),
(82, 65, 81, 'as', 0, 0, 'Not', '0', '0', '2012-11-26 10:06:06'),
(83, 65, 81, 'w', 0, 0, 'Not', '0', '0', '2012-11-26 10:08:31'),
(84, 81, 65, 'w', 1, 0, 'Not', '0', '0', '2012-11-26 10:08:51'),
(85, 65, 81, 'sdss', 0, 0, 'Not', '0', '0', '2012-11-26 10:19:37'),
(86, 65, 81, 'dff', 0, 0, 'Not', '0', '0', '2012-11-26 10:19:48'),
(87, 65, 81, 'yyy', 0, 0, 'Not', '0', '0', '2012-11-26 10:20:19'),
(88, 65, 81, 'yy', 0, 0, 'Not', '0', '0', '2012-11-26 10:21:46'),
(89, 65, 81, 'hh', 0, 0, 'Not', '0', '0', '2012-11-26 10:22:00'),
(90, 65, 81, 'yyhh', 0, 0, 'Not', '0', '0', '2012-11-26 10:22:23'),
(91, 65, 81, 'k', 0, 0, 'Not', '0', '0', '2012-11-26 10:23:11'),
(92, 65, 81, 'oo', 0, 0, 'Not', '0', '0', '2012-11-26 10:23:24'),
(93, 65, 81, 'ee', 0, 0, 'Not', '0', '0', '2012-11-26 11:02:34'),
(94, 65, 81, 'sds', 0, 0, 'Not', '0', '0', '2012-11-26 11:03:57'),
(95, 81, 53, 'u', 0, 0, 'Not', '0', '0', '2012-11-26 11:04:36'),
(96, 65, 81, 'y', 0, 0, 'Not', '0', '0', '2012-11-26 11:04:50'),
(97, 65, 81, 'uuu', 0, 0, 'Not', '0', '0', '2012-11-26 11:05:30'),
(98, 65, 81, 't', 0, 0, 'Not', '0', '0', '2012-11-26 11:06:37'),
(99, 65, 81, 'yyyyyyyyyy', 0, 0, 'Not', '0', '0', '2012-11-26 11:06:54'),
(100, 65, 81, 'kdsj sdfj sdk ', 0, 0, 'Not', '0', '0', '2012-11-26 11:07:59'),
(101, 65, 81, 'hh', 0, 0, 'Not', '0', '0', '2012-11-26 11:08:50'),
(102, 65, 81, 'y', 0, 0, 'Not', '0', '0', '2012-11-26 11:09:33'),
(103, 65, 81, 'sssaaa', 0, 0, 'Not', '0', '0', '2012-11-26 11:13:06'),
(104, 65, 81, 'ii', 0, 0, 'Not', '0', '0', '2012-11-26 11:13:42'),
(105, 65, 81, 'Take part in the Firefox Challenge!  Join Kristen Bell, Will Ferrell and other celebrities to do more good in the world this holiday season!', 0, 0, 'Not', '0', '0', '2012-11-26 11:19:27'),
(106, 65, 81, 'xxx', 0, 0, 'Not', '0', '0', '2012-11-26 11:20:14'),
(107, 65, 81, 'xxxzz', 0, 0, 'Not', '0', '0', '2012-11-26 11:20:36'),
(108, 65, 81, 'ss', 0, 0, 'Not', '0', '0', '2012-11-26 11:21:04'),
(109, 65, 81, 'sdeeeeeeeew', 0, 0, 'Not', '0', '0', '2012-11-26 11:21:22'),
(110, 65, 81, 'gert', 0, 0, 'Not', '0', '0', '2012-11-26 11:22:13'),
(111, 65, 81, 'ss', 0, 0, 'Not', '0', '0', '2012-11-26 11:22:35'),
(112, 65, 81, 'sss', 0, 0, 'Not', '0', '0', '2012-11-26 11:26:00'),
(113, 81, 53, 's', 0, 0, 'Not', '0', '0', '2012-11-26 11:27:12'),
(114, 65, 81, 'ss', 0, 0, 'Not', '0', '0', '2012-11-26 11:27:19'),
(115, 65, 81, 'ddd', 0, 0, 'Not', '0', '0', '2012-11-26 11:32:48'),
(116, 65, 81, 'oo', 0, 0, 'Not', '0', '0', '2012-11-26 11:34:55'),
(117, 65, 81, '1254', 0, 0, 'Not', '0', '0', '2012-11-26 11:36:14'),
(118, 65, 81, 'v', 0, 0, 'Not', '0', '0', '2012-11-26 11:38:48'),
(119, 65, 81, 'hgfh', 0, 0, 'Not', '0', '0', '2012-11-26 11:39:57'),
(120, 65, 81, 'jh', 0, 0, 'Not', '0', '0', '2012-11-26 11:40:34'),
(121, 65, 81, 'hh', 0, 0, 'Not', '0', '0', '2012-11-26 11:41:57'),
(122, 65, 81, 'new', 0, 0, 'Not', '0', '0', '2012-11-26 11:44:01'),
(123, 65, 81, 'aaa', 0, 0, 'Not', '0', '0', '2012-11-26 11:48:19'),
(124, 65, 81, 'ssddasdf', 0, 0, 'Not', '0', '0', '2012-11-26 11:49:16'),
(125, 65, 81, 'mm', 0, 0, 'Not', '0', '0', '2012-11-26 11:50:46'),
(126, 65, 81, 'sdsd', 0, 0, 'Not', '0', '0', '2012-11-26 12:07:52'),
(127, 65, 81, 'hiii', 0, 0, 'Not', '0', '0', '2012-11-26 12:08:23'),
(128, 65, 81, 's', 0, 0, 'Not', '0', '0', '2012-11-26 12:20:42'),
(129, 53, 81, 'hello', 1, 0, 'Not', '0', '0', '2012-11-27 07:31:44'),
(130, 53, 81, 'hi', 1, 0, 'Not', '0', '0', '2012-11-27 07:31:58'),
(131, 34, 53, 'aur dude biomarker sahi karo', 1, 0, 'Not', '0', '0', '2012-12-17 10:43:09'),
(132, 81, 1, 'df', 1, 0, 'Not', '0', '0', '2013-03-14 13:08:44'),
(133, 81, 53, 'dfgfdsg', 0, 0, 'Not', '0', '0', '2013-03-18 08:27:09'),
(134, 81, 1, 'asdf', 1, 0, 'Not', 'AR', '0', '2013-03-18 08:27:24'),
(135, 1, 81, 'hi there!', 1, 0, 'Not', '0', '0', '2013-03-21 09:00:26'),
(136, 81, 1, 'vfvgt', 1, 0, 'Not', 'AR', '0', '2013-04-15 04:37:45'),
(137, 81, 1, 'ssss', 1, 0, 'Not', 'AR', '0', '2013-04-15 04:38:00'),
(138, 7, 1, 'fff', 1, 0, 'Not', '2', '1', '2013-05-08 07:31:39'),
(139, 1, 63, 'sadasd', 1, 0, 'Not', '0', '0', '2013-05-14 09:59:41'),
(140, 1, 63, 'sadasd', 1, 0, 'Not', '0', '0', '2013-05-14 10:20:06'),
(141, 1, 63, 'sadasdsdfsd', 1, 0, 'Not', '0', '0', '2013-05-14 10:22:21'),
(142, 1, 63, 'sadasdsdfsdddd', 1, 0, 'Not', '0', '0', '2013-05-14 10:23:47'),
(143, 1, 63, 'a', 1, 0, 'Not', '0', '0', '2013-05-14 10:25:13'),
(144, 1, 63, 'kk', 1, 0, 'Not', '0', '0', '2013-05-14 10:28:14'),
(145, 1, 63, 'kkxc', 1, 0, 'Not', '0', '0', '2013-05-14 10:33:48'),
(146, 1, 63, 'kkxcbv', 1, 0, 'Not', '0', '0', '2013-05-14 10:34:44'),
(147, 1, 63, 'kkxcbvj', 1, 0, 'Not', '0', '0', '2013-05-14 10:45:11'),
(148, 1, 63, 'kkxcbvjssd', 1, 0, 'Not', '0', '0', '2013-05-14 10:47:37'),
(149, 1, 63, 'kkxcbvjssdj', 1, 0, 'Not', '0', '0', '2013-05-14 10:48:22'),
(150, 1, 63, 'kkxcbvjssdj', 1, 0, 'Not', '0', '0', '2013-05-14 11:03:16'),
(151, 1, 63, 'kkxcbvjssdj', 1, 0, 'Not', '0', '0', '2013-05-14 11:03:54'),
(152, 1, 63, 'kkxcbvjssdj', 1, 0, 'Not', '0', '0', '2013-05-14 11:05:14'),
(153, 1, 63, 'kkxcbvjssdjd', 1, 0, 'Not', '0', '0', '2013-05-14 11:06:57'),
(154, 1, 63, 'kkxcbvjssdjd', 1, 0, 'Not', '0', '0', '2013-05-14 11:09:31'),
(155, 1, 63, 'kkxcbvjssdjd', 1, 0, 'Not', '0', '0', '2013-05-14 11:10:02'),
(156, 1, 63, 'kkxcbvjssdjd', 1, 0, 'Not', '0', '0', '2013-05-14 11:10:33'),
(157, 1, 63, 'kkxcbvjssdjd', 1, 0, 'Not', '0', '0', '2013-05-14 11:10:39'),
(158, 1, 63, 'kkxcbvjssdjd', 1, 0, 'Not', '0', '0', '2013-05-14 11:10:56'),
(159, 1, 63, 'kkxcbvjssdjd', 1, 0, 'Not', '0', '0', '2013-05-14 11:13:26'),
(160, 1, 63, 'kkxcbvjssdjd', 1, 0, 'Not', '0', '0', '2013-05-14 11:14:31'),
(161, 1, 63, 'kkxcbvjssdjd', 1, 0, 'Not', '0', '0', '2013-05-14 11:15:10'),
(162, 1, 63, 'kkxcbvjssdjd', 1, 0, 'Not', '0', '0', '2013-05-14 11:16:47'),
(163, 1, 63, 'kkxcbvjssdjd', 1, 0, 'Not', '0', '0', '2013-05-14 11:17:16'),
(164, 1, 81, 'ur Messag', 1, 0, 'Not', '0', '0', '2013-05-17 05:20:58'),
(165, 1, 63, 'hiii ', 1, 0, 'Not', '0', '0', '2013-05-17 13:31:16'),
(166, 81, 1, 'https://codeload.github.com/Pixelkit/PixelKit-Bootstrap-UI-Kits/zip/master', 1, 0, 'Not', '0', '0', '2013-12-19 13:34:53'),
(167, 81, 1, 'https://codeload.github.com/Pixelkit/PixelKit-Bootstrap-UI-Kits/zip/master', 1, 0, 'Not', '0', '0', '2013-12-19 13:35:18'),
(169, 1, 81, 'tytyty', 1, 0, 'Not', '0', '0', '2014-03-15 10:07:12'),
(170, 1, 81, '6yy', 1, 0, 'Not', '0', '0', '2014-03-15 10:09:01'),
(171, 1, 39, 'hj', 0, 0, 'Not', '1', '1', '2014-03-15 10:09:23'),
(172, 1, 39, 'jjj', 0, 0, 'Not', '1', '1', '2014-03-15 10:09:39'),
(173, 1, 81, 'jujuju', 1, 0, 'Not', '0', '0', '2014-03-15 10:10:06'),
(174, 1, 81, '', 1, 0, 'Not', '0', '0', '2014-03-15 10:14:31'),
(175, 1, 81, '', 1, 0, 'Not', '0', '0', '2014-03-15 10:14:32'),
(176, 1, 81, '', 1, 0, 'Not', '0', '0', '2014-03-15 10:14:49'),
(177, 1, 81, 'asdasdasd', 1, 0, 'Not', '0', '0', '2014-03-15 10:15:46'),
(178, 7, 1, 'Hello Raj', 1, 0, 'Not', '2', '1', '2014-03-21 05:28:20'),
(179, 1, 7, 'Kya Hal Chal', 0, 0, 'Not', '2', '1', '2014-03-21 05:54:37'),
(180, 1, 7, 'Kya Hal Chal', 0, 0, 'Not', '2', '1', '2014-03-21 05:55:12'),
(181, 7, 1, 'sab mast hai', 1, 0, 'Not', '2', '1', '2014-03-21 05:56:16'),
(182, 1, 7, 'sa', 0, 0, 'Not', '2', '1', '2014-03-21 05:57:19'),
(183, 7, 1, 'good hai', 1, 0, 'Not', '2', '1', '2014-03-21 05:58:20'),
(184, 7, 1, 'Aur Kya ho raha hai', 1, 0, 'Not', '2', '1', '2014-03-21 06:00:11'),
(185, 1, 7, 'hello', 0, 0, 'Not', '2', '1', '2014-03-21 06:05:47'),
(186, 7, 1, 'hi', 1, 0, 'Not', '2', '1', '2014-03-21 06:05:56'),
(187, 1, 7, 'kya baat hai', 0, 0, 'Not', '2', '1', '2014-03-21 06:06:06'),
(188, 1, 7, 'lage ho', 0, 0, 'Not', '2', '1', '2014-03-21 06:06:58'),
(189, 1, 7, 'yes', 0, 0, 'Not', '2', '1', '2014-03-21 06:14:06'),
(190, 7, 1, 'Hello', 1, 0, 'Not', '2', '1', '2014-03-21 06:14:27'),
(191, 1, 7, 'Kya ho raha hai', 0, 0, 'Not', '2', '1', '2014-03-21 06:14:37'),
(192, 7, 1, 'Yaar Epta Bhaag gayi', 1, 0, 'Not', '2', '1', '2014-03-21 06:14:57'),
(193, 1, 7, 'Chalo achachh hua...', 0, 0, 'Not', '2', '1', '2014-03-21 06:15:08'),
(194, 1, 7, 'hiii', 0, 0, '1', '2', '2', '2014-03-21 06:18:19'),
(195, 7, 1, 'Tum hi', 1, 0, '1', '2', '2', '2014-03-21 06:18:51'),
(196, 1, 53, '@Ashutosh Paul:asd sd]', 0, 1, 'Not', '0', '0', '2014-03-21 07:06:16'),
(197, 1, 7, 'df', 0, 2, '1', '2', '2', '2014-03-21 08:53:05'),
(198, 1, 39, 'dsfsf', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:56'),
(199, 1, 39, 'sdf', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:56'),
(200, 1, 39, 'sdf', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:57'),
(201, 1, 39, 'sd', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:57'),
(202, 1, 39, 'f', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:57'),
(203, 1, 39, 'sd', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:57'),
(204, 1, 39, 'fsd', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:57'),
(205, 1, 39, 'f', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:57'),
(206, 1, 39, 'sdf', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:57'),
(207, 1, 39, 'sd', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:58'),
(208, 1, 39, 'f', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:58'),
(209, 1, 39, 'sd', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:58'),
(210, 1, 39, 'f', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:58'),
(211, 1, 39, 'sd', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:58'),
(212, 1, 39, 'f', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:58'),
(213, 1, 39, 'sdf', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:58'),
(214, 1, 39, 'sd', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:59'),
(215, 1, 39, 'f', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:59'),
(216, 1, 39, 'sdf', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:59'),
(217, 1, 39, 'sd', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:59'),
(218, 1, 39, 'f', 0, 0, 'Not', '0', '0', '2014-03-21 12:13:59'),
(219, 1, 39, 'sdf', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:00'),
(220, 1, 39, 'sd', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:00'),
(221, 1, 39, 'f', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:00'),
(222, 1, 39, 'sdf', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:00'),
(223, 1, 39, 'd', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:00'),
(224, 1, 39, 'f', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:00'),
(225, 1, 39, 's', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:01'),
(226, 1, 39, 'f', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:01'),
(227, 1, 39, 'sdf', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:01'),
(228, 1, 39, 'sdf', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:01'),
(229, 1, 39, 's', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:01'),
(230, 1, 39, 'df', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:02'),
(231, 1, 39, 's', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:02'),
(232, 1, 39, 'fsd', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:02'),
(233, 1, 39, 'f', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:02'),
(234, 1, 39, 'dsf', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:02'),
(235, 1, 39, 'sd', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:02'),
(236, 1, 39, 'f', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:03'),
(237, 1, 39, 'sd', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:03'),
(238, 1, 39, 'f', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:03'),
(239, 1, 39, 'sdf', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:03'),
(240, 1, 39, 'sd', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:03'),
(241, 1, 39, 'f', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:03'),
(242, 1, 39, 'sd', 0, 0, 'Not', '0', '0', '2014-03-21 12:14:04'),
(243, 1, 7, 'fsdf', 0, 2, 'Not', '1', '0', '2014-03-21 12:21:49'),
(244, 7, 1, 'asd', 1, 0, 'Not', '1', '0', '2014-03-21 12:22:00'),
(245, 7, 1, 'uuyu', 1, 0, '1', '1', '0', '2014-03-21 13:04:04'),
(246, 7, 1, 'rt', 1, 0, '1', '1', '0', '2014-03-21 13:05:38'),
(247, 7, 1, 'as', 1, 0, 'Not', '1', '0', '2014-03-21 13:07:22'),
(248, 7, 1, 'd', 1, 0, 'Not', '1', '0', '2014-03-21 13:13:30'),
(249, 7, 1, 'hello Rajwant', 0, 0, 'Not', '0', '0', '2014-03-22 07:52:35'),
(250, 7, 1, 'hello Rajwant', 0, 0, 'Not', '0', '0', '2014-03-22 07:52:36'),
(251, 7, 1, 'Kauwe', 0, 0, 'Not', '0', '0', '2014-03-22 08:13:20'),
(252, 7, 1, 'ddd', 0, 0, 'Not', '0', '0', '2014-03-22 08:24:25'),
(253, 7, 1, 'hah', 0, 0, 'Not', '0', '0', '2014-03-22 08:26:01'),
(254, 7, 1, 'bhago', 0, 0, 'Not', '0', '0', '2014-03-22 08:26:49'),
(255, 7, 1, 'sd', 0, 0, 'Not', '0', '0', '2014-03-22 08:27:32'),
(256, 1, 7, 'ka  be', 0, 1, 'Not', '0', '0', '2014-03-22 11:38:33'),
(257, 1, 7, 'heello', 0, 1, 'Not', '0', '0', '2014-03-22 11:38:55'),
(258, 1, 7, 'kya ho raha hai', 0, 1, 'Not', '0', '0', '2014-03-22 13:29:19'),
(259, 1, 7, 'chawanni kam hai', 0, 1, 'Not', '0', '0', '2014-03-22 13:29:52'),
(260, 1, 7, 's', 0, 1, 'Not', '0', '0', '2014-03-22 13:30:25'),
(261, 1, 7, 's', 0, 1, 'Not', '0', '0', '2014-03-22 13:31:36'),
(262, 1, 81, 'Kya haal chaal', 0, 2, 'skm_skm_gmail_com', '0', '0', '2014-03-22 13:36:49'),
(263, 1, 81, 'uy', 0, 2, 'skm_skm_gmail_com', '0', '0', '2014-03-22 13:39:21'),
(264, 81, 1, 'gjuuuuuuuuuuuuu', 1, 0, 'skm_skm_gmail_com', '0', '0', '2014-03-22 13:40:37'),
(265, 81, 1, 'sdfsdf', 1, 0, 'Not', '0', '0', '2014-03-22 13:43:24'),
(266, 81, 1, 'dfgdfg', 1, 0, 'Not', '0', '0', '2014-03-22 13:43:31'),
(267, 81, 1, 'gfhgfh', 1, 0, 'skm_skm_gmail_com', '0', '0', '2014-03-22 13:44:47'),
(268, 81, 1, 'sdfsf', 1, 0, 'skm_skm_gmail_com', '0', '0', '2014-03-22 13:46:40'),
(269, 1, 41, 'fdg', 0, 0, 'Not', '0', '0', '2014-03-24 12:26:42'),
(270, 1, 39, 'hello\r\n', 0, 0, 'Not', '0', '0', '2014-03-24 12:59:06'),
(271, 39, 1, 'hi', 1, 0, 'Not', '0', '0', '2014-03-24 13:02:50'),
(272, 1, 39, 'kya ho raha ahai', 1, 0, 'Not', '0', '0', '2014-03-24 13:03:22'),
(273, 1, 23, 'ok', 0, 2, 'Not', '0', '0', '2014-03-25 06:39:24'),
(275, 1, 55, 'hi', 0, 2, 'Not', '0', '0', '2014-03-25 11:41:51'),
(276, 1, 1, 'hi', 0, 0, 'Not', '0', '0', '2014-03-27 11:24:26'),
(277, 1, 1, 'hello', 0, 0, 'Not', '0', '0', '2014-03-27 11:24:35'),
(279, 55, 1, 'kya hai', 0, 0, 'Not', '0', '0', '2014-07-02 10:20:16'),
(280, 1, 37, 'sdf', 0, 1, '1', '0', '0', '2014-07-15 08:06:08');

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

--
-- Table structure for table `th_basic_info`
--

CREATE TABLE IF NOT EXISTS `th_basic_info` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `food_allergy` varchar(1000) DEFAULT NULL,
  `other_allergy` varchar(1000) DEFAULT NULL,
  `nut_class` varchar(20) DEFAULT NULL,
  `fit_level` varchar(20) DEFAULT NULL,
  `notes` varchar(1000) DEFAULT NULL,
  `record_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;

--
-- Dumping data for table `th_basic_info`
--

INSERT INTO `th_basic_info` (`id`, `rgs_id_fkx`, `food_allergy`, `other_allergy`, `nut_class`, `fit_level`, `notes`, `record_date`) VALUES
(1, 1, 'Bringle13', 'Dust', 'Vegetarian', 'Beginner', NULL, '2013-12-17 12:23:30'),
(7, 81, 'Eggs', NULL, '0', '0', NULL, '2015-05-05 06:36:48');

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

--
-- Table structure for table `th_bdata`
--

CREATE TABLE IF NOT EXISTS `th_bdata` (
  `bdata_id` int(11) NOT NULL AUTO_INCREMENT,
  `bdata_wt` float DEFAULT NULL,
  `bdata_bmi` float DEFAULT NULL,
  `bdata_bmr` float DEFAULT NULL,
  `bdata_wt_udate` date DEFAULT NULL,
  `bdata_bp_systolic` float DEFAULT NULL,
  `bdata_bp_diastolic` float DEFAULT NULL,
  `bdata_map` float DEFAULT NULL,
  `bdata_bp_udate` date DEFAULT NULL,
  `bdata_bg_pp` float DEFAULT NULL,
  `bdata_bg_fasting` float DEFAULT NULL,
  `bdata_bg_a1c` float DEFAULT NULL,
  `bdata_bg_udate` date DEFAULT NULL,
  `bdata_hdl` float DEFAULT NULL,
  `bdata_ldl` float DEFAULT NULL,
  `bdata_trig` float DEFAULT NULL,
  `bdata_ch_udate` date DEFAULT NULL,
  `bdata_cdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `selfch_id_fkx` int(11) DEFAULT NULL,
  PRIMARY KEY (`bdata_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=88 ;

--
-- Dumping data for table `th_bdata`
--

INSERT INTO `th_bdata` (`bdata_id`, `bdata_wt`, `bdata_bmi`, `bdata_bmr`, `bdata_wt_udate`, `bdata_bp_systolic`, `bdata_bp_diastolic`, `bdata_map`, `bdata_bp_udate`, `bdata_bg_pp`, `bdata_bg_fasting`, `bdata_bg_a1c`, `bdata_bg_udate`, `bdata_hdl`, `bdata_ldl`, `bdata_trig`, `bdata_ch_udate`, `bdata_cdate`, `selfch_id_fkx`) VALUES
(1, 125, 19.6, 1513.1, '2012-07-24', 120, 80, 93.3, '2012-12-01', 100, 45, 8, '2012-12-01', 50, 25, 100, '2012-11-23', '2012-07-24 10:15:51', 1),
(2, 159, 24.2, 1710.6, '2012-07-29', 122, 41, 68, '2012-08-17', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2012-07-29 05:20:19', 2),
(3, 141, 23.5, 1702.3, '2012-08-16', 120, 90, 100, '2012-08-06', NULL, NULL, 7, '2012-08-16', 100, 140, 80, '2012-08-16', '2012-08-03 12:45:05', 3),
(4, NULL, NULL, NULL, NULL, 45, 21, 29, '2012-08-24', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2012-08-04 08:09:20', 4),
(5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2012-08-04 08:14:36', 5),
(6, 52, 7.9, 1186, '2012-09-22', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2012-08-04 08:29:42', 6),
(7, NULL, NULL, NULL, NULL, 45, 21, 29, '2012-08-24', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2012-08-14 04:26:59', 4),
(8, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2012-08-24 07:09:07', 5),
(9, 52, 7.9, 1186, '2012-09-22', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2012-09-11 07:20:29', 6),
(10, NULL, NULL, NULL, NULL, 150, 120, 130, '2012-09-26', NULL, NULL, 12, '2012-09-26', 70, 120, 140, '2012-09-26', '2012-09-21 13:11:42', 7),
(11, 176, 26, 1748.1, '2012-09-25', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 150, 200, 100, '2012-09-25', '2012-09-25 09:56:57', 8),
(12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2012-10-08 06:54:40', 9),
(13, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2012-11-20 12:49:47', 10),
(14, 315, 52.4, 2307.3, '2012-11-30', 120, 80, 93.3, '2012-12-01', NULL, NULL, 6, '2012-12-01', NULL, NULL, NULL, NULL, '2012-11-24 04:57:57', 11),
(15, 119, 20.4, 1552.6, '2012-12-17', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2012-11-26 07:32:50', 12),
(16, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2012-11-26 07:39:15', 13),
(17, 143, 23.8, 1455.7, '2012-11-27', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2012-11-27 12:18:23', 14),
(18, 140, 24, 1447.3, '2012-11-30', 125, 85, 98.3, '2012-11-30', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2012-11-30 10:28:00', 15),
(19, 125, 20.8, 1514.8, '2012-12-01', 250, 200, 216.7, '2012-12-01', NULL, NULL, 8, '2012-12-01', 50, 50, 25, '2012-12-01', '2012-11-30 11:32:04', 16),
(20, 143, 21.7, 1752.9, '2012-12-12', 55, 85, 75, '2012-12-06', NULL, NULL, 45, '2012-12-12', 25, 10, 62, '2012-12-12', '2012-12-03 09:43:51', 17),
(21, 130, 14.6, 1696.7, '2012-12-11', 114, 75, 88, '2012-12-10', NULL, NULL, 99, '2013-02-15', 99, 99, 99, '2013-02-15', '2012-12-10 04:56:38', 18),
(22, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2012-12-17 10:22:44', 19),
(23, 500, 56.3, 3995, '2013-03-14', 78, 878, 611.3, '2013-05-16', NULL, NULL, 6, '2013-05-06', 55, 55, 55, '2013-05-06', '2013-03-07 12:00:36', 20),
(24, 150, 22.8, 1573.4, '2013-05-13', 56, 78, 70.7, '2013-03-30', NULL, NULL, 6.5, '2013-05-15', 76, 78, 54, '2013-05-15', '2013-03-29 06:01:14', 21),
(25, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2013-05-06 04:30:26', 22),
(26, 100, 14.3, 1544.2, '2013-05-06', 120, 90, 100, '2013-05-13', NULL, NULL, 6, '2013-05-13', 21, 45, 12, '2013-05-13', '2013-05-06 07:11:50', 23),
(31, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2013-05-08 11:25:32', 28),
(32, 154, 25.6, 1606.9, '2013-05-17', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2013-05-17 12:47:00', 29),
(33, 146, 22.2, 1649.9, '2013-06-01', 66, 66, 66, '2013-06-07', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2013-06-01 11:52:16', 30),
(34, 154, 22.7, 1753, '2013-06-13', 115, 75, 88.3, '2013-06-14', NULL, NULL, NULL, NULL, 111, 78, 145, '2013-06-14', '2013-06-13 09:22:07', 31),
(35, 143, 21.7, 1220.7, '2013-06-20', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2013-06-20 06:02:19', 32),
(36, 143, 21.1, 1677.7, '2013-12-06', 45, 87, 73, '2013-12-06', NULL, NULL, 23, '2013-12-06', 35, 32, 43, '2013-12-06', '2013-12-06 05:22:13', 33),
(37, 161, 23.1, 1802.6, '2014-05-10', 50, 35, 40, '2014-03-05', NULL, NULL, 8, '2014-05-12', 34, 45, 45, '2014-05-12', '2013-12-18 06:07:52', 34),
(38, 175, 27.4, -11607.5, '2014-03-01', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-02-26 12:58:42', 35),
(39, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-03-03 05:52:50', 36),
(41, 130, 21.6, -11913.2, '2014-03-04', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-03-04 06:04:44', 38),
(42, 170, 28.3, 1795.1, '2014-03-04', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-03-04 08:03:45', 39),
(43, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-03-04 13:29:53', 40),
(44, NULL, NULL, NULL, '2014-03-05', 42, 45, 44, NULL, NULL, NULL, 11, '2014-03-05', NULL, NULL, NULL, NULL, '2014-03-05 05:47:01', 41),
(45, 75, 21.1, 1100.7, '2014-03-27', 118, 69, 85.3, '2014-09-15', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-03-27 06:04:28', 42),
(46, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2014-04-02 10:38:37', 43),
(47, 198.42, 26.2, 2127.9, '2015-06-13', 140, 100, 113.3, NULL, NULL, NULL, 7, '2015-06-13', 70, 120, 200, '2015-06-13', '2015-06-12 12:56:45', 45),
(48, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2015-06-22 11:52:07', 46),
(53, 154, 22.8, 1608.6, '2015-10-05', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2015-10-03 12:48:08', 49),
(54, 175, 29.1, 1802.2, '2015-10-05', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2015-10-05 07:40:43', 50),
(55, 146, 22.9, 1649.1, '2015-12-07', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2015-10-20 11:20:50', 51),
(56, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2015-11-19 05:33:58', 52),
(57, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2015-11-19 05:43:31', 53),
(58, 236, 37.1, 2162, '2016-02-02', 130, 90, 103.3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-01-30 10:52:17', 54),
(60, NULL, NULL, NULL, '2016-02-02', 130, 90, 103.3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-02-02 07:28:27', 56),
(61, NULL, NULL, NULL, '2016-02-02', 135, 95, 108.3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-02-02 08:04:32', 57),
(62, 170, 26.7, 1795, '2016-02-02', 130, 100, 110, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-02-02 08:27:21', 58),
(63, NULL, NULL, NULL, '2016-02-02', 130, 90, 103.3, NULL, NULL, NULL, 12, '2016-02-03', 50, 120, 140, '2016-02-03', '2016-02-02 11:26:10', 59),
(64, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-02-02 13:35:52', 60),
(65, 26, 4.1, 919.9, '2016-03-05', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-03-05 05:05:14', 61),
(66, 176, 26.1, 1850.1, '2016-08-29', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-05-11 09:00:08', 66),
(68, 187, 30.1, 1854.9, '2016-07-20', 145, 100, 115, NULL, NULL, NULL, NULL, NULL, 50, 150, 170, '2016-07-21', '2016-07-20 13:04:34', 69),
(69, 141, 22.7, 1575.5, '2016-07-22', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 70, 80, 165, '2016-07-21', '2016-07-21 12:22:30', 70),
(70, 145, 23.3, 1599.7, '2016-07-23', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-07-21 13:11:35', 71),
(71, 154, 24.8, 1654.4, '2016-07-22', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 70, 120, 180, '2016-07-22', '2016-07-21 13:51:57', 68),
(72, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-07-22 12:09:42', 69),
(73, 141, 22.7, 1575.5, '2016-07-22', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-07-22 12:09:52', 70),
(74, 145, 23.3, 1599.7, '2016-07-23', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-07-22 12:29:24', 71),
(75, 141, 22.7, 1575.5, '2016-07-23', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-07-23 06:45:27', 72),
(76, 141, 22.7, 1575.5, '2016-07-23', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-07-23 07:18:37', 73),
(77, 154, 24.8, 1654.4, '2016-07-23', 120, 80, 93.3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-07-23 07:19:31', 74),
(78, NULL, NULL, NULL, '2016-07-23', 120, 80, 93.3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-07-23 10:22:45', 75),
(79, NULL, NULL, NULL, '2016-07-23', 119, 79, 92.3, NULL, NULL, NULL, 9, '2016-07-23', NULL, NULL, NULL, NULL, '2016-07-23 11:23:45', 76),
(80, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 9, '2016-07-23', 60, 99, 149, '2016-07-25', '2016-07-23 12:28:00', 77),
(81, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 60, 110, 149, '2016-07-25', '2016-07-25 06:46:14', 78),
(82, NULL, NULL, NULL, '2016-07-25', 135, 79, 97.7, NULL, NULL, NULL, NULL, NULL, 65, 90, 160, '2016-07-25', '2016-07-25 11:28:39', 79),
(83, 141, 22.7, 1575.5, '2016-07-25', 119, 79, 92.3, NULL, NULL, NULL, 9, '2016-07-25', 65, 90, 160, '2016-07-25', '2016-07-25 12:11:41', 80),
(84, 143, 21.4, 1644.7, '2016-08-30', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-08-30 05:01:10', 81),
(85, 143, 21.4, 1644.7, '2016-08-30', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-08-30 05:33:16', 82),
(86, 165.35, 25.9, 1761.4, '2016-11-17', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2016-11-17 06:10:59', 83),
(87, NULL, NULL, NULL, '2016-11-17', 135, 110, 118.3, NULL, NULL, NULL, 20, '2016-11-18', NULL, NULL, NULL, NULL, '2016-11-17 12:38:11', 84);

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

--
-- Table structure for table `th_bmbg`
--

CREATE TABLE IF NOT EXISTS `th_bmbg` (
  `bmbg_id` int(11) NOT NULL AUTO_INCREMENT,
  `bmbg_cdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `bmbg_a1c` float DEFAULT NULL,
  `reading_source` varchar(255) DEFAULT NULL,
  `source_type` varchar(50) DEFAULT 'M' COMMENT 'M ->Mannual,HV-> Health Vault, coach, HC-> Health Center',
  `hv_person_id` varchar(100) DEFAULT 'WP' COMMENT 'A-> Android, I->Iphone, W-> Wondows, WP-> Web Portal',
  PRIMARY KEY (`bmbg_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=119 ;

--
-- Dumping data for table `th_bmbg`
--

INSERT INTO `th_bmbg` (`bmbg_id`, `bmbg_cdate`, `rgs_id_fkx`, `bmbg_a1c`, `reading_source`, `source_type`, `hv_person_id`) VALUES
(1, '2012-07-02 04:47:48', 1, 10.5, NULL, 'M', NULL),
(2, '2012-07-27 04:53:12', 1, 8, NULL, 'M', NULL),
(3, '2012-08-02 07:55:31', 1, 4.5, NULL, 'M', NULL),
(4, '2012-08-06 05:41:28', 1, 8, NULL, 'M', NULL),
(5, '2012-08-11 08:41:28', 1, 7, NULL, 'M', NULL),
(6, '2012-08-14 12:17:04', 1, 7, NULL, 'M', NULL),
(7, '2012-08-16 11:57:24', 7, 7, NULL, 'M', NULL),
(8, '2012-08-16 12:10:18', 1, 7, NULL, 'M', NULL),
(9, '2012-08-17 12:40:11', 1, 10, NULL, 'M', NULL),
(10, '2012-08-30 11:52:50', 7, 7, NULL, 'M', NULL),
(11, '2012-08-30 12:23:31', 1, 12, NULL, 'M', NULL),
(12, '2012-09-03 05:52:25', 23, 7, NULL, 'M', NULL),
(13, '2012-09-10 10:50:47', 1, 12, NULL, 'M', NULL),
(15, '2012-09-25 08:46:27', 7, 5.6, NULL, 'M', NULL),
(16, '2012-09-26 06:59:01', 17, 12, NULL, 'M', NULL),
(17, '2012-10-27 09:20:27', 17, 7, NULL, 'M', NULL),
(18, '2012-11-23 11:30:54', 17, 6, NULL, 'M', NULL),
(19, '2012-11-27 13:10:31', 55, 8, NULL, 'M', NULL),
(20, '2012-12-01 08:20:16', 1, 10, NULL, 'M', NULL),
(21, '2012-12-01 09:04:31', 63, 6, NULL, 'M', NULL),
(23, '2013-03-30 11:54:59', 81, 5, NULL, 'M', NULL),
(24, '2013-02-15 12:05:42', 1, 8, NULL, 'M', NULL),
(25, '2013-03-21 11:19:32', 1, 7, NULL, 'M', NULL),
(26, '2013-03-22 04:40:51', 1, 6, NULL, 'M', NULL),
(27, '2013-03-23 07:21:05', 1, 9, NULL, 'M', NULL),
(28, '2013-03-26 11:03:03', 1, 7, NULL, 'M', NULL),
(29, '2013-03-30 11:28:06', 1, 8, NULL, 'M', NULL),
(30, '2013-04-01 09:18:18', 1, 9, NULL, 'M', NULL),
(31, '2013-04-02 08:34:19', 1, 3, NULL, 'M', NULL),
(32, '2013-04-22 13:28:11', 1, 7, NULL, 'M', NULL),
(33, '2013-04-23 11:04:58', 1, 7, NULL, 'M', NULL),
(34, '2013-04-26 13:37:24', 1, 12, NULL, 'M', NULL),
(35, '2013-04-29 12:05:35', 1, 7, NULL, 'M', NULL),
(36, '2013-04-30 13:29:17', 1, 12, 'AONEC Device', 'HV', NULL),
(37, '2013-05-01 09:17:36', 1, 7, NULL, 'M', NULL),
(38, '2013-05-01 12:50:34', 41, 7, NULL, 'M', NULL),
(39, '2013-05-03 05:05:41', 1, 6, NULL, 'M', NULL),
(40, '2013-05-03 08:52:42', 39, 7, NULL, 'M', NULL),
(41, '2013-05-06 11:45:50', 76, 7, NULL, 'M', NULL),
(42, '2013-05-09 12:02:57', 1, 6, NULL, 'M', NULL),
(43, '2013-05-10 05:36:31', 1, 7, NULL, 'M', NULL),
(44, '2013-05-10 13:36:01', 49, 9, NULL, 'M', NULL),
(45, '2013-05-13 08:04:59', 1, 8, NULL, 'M', NULL),
(46, '2013-05-13 13:03:03', 19, 6, NULL, 'M', NULL),
(47, '2013-05-14 05:36:50', 1, 9, NULL, 'M', NULL),
(48, '2013-05-14 08:23:49', 18, 9, NULL, 'M', NULL),
(49, '2013-05-15 08:00:00', 81, 6, NULL, 'M', NULL),
(50, '2013-05-16 08:38:40', 1, 9, NULL, 'M', NULL),
(51, '2013-05-23 10:00:21', 1, 7, NULL, 'M', NULL),
(53, '2013-05-25 06:56:54', 1, 8, NULL, 'M', NULL),
(60, '2013-08-03 11:18:40', 1, 4, '1', 'HC', NULL),
(63, '2013-08-05 06:24:41', 1, 12, '1', 'HC', NULL),
(64, '2013-11-01 18:30:00', 1, 7, NULL, 'coach', '41'),
(65, '2014-02-24 08:59:08', 1, 4.3, NULL, 'M', NULL),
(66, '2014-04-14 12:03:29', 1, 4.75, NULL, 'M', NULL),
(68, '2014-04-21 09:51:00', 1, 4.5, NULL, 'M', NULL),
(69, '2014-05-07 09:00:00', 1, 18, NULL, 'M', NULL),
(70, '2014-05-12 07:30:09', 1, 10, NULL, 'M', NULL),
(87, '2014-07-03 05:59:03', 1, 15, NULL, 'M', NULL),
(88, '2014-07-24 05:57:49', 7, 25, '2', 'HC', NULL),
(89, '2014-07-24 07:57:22', 11, 12, NULL, 'M', NULL),
(90, '2014-04-25 08:08:00', 11, 12, NULL, 'M', NULL),
(91, '2014-09-15 11:04:13', 81, 2.5, NULL, 'M', NULL),
(92, '2014-09-18 12:25:53', 1, 10, '9', 'HC', NULL),
(93, '2014-08-30 12:02:45', 1, 9.5, NULL, 'coach', '41'),
(94, '2014-08-16 11:37:55', 1, 9, NULL, 'coach', '98'),
(95, '2015-01-20 11:44:41', 1, 12, NULL, 'coach', '98'),
(96, '2015-02-20 11:45:12', 1, 11.5, NULL, 'coach', '98'),
(97, '2015-03-20 11:45:24', 1, 10, NULL, 'coach', '98'),
(98, '2015-06-09 12:36:21', 1, 0, NULL, 'M', NULL),
(99, '2015-06-24 12:01:00', 1, 7.5, NULL, 'M', NULL),
(100, '2015-07-02 10:32:08', 1, 8, NULL, 'M', NULL),
(102, '2015-10-16 10:40:48', 1, 6, NULL, 'M', NULL),
(103, '2016-01-04 12:43:39', 107, 4.5, NULL, 'M', NULL),
(104, '2016-01-22 06:42:19', 1, 6, NULL, 'M', NULL),
(105, '2016-02-29 11:11:11', 1, 5, NULL, 'M', 'A'),
(106, '2016-03-04 10:16:53', 107, 65, NULL, 'M', 'A'),
(107, '2016-05-13 13:30:39', 1, 5, NULL, 'M', 'A'),
(108, '2016-05-17 08:11:29', 1, 10, NULL, 'M', 'A'),
(109, '2016-05-24 13:46:59', 1, 8, NULL, 'M', 'A'),
(115, '2016-07-25 12:12:47', 132, 9, NULL, 'M', 'WP'),
(116, '2016-08-31 06:34:15', 1, 7, NULL, 'M', 'WP'),
(117, '2016-11-17 13:39:49', 143, 11, NULL, 'M', 'WP'),
(118, '2016-11-18 08:22:40', 143, 20, NULL, 'M', 'WP');

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

--
-- Table structure for table `th_bmbghv`
--

CREATE TABLE IF NOT EXISTS `th_bmbghv` (
  `bmbg_id` int(11) NOT NULL AUTO_INCREMENT,
  `bmbg_cdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `bmbg_reading` float DEFAULT NULL COMMENT 'in mg/dL',
  `bmbg_context` varchar(30) DEFAULT NULL,
  `bmbg_rtime` time DEFAULT NULL,
  `reading_source` varchar(255) DEFAULT NULL,
  `source_type` varchar(50) DEFAULT 'M' COMMENT 'M ->Mannual,HV-> Health Vault',
  `hv_person_id` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`bmbg_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=27 ;

--
-- Dumping data for table `th_bmbghv`
--

INSERT INTO `th_bmbghv` (`bmbg_id`, `bmbg_cdate`, `rgs_id_fkx`, `bmbg_reading`, `bmbg_context`, `bmbg_rtime`, `reading_source`, `source_type`, `hv_person_id`) VALUES
(1, '2012-07-13 18:30:00', 1, 109, 'AM', '10:00:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(2, '2012-08-03 18:30:00', 1, 105, 'BM', '02:40:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(3, '2012-08-03 18:30:00', 1, 100.8, 'AM', '03:30:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(4, '2012-08-04 18:30:00', 1, 150, 'BM', '02:40:00', '12yqqtyw76u', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(5, '2012-07-13 18:30:00', 23, 109, 'AM', '10:00:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(6, '2012-07-13 18:30:00', 23, 109, 'AM', '10:00:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(7, '2012-07-13 18:30:00', 23, 109, 'AM', '10:00:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(8, '2012-07-13 18:30:00', 23, 109, 'AM', '10:00:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(9, '2012-07-13 18:30:00', 23, 109, 'AM', '10:00:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(10, '2012-07-13 18:30:00', 23, 109, 'AM', '10:00:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(11, '2012-07-13 18:30:00', 23, 109, 'AM', '10:00:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(12, '2012-08-01 18:30:00', 23, 100.8, 'AM', '03:30:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(13, '2012-08-01 18:30:00', 23, 100.8, 'AM', '03:30:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(14, '2012-08-01 18:30:00', 23, 100.8, 'AM', '03:30:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(15, '2012-08-01 18:30:00', 23, 100.8, 'AM', '03:30:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(16, '2012-08-01 18:30:00', 23, 100.8, 'AM', '03:30:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(17, '2012-08-01 18:30:00', 23, 100.8, 'AM', '03:30:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(18, '2012-08-03 18:30:00', 23, 105, 'BM', '02:40:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(19, '2012-08-03 18:30:00', 23, 105, 'BM', '02:40:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(20, '2012-08-03 18:30:00', 23, 105, 'BM', '02:40:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(21, '2012-08-03 18:30:00', 23, 105, 'BM', '02:40:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(22, '2012-08-03 18:30:00', 23, 105, 'BM', '02:40:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(23, '2012-08-03 18:30:00', 23, 105, 'BM', '02:40:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(24, '2012-08-03 18:30:00', 23, 105, 'BM', '02:40:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(25, '2012-08-03 18:30:00', 23, 100.8, 'AM', '03:30:00', '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(26, '2012-08-04 18:30:00', 23, 150, 'BM', '02:40:00', '12yqqtyw76u', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612');

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

--
-- Table structure for table `th_bmbg_new`
--

CREATE TABLE IF NOT EXISTS `th_bmbg_new` (
  `bmbg_id` int(11) NOT NULL AUTO_INCREMENT,
  `bmbg_cdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `bmbg_reading` float DEFAULT NULL COMMENT 'in mg/dL',
  `bmbg_context` varchar(30) DEFAULT NULL,
  `bmbg_rtime` time DEFAULT NULL,
  `reading_source` varchar(255) DEFAULT NULL,
  `source_type` varchar(50) DEFAULT 'M' COMMENT 'M ->Mannual,HV-> Health Vault, coach, HC-> Health Center',
  `hv_person_id` varchar(100) DEFAULT 'WP' COMMENT 'WP-> Web Portal',
  PRIMARY KEY (`bmbg_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=249 ;

--
-- Dumping data for table `th_bmbg_new`
--

INSERT INTO `th_bmbg_new` (`bmbg_id`, `bmbg_cdate`, `rgs_id_fkx`, `bmbg_reading`, `bmbg_context`, `bmbg_rtime`, `reading_source`, `source_type`, `hv_person_id`) VALUES
(1, '2012-08-03 09:36:58', 1, 120, 'BE', '15:30:00', NULL, 'M', NULL),
(2, '2012-08-03 10:45:56', 1, 100.8, 'AE', '14:00:00', NULL, 'M', NULL),
(3, '2012-08-04 09:18:47', 1, 78, 'BM', '00:00:00', NULL, 'M', NULL),
(4, '2012-08-04 10:41:21', 7, 120, 'BM', '00:00:00', NULL, 'M', NULL),
(5, '2012-08-04 10:49:54', 1, 78, 'AE', '00:00:00', NULL, 'M', NULL),
(7, '2012-08-04 10:50:08', 1, 78, 'AM', '00:00:00', NULL, 'M', NULL),
(8, '2012-08-04 11:09:33', 1, 12, 'BE', '23:30:00', NULL, 'M', NULL),
(11, '2012-08-06 05:36:19', 1, 120, 'BE', '08:00:00', NULL, 'M', NULL),
(12, '2012-08-06 05:36:35', 1, 120, 'BM', '00:00:00', NULL, 'M', NULL),
(13, '2012-08-06 06:05:04', 1, 56, 'BE', '05:00:00', NULL, 'M', NULL),
(14, '2012-08-06 06:08:24', 1, 120, 'BE', '00:00:00', NULL, 'M', NULL),
(15, '2012-08-06 06:08:35', 1, 40, 'BE', '00:00:00', NULL, 'M', NULL),
(16, '2012-08-06 06:11:07', 1, 120, 'BE', '00:00:00', NULL, 'M', NULL),
(17, '2012-08-06 06:12:28', 1, 120, 'BE', '00:00:00', NULL, 'M', NULL),
(18, '2012-08-08 07:24:26', 1, 9, 'BE', '10:00:00', NULL, 'M', NULL),
(19, '2012-08-08 10:28:31', 1, 9, 'BE', '00:00:00', NULL, 'M', NULL),
(20, '2012-08-09 04:21:01', 1, 12, 'BE', '09:30:00', NULL, 'M', NULL),
(21, '2012-08-09 04:54:46', 1, 11, 'AE', '23:30:00', NULL, 'M', NULL),
(22, '2012-08-10 05:15:27', 1, 45, 'BE', '09:00:00', NULL, 'M', NULL),
(23, '2012-08-10 05:21:56', 1, 100, 'AE', '01:11:00', NULL, 'M', NULL),
(24, '2012-08-10 06:06:33', 1, 50, 'BM', '10:38:00', NULL, 'M', NULL),
(25, '2012-08-10 06:50:21', 1, 45, 'BE', '05:20:00', NULL, 'M', NULL),
(26, '2012-08-11 08:41:00', 1, 120, 'BM', '02:10:00', NULL, 'M', NULL),
(27, '2012-08-11 12:23:24', 7, 120, 'DK', '05:53:00', NULL, 'M', NULL),
(28, '2012-08-16 11:57:11', 7, 120, 'AE', '05:27:00', NULL, 'M', NULL),
(29, '2012-08-17 12:39:50', 1, 140, 'AE', '06:09:00', NULL, 'M', NULL),
(30, '2012-08-30 12:23:41', 1, 100, 'BM', '05:53:00', NULL, 'M', NULL),
(31, '2012-09-05 08:56:52', 1, 150, 'BE', '02:26:00', NULL, 'M', NULL),
(32, '2012-09-06 07:04:25', 1, 120, 'BE', '12:34:00', NULL, 'M', NULL),
(33, '2012-09-07 11:49:16', 1, 140, 'BM', '05:18:00', NULL, 'M', NULL),
(35, '2012-09-12 03:59:20', 1, 120, 'BM', '09:29:00', NULL, 'M', NULL),
(36, '2012-09-13 06:22:35', 7, 120, 'BE', '11:52:00', NULL, 'M', NULL),
(37, '2012-09-13 06:22:44', 7, 120, 'AE', '11:52:00', NULL, 'M', NULL),
(38, '2012-09-13 06:22:58', 7, 142, 'BM', '11:52:00', NULL, 'M', NULL),
(39, '2012-09-13 06:23:10', 7, 145, 'AM', '11:53:00', NULL, 'M', NULL),
(40, '2012-09-13 06:23:25', 7, 110, 'DK', '02:53:00', NULL, 'M', NULL),
(41, '2012-09-13 06:23:44', 7, 111, 'BE', '05:53:00', NULL, 'M', NULL),
(42, '2012-09-13 07:56:48', 1, 120, 'AM', '01:28:00', NULL, 'M', NULL),
(43, '2012-09-13 08:00:05', 1, 122, 'AE', '01:30:00', NULL, 'M', NULL),
(44, '2012-09-13 08:00:36', 1, 125, 'BM', '01:39:00', NULL, 'M', NULL),
(45, '2012-09-13 08:01:22', 1, 140, 'AM', '01:31:00', NULL, 'M', NULL),
(46, '2012-09-13 08:01:35', 1, 150, 'DK', '01:31:00', NULL, 'M', NULL),
(47, '2012-09-13 10:57:04', 23, 80, 'BE', '04:28:00', NULL, 'M', NULL),
(48, '2012-09-13 10:57:28', 23, 90, 'AE', '04:32:00', NULL, 'M', NULL),
(49, '2012-09-13 10:57:52', 23, 110, 'BM', '09:27:00', NULL, 'M', NULL),
(50, '2012-09-13 10:58:08', 23, 120, 'AM', '11:27:00', NULL, 'M', NULL),
(51, '2012-09-13 10:58:23', 23, 40, 'DK', '02:28:00', NULL, 'M', NULL),
(52, '2012-09-22 07:14:05', 17, 120, 'BE', '12:43:00', NULL, 'M', NULL),
(53, '2012-09-22 11:57:04', 65, 33, 'AE', '05:26:00', NULL, 'M', NULL),
(54, '2012-09-25 08:52:34', 7, 105, 'BM', '02:22:00', NULL, 'M', NULL),
(55, '2012-09-26 08:42:11', 1, 110, 'BE', '02:11:00', NULL, 'M', NULL),
(56, '2012-10-03 13:00:24', 17, 120, 'BE', '06:30:00', NULL, 'M', NULL),
(57, '2012-10-03 13:01:10', 17, 100, 'AE', '12:15:00', NULL, 'M', NULL),
(58, '2012-10-27 09:20:27', 17, 70, 'BE', NULL, NULL, 'M', NULL),
(59, '2012-10-27 09:20:27', 17, 85, 'AE', NULL, NULL, 'M', NULL),
(60, '2012-10-27 09:20:27', 17, 100, 'BM', NULL, NULL, 'M', NULL),
(61, '2012-10-27 09:20:27', 17, 105, 'AM', NULL, NULL, 'M', NULL),
(62, '2012-10-29 13:00:31', 17, 80, 'BE', NULL, NULL, 'M', NULL),
(63, '2012-11-23 11:30:54', 17, 45, 'BE', NULL, NULL, 'M', NULL),
(64, '2012-11-27 13:10:22', 55, 120, 'BE', '06:40:00', NULL, 'M', NULL),
(65, '2012-12-12 11:56:43', 81, 56, 'BE', '05:50:00', NULL, 'M', NULL),
(66, '2013-02-15 12:03:56', 1, 99, 'BE', '05:33:00', NULL, 'M', NULL),
(67, '2013-02-15 12:04:17', 1, 99, 'BM', '05:34:00', NULL, 'M', NULL),
(68, '2013-02-15 12:04:07', 1, 111, 'AE', '05:34:00', NULL, 'M', NULL),
(69, '2013-02-15 12:04:26', 1, 100, 'AM', '05:34:00', NULL, 'M', NULL),
(70, '2013-02-15 10:10:22', 81, 3, 'AE', '03:40:00', NULL, 'M', NULL),
(71, '2013-02-16 06:12:57', 1, 110, 'BE', '11:42:00', NULL, 'M', NULL),
(72, '2013-02-16 05:57:56', 1, 110, 'AE', '11:27:00', NULL, 'M', NULL),
(73, '2013-02-16 05:58:21', 1, 110, 'BM', '11:28:00', NULL, 'M', NULL),
(74, '2013-02-16 05:58:33', 1, 110, 'AM', '11:28:00', NULL, 'M', NULL),
(75, '2013-03-12 05:07:08', 81, 95, 'BE', '06:36:00', NULL, 'M', NULL),
(76, '2013-03-12 05:07:28', 81, 92, 'AE', '07:37:00', NULL, 'M', NULL),
(77, '2013-03-21 10:32:12', 1, 57, 'BE', '04:02:00', NULL, 'M', NULL),
(78, '2013-03-21 11:19:25', 1, 89, 'AE', '04:49:00', NULL, 'M', NULL),
(79, '2013-03-22 04:40:25', 1, 140, 'BM', '10:10:00', NULL, 'M', NULL),
(80, '2013-03-23 13:30:10', 1, 140, 'AE', '07:00:00', NULL, 'M', NULL),
(81, '2013-03-26 11:03:12', 1, 140, 'BM', '04:33:00', NULL, 'M', NULL),
(82, '2013-03-26 09:40:05', 1, 140, 'AM', '03:09:00', NULL, 'M', NULL),
(83, '2013-03-30 11:27:55', 1, 188, 'BE', '04:57:00', NULL, 'M', NULL),
(84, '2013-04-01 09:18:03', 1, 140, 'BE', '02:48:00', NULL, 'M', NULL),
(85, '2013-04-02 07:34:45', 1, 79, 'BE', '01:04:00', NULL, 'M', NULL),
(86, '2013-04-22 13:28:07', 1, 56, 'BE', '06:58:00', NULL, 'M', NULL),
(87, '2013-04-22 09:47:28', 1, 77, 'AE', '03:17:00', NULL, 'M', NULL),
(88, '2013-04-23 11:04:50', 1, 66, 'AE', '04:34:00', NULL, 'M', NULL),
(89, '2013-04-26 13:36:48', 1, 41, 'AE', '08:13:00', NULL, 'M', NULL),
(90, '2013-04-29 12:05:29', 1, 77, 'BE', '05:35:00', NULL, 'M', NULL),
(91, '2013-05-01 09:17:30', 1, 140, 'BE', '02:47:00', NULL, 'M', NULL),
(92, '2013-05-01 13:44:25', 41, 127, 'BE', '07:14:00', NULL, 'M', NULL),
(93, '2013-05-02 05:01:37', 1, 126, 'BE', '10:31:00', NULL, 'M', NULL),
(94, '2013-05-02 05:02:37', 1, 126, 'AE', '10:32:00', NULL, 'M', NULL),
(95, '2013-05-03 05:05:24', 1, 55, 'BE', '10:35:00', NULL, 'M', NULL),
(96, '2013-05-03 08:52:25', 39, 140, 'AE', '02:22:00', NULL, 'M', NULL),
(97, '2013-05-03 08:53:37', 39, 66, 'BE', '02:23:00', NULL, 'M', NULL),
(98, '2013-05-06 11:45:46', 76, 66, 'BE', '05:15:00', NULL, 'M', NULL),
(99, '2013-05-10 05:36:12', 1, 88, 'AE', '11:06:00', NULL, 'M', NULL),
(100, '2013-05-10 05:36:25', 1, 88, 'BE', '11:06:00', NULL, 'M', NULL),
(101, '2013-05-10 08:31:58', 49, 44, 'BE', '02:01:00', NULL, 'M', NULL),
(102, '2013-05-10 13:35:53', 49, 99, 'BM', '07:05:00', NULL, 'M', NULL),
(103, '2013-05-13 08:03:54', 1, 33, 'BE', '01:33:00', NULL, 'M', NULL),
(104, '2013-05-13 08:04:03', 1, 33, 'AE', '01:34:00', NULL, 'M', NULL),
(105, '2013-05-13 08:31:02', 1, 140, 'BM', '02:00:00', NULL, 'M', NULL),
(106, '2013-05-13 08:04:25', 1, 140, 'AM', '01:34:00', NULL, 'M', NULL),
(107, '2013-05-13 08:04:33', 1, 99, 'DK', '01:34:00', NULL, 'M', NULL),
(108, '2013-05-14 05:36:39', 1, 167, 'BM', '11:06:00', NULL, 'M', NULL),
(109, '2013-05-14 08:23:15', 18, 55, 'BM', '01:53:00', NULL, 'M', NULL),
(110, '2013-05-16 08:38:27', 1, 140, 'BM', '02:08:00', NULL, 'M', NULL),
(111, '2013-05-22 05:57:00', 65, 33, 'AE', '02:26:00', NULL, 'M', NULL),
(112, '2013-05-23 10:00:12', 1, 155, 'BM', '03:30:00', NULL, 'M', NULL),
(114, '2013-05-25 06:56:50', 1, 67, 'BM', '12:26:00', NULL, 'M', NULL),
(130, '2013-08-03 11:47:44', 1, 34, 'BE', '17:17:44', '1', 'HC', NULL),
(131, '2013-08-03 11:47:44', 1, 12, 'AE', '17:17:44', '1', 'HC', NULL),
(132, '2013-08-03 11:47:44', 1, 43, 'BM', '17:17:44', '1', 'HC', NULL),
(133, '2013-08-03 11:47:44', 1, 32, 'AM', '17:17:44', '1', 'HC', NULL),
(134, '2013-08-05 04:55:25', 1, 45, 'BE', '10:25:00', NULL, 'M', NULL),
(135, '2013-08-05 06:34:10', 1, 54, 'AE', '12:02:00', NULL, 'M', NULL),
(136, '2013-08-05 06:24:41', 1, 34, 'BE', '11:54:41', '1', 'HC', NULL),
(137, '2013-08-05 06:24:41', 1, 34, 'AE', '11:54:41', '1', 'HC', NULL),
(138, '2013-08-05 06:24:41', 1, 23, 'BM', '11:54:41', '1', 'HC', NULL),
(139, '2013-08-05 06:24:41', 1, 34, 'AM', '11:54:41', '1', 'HC', NULL),
(140, '2013-11-20 18:30:00', 1, 105, 'BM', NULL, NULL, 'coach', '41'),
(141, '2013-11-20 18:30:00', 1, 130, 'AM', NULL, NULL, 'coach', '41'),
(143, '2013-12-07 10:34:46', 1, 105, 'BM', '04:04:00', NULL, 'M', NULL),
(144, '2013-12-07 10:34:46', 1, 120, 'AM', '04:04:00', NULL, 'M', NULL),
(145, '2014-02-24 08:58:15', 1, 90, 'BE', '02:27:00', NULL, 'M', NULL),
(146, '2014-04-09 12:03:28', 1, 100, 'BM', '05:33:00', NULL, 'M', NULL),
(147, '2014-04-09 12:03:59', 1, 120, 'AM', '05:33:00', NULL, 'M', NULL),
(148, '2014-04-10 05:21:31', 1, 100, 'BE', '10:51:00', NULL, 'M', NULL),
(149, '2014-04-12 07:38:49', 1, 120, 'AE', '01:08:00', NULL, 'M', NULL),
(150, '2014-04-14 10:07:25', 1, 85, 'BE', NULL, NULL, 'M', NULL),
(151, '2014-04-14 10:07:25', 1, 90, 'AE', NULL, NULL, 'M', NULL),
(152, '2014-04-14 10:07:25', 1, 90, 'BM', NULL, NULL, 'M', NULL),
(153, '2014-04-14 10:07:25', 1, 120, 'AM', NULL, NULL, 'M', NULL),
(158, '2014-04-19 12:30:00', 1, 85, 'BM', NULL, NULL, 'M', NULL),
(159, '2014-04-19 12:30:00', 1, 115, 'AM', NULL, NULL, 'M', NULL),
(160, '2014-05-06 07:28:00', 1, 105, 'BM', NULL, NULL, 'M', NULL),
(161, '2014-05-06 07:28:00', 1, 125, 'AM', NULL, NULL, 'M', NULL),
(162, '2014-06-23 10:28:18', 1, 25, 'BM', NULL, NULL, 'M', NULL),
(163, '2014-06-23 10:28:18', 1, 25, 'AM', NULL, NULL, 'M', NULL),
(164, '2014-07-03 06:44:27', 1, 23, 'BM', NULL, NULL, 'M', NULL),
(165, '2014-07-03 06:44:27', 1, 43, 'AM', NULL, NULL, 'M', NULL),
(186, '2014-07-23 13:15:33', 1, 0, 'BE', '18:45:33', '2', 'HC', NULL),
(187, '2014-07-23 13:15:33', 1, 0, 'AE', '18:45:33', '2', 'HC', NULL),
(188, '2014-07-23 13:15:33', 1, 35, 'BM', '18:45:33', '2', 'HC', NULL),
(189, '2014-07-23 13:15:33', 1, 0, 'AM', '18:45:33', '2', 'HC', NULL),
(190, '2014-07-24 05:57:49', 7, 0, 'BE', '11:27:49', '2', 'HC', NULL),
(191, '2014-07-24 05:57:49', 7, 0, 'AE', '11:27:49', '2', 'HC', NULL),
(192, '2014-07-24 05:57:49', 7, 60, 'BM', '11:27:49', '2', 'HC', NULL),
(193, '2014-07-24 05:57:49', 7, 50, 'AM', '11:27:49', '2', 'HC', NULL),
(194, '2014-09-18 12:25:53', 1, 0, 'BE', '17:55:53', '9', 'HC', NULL),
(195, '2014-09-18 12:25:53', 1, 0, 'AE', '17:55:53', '9', 'HC', NULL),
(196, '2014-09-18 12:25:53', 1, 110, 'BM', '17:55:53', '9', 'HC', NULL),
(197, '2014-09-18 12:25:53', 1, 140, 'AM', '17:55:53', '9', 'HC', NULL),
(199, '2014-08-16 05:25:32', 1, 90, 'BM', NULL, NULL, 'coach', '98'),
(200, '2014-08-16 05:25:32', 1, 120, 'AM', NULL, NULL, 'coach', '98'),
(201, '2015-02-01 05:31:38', 1, 115, 'BM', NULL, NULL, 'coach', '98'),
(202, '2015-02-01 05:31:38', 1, 145, 'AM', NULL, NULL, 'coach', '98'),
(203, '2015-02-15 05:31:47', 1, 110, 'BM', NULL, NULL, 'coach', '98'),
(204, '2015-02-15 05:31:47', 1, 135, 'AM', NULL, NULL, 'coach', '98'),
(205, '2015-03-01 06:05:01', 1, 105, 'BM', NULL, NULL, 'coach', '98'),
(206, '2015-03-01 06:05:02', 1, 130, 'AM', NULL, NULL, 'coach', '98'),
(207, '2015-03-08 06:17:51', 1, 105, 'BM', NULL, NULL, 'coach', '98'),
(208, '2015-03-08 06:17:51', 1, 125, 'AM', NULL, NULL, 'coach', '98'),
(209, '2015-07-02 10:32:33', 1, 105, 'BM', NULL, NULL, 'M', NULL),
(210, '2015-07-02 10:32:33', 1, 140, 'AM', NULL, NULL, 'M', NULL),
(211, '2015-10-17 06:40:58', 1, 105, 'BM', NULL, NULL, 'M', NULL),
(212, '2015-10-17 06:40:58', 1, 130, 'AM', NULL, NULL, 'M', NULL),
(213, '2016-01-22 06:46:35', 1, 105, 'BM', NULL, NULL, 'M', NULL),
(214, '2016-01-22 06:46:35', 1, 120, 'AM', NULL, NULL, 'M', NULL),
(215, '2016-02-29 10:56:35', 1, 120, 'BM', NULL, NULL, 'M', 'A'),
(216, '2016-02-29 10:56:35', 1, 100, 'AM', NULL, NULL, 'M', 'A'),
(217, '2016-03-04 08:33:33', 107, 25, 'BM', NULL, NULL, 'M', 'A'),
(218, '2016-03-04 08:33:33', 107, 35, 'AM', NULL, NULL, 'M', 'A'),
(219, '2016-03-05 13:33:11', 114, 2, 'BM', NULL, NULL, 'M', 'A'),
(220, '2016-03-05 13:33:11', 114, 5, 'AM', NULL, NULL, 'M', 'A'),
(221, '2016-05-10 07:30:28', 1, 134, 'BM', NULL, NULL, 'M', 'WP'),
(222, '2016-05-10 07:30:28', 1, 78, 'AM', NULL, NULL, 'M', 'WP'),
(223, '2016-05-19 13:01:37', 1, 135, 'BM', NULL, NULL, 'M', 'A'),
(224, '2016-05-19 13:01:37', 1, 205, 'AM', NULL, NULL, 'M', 'A'),
(225, '2016-05-20 08:21:47', 1, 160, 'BM', NULL, NULL, 'M', 'A'),
(226, '2016-05-20 08:21:47', 1, 160, 'AM', NULL, NULL, 'M', 'A'),
(227, '2016-05-24 13:48:05', 1, 95, 'BM', NULL, NULL, 'M', 'A'),
(228, '2016-05-24 13:48:05', 1, 130, 'AM', NULL, NULL, 'M', 'A'),
(243, '2016-07-19 06:49:19', 132, 500, 'BM', NULL, NULL, 'M', 'A'),
(244, '2016-07-19 06:49:19', 132, 600, 'AM', NULL, NULL, 'M', 'A'),
(245, '2016-07-19 12:06:38', 1, 200, 'BM', NULL, NULL, 'M', 'A'),
(246, '2016-07-19 12:06:38', 1, 300, 'AM', NULL, NULL, 'M', 'A'),
(247, '2016-08-31 05:06:29', 1, 140, 'BM', NULL, NULL, 'M', 'WP'),
(248, '2016-08-31 05:06:29', 1, 180, 'AM', NULL, NULL, 'M', 'WP');

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

--
-- Table structure for table `th_bmbp`
--

CREATE TABLE IF NOT EXISTS `th_bmbp` (
  `bmbp_id` int(11) NOT NULL AUTO_INCREMENT,
  `bmbp_cdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `bmbp_systolic` float DEFAULT NULL,
  `bmbp_diastolic` float DEFAULT NULL,
  `bmbp_map` float DEFAULT NULL,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `reading_source` varchar(255) DEFAULT NULL,
  `source_type` varchar(50) DEFAULT 'M' COMMENT 'M ->Mannual,HV-> Health Vault, coach, HC-> Health Center',
  `hv_person_id` varchar(100) DEFAULT 'WP' COMMENT 'A-> Android, I->Iphone, W-> Wondows, WP-> Web Portal',
  PRIMARY KEY (`bmbp_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=165 ;

--
-- Dumping data for table `th_bmbp`
--

INSERT INTO `th_bmbp` (`bmbp_id`, `bmbp_cdate`, `bmbp_systolic`, `bmbp_diastolic`, `bmbp_map`, `rgs_id_fkx`, `reading_source`, `source_type`, `hv_person_id`) VALUES
(1, '2012-07-25 09:15:16', 121, 82, 95, 1, NULL, 'M', NULL),
(2, '2012-07-26 09:16:31', 152, 118, 50.7, 1, NULL, 'M', NULL),
(3, '2012-07-27 09:17:10', 180, 135, 60, 1, NULL, 'M', NULL),
(4, '2012-07-28 09:23:51', 150, 125, 133.3, 1, NULL, 'M', NULL),
(5, '2012-08-01 06:34:15', 140, 105, 116.7, 1, NULL, 'M', NULL),
(6, '2012-08-06 05:27:46', 120, 90, 100, 1, NULL, 'M', NULL),
(7, '2012-08-06 09:02:05', 120, 90, 100, 7, NULL, 'M', NULL),
(8, '2012-08-07 05:00:26', 120, 80, 93.3, 1, NULL, 'M', NULL),
(10, '2012-08-08 05:01:01', 118, 95, 102.7, 1, NULL, 'M', NULL),
(11, '2012-08-09 05:07:04', 110, 92, 98, 1, NULL, 'M', NULL),
(12, '2012-08-10 05:04:50', 125, 92, 103, 1, NULL, 'M', NULL),
(13, '2012-08-11 06:32:12', 110, 75, 86.6, 1, NULL, 'M', NULL),
(14, '2012-08-11 12:23:04', 120, 40, 66.7, 7, NULL, 'M', NULL),
(15, '2012-08-13 12:05:51', 152, 120, 130.7, 1, NULL, 'M', NULL),
(16, '2012-08-14 12:15:51', 120, 80, 93.3, 1, NULL, 'M', NULL),
(17, '2012-08-16 06:18:26', 120, 90, 100, 1, NULL, 'M', NULL),
(18, '2012-08-16 11:30:09', 120, 80, 93.3, 7, NULL, 'M', NULL),
(19, '2012-08-17 08:45:49', 122, 41, 68, 7, NULL, 'M', NULL),
(20, '2012-08-24 12:55:23', 45, 21, 29, 7, NULL, 'M', NULL),
(21, '2012-08-30 11:52:29', 140, 120, 126.7, 7, NULL, 'M', NULL),
(22, '2012-08-30 12:20:16', 118, 78, 91.3, 1, NULL, 'M', NULL),
(23, '2012-09-08 05:43:24', 180, 150, 160, 1, NULL, 'M', NULL),
(24, '2012-09-08 11:13:43', 100, 47, 169.3, 7, NULL, 'M', NULL),
(25, '2012-09-17 09:10:55', 135, 105, 115, 1, NULL, 'M', NULL),
(26, '2012-09-18 14:16:20', 180, 125, 143.3, 1, NULL, 'M', NULL),
(27, '2012-09-22 11:44:02', 100, 100, 699.7, 65, NULL, 'M', NULL),
(29, '2012-09-25 08:37:07', 100, 100, 999, 1, NULL, 'M', NULL),
(30, '2012-09-25 12:05:01', 120, 80, 93.3, 23, NULL, 'M', NULL),
(31, '2012-09-26 04:16:53', 120, 90, 100, 1, NULL, 'M', NULL),
(32, '2012-09-26 07:01:43', 120, 80, 93.3, 17, NULL, 'M', NULL),
(33, '2012-10-09 09:54:08', 115, 75, 88.3, 1, NULL, 'M', NULL),
(34, '2012-10-22 07:44:09', 140, 105, 116.7, 17, NULL, 'M', NULL),
(35, '2012-10-22 07:44:09', 140, 105, 116.7, 17, NULL, 'M', NULL),
(36, '2012-10-26 08:46:59', 145, 105, 118.3, 17, NULL, 'M', NULL),
(37, '2012-10-27 09:20:08', 23, 21, 21.7, 17, NULL, 'M', NULL),
(38, '2012-10-29 12:59:43', 130, 100, 110, 17, NULL, 'M', NULL),
(39, '2012-11-06 10:28:35', 78, 87, 84, 1, NULL, 'M', NULL),
(40, '2012-11-23 11:44:14', 5, 8, 7, 17, NULL, 'M', NULL),
(41, '2012-11-27 13:09:56', 120, 80, 93.3, 55, NULL, 'M', NULL),
(42, '2012-11-30 11:50:32', 125, 85, 98.3, 55, NULL, 'M', NULL),
(43, '2012-12-01 08:05:45', 120, 80, 93.3, 1, NULL, 'M', NULL),
(44, '2012-12-01 08:01:13', 123, 83, 96.3, 63, NULL, 'M', NULL),
(46, '2012-12-06 07:37:27', 55, 85, 75, 81, NULL, 'M', NULL),
(47, '2012-12-08 10:10:08', 45, 90, 75, 1, NULL, 'M', NULL),
(48, '2012-12-12 11:58:24', 120, 80, 93.3, 81, NULL, 'M', NULL),
(49, '2013-01-30 10:07:14', 135, 89, 104.3, 1, NULL, 'M', NULL),
(50, '2013-02-15 12:03:41', 99, 99, 99, 1, NULL, 'M', NULL),
(51, '2013-03-12 05:06:37', 125, 85, 98.3, 81, NULL, 'M', NULL),
(52, '2013-03-21 11:14:55', 77, 88, 84.3, 1, NULL, 'M', NULL),
(53, '2013-03-22 04:39:51', 99, 100, 433, 1, NULL, 'M', NULL),
(54, '2013-03-23 13:30:33', 90, 100, 556, 1, '', 'M', NULL),
(55, '2013-03-26 11:03:49', 90, 90, 90, 1, NULL, 'M', NULL),
(56, '2013-03-30 10:41:39', 56, 78, 70.7, 81, NULL, 'M', NULL),
(57, '2013-03-30 11:27:40', 99, 176, 150.3, 1, NULL, 'M', NULL),
(58, '2013-04-01 09:25:48', 78, 100, 263.3, 1, NULL, 'M', NULL),
(59, '2013-04-02 07:34:31', 88, 99, 95.3, 1, NULL, 'M', NULL),
(60, '2013-04-22 13:28:00', 57, 80, 72.3, 1, NULL, 'M', NULL),
(61, '2013-04-23 11:04:32', 66, 66, 66, 1, NULL, 'M', NULL),
(62, '2013-04-25 13:40:17', 67, 66, 66.3, 1, NULL, 'M', NULL),
(63, '2013-04-26 12:18:56', 165, 130, 141.7, 1, NULL, 'M', NULL),
(64, '2013-04-29 12:36:46', 88, 99, 95.3, 1, NULL, 'M', NULL),
(65, '2013-04-30 13:20:21', 140, 110, 120, 1, 'BP Device', 'HV', NULL),
(66, '2013-05-01 09:17:19', 55, 55, 55, 1, NULL, 'M', NULL),
(67, '2013-05-01 12:49:51', 55, 55, 55, 41, NULL, 'M', NULL),
(68, '2013-05-03 05:04:34', 66, 66, 66, 1, NULL, 'M', NULL),
(69, '2013-05-03 08:51:40', 145, 110, 121.7, 39, NULL, 'M', NULL),
(70, '2013-05-06 11:45:40', 66, 66, 66, 76, NULL, 'M', NULL),
(72, '2013-05-09 08:51:47', 120, 80, 93.3, 1, NULL, 'M', NULL),
(73, '2013-05-10 05:35:59', 66, 66, 66, 1, NULL, 'M', NULL),
(74, '2013-05-10 07:30:13', 120, 90, 100, 81, NULL, 'M', NULL),
(75, '2013-05-10 13:35:44', 99, 99, 99, 49, NULL, 'M', NULL),
(77, '2013-05-11 12:24:07', 66, 88, 80.7, 73, NULL, 'M', NULL),
(78, '2013-05-11 13:24:46', 33, 33, 33, 18, NULL, 'M', NULL),
(79, '2013-05-13 08:03:22', 66, 66, 66, 1, NULL, 'M', NULL),
(81, '2013-05-14 05:36:23', 88, 88, 88, 1, NULL, 'M', NULL),
(82, '2013-05-14 08:22:52', 55, 55, 55, 18, NULL, 'M', NULL),
(83, '2013-05-15 07:53:22', 120, 80, 93.3, 81, NULL, 'M', NULL),
(84, '2013-05-16 08:38:11', 78, 100, 611.3, 1, NULL, 'M', NULL),
(87, '2013-05-23 07:40:13', 82, 118, 106, 1, NULL, 'M', NULL),
(88, '2013-05-25 06:56:40', 57, 75, 69, 1, NULL, 'M', NULL),
(89, '2013-06-07 10:42:58', 66, 66, 66, 1, NULL, 'M', NULL),
(90, '2013-06-14 11:29:34', 115, 75, 88.3, 1, NULL, 'M', NULL),
(91, '2013-06-18 06:10:10', 67, 245, 185.7, 1, NULL, 'M', NULL),
(92, '2013-08-03 05:55:23', 56, 56, 56, 1, '1', 'HC', NULL),
(93, '2013-08-05 04:37:56', 45, 80, 68.3, 1, '1', 'HC', NULL),
(94, '2013-09-23 04:43:14', 50, 40, 43.3, 65, NULL, 'M', NULL),
(95, '2013-11-18 18:30:00', 140, 110, 120, 1, NULL, 'coach', '41'),
(96, '2013-12-05 06:51:47', 12, 32, 25.3, 1, NULL, 'coach', '41'),
(97, '2013-12-10 10:47:30', 140, 105, 116.7, 1, NULL, 'M', NULL),
(98, '2013-12-19 05:44:06', 125, 85, 98.3, 1, NULL, 'M', NULL),
(99, '2014-01-22 12:13:23', 125, 90, 101.7, 10, NULL, 'M', NULL),
(100, '2014-02-24 08:56:45', 80, 120, 106.7, 1, NULL, 'M', NULL),
(101, '2014-03-05 08:00:43', 56, 57, 56.7, 1, NULL, 'M', NULL),
(102, '2014-03-03 10:36:49', 135, 100, 111.7, 1, NULL, 'M', NULL),
(103, '2014-04-04 05:04:03', 135, 100, 111.7, 1, NULL, 'M', NULL),
(104, '2014-04-07 08:14:38', 160, 125, 136.7, 1, NULL, 'M', NULL),
(105, '2014-04-18 10:40:00', 140, 110, 120, 1, NULL, 'M', NULL),
(106, '2014-05-06 06:52:00', 125, 85, 98.3, 1, NULL, 'M', NULL),
(107, '2014-05-10 13:23:31', 125, 85, 98.3, 1, NULL, 'M', NULL),
(108, '2014-06-03 08:43:49', 145, 120, 128.3, 1, NULL, 'M', NULL),
(109, '2014-07-02 07:28:14', 150, 120, 130, 1, NULL, 'M', NULL),
(119, '2014-07-23 13:16:49', 147, 142, 143.7, 1, '2', 'HC', NULL),
(120, '2014-07-24 04:19:56', 120, 80, 93.3, 1, '10', 'HC', NULL),
(121, '2014-07-24 05:57:16', 120, 80, 93.3, 7, '2', 'HC', NULL),
(122, '2014-09-15 11:06:23', 92, 69, 76.7, 81, NULL, 'M', NULL),
(125, '2014-09-18 12:25:35', 60, 70, 66.7, 1, '9', 'HC', NULL),
(126, '2015-02-04 08:15:50', 180, 155, 163.3, 1, NULL, 'M', NULL),
(127, '2015-04-08 08:17:00', 145, 105, 118.3, 1, NULL, 'coach', '98'),
(128, '2015-03-25 11:52:28', 140, 105, 116.7, 1, NULL, 'coach', '98'),
(129, '2015-04-21 12:22:00', 200, 250, 233.3, 1, NULL, 'M', NULL),
(130, '2015-06-25 10:15:34', 110, 80, 90, 1, NULL, 'coach', '98'),
(131, '2015-07-02 10:31:31', 115, 80, 91.7, 1, NULL, 'M', NULL),
(132, '2015-10-16 10:20:38', 125, 85, 98.3, 1, NULL, 'M', NULL),
(133, '2016-01-04 12:41:19', 123, 86, 98.3, 107, NULL, 'M', NULL),
(134, '2016-01-22 06:02:51', 125, 85, 98.3, 1, NULL, 'M', NULL),
(135, '2016-02-02 11:35:49', 128, 89, 102, 92, NULL, 'M', NULL),
(136, '2016-02-27 12:28:56', 125, 36, 65.7, 1, NULL, 'M', NULL),
(137, '2016-03-04 07:44:04', 35, 52, 46.3, 107, NULL, 'M', 'A'),
(138, '2016-05-09 10:25:44', 160, 155, 156.7, 1, NULL, 'M', 'A'),
(139, '2016-05-10 07:57:05', 125, 200, 175, 1, NULL, 'M', 'A'),
(140, '2016-05-13 13:35:12', 130, 100, 110, 1, NULL, 'M', 'A'),
(141, '2016-05-16 13:59:48', 160, 140, 146.7, 1, NULL, 'M', 'A'),
(142, '2016-05-17 08:51:31', 145, 95, 111.7, 1, NULL, 'M', 'A'),
(155, '2016-07-23 11:02:57', 119, 79, 92.3, 1, NULL, 'M', 'WP'),
(158, '2016-07-25 13:35:56', 145, 100, 115, 132, NULL, 'M', 'WP'),
(159, '2016-08-31 06:21:00', 25, 85, 65, 1, NULL, 'M', 'WP'),
(160, '2016-08-31 11:34:39', 120, 111, 114, 132, NULL, 'M', 'A'),
(161, '2016-09-01 04:35:33', 130, 70, 90, 132, NULL, 'M', 'A'),
(162, '2016-10-18 15:00:18', 180, 120, 140, 142, NULL, 'M', 'WP'),
(163, '2016-11-17 06:16:17', 125, 85, 98.3, 141, NULL, 'M', 'WP'),
(164, '2016-11-17 12:57:05', 135, 110, 118.3, 143, NULL, 'M', 'WP');

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

--
-- Table structure for table `th_bmbphv`
--

CREATE TABLE IF NOT EXISTS `th_bmbphv` (
  `bmbp_id` int(11) NOT NULL AUTO_INCREMENT,
  `bmbp_cdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `bmbp_systolic` float DEFAULT NULL,
  `bmbp_diastolic` float DEFAULT NULL,
  `bmbp_map` float DEFAULT NULL,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `reading_source` varchar(255) DEFAULT NULL,
  `source_type` varchar(50) DEFAULT 'M' COMMENT 'M ->Mannual,HV-> Health Vault',
  `hv_person_id` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`bmbp_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `th_bmbphv`
--

INSERT INTO `th_bmbphv` (`bmbp_id`, `bmbp_cdate`, `bmbp_systolic`, `bmbp_diastolic`, `bmbp_map`, `rgs_id_fkx`, `reading_source`, `source_type`, `hv_person_id`) VALUES
(1, '2012-08-23 18:30:00', 150, 130, 136.7, 1, '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(2, '2012-07-12 18:30:00', 150, 105, 120, 1, '23sqwuiouoi', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(3, '2012-02-20 18:30:00', 130, 85, 100, 1, '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612');

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

--
-- Table structure for table `th_bmch`
--

CREATE TABLE IF NOT EXISTS `th_bmch` (
  `bmch_id` int(11) NOT NULL AUTO_INCREMENT,
  `bmch_cdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `bmch_hdl` float DEFAULT NULL,
  `bmch_ldl` float DEFAULT NULL,
  `bmch_trig` float DEFAULT NULL,
  `bmch_ch` float DEFAULT NULL,
  `reading_source` varchar(255) DEFAULT NULL,
  `source_type` varchar(50) DEFAULT 'M' COMMENT 'M ->Mannual,HV-> Health Vault, coach, HC-> Health Center',
  `hv_person_id` varchar(100) DEFAULT 'WP' COMMENT 'A-> Android, I->Iphone, W-> Wondows, WP-> Web Portal',
  PRIMARY KEY (`bmch_id`),
  KEY `rgs_id_fkx` (`rgs_id_fkx`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=119 ;

--
-- Dumping data for table `th_bmch`
--

INSERT INTO `th_bmch` (`bmch_id`, `bmch_cdate`, `rgs_id_fkx`, `bmch_hdl`, `bmch_ldl`, `bmch_trig`, `bmch_ch`, `reading_source`, `source_type`, `hv_person_id`) VALUES
(1, '2012-07-24 05:19:30', 1, 55, 90, 100, 165, NULL, 'M', NULL),
(2, '2012-07-26 05:21:49', 1, 55, 65, 110, 142, NULL, 'M', NULL),
(3, '2012-08-01 07:22:58', 1, 70, 180, 110, 272, NULL, 'M', NULL),
(4, '2012-08-09 04:24:06', 1, 90, 100, 201, 230, NULL, 'M', NULL),
(5, '2012-08-10 04:43:06', 1, 1, 210, 100, 231, NULL, 'M', NULL),
(6, '2012-08-11 07:00:27', 1, 80, 45, 60, 137, NULL, 'M', NULL),
(7, '2012-08-11 12:25:32', 7, 80, 120, 90, 218, NULL, 'M', NULL),
(8, '2012-08-13 12:20:14', 1, 34, 34, 56, 79, NULL, 'M', NULL),
(9, '2012-08-14 12:12:35', 1, 80, 120, 50, 210, NULL, 'M', NULL),
(10, '2012-08-16 09:03:09', 1, 34, 45, 56, 90, NULL, 'M', NULL),
(11, '2012-08-16 11:58:04', 7, 100, 140, 80, 256, NULL, 'M', NULL),
(12, '2012-08-22 09:45:22', 81, 50, 40, 45, 99, NULL, 'M', NULL),
(13, '2012-08-23 10:26:00', 1, 54, 78, 56, 143, NULL, 'M', NULL),
(14, '2012-08-29 07:16:17', 1, 56, 25, 56, 92, NULL, 'M', NULL),
(15, '2012-08-30 11:53:33', 7, 140, 120, 200, 300, NULL, 'M', NULL),
(16, '2012-08-30 12:21:04', 1, 120, 80, 200, 240, NULL, 'M', NULL),
(17, '2012-09-10 07:36:49', 1, 20, 120, 345, 209, NULL, 'M', NULL),
(18, '2012-09-22 11:45:33', 65, 1, 1, 1, 2, NULL, 'M', NULL),
(19, '2012-09-24 12:02:50', 1, 400, 200, 500, 700, NULL, 'M', NULL),
(20, '2012-09-25 08:06:19', 1, 1, 500, 999, 701, NULL, 'M', NULL),
(21, '2012-09-25 12:58:03', 61, 150, 200, 101, 370, NULL, 'M', NULL),
(22, '2012-09-25 13:35:44', 23, 70, 120, 140, 218, NULL, 'M', NULL),
(23, '2012-09-26 04:26:07', 1, 50, 25, 100, 95, NULL, 'M', NULL),
(24, '2012-09-26 06:59:23', 17, 1, 1, 1, 2, NULL, 'M', NULL),
(25, '2012-10-22 10:15:42', 17, 55, 80, 125, 160, NULL, 'M', NULL),
(26, '2012-10-26 11:10:08', 17, 0, 0, 0, 0, NULL, 'M', NULL),
(27, '2012-11-23 11:31:15', 17, 70, 72, 121, 166, NULL, 'M', NULL),
(28, '2012-11-27 13:10:58', 55, 80, 120, 200, 240, NULL, 'M', NULL),
(29, '2012-12-01 10:42:22', 1, 60, 25, 105, 106, NULL, 'M', NULL),
(31, '2012-12-12 11:57:19', 81, 70, 10, 62, 92, NULL, 'M', NULL),
(32, '2013-02-15 12:04:35', 1, 99, 99, 99, 218, NULL, 'M', NULL),
(33, '2013-03-08 09:28:33', 1, 778, 55, 190, 871, NULL, 'M', NULL),
(34, '2013-03-11 12:59:05', 1, 87, 78, 99, 185, NULL, 'M', NULL),
(35, '2013-03-21 11:19:42', 1, 78, 56, 999, 334, NULL, 'M', NULL),
(36, '2013-03-22 04:41:51', 1, 767, 767, 767, 1687, NULL, 'M', NULL),
(37, '2013-03-23 07:20:58', 1, 768, 987, 465, 1848, NULL, 'M', NULL),
(38, '2013-03-26 11:03:33', 1, 900, 900, 900, 1980, NULL, 'M', NULL),
(39, '2013-03-30 11:28:24', 1, 964, 56, 547, 1129, NULL, 'M', NULL),
(40, '2013-04-01 09:18:11', 1, 99, 57, 106, 177, NULL, 'M', NULL),
(41, '2013-04-02 07:35:15', 1, 99, 78, 110, 199, NULL, 'M', NULL),
(42, '2013-04-22 13:28:16', 1, 99, 88, 109, 209, NULL, 'M', NULL),
(43, '2013-04-23 11:05:16', 1, 66, 66, 66, 145, NULL, 'M', NULL),
(44, '2013-04-26 13:35:29', 1, 23, 20, 12, 45, NULL, 'M', NULL),
(45, '2013-04-29 12:36:04', 1, 88, 88, 88, 194, NULL, 'M', NULL),
(46, '2013-04-30 13:25:19', 1, 47, 45, 35, 0, 'Cholesterol Device', 'HV', NULL),
(47, '2013-05-01 09:17:45', 1, 88, 88, 88, 194, NULL, 'M', NULL),
(48, '2013-05-01 12:51:00', 41, 55, 55, 55, 121, NULL, 'M', NULL),
(49, '2013-05-03 05:04:57', 1, 55, 55, 55, 121, NULL, 'M', NULL),
(51, '2013-05-06 11:45:56', 76, 66, 66, 66, 145, NULL, 'M', NULL),
(52, '2013-05-09 11:27:07', 1, 60, 70, 120, 154, NULL, 'M', NULL),
(53, '2013-05-10 05:36:40', 1, 77, 77, 77, 169, NULL, 'M', NULL),
(54, '2013-05-10 13:36:09', 49, 99, 99, 99, 218, NULL, 'M', NULL),
(56, '2013-05-11 12:24:20', 73, 44, 44, 44, 97, NULL, 'M', NULL),
(57, '2013-05-11 13:24:50', 18, 55, 55, 55, 121, NULL, 'M', NULL),
(58, '2013-05-13 08:12:18', 1, 776, 878, 554, 1765, NULL, 'M', NULL),
(59, '2013-05-13 13:04:05', 19, 90, 45, 12, 137, NULL, 'M', NULL),
(60, '2013-05-14 05:37:18', 1, 88, 89, 99, 197, NULL, 'M', NULL),
(61, '2013-05-14 08:23:34', 18, 55, 55, 55, 121, NULL, 'M', NULL),
(62, '2013-05-15 07:54:44', 81, 76, 78, 54, 165, NULL, 'M', NULL),
(63, '2013-05-16 08:38:52', 1, 756, 877, 474, 1728, NULL, 'M', NULL),
(64, '2013-05-23 10:00:25', 1, 111, 78, 145, 218, NULL, 'M', NULL),
(66, '2013-05-25 06:57:00', 1, 87, 77, 87, 181, NULL, 'M', NULL),
(67, '2013-06-14 13:04:50', 1, 111, 78, 145, 218, NULL, 'M', NULL),
(68, '2013-06-15 05:37:38', 1, 100, 90, 140, 218, NULL, 'M', NULL),
(69, '2013-08-03 06:27:38', 1, 456, 456, 456, 1003, '1', 'HC', NULL),
(70, '2013-11-17 18:30:00', 1, 75, 55, 150, 160, NULL, 'coach', '41'),
(71, '2014-01-24 09:00:27', 1, 23, 34, 23, 23, NULL, 'M', NULL),
(72, '2014-02-27 09:08:37', 1, 43, 23, 34, 73, NULL, 'M', NULL),
(73, '2014-04-07 08:28:36', 1, 55, 80, 110, 157, NULL, 'M', NULL),
(74, '2014-04-09 05:48:04', 1, 55, 68, 110, 145, NULL, 'M', NULL),
(75, '2014-04-09 06:59:43', 1, 55, 72, 110, 149, NULL, 'M', NULL),
(76, '2014-04-09 07:07:51', 1, 55, 72, 110, 149, NULL, 'M', NULL),
(77, '2014-04-10 07:38:00', 1, 61, 52, 110, 135, NULL, 'M', NULL),
(78, '2014-04-03 07:38:00', 1, 78, 67, 115, 168, NULL, 'M', NULL),
(79, '2014-03-27 07:54:00', 1, 40, 60, 109, 144, NULL, 'M', NULL),
(80, '2014-04-21 12:51:41', 1, 41, 75, 110, 165, NULL, 'M', NULL),
(90, '2014-05-01 07:22:00', 1, 60, 90, 140, 178, NULL, 'M', NULL),
(94, '2014-07-23 13:15:35', 1, 60, 50, 100, 130, '2', 'HC', NULL),
(95, '2014-07-24 05:58:01', 7, 45, 60, 55, 116, '2', 'HC', NULL),
(96, '2014-09-15 10:20:42', 81, 2, 2, 2, 4, NULL, 'M', NULL),
(97, '2014-09-18 12:26:18', 1, 80, 120, 90, 218, '9', 'HC', NULL),
(98, '2014-08-16 07:27:37', 1, 25, 50, 60, 87, NULL, 'coach', '98'),
(99, '2015-02-20 10:48:47', 1, 70, 100, 85, 187, NULL, 'coach', '98'),
(100, '2015-07-02 10:33:31', 1, 65, 105, 140, 198, NULL, 'M', NULL),
(101, '2015-10-17 10:33:11', 1, 80, 80, 150, 190, NULL, 'M', NULL),
(102, '2016-01-04 12:45:52', 107, 59, 40, 3, 100, NULL, 'M', NULL),
(103, '2016-01-22 06:54:45', 1, 85, 85, 155, 201, NULL, 'M', NULL),
(104, '2016-02-03 05:11:18', 92, 50, 90, 140, 168, NULL, 'M', NULL),
(105, '2016-02-29 08:20:25', 107, 65, 90, 140, 183, NULL, 'M', NULL),
(106, '2016-03-02 11:58:54', 1, 528, 250, 632, 904, NULL, 'M', NULL),
(107, '2016-03-02 12:14:41', 107, 100, 35, 156, 166, NULL, 'M', NULL),
(108, '2016-03-03 12:15:04', 107, 70, 65, 100, 155, NULL, 'M', 'A'),
(109, '2016-03-05 13:33:02', 114, 36, 23, 26, 64, NULL, 'M', 'A'),
(110, '2016-05-09 11:56:36', 1, 35, 33, 28, 74, NULL, 'M', 'A'),
(111, '2016-05-24 13:51:56', 1, 40, 140, 160, 212, NULL, 'M', 'A'),
(115, '2016-07-22 07:39:19', 1, 70, 120, 180, 226, NULL, 'M', 'WP'),
(117, '2016-07-25 12:13:44', 132, 65, 90, 140, 183, NULL, 'M', 'WP'),
(118, '2016-09-01 08:24:56', 132, 60, 100, 150, 190, NULL, 'M', 'A');

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

--
-- Table structure for table `th_bmchhv`
--

CREATE TABLE IF NOT EXISTS `th_bmchhv` (
  `bmch_id` int(11) NOT NULL AUTO_INCREMENT,
  `bmch_cdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `bmch_hdl` float DEFAULT NULL,
  `bmch_ldl` float DEFAULT NULL,
  `bmch_trig` float DEFAULT NULL,
  `bmch_ch` float DEFAULT NULL,
  `reading_source` varchar(255) DEFAULT NULL,
  `source_type` varchar(50) DEFAULT 'M' COMMENT 'M ->Mannual,HV-> Health Vault',
  `hv_person_id` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`bmch_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `th_bmchhv`
--

INSERT INTO `th_bmchhv` (`bmch_id`, `bmch_cdate`, `rgs_id_fkx`, `bmch_hdl`, `bmch_ldl`, `bmch_trig`, `bmch_ch`, `reading_source`, `source_type`, `hv_person_id`) VALUES
(1, '2012-08-19 18:30:00', 1, 60, 100, 135, 187, '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(2, '2012-08-09 18:30:00', 1, 70, 100, 150, 200, '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(3, '2012-08-02 18:30:00', 1, 65, 110, 140, 203, 'erwerwe', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612');

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

--
-- Table structure for table `th_bmwt`
--

CREATE TABLE IF NOT EXISTS `th_bmwt` (
  `bmwt_id` int(11) NOT NULL AUTO_INCREMENT,
  `bmwt_wt` float DEFAULT NULL,
  `bmwt_cdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `bmwt_bmi` float DEFAULT NULL,
  `bmwt_bmr` float DEFAULT NULL,
  `reading_source` varchar(100) DEFAULT NULL,
  `source_type` varchar(50) DEFAULT 'M' COMMENT 'M ->Mannual,HV-> Health Vault, coach, HC-> Health Center',
  `hv_person_id` varchar(100) DEFAULT 'WP' COMMENT 'A-> Android, I->Iphone, W-> Wondows, WP-> Web Portal',
  PRIMARY KEY (`bmwt_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=371 ;

--
-- Dumping data for table `th_bmwt`
--

INSERT INTO `th_bmwt` (`bmwt_id`, `bmwt_wt`, `bmwt_cdate`, `rgs_id_fkx`, `bmwt_bmi`, `bmwt_bmr`, `reading_source`, `source_type`, `hv_person_id`) VALUES
(1, 125, '2012-07-24 10:16:34', 1, 19.6, 1513.1, NULL, 'M', NULL),
(2, 128, '2012-07-25 10:25:28', 1, 20, 1531.8, NULL, 'M', NULL),
(3, 130, '2012-07-26 10:26:02', 1, 20.4, 1544.3, NULL, 'M', NULL),
(4, 138, '2012-07-27 10:26:28', 1, 21.6, 1594.1, NULL, 'M', NULL),
(6, 174, '2012-07-29 05:31:41', 7, 26.5, 1804.1, NULL, 'M', NULL),
(7, 150, '2012-07-31 10:08:01', 1, 23.5, 1668.9, NULL, 'M', NULL),
(8, 170, '2012-08-01 06:12:20', 1, 26.6, 1793.5, NULL, 'M', NULL),
(9, 120, '2012-08-06 05:27:11', 1, 18.8, 1482, NULL, 'M', NULL),
(10, 165, '2012-08-07 11:20:00', 1, 25.8, 1762.3, NULL, 'M', NULL),
(11, 154, '2012-08-08 05:02:50', 1, 24.1, 1693.8, NULL, 'M', NULL),
(12, 137, '2012-08-09 05:30:28', 1, 21.5, 1587.9, NULL, 'M', NULL),
(13, 70, '2012-08-10 07:01:10', 1, 13.7, 1081.6, NULL, 'M', NULL),
(14, 154, '2012-08-11 05:32:01', 1, 30.1, 1604.9, NULL, 'M', NULL),
(15, 99, '2012-08-11 12:22:47', 7, NULL, 958.8, NULL, 'M', NULL),
(16, 137, '2012-08-13 12:02:07', 7, 20.2, 1471.9, NULL, 'M', NULL),
(18, 137, '2012-08-14 08:23:28', 7, 20.8, 1573.6, NULL, 'M', NULL),
(19, 141, '2012-08-16 05:09:37', 7, 23.5, 1702.3, NULL, 'M', NULL),
(20, 159, '2012-08-16 05:52:43', 1, 31, 1636.1, NULL, 'M', NULL),
(21, 143, '2012-08-17 12:41:44', 7, 21.7, 1610.9, NULL, 'M', NULL),
(22, 115, '2012-08-23 04:33:08', 1, 21.7, 1374.6, NULL, 'M', NULL),
(23, 137, '2012-08-28 07:53:13', 7, 22.8, 1677.4, NULL, 'M', NULL),
(24, 119, '2012-08-30 08:18:58', 1, 22.5, 1399.6, NULL, 'M', NULL),
(25, 150, '2012-08-30 11:52:00', 7, 25, 1758.4, NULL, 'M', NULL),
(26, 119, '2012-09-05 08:58:16', 1, 22.5, 1399.6, NULL, 'M', NULL),
(28, 220, '2012-09-07 13:13:59', 23, NULL, 1369, NULL, 'M', NULL),
(30, 115, '2012-09-08 06:06:54', 81, 17.5, 1578.5, NULL, 'M', NULL),
(31, 159, '2012-09-11 11:40:31', 1, 30, 1648.8, 'sdaf', 'DV', NULL),
(32, 150, '2012-09-17 06:07:53', 1, 28.3, 1592.7, NULL, 'M', NULL),
(34, 159, '2012-09-21 06:03:13', 23, 21.6, 1903.4, NULL, 'M', NULL),
(35, 143, '2012-09-21 13:10:38', 17, 23.8, -11818.7, NULL, 'M', NULL),
(36, 115, '2012-09-22 11:04:25', 81, 17.5, 1578.5, NULL, 'M', NULL),
(37, 146, '2012-09-22 11:42:13', 65, 22.9, 1758.9, NULL, 'M', NULL),
(40, 200, '2012-09-25 10:06:33', 61, 29.5, 1897.6, NULL, 'M', NULL),
(41, 150, '2012-09-25 10:55:50', 7, 25, 1542.1, NULL, 'M', NULL),
(42, 110, '2012-09-26 07:12:27', 1, 12.4, 1572.1, NULL, 'M', NULL),
(43, 137, '2012-09-26 07:01:28', 17, 22.8, -11856.1, NULL, 'M', NULL),
(45, 143, '2012-10-22 13:00:02', 17, 23.8, 1748.6, NULL, 'M', NULL),
(46, 145, '2012-10-27 09:19:16', 17, 23.8, 1748.6, NULL, 'M', NULL),
(47, 143, '2012-10-29 11:08:07', 17, 23.8, 1748.6, NULL, 'M', NULL),
(48, 150, '2012-11-02 13:24:47', 17, 25, 1792.2, NULL, 'M', NULL),
(49, 165, '2012-11-06 10:25:42', 1, 18.6, 1914.7, NULL, 'M', NULL),
(50, 120, '2012-11-10 07:18:08', 1, 13.5, 1634.4, NULL, 'M', NULL),
(51, 143, '2012-11-20 05:34:09', 1, 16.1, 1777.7, NULL, 'M', NULL),
(52, 143, '2012-11-20 06:33:53', 33, 21.7, 1786.7, NULL, 'M', NULL),
(54, 160, '2012-11-23 11:45:29', 17, 23.8, 1748.6, NULL, 'M', NULL),
(55, 143, '2012-11-27 13:03:31', 55, 24.5, 1460.3, NULL, 'M', NULL),
(56, 194, '2012-11-30 12:13:07', 1, 21.9, 2095.4, NULL, 'M', NULL),
(57, 120, '2012-11-28 10:24:15', 63, 20, 1459, NULL, 'M', NULL),
(58, 123, '2012-11-30 11:22:34', 55, 21.1, 1373.3, NULL, 'M', NULL),
(59, 128, '2012-12-01 10:18:27', 63, 21.3, 1493.8, NULL, 'M', NULL),
(61, 143, '2012-12-05 07:12:10', 17, 23.8, 1748.6, NULL, 'M', NULL),
(62, 143, '2012-12-12 11:53:50', 81, 21.7, 1752.9, NULL, 'M', NULL),
(64, 143, '2012-12-18 08:10:48', 1, 16.1, 1777.7, NULL, 'M', NULL),
(65, 143, '2013-01-24 08:49:12', 1, 16.1, 1770.9, NULL, 'M', NULL),
(66, 132, '2013-01-30 09:57:35', 1, 14.9, 1702.4, NULL, 'M', NULL),
(67, 159, '2013-03-12 05:05:46', 81, 24.2, 1852.6, NULL, 'M', NULL),
(68, 123, '2013-03-12 10:22:04', 1, 11.3, 1503, NULL, 'M', NULL),
(69, 154, '2013-03-15 13:07:13', 81, 23.4, 1821.4, 'sddd', 'HV', NULL),
(75, 120, '2013-05-01 12:48:04', 41, 24.3, 1492.2, NULL, 'M', NULL),
(76, 177, '2013-05-02 08:11:04', 64, 25.4, -11550.2, NULL, 'M', NULL),
(78, 177, '2013-05-03 10:34:09', 39, 26.1, 1896.3, NULL, 'M', NULL),
(79, 165, '2013-05-08 10:49:24', 1, 26.6, 1742.9, NULL, 'M', NULL),
(80, 130, '2013-05-09 08:53:07', 1, 21, 1524.8, NULL, 'M', NULL),
(81, 77, '2013-05-10 05:36:46', 1, 12.4, 1194.6, NULL, 'M', NULL),
(82, 187, '2013-05-10 13:35:34', 49, 28.4, 1945.9, NULL, 'M', NULL),
(83, 150, '2013-05-13 11:40:02', 81, 22.8, 1573.4, NULL, 'M', NULL),
(85, 143, '2013-05-13 13:02:33', 19, 20.5, 1812.1, NULL, 'M', NULL),
(86, 160, '2013-05-14 08:52:16', 1, 22.3, 1775.2, NULL, 'M', NULL),
(87, 220, '2013-05-15 07:49:37', 81, 33.4, 2009.5, NULL, 'M', NULL),
(88, 135, '2013-05-15 13:30:27', 1, 19.4, 1606.8, NULL, 'M', NULL),
(89, 152, '2013-05-16 08:37:59', 1, 21.2, 1725.4, NULL, 'M', NULL),
(90, 176, '2012-07-02 18:30:00', 1, 27.6, 1824.1, '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(91, 170, '2012-02-20 18:30:00', 1, 26.6, 1786.7, '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(92, 198, '2012-02-19 18:30:00', 1, 31, 1961.2, '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(93, 152, '2013-05-23 10:00:02', 1, 23.8, 1674.6, NULL, 'M', NULL),
(94, 110, '2013-05-23 12:47:16', 63, 18.3, 1415.5, NULL, 'M', NULL),
(96, 132, '2013-05-24 07:39:28', 1, 21.3, 1537.3, NULL, 'M', NULL),
(97, 143, '2013-05-25 06:57:06', 1, 21.7, 1631.2, NULL, 'M', NULL),
(98, 150, '2013-05-28 07:14:08', 1, 22.8, 1674.8, NULL, 'M', NULL),
(99, 154, '2013-05-30 05:18:52', 1, 23.4, 1699.7, NULL, 'M', NULL),
(100, 143, '2013-06-05 09:07:44', 1, 21.1, 1643.9, NULL, 'M', NULL),
(102, 143, '2013-06-14 11:24:20', 1, 21.1, 1684.5, NULL, 'M', NULL),
(103, 143, '2013-06-20 06:04:03', 36, 21.7, 1220.7, NULL, 'M', NULL),
(104, 34, '2013-08-02 12:14:57', 33, 5.2, 1107.6, '1', 'HC', NULL),
(113, 120, '2013-08-05 04:36:28', 1, 18.8, 1515.8, '1', 'HC', NULL),
(114, 157, '2013-08-27 05:56:35', 1, 24.6, 1746.3, NULL, 'M', NULL),
(120, 155, '2013-11-17 18:30:00', 1, 24.3, 1733.8, NULL, 'coach', '41'),
(122, 165, '2013-12-04 09:03:42', 1, 25.8, 1796.1, NULL, 'M', NULL),
(123, 159, '2013-11-27 09:04:23', 1, 24.9, 1758.8, NULL, 'M', NULL),
(126, 150, '2013-12-18 08:48:55', 1, 21.5, 1720.5, NULL, 'M', NULL),
(127, 152, '2013-11-20 08:49:05', 1, 21.8, 1733, NULL, 'M', NULL),
(128, 77, '2014-02-24 08:54:52', 1, 10.7, 1271.6, NULL, 'M', NULL),
(129, 176, '2014-03-25 08:39:11', 1, 27.6, 1857.9, NULL, 'M', NULL),
(130, 176, '2014-03-26 05:38:45', 1, 27.6, 1857.9, NULL, 'M', NULL),
(131, 165, '2014-03-27 05:49:37', 1, 25.8, 1789.4, NULL, 'M', NULL),
(132, 75, '2014-03-27 06:35:40', 81, 21.1, 1100.7, NULL, 'M', NULL),
(136, 205, '2014-04-02 13:45:52', 1, 32.1, 2038.6, NULL, 'M', NULL),
(137, 150, '2014-04-05 05:50:22', 19, 21.5, 1565, NULL, 'M', NULL),
(138, 99, '2014-04-07 05:36:48', 7, 17, 1292.5, NULL, 'M', NULL),
(139, 148, '2014-04-10 07:04:07', 1, 23.2, 1683.5, NULL, 'M', NULL),
(140, 176, '2014-04-11 12:29:24', 1, 27.6, 1857.9, NULL, 'M', NULL),
(141, 172, '2014-04-17 08:31:27', 1, 26.9, 1833, NULL, 'M', NULL),
(142, 181, '2014-04-11 18:30:00', 1, 28.3, 1889.1, NULL, 'M', NULL),
(143, 161, '2014-04-07 18:30:00', 1, 25.2, 1764.5, NULL, 'M', NULL),
(145, 183, '2014-04-04 18:30:00', 1, 28.7, 1901.5, NULL, 'M', NULL),
(147, 176, '2014-04-02 18:30:00', 1, 27.6, 1857.9, NULL, 'M', NULL),
(148, 177, '2014-04-01 08:55:00', 1, 27.7, 1864.1, NULL, 'M', NULL),
(149, 157, '2014-05-06 05:17:00', 1, 24.6, 1739.5, NULL, 'M', NULL),
(150, 150, '2014-04-24 11:57:00', 1, 23.5, 1695.9, NULL, 'M', NULL),
(151, 165, '2014-04-19 11:59:00', 1, 25.8, 1789.4, NULL, 'M', NULL),
(152, 165, '2014-05-10 13:06:00', 1, 23.7, 1827.5, NULL, 'M', NULL),
(153, 176, '2014-05-13 10:02:45', 1, 25.3, 1896, NULL, 'coach', '41'),
(154, 331, '2014-07-01 13:11:00', 1, 53.4, 2810.9, NULL, 'M', NULL),
(155, 141, '2014-07-15 05:40:00', 1, 22.8, 1627.2, NULL, 'M', NULL),
(169, 125, '2014-07-23 13:55:45', 1, 20.2, 1527.5, '2', 'HC', NULL),
(170, 120, '2014-07-24 04:18:33', 1, 19.4, 1496.3, '10', 'HC', NULL),
(173, 125, '2014-07-24 05:51:57', 7, 0, 770.4, '2', 'HC', NULL),
(174, 143, '2014-07-19 12:25:00', 1, 23.1, 1639.6, NULL, 'M', NULL),
(175, 172, '2014-07-10 12:26:00', 1, 27.8, 1820.3, NULL, 'M', NULL),
(176, 119, '2014-09-15 08:42:44', 81, 33.5, 1368, NULL, 'M', NULL),
(177, 163, '2014-09-16 07:26:35', 1, 26.3, 1764.2, NULL, 'M', NULL),
(178, 104, '2014-09-16 10:46:06', 83, 15.8, 1428.8, NULL, 'M', NULL),
(189, 56, '2014-09-18 11:08:25', 7, 0, 333.8, '9', 'HC', NULL),
(216, 150, '2014-09-18 12:25:32', 1, 24.2, 1683.2, '9', 'HC', NULL),
(217, 176, '2015-02-04 08:09:59', 1, 28.4, 1838.4, NULL, 'M', NULL),
(218, 145, '2015-03-30 07:25:00', 1, 23.4, 1645.3, NULL, 'coach', '98'),
(219, 150, '2015-04-01 12:32:29', 1, 24.2, 1676.5, NULL, 'coach', '98'),
(220, 170, '2014-08-16 13:01:24', 1, 27.4, 1801.1, NULL, 'coach', '41'),
(221, 171, '2014-08-18 13:01:35', 1, 27.6, 1807.3, NULL, 'coach', '41'),
(222, 190, '2015-06-13 11:28:09', 89, 25.1, 2075.4, NULL, 'M', NULL),
(223, 159, '2015-06-30 07:16:58', 1, 25.7, 1732.5, NULL, 'M', NULL),
(224, 158, '2015-07-02 10:30:46', 1, 25.5, 1726.3, NULL, 'M', NULL),
(225, 155, '2015-07-02 11:16:55', 1, 25, 1707.6, '9', 'HC', NULL),
(226, 146, '2015-09-17 09:59:15', 1, 21.6, 1674.66, NULL, 'M', NULL),
(227, 132, '2015-09-19 08:12:44', 1, 19.5, 1589.59, NULL, 'M', NULL),
(228, 152, '2015-09-28 11:02:07', 96, 22.5, 1596.49, NULL, 'M', NULL),
(229, 172, '2015-10-10 12:09:42', 1, 27, 1807.2, NULL, 'M', NULL),
(230, 180, '2015-10-16 07:30:47', 1, 28.3, 1855.8, NULL, 'M', NULL),
(231, 148, '2015-11-19 05:37:54', 27, 28.7, 1368.9, NULL, 'M', NULL),
(232, 146, '2015-11-19 05:45:12', 20, 24.6, 1604, NULL, 'M', NULL),
(233, 176, '2015-11-30 08:54:38', 1, 27.6, 1831.4, NULL, 'M', NULL),
(234, 146, '2015-12-07 11:52:00', 1, 22.9, 1649.1, NULL, 'M', NULL),
(235, 150, '2016-01-04 12:27:33', 107, 22.2, 1697.8, NULL, 'M', NULL),
(236, 160, '2016-01-22 05:43:32', 1, 24.2, 1697.7, NULL, 'M', NULL),
(237, 170, '2016-01-25 07:43:59', 1, 26.7, 1795, NULL, 'M', NULL),
(238, 180, '2016-02-02 08:09:33', 7, 27.6, 1814.4, NULL, 'M', NULL),
(239, 88, '2016-02-26 13:42:50', 1, 13.8, 1296.7, NULL, 'M', NULL),
(240, 200, '2016-02-27 06:37:43', 1, 31.4, 1977.3, NULL, 'M', NULL),
(241, 160, '2016-02-27 07:20:41', 107, 23.7, 1758.5, NULL, 'M', NULL),
(242, 143, '2016-02-29 06:08:23', 1, 22.5, 1630.9, NULL, 'M', NULL),
(243, 165, '2016-02-29 11:24:28', 107, 24.4, 1788.9, NULL, 'M', 'A'),
(244, 20, '2016-03-03 13:36:47', 107, 3, 907.8, NULL, 'M', 'A'),
(246, 18, '2016-03-04 05:20:47', 107, 2.7, 895.6, NULL, 'M', 'A'),
(247, 221, '2016-03-06 04:57:15', 1, 34.7, 2104.8, NULL, 'M', 'A'),
(248, 187, '2016-04-20 08:52:23', 107, 27.1, 1813.2, NULL, 'M', 'WP'),
(249, 331, '2016-04-23 11:20:29', 1, 52, 2773.4, NULL, 'M', 'A'),
(250, 152, '2016-04-29 08:28:28', 1, 23.9, 1685.7, NULL, 'M', 'A'),
(251, 250, '2016-05-03 10:13:57', 1, 39.3, 2281.2, NULL, 'M', 'A'),
(252, 99, '2016-05-04 07:04:46', 1, 15.6, 1363.6, NULL, 'M', 'A'),
(253, 22, '2016-05-05 11:43:56', 1, 3.5, 895.6, NULL, 'M', 'A'),
(254, 88, '2016-05-06 13:05:37', 1, 13.8, 1296.7, NULL, 'M', 'A'),
(255, 1103, '2016-05-07 08:32:30', 1, 173.3, 7464.6, NULL, 'M', 'A'),
(256, 500, '2016-05-09 12:03:32', 1, 78.5, 3800.4, NULL, 'M', 'A'),
(257, 146, '2016-05-10 06:42:04', 1, 22.9, 1649.1, NULL, 'M', 'WP'),
(258, 143, '2016-05-12 08:04:44', 1, 22.5, 1630.9, NULL, 'M', 'A'),
(259, 159, '2016-05-17 13:36:05', 1, 25, 1728.1, NULL, 'M', 'A'),
(260, 147.7, '2016-05-23 11:47:18', 1, 23.2, 1659.5, NULL, 'M', 'A'),
(261, 147.71, '2016-05-23 13:40:46', 11511, 29, 1487.8, NULL, 'M', 'A'),
(262, 198.42, '2016-05-24 13:27:23', 1, 31.2, 1967.7, NULL, 'M', 'A'),
(310, 143, '2016-06-04 06:50:00', 1, 21.2, 1655.2, NULL, 'M', 'WP'),
(311, 26.46, '2016-06-07 07:28:50', 1, 3.9, 947.1, NULL, 'M', 'A'),
(312, 143, '2016-06-07 13:16:59', 120, 22.5, 1647.9, NULL, 'M', 'WP'),
(313, 68, '2016-06-08 06:44:02', 121, 0, 1203.5, NULL, 'M', 'A'),
(314, 220.46, '2016-06-08 12:16:44', 1, 32.6, 2126, NULL, 'M', 'A'),
(328, 143.3, '2016-06-09 05:12:26', 124, 22.5, 1627.1, NULL, 'M', 'A'),
(329, 154, '2016-06-09 05:49:40', 125, 0, 1697.7, NULL, 'M', ''),
(332, 154, '2016-06-09 07:45:22', 126, 24.2, 1697.7, NULL, 'M', 'WP'),
(333, 143, '2016-06-09 11:26:30', 127, 24.1, 1536.5, NULL, 'M', 'A'),
(334, 154, '2016-07-05 06:18:19', 1, 22.8, 1212.9, NULL, 'M', 'WP'),
(335, 154, '2016-07-13 11:50:20', 1, 22.8, 1722, NULL, 'M', 'WP'),
(336, 141, '2016-07-11 07:48:09', 130, 21.1, 1638.9, NULL, 'M', 'A'),
(345, 40, '2016-07-25 12:16:43', 132, 6.4, 961.6, NULL, 'M', 'WP'),
(346, 165.35, '2016-08-09 13:15:13', 1, 24.5, 1785.4, NULL, 'M', 'A'),
(347, 152, '2016-08-10 12:47:09', 1, 22.5, 1704.3, NULL, 'M', 'A'),
(348, 160, '2016-08-11 05:42:29', 1, 23.7, 1752.8, NULL, 'M', 'A'),
(349, 198, '2016-08-16 08:01:56', 1, 29.3, 1983.8, NULL, 'M', 'WP'),
(350, 165, '2016-08-29 12:46:47', 131, 23.6, 1691.9, NULL, 'M', 'A'),
(351, 176, '2016-08-29 13:18:11', 1, 26.1, 1850.1, NULL, 'M', 'WP'),
(352, 154.32, '2016-08-30 04:30:53', 119, 24.2, 1796.6, NULL, 'M', 'A'),
(353, 143, '2016-08-30 05:00:56', 130, 21.4, 1644.7, NULL, 'M', 'WP'),
(354, 154, '2016-08-30 13:23:19', 131, 24.2, 1749.1, NULL, 'M', 'A'),
(355, 154.32, '2016-08-31 04:46:24', 136, 24.2, 1751.2, NULL, 'M', 'A'),
(356, 143, '2016-08-31 06:22:00', 1, 21.2, 1649.5, NULL, 'M', 'WP'),
(357, 141.1, '2016-08-31 11:18:15', 132, 22.7, 1576, NULL, 'M', 'A'),
(358, 149.91, '2016-09-01 10:21:20', 111, 22.5, 1715.2, NULL, 'M', 'A'),
(359, 123, '2016-09-06 05:30:00', 1, 18.2, 1528, NULL, 'M', 'WP'),
(360, 150, '2016-09-20 06:45:47', 1, 22.2, 1692.1, NULL, 'M', 'A'),
(361, 176.37, '2016-09-20 10:41:19', 132, 28.4, 1790.4, NULL, 'M', 'A'),
(362, 165.35, '2016-09-24 10:37:33', 137, 23.9, 1726.8, NULL, 'M', 'A'),
(363, 0, '2016-09-28 05:50:36', 0, 0, -8281.7, NULL, 'M', 'WP'),
(364, 154.32, '2016-09-28 05:50:36', 138, 24.2, 1199.7, NULL, 'M', 'WP'),
(365, 165.35, '2016-10-27 10:55:08', 141, 23.7, 1168.3, NULL, 'M', 'WP'),
(366, 165.35, '2016-10-28 07:06:00', 1, 24.5, 1785.4, NULL, 'M', 'WP'),
(367, 165.35, '2016-10-29 07:49:17', 140, 25.9, 1266.7, NULL, 'M', 'WP'),
(368, 165.35, '2016-10-29 11:35:17', 143, 25.9, 1323.5, NULL, 'M', 'WP'),
(369, 171.96, '2016-11-17 06:08:27', 144, 29, 1301.3, NULL, 'M', 'WP'),
(370, 165.35, '2016-11-17 06:40:40', 141, 25.9, 1761.4, NULL, 'M', 'WP');

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

--
-- Table structure for table `th_bmwthv`
--

CREATE TABLE IF NOT EXISTS `th_bmwthv` (
  `bmwt_id` int(11) NOT NULL AUTO_INCREMENT,
  `bmwt_wt` float DEFAULT NULL,
  `bmwt_cdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `bmwt_bmi` float DEFAULT NULL,
  `bmwt_bmr` float DEFAULT NULL,
  `reading_source` varchar(100) DEFAULT NULL,
  `source_type` varchar(50) DEFAULT 'M' COMMENT 'M ->Mannual,HV-> Health Vault',
  `hv_person_id` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`bmwt_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `th_bmwthv`
--

INSERT INTO `th_bmwthv` (`bmwt_id`, `bmwt_wt`, `bmwt_cdate`, `rgs_id_fkx`, `bmwt_bmi`, `bmwt_bmr`, `reading_source`, `source_type`, `hv_person_id`) VALUES
(1, 176, '2012-07-02 18:30:00', 1, 33.3, 1754.7, '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(2, 170, '2012-02-20 18:30:00', 1, 32.1, 1717.3, '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612'),
(3, 198, '2012-02-19 18:30:00', 1, 37.4, 1891.7, '', 'HV', '46eb973e-116b-4985-ac83-1e9441ff3612');

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

--
-- Table structure for table `th_bm_aspirin`
--

CREATE TABLE IF NOT EXISTS `th_bm_aspirin` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `bmaspirin_cdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `status` tinyint(2) NOT NULL,
  KEY `id` (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `th_bm_aspirin`
--

INSERT INTO `th_bm_aspirin` (`id`, `bmaspirin_cdate`, `rgs_id_fkx`, `status`) VALUES
(1, '2013-03-07 05:31:36', 1, 1),
(2, '2015-05-05 06:59:51', 33, 1),
(3, '2015-05-05 06:59:52', 81, 0),
(4, '2015-05-05 06:59:52', 53, 0);

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

--
-- Table structure for table `th_bonus`
--

CREATE TABLE IF NOT EXISTS `th_bonus` (
  `tb_id` bigint(10) NOT NULL AUTO_INCREMENT,
  `tb_date` date NOT NULL,
  `tb_value` bigint(10) NOT NULL DEFAULT '0',
  `tb_type` varchar(255) DEFAULT NULL COMMENT 'JT:join team PE: post event PR: post reciepe :TA5 :5ally TA6-TA10 : 6-10ally  , PC-Profile Complete, SCC- Self Challenge Complete,HD: Health Device Data,GW: Get well soon',
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `tc_validate` int(11) DEFAULT '0' COMMENT '0 : Not validated 1: Validated',
  PRIMARY KEY (`tb_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=685 ;

--
-- Dumping data for table `th_bonus`
--

INSERT INTO `th_bonus` (`tb_id`, `tb_date`, `tb_value`, `tb_type`, `rgs_id_fkx`, `tc_validate`) VALUES
(3, '2012-08-03', 50, 'PR', 7, 1),
(4, '2012-08-03', 50, 'PR', 7, 1),
(5, '2012-08-03', 50, 'PR', 1, 1),
(6, '2012-08-03', 50, 'PR', 1, 1),
(7, '2012-08-03', 50, 'PR', 1, 1),
(8, '2012-08-06', 50, 'PR', 7, 1),
(9, '2012-08-06', 50, 'PR', 7, 1),
(10, '2012-08-07', 50, 'PR', 7, 1),
(11, '2012-08-07', 50, 'PR', 1, 1),
(14, '2012-08-08', 50, 'PE', 1, 1),
(15, '2012-08-08', 50, 'PE', 1, 1),
(16, '2012-08-08', 50, 'PE', 1, 1),
(17, '2012-08-08', 50, 'PE', 1, 1),
(18, '2012-08-08', 50, 'PE', 1, 1),
(19, '2012-08-08', 50, 'PE', 1, 1),
(20, '2012-08-08', 50, 'PR', 1, 1),
(21, '2012-08-08', 50, 'PR', 1, 1),
(22, '2012-08-08', 50, 'PE', 1, 1),
(23, '2012-08-08', 50, 'PE', 1, 1),
(24, '2012-08-08', 50, 'PE', 1, 1),
(25, '2012-08-08', 50, 'PR', 1, 1),
(26, '2012-08-08', 50, 'PE', 1, 1),
(27, '2012-08-08', 50, 'PE', 1, 1),
(28, '2012-08-08', 50, 'PR', 1, 1),
(33, '2012-08-21', 50, 'PR', 1, 1),
(34, '2012-08-21', 50, 'PR', 1, 1),
(35, '2012-08-21', 50, 'PR', 1, 1),
(36, '2012-08-21', 50, 'PR', 1, 1),
(37, '2012-08-21', 50, 'PR', 1, 1),
(38, '2012-08-21', 50, 'PR', 1, 1),
(39, '2012-08-21', 50, 'PR', 1, 1),
(40, '2012-08-21', 50, 'PR', 1, 1),
(41, '2012-08-21', 50, 'PR', 7, 1),
(42, '2012-08-21', 50, 'PR', 7, 1),
(43, '2012-08-21', 50, 'PR', 7, 1),
(44, '2012-08-21', 50, 'PR', 7, 1),
(45, '2012-08-21', 50, 'PR', 7, 1),
(46, '2012-08-21', 50, 'PR', 7, 1),
(47, '2012-08-21', 50, 'PR', 7, 1),
(48, '2012-08-21', 50, 'PR', 7, 1),
(49, '2012-08-21', 50, 'PR', 7, 1),
(50, '2012-08-21', 50, 'PR', 7, 1),
(51, '2012-08-21', 50, 'PR', 7, 1),
(52, '2012-08-21', 50, 'PR', 7, 1),
(53, '2012-08-21', 50, 'PR', 1, 1),
(54, '2012-08-21', 50, 'PR', 1, 1),
(55, '2012-08-22', 50, 'PR', 7, 1),
(56, '2012-08-22', 50, 'PR', 7, 1),
(57, '2012-08-22', 50, 'PR', 7, 1),
(58, '2012-08-22', 50, 'PR', 7, 1),
(59, '2012-08-22', 50, 'PR', 1, 1),
(60, '2012-08-22', 50, 'PR', 1, 1),
(61, '2012-08-22', 50, 'PR', 1, 1),
(62, '2012-08-22', 50, 'PR', 7, 1),
(63, '2012-08-23', 50, 'PR', 1, 1),
(64, '2012-08-23', 50, 'PR', 1, 1),
(65, '2012-08-23', 50, 'PR', 1, 1),
(66, '2012-08-23', 50, 'PE', 1, 1),
(67, '2012-08-23', 50, 'PE', 1, 1),
(68, '2012-08-23', 50, 'PE', 1, 1),
(69, '2012-08-23', 50, 'PE', 1, 1),
(70, '2012-08-23', 50, 'PE', 1, 1),
(71, '2012-08-23', 50, 'PE', 1, 1),
(72, '2012-08-23', 50, 'PE', 1, 1),
(73, '2012-08-23', 50, 'PE', 1, 1),
(74, '2012-08-24', 50, 'PE', 7, 1),
(75, '2012-08-24', 50, 'PE', 1, 1),
(76, '2012-08-31', 10, 'TA7', 7, 1),
(78, '2012-09-01', 10, 'TA9', 7, 1),
(79, '2012-09-01', 50, 'TA5', 81, 1),
(81, '2012-09-11', 50, 'TA5', 1, 1),
(83, '2012-09-14', 50, 'PR', 1, 1),
(84, '2012-09-15', 50, 'PR', 1, 1),
(85, '2012-09-15', 50, 'PR', 1, 1),
(86, '2012-09-15', 50, 'PR', 1, 1),
(87, '2012-09-15', 50, 'PR', 1, 1),
(88, '2012-09-15', 50, 'PR', 1, 1),
(89, '2012-09-15', 50, 'PR', 1, 1),
(90, '2012-09-18', 50, 'PR', 1, 1),
(91, '2012-09-18', 50, 'PR', 23, 1),
(92, '2012-09-18', 50, 'PR', 23, 1),
(93, '2012-09-18', 50, 'PR', 23, 1),
(94, '2012-09-18', 50, 'PR', 23, 1),
(95, '2012-09-18', 50, 'PR', 23, 1),
(96, '2012-09-18', 50, 'PR', 1, 1),
(98, '2012-09-19', 5, 'GW', 1, 1),
(99, '2012-09-19', 5, 'GW', 7, 1),
(100, '2012-09-19', 50, 'JT', 23, 1),
(101, '2012-09-19', 50, 'JT', 7, 0),
(102, '2012-09-19', 50, 'PE', 23, 1),
(103, '2012-09-19', 5, 'GW', 7, 0),
(104, '2012-09-19', 50, 'PE', 1, 1),
(105, '2012-09-19', 10, 'TA8', 1, 1),
(106, '2012-09-19', 5, 'GW', 1, 1),
(107, '2012-09-19', 5, 'GW', 81, 1),
(108, '2012-09-19', 5, 'GW', 1, 1),
(109, '2012-09-19', 50, 'PE', 23, 1),
(110, '2012-09-19', 50, 'PE', 23, 1),
(111, '2012-09-19', 50, 'PE', 23, 1),
(112, '2012-09-19', 50, 'PE', 23, 1),
(113, '2012-09-19', 50, 'PE', 23, 1),
(114, '2012-09-19', 50, 'PE', 23, 1),
(115, '2012-09-19', 50, 'PE', 23, 1),
(116, '2012-09-20', 5, 'GW', 81, 1),
(117, '2012-09-20', 50, 'PR', 1, 1),
(118, '2012-09-20', 50, 'PR', 23, 1),
(119, '2012-09-20', 50, 'JT', 1, 1),
(120, '2012-09-20', 50, 'PR', 1, 1),
(121, '2012-09-21', 50, 'JT', 23, 1),
(122, '2012-09-21', 5, 'GW', 1, 1),
(123, '2012-09-21', 50, 'PR', 1, 1),
(124, '2012-09-21', 50, 'PR', 1, 1),
(125, '2012-09-21', 50, 'PR', 7, 0),
(126, '2012-09-21', 50, 'PR', 7, 0),
(127, '2012-09-21', 50, 'PR', 7, 0),
(128, '2012-09-21', 50, 'PR', 7, 0),
(129, '2012-09-21', 50, 'PR', 1, 1),
(130, '2012-09-21', 50, 'PR', 1, 1),
(131, '2012-09-21', 50, 'PR', 1, 1),
(132, '2012-09-21', 50, 'PR', 7, 0),
(133, '2012-09-21', 50, 'PR', 7, 0),
(134, '2012-09-21', 50, 'PR', 7, 0),
(135, '2012-09-21', 50, 'PR', 7, 0),
(136, '2012-09-21', 50, 'PR', 1, 1),
(137, '2012-09-22', 50, 'PE', 1, 1),
(138, '2012-09-22', 50, 'PR', 17, 0),
(139, '2012-09-22', 50, 'PR', 17, 0),
(140, '2012-09-22', 50, 'PR', 1, 1),
(141, '2012-09-22', 50, 'PE', 1, 1),
(142, '2012-09-22', 50, 'PE', 1, 1),
(143, '2012-09-22', 50, 'PE', 1, 1),
(144, '2012-09-22', 50, 'PE', 17, 0),
(145, '2012-09-22', 50, 'PE', 17, 0),
(146, '2012-09-22', 50, 'PE', 17, 0),
(147, '2012-09-22', 50, 'JT', 81, 1),
(148, '2012-09-22', 50, 'PE', 17, 0),
(149, '2012-09-24', 10, 'TA6', 1, 1),
(151, '2012-09-24', 50, 'JT', 53, 0),
(152, '2012-09-24', 10, 'TA7', 81, 1),
(153, '2012-09-24', 50, 'PR', 53, 0),
(154, '2012-09-25', 50, 'PE', 1, 1),
(155, '2012-09-25', 50, 'PR', 1, 1),
(156, '2012-09-25', 50, 'PR', 1, 1),
(157, '2012-09-25', 50, 'PR', 1, 1),
(158, '2012-09-25', 50, 'PR', 1, 1),
(159, '2012-09-25', 50, 'PR', 1, 1),
(160, '2012-09-25', 50, 'PR', 23, 1),
(161, '2012-09-25', 50, 'PR', 1, 1),
(162, '2012-09-25', 50, 'PR', 23, 1),
(163, '2012-09-25', 10, 'TA7', 1, 1),
(164, '2012-09-25', 50, 'PR', 23, 1),
(165, '2012-09-25', 50, 'PR', 23, 1),
(166, '2012-09-25', 50, 'PR', 23, 1),
(167, '2012-09-25', 50, 'PR', 23, 1),
(168, '2012-09-26', 50, 'JT', 17, 0),
(169, '2012-09-26', 50, 'TA5', 23, 1),
(170, '2012-09-27', 50, 'JT', 65, 0),
(171, '2012-09-27', 50, 'PR', 7, 1),
(172, '2012-09-28', 50, 'PR', 1, 1),
(173, '2012-10-01', 50, 'PR', 1, 1),
(174, '2012-10-01', 50, 'PR', 1, 1),
(175, '2012-10-01', 50, 'PR', 1, 1),
(176, '2012-10-01', 50, 'PR', 1, 1),
(177, '2012-10-01', 50, 'PR', 1, 1),
(178, '2012-10-01', 50, 'PR', 1, 1),
(179, '2012-10-01', 50, 'PR', 1, 1),
(180, '2012-10-01', 50, 'PR', 1, 1),
(181, '2012-10-01', 50, 'PR', 1, 1),
(182, '2012-10-01', 50, 'PR', 1, 1),
(183, '2012-10-01', 50, 'PR', 1, 1),
(184, '2012-10-01', 50, 'PR', 1, 1),
(185, '2012-10-01', 50, 'PR', 1, 1),
(186, '2012-10-01', 50, 'PR', 1, 1),
(187, '2012-10-01', 50, 'PR', 1, 1),
(188, '2012-10-01', 50, 'PR', 1, 1),
(189, '2012-10-01', 50, 'PR', 1, 1),
(190, '2012-10-01', 50, 'PR', 1, 1),
(191, '2012-10-01', 50, 'PR', 1, 1),
(192, '2012-10-01', 50, 'PR', 1, 1),
(193, '2012-10-01', 50, 'PR', 1, 1),
(194, '2012-10-01', 50, 'PR', 1, 1),
(195, '2012-10-01', 50, 'PR', 1, 1),
(196, '2012-10-01', 50, 'PR', 1, 1),
(197, '2012-10-01', 50, 'PR', 1, 1),
(198, '2012-10-03', 50, 'PR', 1, 1),
(199, '2012-10-03', 50, 'PR', 23, 1),
(200, '2012-10-03', 50, 'PR', 23, 1),
(201, '2012-10-03', 50, 'PR', 23, 1),
(202, '2012-10-03', 50, 'PR', 23, 1),
(203, '2012-10-03', 50, 'PR', 23, 1),
(204, '2012-10-03', 50, 'PR', 23, 1),
(205, '2012-10-03', 50, 'PR', 23, 1),
(206, '2012-10-03', 50, 'PR', 23, 1),
(207, '2012-10-03', 50, 'PR', 23, 1),
(208, '2012-10-03', 50, 'PR', 23, 1),
(209, '2012-10-03', 50, 'PR', 23, 1),
(210, '2012-10-03', 50, 'PR', 23, 1),
(211, '2012-10-03', 50, 'PR', 23, 1),
(212, '2012-10-03', 50, 'PR', 23, 1),
(213, '2012-10-03', 50, 'PR', 23, 1),
(214, '2012-10-03', 50, 'PR', 23, 1),
(215, '2012-10-03', 50, 'PR', 23, 1),
(216, '2012-10-03', 50, 'PR', 23, 1),
(217, '2012-10-03', 50, 'PR', 23, 1),
(218, '2012-10-03', 50, 'PR', 23, 1),
(219, '2012-10-03', 50, 'PR', 23, 1),
(220, '2012-10-03', 50, 'PR', 23, 1),
(221, '2012-10-03', 50, 'PR', 23, 1),
(222, '2012-10-03', 50, 'PR', 23, 1),
(223, '2012-10-03', 50, 'PR', 23, 1),
(224, '2012-10-03', 50, 'PR', 23, 1),
(225, '2012-10-03', 50, 'PR', 23, 1),
(226, '2012-10-03', 50, 'PR', 23, 1),
(227, '2012-10-03', 50, 'PR', 23, 1),
(228, '2012-10-03', 50, 'PR', 23, 1),
(229, '2012-10-04', 50, 'PR', 1, 1),
(230, '2012-10-04', 50, 'PR', 1, 1),
(231, '2012-10-04', 50, 'PR', 1, 1),
(232, '2012-10-04', 50, 'PR', 1, 1),
(233, '2012-10-04', 50, 'PR', 1, 1),
(234, '2012-10-04', 50, 'PR', 1, 1),
(235, '2012-10-04', 50, 'PR', 1, 1),
(236, '2012-10-04', 50, 'PR', 1, 1),
(237, '2012-10-04', 50, 'PR', 1, 1),
(238, '2012-10-04', 50, 'PR', 1, 1),
(239, '2012-10-04', 50, 'PR', 1, 1),
(240, '2012-10-04', 50, 'PR', 1, 1),
(241, '2012-10-04', 50, 'PR', 1, 1),
(242, '2012-10-04', 50, 'PR', 1, 1),
(247, '2012-10-04', 50, 'PR', 1, 1),
(248, '2012-10-04', 50, 'PR', 1, 1),
(249, '2012-10-04', 50, 'PC', 1, 1),
(250, '2012-10-04', 50, 'PC', 1, 1),
(251, '2012-10-05', 50, 'PR', 1, 1),
(252, '2012-10-05', 50, 'PR', 1, 1),
(253, '2012-10-05', 50, 'PR', 1, 1),
(254, '2012-10-05', 50, 'PR', 1, 1),
(255, '2012-10-05', 50, 'PR', 1, 1),
(256, '2012-10-05', 50, 'PR', 1, 1),
(257, '2012-10-05', 50, 'PR', 1, 1),
(258, '2012-10-05', 50, 'PR', 1, 1),
(259, '2012-10-05', 50, 'PR', 1, 1),
(260, '2012-10-05', 50, 'PR', 1, 1),
(261, '2012-10-05', 50, 'PR', 1, 1),
(262, '2012-10-05', 50, 'PR', 23, 1),
(263, '2012-10-05', 50, 'PR', 23, 1),
(264, '2012-10-05', 50, 'PR', 23, 1),
(265, '2012-10-05', 50, 'PR', 23, 1),
(266, '2012-10-05', 50, 'PR', 23, 1),
(267, '2012-10-05', 50, 'PR', 23, 1),
(268, '2012-10-06', 50, 'PR', 23, 0),
(269, '2012-10-08', 50, 'PR', 1, 1),
(270, '2012-10-08', 50, 'PR', 1, 1),
(271, '2012-10-08', 50, 'PR', 1, 1),
(272, '2012-10-08', 50, 'PE', 7, 0),
(273, '2012-10-09', 50, 'PE', 1, 1),
(274, '2012-10-09', 50, 'PE', 1, 1),
(275, '2012-10-09', 50, 'PE', 1, 1),
(276, '2012-10-11', 50, 'PE', 1, 1),
(277, '2012-10-11', 50, 'PE', 1, 1),
(278, '2012-10-11', 50, 'PE', 1, 1),
(281, '2012-10-11', 50, 'TA5', 65, 0),
(282, '2012-10-11', 10, 'TA6', 65, 0),
(283, '2012-10-11', 10, 'TA7', 65, 0),
(284, '2012-10-11', 50, 'PE', 1, 1),
(285, '2012-10-11', 50, 'PR', 1, 1),
(286, '2012-10-11', 50, 'PR', 1, 1),
(287, '2012-10-11', 50, 'PR', 1, 1),
(288, '2012-10-11', 50, 'PR', 1, 1),
(289, '2012-10-12', 50, 'PR', 1, 1),
(290, '2012-10-12', 50, 'PR', 1, 1),
(291, '2012-10-12', 50, 'PR', 1, 1),
(292, '2012-10-12', 50, 'PR', 1, 1),
(293, '2012-10-12', 50, 'PR', 1, 1),
(294, '2012-10-12', 50, 'PR', 1, 1),
(295, '2012-10-12', 50, 'PR', 1, 1),
(296, '2012-10-12', 50, 'PR', 1, 1),
(297, '2012-10-12', 50, 'PR', 1, 1),
(298, '2012-10-12', 50, 'PR', 1, 1),
(299, '2012-10-12', 50, 'PR', 1, 1),
(300, '2012-10-12', 50, 'PR', 1, 1),
(301, '2012-10-13', 50, 'PE', 1, 1),
(302, '2012-10-13', 50, 'PR', 1, 1),
(303, '2012-10-13', 50, 'PR', 1, 1),
(304, '2012-10-13', 50, 'PC', 53, 1),
(305, '2012-10-13', 50, 'PR', 1, 1),
(306, '2012-10-13', 50, 'PR', 1, 1),
(307, '2012-10-13', 50, 'PR', 1, 1),
(308, '2012-10-15', 50, 'PR', 1, 1),
(309, '2012-10-15', 50, 'PR', 81, 1),
(310, '2012-10-15', 50, 'PC', 1, 1),
(311, '2012-10-15', 50, 'PC', 1, 1),
(312, '2012-10-15', 50, 'PC', 1, 1),
(313, '2012-10-15', 50, 'PC', 1, 1),
(314, '2012-10-16', 50, 'PE', 1, 1),
(315, '2012-10-16', 50, 'PR', 1, 1),
(316, '2012-10-18', 50, 'PC', 81, 1),
(317, '2012-10-18', 50, 'PC', 81, 1),
(318, '2012-10-18', 50, 'PC', 81, 1),
(319, '2012-10-18', 50, 'PC', 81, 1),
(320, '2012-10-19', 50, 'PC', 81, 1),
(321, '2012-10-19', 50, 'PC', 81, 1),
(322, '2012-10-19', 50, 'PC', 81, 1),
(323, '2012-10-19', 50, 'PC', 81, 1),
(324, '2012-10-19', 50, 'PC', 81, 1),
(325, '2012-10-23', 50, 'PC', 17, 1),
(326, '2012-10-23', 10, 'TA6', 81, 1),
(327, '2012-11-03', 50, 'PC', 81, 1),
(328, '2012-11-06', 50, 'PC', 32, 1),
(329, '2012-11-15', 50, 'PC', 81, 1),
(331, '2012-11-19', 10, 'TA6', 7, 1),
(332, '2012-11-19', 50, 'JT', 33, 1),
(333, '2012-11-19', 50, 'TA5', 33, 1),
(334, '2012-11-19', 10, 'TA8', 81, 1),
(335, '2012-11-19', 50, 'JT', 63, 0),
(336, '2012-11-20', 50, 'PR', 33, 1),
(337, '2012-11-20', 5, 'GW', 65, 0),
(338, '2012-11-20', 5, 'GW', 7, 1),
(339, '2012-11-22', 50, 'PE', 1, 1),
(340, '2012-11-23', 50, 'JT', 63, 0),
(341, '2012-11-24', 50, 'TA5', 63, 0),
(342, '2012-11-26', 5, 'GW', 81, 1),
(344, '2012-11-27', 10, 'TA9', 1, 1),
(345, '2012-11-27', 10, 'TA7', 63, 0),
(346, '2012-11-27', 10, 'TA7', 7, 1),
(347, '2012-11-27', 10, 'TA8', 63, 0),
(348, '2012-11-27', 10, 'TA10', 1, 1),
(349, '2012-11-27', 10, 'TA8', 7, 1),
(350, '2012-11-27', 50, 'PR', 7, 0),
(351, '2012-11-27', 50, 'PR', 7, 0),
(352, '2012-11-27', 50, 'PR', 7, 0),
(353, '2012-11-27', 50, 'PR', 7, 0),
(354, '2012-11-27', 50, 'PR', 7, 0),
(355, '2012-11-27', 50, 'PR', 7, 0),
(356, '2012-11-27', 50, 'PR', 7, 0),
(357, '2012-11-27', 50, 'PR', 7, 0),
(358, '2012-11-27', 50, 'PR', 7, 0),
(359, '2012-11-28', 50, 'PR', 7, 1),
(360, '2012-11-28', 50, 'PR', 33, 1),
(361, '2012-11-28', 50, 'PR', 33, 1),
(362, '2012-11-28', 50, 'PR', 1, 1),
(363, '2012-11-28', 50, 'PR', 1, 1),
(364, '2012-11-28', 50, 'JT', 81, 1),
(365, '2012-12-03', 5, 'GW', 7, 1),
(366, '2012-12-03', 50, 'PE', 1, 1),
(367, '2012-12-08', 50, 'PC', 63, 1),
(368, '2012-12-08', 50, 'PE', 81, 1),
(369, '2012-12-10', 50, 'PC', 33, 1),
(370, '2012-12-11', 5, 'GW', 65, 0),
(371, '2012-12-11', 50, 'PR', 1, 1),
(372, '2012-12-11', 50, 'PR', 1, 1),
(373, '2012-12-11', 50, 'PC', 65, 1),
(374, '2012-12-11', 5, 'GW', 81, 1),
(375, '2012-12-15', 50, 'JT', 55, 0),
(376, '2012-12-17', 50, 'TA5', 53, 0),
(377, '2012-12-20', 50, 'PE', 81, 1),
(378, '2012-12-21', 50, 'PC', 34, 1),
(379, '2013-01-01', 5, 'GW', 65, 0),
(380, '2013-03-23', 5, 'GW', 1, 1),
(381, '2013-05-01', 50, 'PC', 41, 1),
(382, '2013-05-01', 50, 'PC', 39, 1),
(383, '2013-05-01', 50, 'PC', 20, 1),
(384, '2013-05-02', 50, 'PC', 64, 1),
(385, '2013-05-02', 50, 'PC', 9, 1),
(386, '2013-05-04', 50, 'PC', 54, 1),
(387, '2013-05-04', 50, 'PC', 19, 1),
(388, '2013-05-06', 50, 'PC', 52, 1),
(389, '2013-05-06', 50, 'PC', 76, 1),
(390, '2013-05-07', 50, 'JT', 19, 0),
(391, '2013-05-07', 50, 'JT', 19, 0),
(392, '2013-05-08', 50, 'PC', 62, 1),
(393, '2013-05-10', 50, 'PC', 49, 1),
(394, '2013-05-11', 50, 'TA5', 7, 0),
(395, '2013-05-11', 10, 'TA7', 53, 0),
(396, '2013-05-11', 10, 'TA6', 7, 0),
(397, '2013-05-11', 10, 'TA7', 7, 0),
(398, '2013-05-14', 50, 'PC', 18, 1),
(399, '2013-05-17', 10, 'TA9', 81, 1),
(400, '2013-05-22', 50, 'PC', 65, 1),
(401, '2013-05-23', 50, 'PC', 1, 1),
(403, '2013-05-23', 10, 'TA10', 81, 1),
(404, '2013-05-23', 10, 'TA8', 65, 0),
(405, '2013-05-23', 10, 'TA9', 63, 0),
(410, '2013-05-23', 5, 'GW', 81, 1),
(411, '2013-05-24', 50, 'PR', 1, 1),
(412, '2013-05-24', 50, 'PR', 1, 1),
(413, '2013-05-24', 5, 'GW', 81, 1),
(414, '2013-05-24', 50, 'PE', 1, 1),
(415, '2013-05-24', 50, 'PE', 1, 1),
(416, '2013-05-24', 50, 'PE', 1, 1),
(417, '2013-05-29', 50, 'PC', 15, 1),
(418, '2013-05-29', 50, 'TA5', 17, 0),
(420, '2013-06-03', 50, 'PE', 1, 1),
(421, '2013-06-03', 50, 'PE', 1, 1),
(422, '2013-06-03', 50, 'PE', 19, 0),
(423, '2013-06-04', 50, 'PE', 19, 0),
(424, '2013-06-04', 50, 'PE', 1, 1),
(425, '2013-06-04', 50, 'PE', 1, 1),
(426, '2013-06-04', 50, 'PE', 19, 0),
(427, '2013-06-04', 50, 'PE', 19, 0),
(428, '2013-06-04', 50, 'PE', 19, 0),
(429, '2013-06-07', 50, 'PE', 19, 0),
(430, '2013-06-08', 50, 'PE', 1, 1),
(431, '2013-06-08', 50, 'PE', 1, 1),
(432, '2013-06-08', 50, 'PE', 1, 1),
(433, '2013-06-08', 50, 'PE', 19, 0),
(434, '2013-06-08', 50, 'PE', 1, 1),
(436, '2013-12-06', 50, 'JT', 10, 0),
(441, '2014-03-14', 5, 'GW', 41, 0),
(442, '2014-03-15', 5, 'GW', 81, 0),
(443, '2014-03-25', 10, 'TA7', 23, 0),
(445, '2014-03-29', 50, 'JT', 15, 0),
(447, '2014-04-05', 50, 'TA5', 19, 0),
(448, '2014-04-05', 50, 'JT', 41, 0),
(449, '2014-04-07', 10, 'TA8', 7, 0),
(450, '2014-04-07', 5, 'GW', 33, 0),
(451, '2014-04-07', 5, 'GW', 17, 0),
(453, '2014-04-16', 50, 'PR', 1, 1),
(454, '2014-04-16', 50, 'PR', 1, 1),
(455, '2014-04-16', 50, 'PR', 1, 1),
(456, '2014-04-16', 50, 'PR', 1, 1),
(457, '2014-04-25', 50, 'PR', 1, 1),
(458, '2014-04-25', 50, 'PR', 1, 1),
(459, '2014-04-25', 50, 'PR', 1, 1),
(460, '2014-04-25', 50, 'PR', 1, 1),
(461, '2014-04-25', 50, 'PR', 1, 1),
(462, '2014-04-25', 50, 'PR', 1, 1),
(463, '2014-04-25', 50, 'PR', 1, 1),
(464, '2014-04-25', 50, 'PR', 1, 1),
(465, '2014-04-25', 50, 'PR', 1, 1),
(466, '2014-04-25', 50, 'PR', 1, 1),
(467, '2014-04-26', 50, 'PR', 1, 1),
(468, '2014-04-26', 50, 'PR', 1, 1),
(469, '2014-04-26', 50, 'PR', 1, 1),
(470, '2014-04-26', 50, 'PR', 1, 1),
(471, '2014-04-26', 50, 'PR', 1, 1),
(472, '2014-04-26', 50, 'PR', 1, 1),
(473, '2014-04-26', 50, 'PR', 1, 1),
(474, '2014-04-26', 50, 'PR', 1, 1),
(475, '2014-04-26', 50, 'PR', 1, 1),
(476, '2014-04-26', 50, 'PR', 1, 1),
(477, '2014-04-26', 50, 'PR', 1, 1),
(478, '2014-04-26', 50, 'PR', 1, 1),
(479, '2014-04-26', 50, 'PR', 1, 1),
(480, '2014-04-26', 50, 'PR', 1, 1),
(481, '2014-04-26', 50, 'PR', 1, 1),
(482, '2014-04-26', 50, 'PR', 1, 1),
(483, '2014-04-26', 50, 'PR', 1, 1),
(484, '2014-04-26', 50, 'PR', 1, 1),
(485, '2014-04-26', 50, 'PR', 1, 1),
(486, '2014-04-26', 50, 'PR', 1, 1),
(487, '2014-04-26', 50, 'PR', 1, 1),
(488, '2014-04-26', 50, 'PR', 1, 1),
(489, '2014-04-26', 50, 'PR', 1, 1),
(490, '2014-04-28', 50, 'PR', 1, 1),
(491, '2014-04-28', 50, 'PR', 1, 1),
(492, '2014-04-28', 50, 'PR', 1, 1),
(493, '2014-04-28', 50, 'PR', 1, 1),
(494, '2014-04-28', 50, 'PR', 1, 1),
(495, '2014-04-28', 50, 'PR', 1, 1),
(496, '2014-04-28', 50, 'PR', 1, 1),
(497, '2014-04-28', 50, 'PR', 1, 1),
(498, '2014-04-28', 50, 'PR', 1, 1),
(499, '2014-04-28', 50, 'PR', 1, 1),
(500, '2014-04-28', 50, 'PR', 1, 1),
(501, '2014-04-28', 50, 'PR', 1, 1),
(502, '2014-04-28', 50, 'PR', 1, 1),
(503, '2014-04-28', 50, 'PR', 1, 1),
(504, '2014-04-28', 50, 'PR', 1, 1),
(505, '2014-04-28', 50, 'PR', 1, 1),
(506, '2014-04-28', 50, 'PR', 1, 1),
(507, '2014-04-28', 50, 'PR', 1, 1),
(508, '2014-04-28', 50, 'PR', 1, 1),
(509, '2014-04-28', 50, 'PR', 1, 1),
(510, '2014-04-28', 50, 'PR', 1, 1),
(511, '2014-04-28', 50, 'PR', 1, 1),
(512, '2014-04-28', 50, 'PR', 1, 1),
(513, '2014-04-28', 50, 'PR', 1, 1),
(514, '2014-04-28', 50, 'PR', 1, 1),
(515, '2014-04-28', 50, 'PR', 1, 1),
(516, '2014-04-28', 50, 'PR', 1, 1),
(517, '2014-04-28', 50, 'PR', 1, 1),
(518, '2014-04-28', 50, 'PR', 1, 1),
(519, '2014-04-28', 50, 'PR', 1, 1),
(520, '2014-04-28', 50, 'PR', 1, 1),
(521, '2014-04-28', 50, 'PR', 1, 1),
(522, '2014-04-28', 50, 'PR', 1, 1),
(523, '2014-04-28', 50, 'PR', 1, 1),
(524, '2014-04-28', 50, 'PR', 1, 1),
(525, '2014-04-28', 50, 'PR', 1, 1),
(526, '2014-04-28', 50, 'PR', 1, 1),
(527, '2014-04-28', 50, 'PR', 1, 1),
(528, '2014-04-28', 50, 'PR', 1, 1),
(529, '2014-04-28', 50, 'PR', 1, 1),
(530, '2014-04-28', 50, 'PR', 1, 1),
(531, '2014-04-28', 50, 'PR', 1, 1),
(532, '2014-04-28', 50, 'PR', 1, 1),
(533, '2014-04-28', 50, 'PR', 1, 1),
(534, '2014-04-28', 50, 'PR', 1, 1),
(535, '2014-04-28', 50, 'PR', 1, 1),
(536, '2014-04-28', 50, 'PR', 1, 1),
(537, '2014-04-28', 50, 'PR', 1, 1),
(538, '2014-04-28', 50, 'PR', 1, 1),
(539, '2014-04-28', 50, 'PR', 1, 1),
(540, '2014-04-28', 50, 'PR', 1, 1),
(541, '2014-04-28', 50, 'PR', 1, 1),
(542, '2014-04-28', 50, 'PR', 1, 1),
(543, '2014-04-28', 50, 'PR', 1, 1),
(544, '2014-04-28', 50, 'PR', 1, 1),
(545, '2014-04-28', 50, 'PR', 1, 1),
(546, '2014-04-28', 50, 'PR', 1, 1),
(547, '2014-04-28', 50, 'PR', 1, 1),
(548, '2014-04-28', 50, 'PR', 1, 1),
(549, '2014-04-28', 50, 'PR', 1, 1),
(550, '2014-04-28', 50, 'PR', 1, 1),
(551, '2014-04-28', 50, 'PR', 1, 1),
(552, '2014-04-28', 50, 'PR', 1, 1),
(553, '2014-04-28', 50, 'PR', 1, 1),
(554, '2014-04-28', 50, 'PR', 1, 1),
(555, '2014-04-28', 50, 'PR', 1, 1),
(556, '2014-04-28', 50, 'PR', 1, 1),
(557, '2014-04-28', 50, 'PR', 1, 1),
(558, '2014-04-28', 50, 'PR', 1, 1),
(559, '2014-04-28', 50, 'PR', 1, 1),
(560, '2014-04-28', 50, 'PR', 1, 1),
(561, '2014-04-28', 50, 'PR', 1, 1),
(562, '2014-04-28', 50, 'PR', 1, 1),
(563, '2014-04-28', 50, 'PR', 1, 1),
(564, '2014-04-28', 50, 'PR', 1, 1),
(565, '2014-04-28', 50, 'PR', 1, 1),
(566, '2014-04-28', 50, 'PR', 1, 1),
(567, '2014-04-28', 50, 'PR', 1, 1),
(568, '2014-04-28', 50, 'PR', 1, 1),
(569, '2014-04-28', 50, 'PR', 1, 1),
(570, '2014-04-28', 50, 'PR', 1, 1),
(571, '2014-04-28', 50, 'PR', 1, 1),
(572, '2014-04-28', 50, 'PR', 1, 1),
(573, '2014-04-28', 50, 'PR', 1, 1),
(574, '2014-04-28', 50, 'PR', 1, 1),
(575, '2014-04-29', 50, 'PR', 1, 1),
(576, '2014-05-02', 50, 'PR', 1, 1),
(577, '2014-05-08', 5, 'GW', 7, 0),
(579, '2014-05-12', 5, 'GW', 1, 1),
(580, '2014-05-22', 50, 'PR', 1, 1),
(581, '2014-05-22', 50, 'PR', 1, 1),
(582, '2014-05-23', 50, 'PR', 1, 1),
(583, '2014-05-23', 50, 'PR', 1, 1),
(584, '2014-05-23', 50, 'PR', 1, 1),
(585, '2014-05-23', 50, 'PR', 1, 1),
(586, '2014-05-23', 50, 'PR', 1, 1),
(587, '2014-05-23', 50, 'PR', 1, 1),
(588, '2014-05-23', 50, 'PR', 1, 1),
(589, '2014-05-23', 50, 'PR', 1, 1),
(590, '2014-05-23', 50, 'PR', 1, 1),
(591, '2014-05-23', 50, 'PR', 1, 1),
(592, '2014-05-23', 50, 'PR', 1, 1),
(593, '2014-05-23', 50, 'PR', 1, 1),
(594, '2014-05-23', 50, 'PR', 1, 1),
(595, '2014-05-23', 50, 'PR', 1, 1),
(596, '2014-05-23', 50, 'PR', 1, 1),
(597, '2014-05-23', 50, 'PR', 1, 1),
(598, '2014-05-23', 50, 'PR', 1, 1),
(599, '2014-05-23', 50, 'PR', 1, 1),
(600, '2014-05-23', 50, 'PR', 1, 1),
(601, '2014-05-23', 50, 'PR', 1, 1),
(602, '2014-05-23', 50, 'PR', 1, 1),
(603, '2014-05-23', 50, 'PR', 1, 1),
(604, '2014-05-23', 50, 'PR', 1, 1),
(605, '2014-05-23', 50, 'PR', 1, 1),
(606, '2014-05-23', 50, 'PR', 1, 1),
(607, '2014-05-23', 50, 'PR', 1, 1),
(608, '2014-05-23', 50, 'PR', 1, 1),
(609, '2014-05-23', 50, 'PR', 1, 1),
(610, '2014-05-23', 50, 'PR', 1, 1),
(611, '2014-05-23', 50, 'PR', 1, 1),
(612, '2014-05-23', 50, 'PR', 1, 1),
(613, '2014-05-26', 50, 'PR', 1, 1),
(614, '2014-05-26', 50, 'PR', 1, 1),
(615, '2014-05-26', 50, 'PR', 1, 1),
(616, '2014-05-29', 50, 'PC', 48, 1),
(617, '2014-05-30', 5, 'GW', 7, 0),
(618, '2014-07-01', 50, 'PR', 1, 1),
(619, '2014-07-01', 50, 'PR', 1, 1),
(620, '2014-07-01', 50, 'PR', 1, 1),
(621, '2014-07-01', 50, 'PR', 1, 1),
(622, '2014-07-01', 50, 'PR', 1, 1),
(623, '2014-07-03', 50, 'PR', 1, 1),
(624, '2014-07-03', 50, 'PR', 1, 1),
(625, '2014-07-03', 50, 'PR', 1, 1),
(626, '2014-07-03', 50, 'PR', 1, 1),
(627, '2014-07-03', 50, 'PR', 1, 1),
(628, '2014-07-05', 50, 'PR', 1, 1),
(629, '2014-07-05', 50, 'PR', 1, 1),
(630, '2014-07-07', 50, 'PR', 1, 1),
(631, '2014-07-07', 50, 'PR', 1, 1),
(632, '2014-07-07', 50, 'PR', 1, 1),
(633, '2014-07-07', 50, 'PR', 1, 1),
(634, '2014-07-07', 50, 'PR', 1, 1),
(635, '2014-07-07', 50, 'PR', 1, 1),
(636, '2014-07-07', 50, 'PR', 1, 1),
(637, '2014-07-07', 50, 'PR', 1, 1),
(638, '2014-07-07', 50, 'PR', 1, 1),
(639, '2014-07-07', 50, 'PR', 1, 1),
(640, '2014-07-07', 50, 'PR', 1, 1),
(641, '2014-07-08', 50, 'PR', 1, 1),
(642, '2014-07-08', 50, 'PR', 1, 1),
(643, '2014-07-08', 50, 'PR', 1, 1),
(644, '2014-07-08', 50, 'PR', 1, 1),
(645, '2014-07-15', 50, 'PC', 21, 1),
(646, '2014-07-15', 50, 'PC', 37, 1),
(647, '2014-08-02', 50, 'PR', 1, 1),
(648, '2014-08-02', 50, 'PR', 1, 1),
(649, '2014-08-02', 50, 'PR', 1, 1),
(650, '2014-08-02', 50, 'PR', 1, 1),
(651, '2014-08-02', 50, 'PR', 1, 1),
(652, '2014-08-02', 50, 'PR', 1, 1),
(653, '2014-08-02', 50, 'PR', 1, 1),
(654, '2014-08-02', 50, 'PR', 1, 1),
(655, '2015-01-23', 50, 'PC', 66, 1),
(656, '2015-01-24', 50, 'PC', 40, 1),
(657, '2015-01-27', 50, 'PC', 79, 1),
(658, '2015-01-31', 5, 'GW', 17, 0),
(659, '2015-01-31', 5, 'GW', 7, 0),
(660, '2015-03-25', 50, 'PC', 75, 1),
(661, '2015-06-12', 50, 'PC', 89, 1),
(662, '2015-06-22', 50, 'PC', 93, 1),
(663, '2015-09-24', 50, 'PC', 95, 1),
(664, '2015-11-19', 50, 'PC', 27, 1),
(665, '2016-02-02', 50, 'PC', 110, 1),
(666, '2016-04-20', 50, 'PC', 107, 1),
(668, '2016-06-09', 50, 'PC', 126, 1),
(669, '2016-06-14', 5, 'GW', 19, 0),
(670, '2016-06-16', 5, 'GW', 17, 0),
(671, '2016-06-16', 5, 'GW', 7, 0),
(672, '2016-06-16', 5, 'GW', 81, 0),
(673, '2016-06-20', 5, 'GW', 17, 0),
(674, '2016-06-21', 5, 'GW', 17, 0),
(675, '2016-06-21', 5, 'GW', 61, 0),
(676, '2016-06-28', 5, 'GW', 63, 0),
(677, '2016-07-15', 50, 'PC', 132, 1),
(678, '2016-07-28', 5, 'GW', 17, 0),
(679, '2016-07-28', 5, 'GW', 33, 0),
(680, '2016-07-28', 50, 'PC', 130, 1),
(681, '2016-08-17', 50, 'PC', 111, 1),
(682, '2016-08-30', 50, 'PC', 0, 1),
(683, '2016-08-30', 50, 'JT', 130, 0),
(684, '2016-09-28', 50, 'PC', 0, 1);

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

--
-- Table structure for table `th_btha`
--

CREATE TABLE IF NOT EXISTS `th_btha` (
  `bt_id` bigint(10) NOT NULL AUTO_INCREMENT,
  `bt_date` date NOT NULL,
  `bt_value` bigint(10) NOT NULL DEFAULT '0',
  `ha_type` varchar(20) NOT NULL,
  `rgs_id_fkx` int(10) unsigned NOT NULL,
  `tc_validate` int(11) DEFAULT '0' COMMENT '0 : Not validated 1: Validated',
  PRIMARY KEY (`bt_id`),
  KEY `rgs_id_fkx` (`rgs_id_fkx`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=934 ;

--
-- Dumping data for table `th_btha`
--

INSERT INTO `th_btha` (`bt_id`, `bt_date`, `bt_value`, `ha_type`, `rgs_id_fkx`, `tc_validate`) VALUES
(1, '2012-06-25', 16, 'MS', 1, 1),
(2, '2012-06-25', 5, 'BI', 1, 1),
(4, '2012-06-25', 4, 'IP', 1, 1),
(5, '2012-06-28', 16, 'MS', 1, 1),
(6, '2012-06-28', 5, 'BI', 1, 1),
(8, '2012-06-28', 6, 'IP', 1, 1),
(9, '2012-07-11', 3, 'IP', 1, 1),
(10, '2012-07-12', 3, 'IP', 1, 1),
(11, '2012-07-13', 6, 'IP', 1, 1),
(12, '2012-07-21', 4, 'MS', 1, 1),
(13, '2012-07-21', 4, 'IP', 1, 1),
(14, '2012-07-26', 3, 'IP', 7, 1),
(15, '2012-07-24', 6, 'IP', 1, 1),
(17, '2012-07-27', 4, 'MS', 1, 1),
(18, '2012-07-27', 7, 'BI', 1, 1),
(20, '2012-07-27', 3, 'IP', 1, 1),
(21, '2012-07-30', 4, 'IP', 1, 1),
(22, '2012-07-31', 8, 'MS', 1, 1),
(23, '2012-07-31', 3, 'BI', 1, 1),
(25, '2012-07-31', 3, 'IP', 1, 1),
(26, '2012-08-01', 4, 'MS', 1, 1),
(27, '2012-08-01', 1, 'BI', 1, 1),
(29, '2012-08-03', 4, 'MS', 1, 1),
(30, '2012-08-04', 4, 'MS', 1, 1),
(31, '2012-08-06', 3, 'IP', 7, 1),
(32, '2012-08-06', 4, 'MS', 1, 1),
(33, '2012-08-06', 7, 'BI', 1, 1),
(35, '2012-08-06', 5, 'IP', 1, 1),
(36, '2012-08-07', 1, 'BI', 1, 1),
(37, '2012-08-07', 6, 'IP', 1, 1),
(38, '2012-08-09', 2, 'BI', 1, 1),
(39, '2012-08-09', 3, 'IP', 1, 1),
(40, '2012-08-10', 16, 'MS', 1, 1),
(41, '2012-08-10', 3, 'IP', 1, 1),
(42, '2012-08-11', 3, 'IP', 1, 1),
(43, '2012-08-13', 3, 'IP', 1, 1),
(45, '2012-08-14', 4, 'MS', 7, 1),
(46, '2012-08-14', 16, 'MS', 7, 1),
(47, '2012-08-16', 8, 'MS', 7, 1),
(48, '2012-08-21', 3, 'IP', 1, 1),
(49, '2012-08-22', 16, 'MS', 1, 1),
(50, '2012-08-22', 7, 'BI', 1, 1),
(52, '2012-08-22', 6, 'IP', 1, 1),
(53, '2012-08-24', 4, 'MS', 1, 1),
(54, '2012-08-24', 3, 'BI', 1, 1),
(55, '2012-08-24', 3, 'IP', 1, 1),
(56, '2012-08-27', 4, 'MS', 1, 1),
(57, '2012-08-22', 6, 'IP', 7, 1),
(58, '2012-08-28', 3, 'IP', 1, 1),
(59, '2012-08-29', 12, 'MS', 1, 1),
(61, '2012-08-30', 1, 'BI', 1, 1),
(63, '2012-08-31', 7, 'BI', 1, 1),
(64, '2012-09-01', 5, 'BI', 1, 1),
(65, '2012-09-05', 3, 'IP', 1, 1),
(66, '2012-09-06', 3, 'IP', 1, 1),
(67, '2012-09-05', 3, 'IP', 7, 1),
(68, '2012-09-08', 3, 'IP', 23, 1),
(69, '2012-09-08', 1, 'BI', 1, 1),
(70, '2012-09-08', 4, 'IP', 1, 1),
(71, '2012-09-10', 2, 'BI', 1, 1),
(72, '2012-09-10', 3, 'IP', 1, 1),
(73, '2012-09-06', 3, 'IP', 53, 0),
(74, '2012-09-13', 2, 'BI', 1, 1),
(75, '2012-09-13', 3, 'IP', 1, 1),
(76, '2012-09-14', 1, 'BI', 1, 1),
(77, '2012-09-14', 4, 'IP', 1, 1),
(78, '2012-09-18', 4, 'MS', 1, 1),
(79, '2012-09-18', 3, 'IP', 1, 1),
(80, '2012-09-17', 16, 'MS', 81, 1),
(81, '2012-09-17', 4, 'MS', 7, 1),
(82, '2012-09-20', 2, 'BI', 1, 1),
(83, '2012-09-21', 1, 'BI', 1, 1),
(85, '2012-09-21', 2, 'BI', 17, 0),
(86, '2012-09-21', 4, 'IP', 17, 0),
(87, '2012-09-22', 4, 'MS', 53, 0),
(88, '2012-09-22', 28, 'MS', 81, 1),
(89, '2012-09-22', 1, 'BI', 81, 1),
(91, '2012-09-22', 6, 'IP', 81, 1),
(92, '2012-09-22', 24, 'MS', 65, 0),
(93, '2012-09-22', 6, 'IP', 65, 0),
(94, '2012-09-24', 4, 'MS', 1, 1),
(95, '2012-09-24', 1, 'BI', 1, 1),
(96, '2012-09-24', 3, 'IP', 1, 1),
(97, '2012-09-24', 4, 'MS', 7, 1),
(98, '2012-09-24', 6, 'BI', 7, 1),
(104, '2012-09-26', 16, 'MS', 1, 1),
(105, '2012-09-25', 3, 'IP', 7, 1),
(106, '2012-10-03', 4, 'MS', 23, 1),
(107, '2012-10-05', 3, 'IP', 1, 1),
(108, '2012-10-05', 3, 'IP', 23, 1),
(109, '2012-10-09', 3, 'IP', 81, 1),
(110, '2012-09-27', 8, 'MS', 53, 0),
(111, '2012-09-27', 1, 'BI', 53, 0),
(113, '2012-09-27', 3, 'IP', 53, 0),
(114, '2012-10-11', 16, 'MS', 1, 1),
(115, '2012-10-11', 7, 'BI', 1, 1),
(116, '2012-10-11', 6, 'IP', 1, 1),
(117, '2012-10-12', 3, 'IP', 1, 1),
(118, '2012-10-13', 4, 'IP', 17, 0),
(119, '2012-10-15', 3, 'IP', 1, 1),
(120, '2012-10-15', 4, 'IP', 17, 0),
(121, '2012-10-16', 5, 'IP', 17, 0),
(122, '2012-10-18', 4, 'MS', 81, 1),
(123, '2012-10-17', 16, 'MS', 17, 0),
(124, '2012-10-18', 3, 'IP', 17, 0),
(125, '2012-10-19', 7, 'BI', 17, 0),
(127, '2012-10-22', 3, 'IP', 1, 1),
(128, '2012-10-25', 3, 'IP', 1, 1),
(129, '2012-10-26', 3, 'IP', 81, 1),
(130, '2012-10-26', 4, 'MS', 17, 0),
(132, '2012-10-27', 5, 'BI', 17, 0),
(134, '2012-10-27', 3, 'IP', 17, 0),
(135, '2012-10-29', 7, 'BI', 17, 0),
(136, '2012-10-30', 3, 'IP', 17, 0),
(139, '2012-09-21', 2, 'BI', 17, 0),
(141, '2012-10-13', 12, 'IP', 17, 0),
(144, '2012-06-25', 5, 'BI', 1, 1),
(148, '2012-10-19', 7, 'BI', 17, 0),
(150, '2012-10-15', 10, 'IP', 17, 0),
(152, '2012-10-19', 7, 'BI', 17, 0),
(154, '2012-10-16', 8, 'IP', 17, 0),
(156, '2012-10-19', 7, 'BI', 17, 0),
(158, '2012-10-18', 5, 'IP', 17, 0),
(160, '2012-10-19', 7, 'BI', 17, 0),
(162, '2012-10-27', 4, 'IP', 17, 0),
(164, '2012-06-28', 5, 'BI', 1, 1),
(168, '2012-07-27', 7, 'BI', 1, 1),
(172, '2012-10-29', 7, 'BI', 17, 0),
(173, '2012-10-30', 3, 'IP', 17, 0),
(176, '2012-07-27', 7, 'BI', 1, 1),
(180, '2012-07-27', 7, 'BI', 1, 1),
(184, '2012-09-21', 2, 'BI', 17, 0),
(186, '2012-10-13', 12, 'IP', 17, 0),
(188, '2012-10-19', 7, 'BI', 17, 0),
(190, '2012-10-15', 10, 'IP', 17, 0),
(192, '2012-07-27', 7, 'BI', 1, 1),
(196, '2012-07-27', 7, 'BI', 1, 1),
(201, '2012-09-22', 1, 'BI', 81, 1),
(203, '2012-09-22', 8, 'IP', 81, 1),
(205, '2012-07-27', 7, 'BI', 1, 1),
(209, '2012-07-31', 3, 'BI', 1, 1),
(213, '2012-10-19', 7, 'BI', 17, 0),
(215, '2012-10-16', 8, 'IP', 17, 0),
(217, '2012-10-19', 7, 'BI', 17, 0),
(219, '2012-10-18', 5, 'IP', 17, 0),
(221, '2012-07-31', 3, 'BI', 1, 1),
(225, '2012-08-01', 1, 'BI', 1, 1),
(229, '2012-08-07', 1, 'BI', 1, 1),
(233, '2012-08-09', 2, 'BI', 1, 1),
(238, '2012-08-11', 1, 'BI', 1, 1),
(242, '2012-08-11', 1, 'BI', 1, 1),
(246, '2012-10-19', 7, 'BI', 17, 0),
(248, '2012-10-27', 4, 'IP', 17, 0),
(250, '2012-10-29', 7, 'BI', 17, 0),
(251, '2012-10-30', 3, 'IP', 17, 0),
(253, '2012-08-22', 7, 'BI', 1, 1),
(257, '2012-08-22', 7, 'BI', 1, 1),
(261, '2012-08-22', 7, 'BI', 1, 1),
(265, '2012-08-24', 3, 'BI', 1, 1),
(269, '2012-08-30', 1, 'BI', 1, 1),
(273, '2012-08-30', 1, 'BI', 1, 1),
(277, '2012-09-08', 1, 'BI', 1, 1),
(281, '2012-09-08', 1, 'BI', 1, 1),
(285, '2012-10-09', 4, 'IP', 81, 1),
(287, '2012-10-26', 3, 'IP', 81, 1),
(289, '2012-09-10', 2, 'BI', 1, 1),
(293, '2012-09-13', 2, 'BI', 1, 1),
(297, '2012-09-14', 1, 'BI', 1, 1),
(301, '2012-09-20', 2, 'BI', 1, 1),
(305, '2012-09-20', 2, 'BI', 1, 1),
(309, '2012-10-11', 7, 'BI', 1, 1),
(314, '2012-09-22', 1, 'BI', 81, 1),
(316, '2012-09-22', 8, 'IP', 81, 1),
(318, '2012-10-11', 7, 'BI', 1, 1),
(321, '2012-10-12', 6, 'IP', 1, 1),
(323, '2012-10-15', 5, 'IP', 1, 1),
(325, '2012-10-22', 4, 'IP', 1, 1),
(330, '2012-06-25', 5, 'BI', 1, 1),
(334, '2012-06-28', 5, 'BI', 1, 1),
(338, '2012-07-27', 7, 'BI', 1, 1),
(342, '2012-07-27', 7, 'BI', 1, 1),
(346, '2012-10-09', 4, 'IP', 81, 1),
(348, '2012-10-26', 3, 'IP', 81, 1),
(350, '2012-07-27', 7, 'BI', 1, 1),
(354, '2012-07-27', 7, 'BI', 1, 1),
(359, '2012-09-21', 2, 'BI', 17, 0),
(361, '2012-10-13', 12, 'IP', 17, 0),
(363, '2012-07-27', 7, 'BI', 1, 1),
(367, '2012-07-27', 7, 'BI', 1, 1),
(371, '2012-07-31', 3, 'BI', 1, 1),
(375, '2012-10-19', 7, 'BI', 17, 0),
(377, '2012-10-15', 10, 'IP', 17, 0),
(379, '2012-10-19', 7, 'BI', 17, 0),
(381, '2012-10-16', 8, 'IP', 17, 0),
(384, '2012-09-22', 1, 'BI', 81, 1),
(386, '2012-09-22', 8, 'IP', 81, 1),
(388, '2012-07-31', 3, 'BI', 1, 1),
(392, '2012-08-01', 1, 'BI', 1, 1),
(396, '2012-08-07', 1, 'BI', 1, 1),
(400, '2012-08-09', 2, 'BI', 1, 1),
(404, '2012-08-11', 1, 'BI', 1, 1),
(408, '2012-08-11', 1, 'BI', 1, 1),
(412, '2012-08-22', 7, 'BI', 1, 1),
(416, '2012-08-22', 7, 'BI', 1, 1),
(420, '2012-08-22', 7, 'BI', 1, 1),
(424, '2012-08-24', 3, 'BI', 1, 1),
(428, '2012-08-30', 1, 'BI', 1, 1),
(432, '2012-08-30', 1, 'BI', 1, 1),
(436, '2012-09-08', 1, 'BI', 1, 1),
(440, '2012-09-08', 1, 'BI', 1, 1),
(444, '2012-09-10', 2, 'BI', 1, 1),
(448, '2012-09-13', 2, 'BI', 1, 1),
(454, '2012-09-14', 1, 'BI', 1, 1),
(458, '2012-09-20', 2, 'BI', 1, 1),
(462, '2012-10-19', 7, 'BI', 17, 0),
(464, '2012-10-18', 5, 'IP', 17, 0),
(466, '2012-10-19', 7, 'BI', 17, 0),
(468, '2012-10-27', 4, 'IP', 17, 0),
(470, '2012-09-20', 2, 'BI', 1, 1),
(474, '2012-10-11', 7, 'BI', 1, 1),
(478, '2012-10-11', 7, 'BI', 1, 1),
(483, '2012-10-09', 4, 'IP', 81, 1),
(485, '2012-10-26', 3, 'IP', 81, 1),
(487, '2012-10-29', 7, 'BI', 17, 0),
(488, '2012-10-30', 3, 'IP', 17, 0),
(492, '2012-09-22', 1, 'BI', 81, 1),
(494, '2012-09-22', 8, 'IP', 81, 1),
(496, '2012-09-21', 2, 'BI', 17, 0),
(498, '2012-10-13', 12, 'IP', 17, 0),
(500, '2012-10-19', 7, 'BI', 17, 0),
(502, '2012-10-15', 10, 'IP', 17, 0),
(504, '2012-10-19', 7, 'BI', 17, 0),
(506, '2012-10-16', 8, 'IP', 17, 0),
(508, '2012-10-19', 7, 'BI', 17, 0),
(510, '2012-10-18', 5, 'IP', 17, 0),
(512, '2012-10-19', 7, 'BI', 17, 0),
(514, '2012-10-27', 4, 'IP', 17, 0),
(516, '2012-10-29', 7, 'BI', 17, 0),
(517, '2012-10-30', 3, 'IP', 17, 0),
(520, '2012-09-21', 2, 'BI', 17, 0),
(522, '2012-10-13', 12, 'IP', 17, 0),
(528, '2012-10-09', 4, 'IP', 81, 1),
(530, '2012-10-26', 3, 'IP', 81, 1),
(533, '2012-09-22', 1, 'BI', 81, 1),
(535, '2012-09-22', 8, 'IP', 81, 1),
(537, '2012-10-19', 7, 'BI', 17, 0),
(539, '2012-10-15', 10, 'IP', 17, 0),
(541, '2012-10-19', 7, 'BI', 17, 0),
(543, '2012-10-16', 8, 'IP', 17, 0),
(545, '2012-10-19', 7, 'BI', 17, 0),
(547, '2012-10-18', 5, 'IP', 17, 0),
(549, '2012-10-19', 7, 'BI', 17, 0),
(551, '2012-10-27', 4, 'IP', 17, 0),
(556, '2012-11-10', 6, 'IP', 1, 1),
(558, '2012-10-09', 4, 'IP', 81, 1),
(560, '2012-10-26', 3, 'IP', 81, 1),
(562, '2012-10-29', 7, 'BI', 17, 0),
(563, '2012-10-30', 3, 'IP', 17, 0),
(567, '2012-09-22', 1, 'BI', 81, 1),
(569, '2012-09-22', 8, 'IP', 81, 1),
(571, '2012-10-09', 4, 'IP', 81, 1),
(573, '2012-10-26', 3, 'IP', 81, 1),
(577, '2012-09-22', 1, 'BI', 81, 1),
(579, '2012-09-22', 8, 'IP', 81, 1),
(586, '2012-09-21', 2, 'BI', 17, 0),
(588, '2012-10-13', 12, 'IP', 17, 0),
(590, '2012-10-19', 7, 'BI', 17, 0),
(592, '2012-10-15', 10, 'IP', 17, 0),
(619, '2012-11-17', 8, 'MS', 1, 1),
(620, '2012-11-17', 3, 'BI', 1, 1),
(621, '2012-11-16', 2, 'TR', 1, 1),
(623, '2012-11-17', 6, 'IP', 1, 1),
(624, '2012-11-05', 16, 'MS', 81, 1),
(625, '2012-10-09', 4, 'IP', 81, 1),
(626, '2012-11-05', 16, 'MS', 81, 1),
(627, '2012-10-26', 3, 'IP', 81, 1),
(628, '2012-11-05', 12, 'MS', 81, 1),
(629, '2012-11-07', 52, 'MS', 17, 0),
(630, '2012-10-19', 7, 'BI', 17, 0),
(632, '2012-10-16', 13, 'IP', 17, 0),
(633, '2012-11-07', 52, 'MS', 17, 0),
(634, '2012-10-19', 7, 'BI', 17, 0),
(636, '2012-10-18', 7, 'IP', 17, 0),
(637, '2012-11-07', 36, 'MS', 17, 0),
(638, '2012-10-19', 7, 'BI', 17, 0),
(640, '2012-10-27', 5, 'IP', 17, 0),
(641, '2012-11-07', 28, 'MS', 17, 0),
(642, '2012-10-29', 7, 'BI', 17, 0),
(643, '2012-10-30', 3, 'IP', 17, 0),
(645, '2012-12-03', 3, 'IP', 81, 1),
(646, '2012-11-07', 28, 'MS', 17, 0),
(647, '2012-12-01', 2, 'TR', 17, 0),
(648, '2012-12-01', 9, 'IP', 17, 0),
(649, '2012-12-03', 7, 'IP', 17, 0),
(650, '2012-12-04', 3, 'IP', 17, 0),
(651, '2012-12-03', 16, 'MS', 7, 1),
(652, '2012-12-03', 3, 'IP', 7, 1),
(653, '2012-12-07', 3, 'IP', 1, 1),
(654, '2012-12-08', 16, 'MS', 1, 1),
(655, '2012-12-10', 8, 'MS', 81, 1),
(656, '2012-12-11', 2, 'TR', 1, 1),
(657, '2012-12-12', 2, 'TR', 81, 1),
(658, '2012-12-13', 2, 'TR', 81, 1),
(659, '2012-12-13', 2, 'TR', 17, 0),
(660, '2012-12-14', 9, 'IP', 1, 1),
(661, '2012-12-14', 3, 'IP', 7, 1),
(662, '2012-12-14', 3, 'IP', 81, 1),
(663, '2012-12-01', 0, 'TR', 55, 0),
(664, '2012-12-17', 3, 'IP', 34, 0),
(665, '2012-12-17', 3, 'IP', 1, 1),
(666, '2012-12-18', 28, 'MS', 17, 0),
(667, '2012-12-14', 2, 'TR', 17, 0),
(668, '2012-12-18', 28, 'MS', 17, 0),
(669, '2012-12-21', 3, 'IP', 1, 1),
(671, '2012-12-11', 12, 'MS', 65, 0),
(672, '2012-12-11', 2, 'TR', 65, 0),
(673, '2012-12-11', 9, 'IP', 65, 0),
(674, '2012-12-21', 1, 'BI', 34, 0),
(675, '2012-12-21', 5, 'IP', 34, 0),
(677, '2013-01-08', 1, 'BI', 1, 1),
(678, '2013-01-08', 3, 'IP', 1, 1),
(679, '2013-01-10', 3, 'IP', 1, 1),
(680, '2013-01-24', 3, 'IP', 1, 1),
(681, '2013-01-30', 12, 'MS', 1, 1),
(682, '2013-01-30', 2, 'BI', 1, 1),
(683, '2013-01-30', 2, 'TR', 1, 1),
(684, '2013-01-30', 9, 'IP', 1, 1),
(685, '2012-12-17', 12, 'MS', 53, 0),
(686, '2012-12-17', 2, 'BI', 53, 0),
(688, '2012-12-17', 5, 'IP', 53, 0),
(689, '2013-02-15', 1, 'BI', 1, 1),
(691, '2013-02-22', 3, 'BI', 1, 1),
(692, '2013-02-07', 4, 'MS', 53, 0),
(693, '2013-02-07', 9, 'IP', 53, 0),
(694, '2013-03-29', 9, 'IP', 1, 1),
(698, '2013-04-09', 4, 'MS', 65, 0),
(701, '2013-04-22', 7, 'BI', 1, 1),
(702, '2013-04-22', 2, 'TR', 1, 1),
(704, '2013-04-22', 7, 'IP', 1, 1),
(705, '2013-04-23', 8, 'MS', 1, 1),
(706, '2013-04-23', 7, 'BI', 1, 1),
(707, '2013-04-23', 2, 'TR', 1, 1),
(709, '2013-04-23', 7, 'IP', 1, 1),
(710, '2013-03-15', 3, 'IP', 53, 0),
(711, '2013-04-24', 2, 'TR', 1, 1),
(712, '2013-04-25', 12, 'MS', 1, 1),
(714, '2013-04-26', 16, 'MS', 1, 1),
(715, '2013-04-26', 7, 'BI', 1, 1),
(716, '2013-04-26', 2, 'TR', 1, 1),
(718, '2013-04-26', 9, 'IP', 1, 1),
(719, '2013-04-29', 4, 'MS', 1, 1),
(721, '2013-04-29', 3, 'IP', 1, 1),
(722, '2013-05-01', 4, 'MS', 1, 1),
(723, '2013-05-01', 7, 'BI', 1, 1),
(724, '2013-05-01', 2, 'TR', 1, 1),
(726, '2013-05-01', 3, 'IP', 1, 1),
(728, '2013-05-01', 12, 'MS', 41, 0),
(729, '2013-05-01', 7, 'BI', 41, 0),
(730, '2013-05-01', 2, 'TR', 41, 0),
(732, '2013-05-01', 3, 'IP', 41, 0),
(733, '2013-05-03', 8, 'MS', 39, 0),
(734, '2013-05-03', 7, 'BI', 39, 0),
(736, '2013-05-03', 3, 'IP', 39, 0),
(737, '2013-05-03', 8, 'MS', 1, 1),
(738, '2013-05-03', 12, 'MS', 41, 0),
(739, '2013-05-04', 2, 'TR', 39, 0),
(740, '2013-05-06', 5, 'IP', 19, 0),
(741, '2013-05-06', 7, 'BI', 76, 0),
(743, '2013-05-06', 3, 'IP', 76, 0),
(744, '2013-05-06', 9, 'IP', 39, 0),
(745, '2013-05-07', 8, 'MS', 39, 0),
(746, '2013-05-09', 8, 'MS', 1, 1),
(747, '2013-05-09', 3, 'IP', 1, 1),
(748, '2013-05-09', 8, 'MS', 56, 0),
(749, '2013-05-09', 12, 'MS', 81, 1),
(750, '2013-05-09', 2, 'TR', 81, 1),
(751, '2013-05-10', 4, 'MS', 49, 0),
(752, '2013-05-10', 7, 'BI', 49, 0),
(754, '2013-05-10', 3, 'IP', 49, 0),
(755, '2013-05-10', 8, 'MS', 1, 1),
(756, '2013-05-10', 2, 'BI', 1, 1),
(757, '2013-05-10', 9, 'IP', 1, 1),
(758, '2013-05-09', 8, 'MS', 53, 0),
(759, '2013-05-10', 3, 'IP', 41, 0),
(761, '2013-05-13', 8, 'MS', 1, 1),
(763, '2013-05-11', 4, 'MS', 53, 0),
(764, '2013-05-11', 1, 'BI', 53, 0),
(766, '2013-05-11', 3, 'IP', 53, 0),
(767, '2013-05-14', 4, 'MS', 1, 1),
(768, '2013-05-14', 7, 'BI', 1, 1),
(769, '2013-05-14', 2, 'TR', 1, 1),
(771, '2013-05-14', 3, 'IP', 1, 1),
(772, '2013-05-15', 3, 'IP', 1, 1),
(773, '2013-05-16', 8, 'MS', 1, 1),
(774, '2013-05-16', 7, 'BI', 1, 1),
(775, '2013-05-16', 2, 'TR', 1, 1),
(777, '2013-05-16', 3, 'IP', 1, 1),
(778, '2013-05-17', 0, 'TR', 1, 1),
(783, '2013-05-23', 4, 'MS', 1, 1),
(789, '2013-05-25', 8, 'MS', 1, 1),
(790, '2013-05-25', 7, 'BI', 1, 1),
(791, '2013-05-25', 2, 'TR', 1, 1),
(793, '2013-05-25', 3, 'IP', 1, 1),
(794, '2013-05-30', 3, 'IP', 1, 1),
(795, '2013-06-05', 8, 'MS', 1, 1),
(796, '2013-06-06', 3, 'IP', 1, 1),
(797, '2013-06-07', 4, 'MS', 1, 1),
(798, '2013-06-07', 2, 'TR', 1, 1),
(799, '2013-06-08', 3, 'IP', 1, 1),
(800, '2013-06-10', 4, 'MS', 1, 1),
(802, '2013-06-13', 3, 'IP', 1, 1),
(803, '2013-06-19', 2, 'TR', 1, 1),
(804, '2013-06-19', 1, 'BI', 19, 0),
(805, '2013-06-19', 1, 'TR', 19, 0),
(806, '2013-07-20', 6, 'BI', 7, 0),
(807, '2013-11-22', 24, 'MS', 1, 1),
(808, '2013-11-25', 7, 'BI', 1, 1),
(809, '2013-11-25', 5, 'IP', 1, 1),
(810, '2013-11-26', 3, 'IP', 1, 1),
(811, '2013-11-28', 3, 'IP', 1, 1),
(812, '2013-11-29', 5, 'BI', 1, 1),
(814, '2013-11-29', 7, 'IP', 1, 1),
(815, '2013-12-02', 4, 'BI', 1, 1),
(816, '2013-12-03', 2, 'BI', 1, 1),
(817, '2013-12-04', 16, 'MS', 1, 1),
(818, '2013-12-05', 1, 'BI', 1, 1),
(819, '2013-12-06', 3, 'IP', 10, 0),
(820, '2013-12-11', 4, 'BI', 1, 1),
(821, '2013-12-16', 16, 'MS', 1, 1),
(822, '2013-12-16', 7, 'BI', 1, 1),
(823, '2014-01-22', 3, 'IP', 10, 0),
(824, '2013-05-14', 4, 'MS', 18, 0),
(825, '2013-05-14', 7, 'BI', 18, 0),
(826, '2013-05-14', 2, 'TR', 18, 0),
(828, '2013-05-14', 3, 'IP', 18, 0),
(829, '2014-01-31', 3, 'BI', 1, 1),
(830, '2014-02-01', 4, 'BI', 1, 1),
(831, '2013-06-20', 1, 'TR', 36, 0),
(832, '2012-11-07', 8, 'MS', 32, 0),
(833, '2014-04-05', 5, 'IP', 1, 1),
(834, '2014-04-07', 5, 'IP', 1, 1),
(835, '2014-04-09', 4, 'BI', 1, 1),
(836, '2014-04-09', 2, 'TR', 1, 1),
(837, '2014-04-11', 9, 'IP', 1, 1),
(838, '2014-04-12', 9, 'IP', 1, 1),
(839, '2014-04-14', 9, 'IP', 1, 1),
(840, '2014-04-15', 5, 'IP', 1, 1),
(841, '2014-04-17', 7, 'BI', 1, 1),
(842, '2014-04-18', 4, 'MS', 1, 1),
(843, '2014-04-18', 7, 'BI', 1, 1),
(844, '2014-04-21', 12, 'MS', 1, 1),
(845, '2014-04-21', 4, 'BI', 1, 1),
(846, '2014-04-22', 4, 'MS', 1, 1),
(847, '2014-04-23', 8, 'MS', 1, 1),
(848, '2014-04-28', 8, 'MS', 1, 1),
(849, '2014-04-28', 6, 'BI', 1, 1),
(850, '2014-04-28', 3, 'IP', 1, 1),
(851, '2014-04-29', 2, 'TR', 1, 1),
(852, '2014-04-25', 7, 'BI', 63, 0),
(853, '2014-05-05', 7, 'BI', 1, 1),
(854, '2014-05-06', 4, 'MS', 1, 1),
(855, '2014-05-08', 16, 'MS', 1, 1),
(856, '2014-05-13', 16, 'MS', 1, 1),
(857, '2014-05-13', 1, 'BI', 1, 1),
(858, '2014-06-17', 2, 'TR', 1, 1),
(859, '2014-05-13', 5, 'IP', 1, 1),
(860, '2014-11-28', 8, 'MS', 1, 1),
(861, '2014-05-20', 7, 'BI', 1, 1),
(862, '2014-06-17', 2, 'TR', 1, 1),
(863, '2014-06-18', 3, 'IP', 1, 1),
(864, '2014-11-28', 8, 'MS', 1, 1),
(865, '2014-09-17', 9, 'IP', 81, 0),
(866, '2015-04-21', 8, 'MS', 1, 1),
(867, '2015-04-24', 28, 'MS', 1, 1),
(868, '2015-04-28', 0, 'BI', 1, 1),
(869, '2015-04-30', 3, 'IP', 1, 1),
(870, '2015-05-08', 3, 'IP', 1, 1),
(871, '2015-05-14', 2, 'BI', 1, 1),
(872, '2015-05-05', 1, 'TR', 19, 0),
(873, '2015-05-26', 3, 'IP', 1, 1),
(874, '2015-05-27', 5, 'IP', 1, 1),
(875, '2015-06-01', 3, 'IP', 1, 1),
(876, '2015-05-05', 2, 'TR', 41, 0),
(877, '2015-06-25', 3, 'IP', 1, 1),
(878, '2015-07-01', 2, 'TR', 1, 1),
(879, '2015-07-02', 12, 'MS', 1, 0),
(880, '2015-07-02', 3, 'BI', 1, 0),
(881, '2015-07-02', 2, 'TR', 1, 0),
(882, '2015-07-02', 5, 'IP', 1, 0),
(883, '2015-08-10', 3, 'IP', 94, 0),
(884, '2015-09-24', 16, 'MS', 95, 0),
(885, '2016-01-22', 8, 'MS', 1, 0),
(886, '2016-01-13', 7, 'BI', 1, 0),
(887, '2016-02-20', 3, 'IP', 1, 0),
(888, '2016-03-16', 7, 'BI', 111, 0),
(889, '2016-03-18', 5, 'BI', 1, 0),
(890, '2016-03-07', 7, 'IP', 1, 0),
(891, '2015-05-05', 0, 'TR', 55, 0),
(892, '2016-03-18', 5, 'BI', 1, 0),
(893, '2016-03-17', 9, 'IP', 1, 0),
(894, '2016-03-18', 5, 'BI', 1, 0),
(895, '2016-03-18', 9, 'IP', 1, 0),
(896, '2016-03-26', 7, 'IP', 1, 0),
(897, '2016-04-18', 5, 'IP', 1, 0),
(898, '2016-04-29', 3, 'IP', 1, 0),
(899, '2016-03-18', 13, 'IP', 111, 0),
(900, '2016-06-09', 3, 'IP', 1, 0),
(901, '2016-06-13', 1, 'BI', 1, 0),
(902, '2016-06-15', 1, 'BI', 1, 0),
(903, '2016-06-17', 2, 'BI', 1, 0),
(904, '2016-06-18', 2, 'BI', 1, 0),
(905, '2016-06-20', 4, 'BI', 1, 0),
(906, '2016-06-21', 7, 'BI', 1, 0),
(907, '2016-06-23', 1, 'BI', 1, 0),
(908, '2016-06-24', 1, 'BI', 1, 0),
(909, '2016-07-01', 0, 'BI', 1, 0),
(910, '2016-07-01', 3, 'IP', 1, 0),
(911, '2016-07-12', 7, 'BI', 1, 0),
(912, '2016-07-27', 3, 'BI', 132, 0),
(913, '2016-07-27', 5, 'IP', 132, 0),
(914, '2016-07-27', 2, 'BI', 1, 0),
(915, '2016-07-27', 3, 'IP', 1, 0),
(916, '2016-07-29', 2, 'BI', 1, 0),
(917, '2016-08-01', 3, 'IP', 1, 0),
(918, '2016-08-10', 1, 'BI', 1, 0),
(919, '2016-08-24', 3, 'IP', 1, 0),
(920, '2016-08-26', 3, 'IP', 1, 0),
(921, '2016-09-03', 3, 'IP', 1, 0),
(922, '2016-09-05', 3, 'IP', 1, 0),
(923, '2016-09-07', 3, 'IP', 1, 0),
(924, '2016-09-08', 3, 'IP', 1, 0),
(925, '2016-09-10', 3, 'IP', 1, 0),
(926, '2016-09-14', 3, 'IP', 1, 0),
(927, '2016-09-17', 1, 'BI', 1, 0),
(928, '2016-09-17', 9, 'IP', 1, 0),
(929, '2016-09-19', 3, 'IP', 1, 0),
(930, '2016-09-20', 1, 'BI', 132, 0),
(931, '2016-09-20', 3, 'IP', 132, 0),
(932, '2016-09-20', 3, 'IP', 1, 0),
(933, '2015-05-05', 2, 'TR', 81, 0);

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

--
