-- phpMyAdmin SQL Dump -- version 2.11.1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Apr 05, 2019 at 05:11 PM -- Server version: 5.1.49 -- PHP Version: 5.3.3-1ubuntu9.10 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; -- -- Database: `APSMX-412` -- -- -------------------------------------------------------- -- -- Table structure for table `tbl_opt` -- CREATE TABLE IF NOT EXISTS `tbl_opt` ( `opt_id` int(11) NOT NULL AUTO_INCREMENT, `poll_id` int(11) NOT NULL, `oid` varchar(300) NOT NULL, `vcnt` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`opt_id`), KEY `poll_id` (`poll_id`), KEY `oid` (`oid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1233 ; -- -- Dumping data for table `tbl_opt` -- INSERT INTO `tbl_opt` (`opt_id`, `poll_id`, `oid`, `vcnt`) VALUES (1203, 1086, 'item5', 19), (1202, 1086, 'item3', 21), (1201, 1086, 'item7', 22), (1200, 1084, 'shore', 384), (1199, 1084, 'forrest', 493), (1198, 1084, 'mountain', 332), (1197, 1084, 'land', 475), (1196, 1083, 'racoon', 100), (1195, 1086, 'item2', 21), (1194, 1086, 'item10', 27), (1193, 1086, 'item6', 28), (1190, 1085, 'fish', 90), (1189, 1083, 'rabbit', 233), (1188, 1085, 'crab', 78), (1187, 1085, 'dolphine', 103), (1186, 1082, 'rabbit', 215), (1192, 1086, 'item9', 20), (1191, 1082, 'cat', 279), (1185, 1082, 'dog', 245), (1184, 1083, 'cat', 186), (1183, 1083, 'dog', 63), (1204, 1086, 'item0', 27), (1205, 1086, 'item4', 17), (1206, 1086, 'item8', 22), (1207, 1086, 'item1', 18), (1208, 1086, 'item11', 24), (1209, 1086, 'item27', 3), (1210, 1086, 'item25', 4), (1211, 1086, 'item21', 3), (1212, 1086, 'item18', 7), (1213, 1086, 'item28', 4), (1214, 1086, 'item15', 6), (1215, 1086, 'item16', 4), (1216, 1086, 'item20', 4), (1217, 1086, 'item14', 5), (1218, 1086, 'item13', 2), (1219, 1086, 'item17', 2), (1220, 1086, 'item23', 3), (1221, 1086, 'item22', 2), (1222, 1087, 'option1', 4), (1223, 1087, 'option3', 6), (1224, 1087, 'option2', 3), (1225, 1086, 'item19', 2), (1226, 1086, 'item24', 4), (1227, 1086, 'item26', 3), (1228, 1086, 'item29', 3), (1229, 1085, 'horse', 31), (1230, 1085, 'owl', 41), (1231, 1085, 'hawk', 41), (1232, 1086, 'item12', 3); -- -------------------------------------------------------- -- -- Table structure for table `tbl_poll` -- CREATE TABLE IF NOT EXISTS `tbl_poll` ( `poll_id` int(11) NOT NULL AUTO_INCREMENT, `dt_create` datetime NOT NULL, `pid` varchar(300) NOT NULL, PRIMARY KEY (`poll_id`), KEY `pid` (`pid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1088 ; -- -- Dumping data for table `tbl_poll` -- INSERT INTO `tbl_poll` (`poll_id`, `dt_create`, `pid`) VALUES (1082, '2018-12-31 02:13:27', 'poll-1002'), (1083, '2018-12-31 03:00:58', 'poll-1004'), (1084, '2018-12-31 03:31:07', 'poll-1005'), (1085, '2018-12-31 03:31:12', 'poll-1003'), (1086, '2018-12-31 06:29:32', 'poll-1001'), (1087, '2019-02-23 19:57:00', 'poll-1000'); -- -------------------------------------------------------- -- -- Table structure for table `tbl_voter` -- CREATE TABLE IF NOT EXISTS `tbl_voter` ( `voter_id` int(11) NOT NULL AUTO_INCREMENT, `dt_create` datetime NOT NULL, `poll_id` int(11) NOT NULL, `ipsig` varchar(100) DEFAULT NULL, `cksig` varchar(100) DEFAULT NULL, `ans` text, `dt_vote` datetime NOT NULL, `cnt` int(11) NOT NULL, PRIMARY KEY (`voter_id`), KEY `poll_id` (`poll_id`), KEY `ipsig` (`ipsig`), KEY `cksig` (`cksig`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3244 ; -- -- Dumping data for table `tbl_voter` -- INSERT INTO `tbl_voter` (`voter_id`, `dt_create`, `poll_id`, `ipsig`, `cksig`, `ans`, `dt_vote`, `cnt`) VALUES (3242, '2019-04-05 14:38:11', 1084, '192.168.131.10', 'VplwMUtRzuvMyeOPdwHH', '["shore","land","forrest"]', '2019-04-05 14:38:11', 1), (3235, '2019-04-05 09:32:24', 1082, '192.168.131.10', 'VplwMUtRzuvMyeOPdwHH', '["dog","cat","rabbit"]', '2019-04-05 09:32:24', 1), (3240, '2019-04-05 12:59:26', 1086, '192.168.131.10', 'VplwMUtRzuvMyeOPdwHH', '["item15","item18","item26"]', '2019-04-05 12:59:26', 1), (3241, '2019-04-05 13:09:24', 1083, '192.168.131.10', 'VplwMUtRzuvMyeOPdwHH', '["cat","rabbit","racoon"]', '2019-04-05 13:09:24', 1);