-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Jun 30, 2019 at 09:36 AM
-- Server version: 5.6.41-84.1
-- PHP Version: 7.2.7

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `datacom_abc`
--

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

--
-- Table structure for table `states`
--

CREATE TABLE `states` (
  `id` int(11) NOT NULL,
  `abbr` varchar(2) NOT NULL,
  `name` varchar(250) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `states`
--

INSERT INTO `states` (`id`, `abbr`, `name`) VALUES
(1, 'AL', 'Alabama'),
(2, 'AK', 'Alaska'),
(3, 'AZ', 'Arizona'),
(4, 'AR', 'Arkansas'),
(5, 'CA', 'California'),
(6, 'CO', 'Colorado'),
(7, 'CT', 'Connecticut'),
(8, 'DE', 'Delaware'),
(9, 'DC', 'District of Columbia'),
(10, 'FL', 'Florida'),
(11, 'GA', 'Georgia'),
(12, 'HI', 'Hawaii'),
(13, 'ID', 'Idaho'),
(14, 'IL', 'Illinois'),
(15, 'IN', 'Indiana'),
(16, 'IA', 'Iowa'),
(17, 'KS', 'Kansas'),
(18, 'KY', 'Kentucky'),
(19, 'LA', 'Louisiana'),
(20, 'ME', 'Maine'),
(21, 'MD', 'Maryland'),
(22, 'MA', 'Massachusetts'),
(23, 'MI', 'Michigan'),
(24, 'MN', 'Minnesota'),
(25, 'MS', 'Mississippi'),
(26, 'MO', 'Missouri'),
(27, 'MT', 'Montana'),
(28, 'NE', 'Nebraska'),
(29, 'NV', 'Nevada'),
(30, 'NH', 'New Hampshire'),
(31, 'NJ', 'New Jersey'),
(32, 'NM', 'New Mexico'),
(33, 'NY', 'New York'),
(34, 'NC', 'North Carolina'),
(35, 'ND', 'North Dakota'),
(36, 'OH', 'Ohio'),
(37, 'OK', 'Oklahoma'),
(38, 'OR', 'Oregon'),
(39, 'PA', 'Pennsylvania'),
(40, 'RI', 'Rhode Island'),
(41, 'SC', 'South Carolina'),
(42, 'SD', 'South Dakota'),
(43, 'TN', 'Tennessee'),
(44, 'TX', 'Texas'),
(45, 'UT', 'Utah'),
(46, 'VT', 'Vermont'),
(47, 'VA', 'Virginia'),
(48, 'WA', 'Washington'),
(49, 'WV', 'West Virginia'),
(50, 'WI', 'Wisconsin'),
(51, 'WY', 'Wyoming');

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

--
-- Table structure for table `tbl_attendee`
--

CREATE TABLE `tbl_attendee` (
  `att_id` int(11) NOT NULL,
  `reg_id` int(11) NOT NULL,
  `regclass_id` int(11) NOT NULL,
  `reg_m_type` varchar(10) NOT NULL,
  `att_f_name` varchar(100) NOT NULL,
  `att_l_name` varchar(100) NOT NULL,
  `att_email` varchar(100) NOT NULL,
  `att_number` int(11) NOT NULL,
  `att_ssn` int(11) NOT NULL,
  `att_price` float NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_attendee`
--

INSERT INTO `tbl_attendee` (`att_id`, `reg_id`, `regclass_id`, `reg_m_type`, `att_f_name`, `att_l_name`, `att_email`, `att_number`, `att_ssn`, `att_price`) VALUES
(10, 17, 7, 'M', 'Sumesh', 'TG', 'ss@dd.cc', 23232, 0, 224),
(2, 14, 2, 'M', 'sdsdsdds', 'werw', 'erwerw', 0, 0, 224),
(3, 16, 5, 'M', 'sumesh', 'suemsh1', '', 0, 0, 224),
(4, 16, 5, 'M', 'wew', 'we', '', 0, 0, 224),
(5, 16, 5, 'N', 'sds', 'dsds', '', 0, 0, 232),
(6, 16, 6, 'M', 'wew', 'ew', '', 0, 0, 0),
(7, 16, 6, 'M', 'w', 'ewe', '', 0, 0, 0),
(8, 16, 6, 'N', 'we', 'w', '', 0, 0, 0),
(9, 16, 6, 'N', 'w434', '343', '', 3, 0, 0),
(11, 18, 8, 'M', 'sumesh', 'tg', 'ss@dd.cc', 23232, 0, 224),
(12, 18, 8, 'M', 'sumesh', 'ee', 'ss@dd.cc', 2323, 0, 224),
(13, 20, 11, 'M', 'eqw', '3q32', '12@dd.cc', 121, 0, 224),
(14, 20, 11, 'M', '12', '12', '1sss@ddd.cc', 21, 0, 224),
(15, 21, 12, 'M', 'sumesh', 'suemsh2', '1sss@ddd.cc', 23232, 0, 224),
(16, 21, 12, 'M', 'sumesh', '12', 'ss@dd.cc', 2323, 0, 224),
(17, 21, 13, 'M', 'we', 'we', 'sss@dd.cc', 0, 0, 0),
(18, 21, 13, 'M', 'wew', 'ew', 'sss@dd.cc', 3232, 0, 0),
(19, 21, 13, 'N', 'w434', 'ew', 'sss@dd.cc', 2323, 0, 0),
(20, 21, 13, 'N', 'sdsd', 'sds', 'ds@dd.cc', 0, 0, 0),
(21, 22, 14, 'M', 'sumesh', '12', 'ss@dd.cc', 343, 0, 224),
(22, 22, 15, 'M', 'wew', 'ew3434', 'sss@dd.cc', 3232, 0, 0),
(23, 24, 17, 'M', 'sdsd', 'we', '', 1212, 0, 224),
(24, 24, 17, 'M', 'sdsd', '', '', 0, 0, 224),
(25, 25, 18, 'M', 'sumesh', 'suemsh1', '1sss@ddd.cc', 0, 0, 224),
(26, 25, 18, 'M', 'we', 'we', '1sss@ddd.cc', 0, 0, 224),
(27, 27, 20, 'M', 'sumesh', 'suemsh1', '1sss@ddd.cc', 1232, 0, 224),
(28, 27, 20, 'M', 'sdsd', '2', 'e323@dd.cc', 23121, 0, 224),
(29, 27, 21, 'M', 'wq', 'qw', 'qw@ff.cc', 121, 0, 50),
(30, 28, 22, 'M', 'first ', 'last', 'mail@mail.com', 2147483647, 0, 165),
(31, 28, 22, 'M', 'first 1', 'last1', 'mail@mail.com1', 2147483647, 0, 165),
(32, 28, 22, 'N', 'nfirst', 'nlast', 'nail@mail.com', 2147483647, 0, 265),
(36, 2, 2, 'M', 'doug', 's', 'doug@abc.net', 2147483647, 3112, 125),
(35, 2, 2, 'M', 'dennis', 's', 'abc@abc.net', 2147483647, 5052, 125),
(37, 3, 3, 'M', 'we', 'wew', 'tes@gkk.cc', 0, 3232, 165),
(38, 4, 4, 'M', 'we', 'wew', 'tes@gkk.cc', 0, 3232, 165),
(39, 5, 5, 'M', '23', '23', '232@dd.cc', 23, 232, 165),
(40, 6, 6, 'N', 'Aaaaa', 'Aaaaa', 'aaaaa@gmail.com', 2147483647, 2223, 500),
(41, 6, 6, 'S', 'Bbbbbb', 'Bbbbbb', 'bbbbbbb@gmail.com', 2147483647, 8888, 0),
(42, 7, 7, 'S', 'kevin', 'garrett', 'kevin@1234', 123, 12, 200),
(43, 8, 8, 'M', '2w32', '232', 'ss@ff.cc', 0, 3333, 200),
(49, 10, 10, 'S', 'dsa', 'dsa', 'dsa@vfds.fvd', 0, 4233, 200),
(48, 10, 10, 'M', 'dsa', 'dsa', 'dsa@fs.fdv', 0, 4323, 200),
(47, 10, 10, 'M', 'dsa', 'csa', 'xs@cds.fcd', 0, 4234, 200),
(50, 11, 11, 'M', 'Sumesh', 'TG', 'sumeshtg@gmail.com', 0, 2222, 200),
(51, 12, 12, 'M', 'Sumesh', 'TG', 'sdsd@ff.cc', 0, 3333, 200),
(52, 13, 13, 'M', 'Sumesh', 'TG', 'sdsd@ff.cc', 0, 3333, 200),
(53, 14, 14, 'M', 'Sumesh', 'TG', 'sdsd@ff.cc', 0, 3333, 200);

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

--
-- Table structure for table `tbl_classform`
--

CREATE TABLE `tbl_classform` (
  `form_id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `class_seats` int(11) NOT NULL,
  `remain_seats` int(11) NOT NULL,
  `instr_id` int(11) NOT NULL,
  `class_hours` int(11) NOT NULL,
  `hrs_per_day` int(11) NOT NULL,
  `class_registrants` varchar(50) DEFAULT NULL,
  `class_price_m` float DEFAULT NULL,
  `class_price_m2` float DEFAULT NULL,
  `class_price_n` float DEFAULT NULL,
  `class_price_n2` float DEFAULT NULL,
  `class_price_s` float DEFAULT NULL,
  `class_day` text NOT NULL,
  `calss_start_date` date NOT NULL,
  `calss_end_date` date NOT NULL,
  `calss_start_time` time(6) NOT NULL,
  `calss_end_time` time(6) NOT NULL,
  `locat_id` int(11) NOT NULL,
  `class_room` varchar(50) NOT NULL,
  `class_address` varchar(50) NOT NULL,
  `class_city` varchar(50) NOT NULL,
  `class_state` varchar(50) NOT NULL,
  `class_code` int(11) NOT NULL,
  `class_phone` varchar(14) NOT NULL,
  `class_description` varchar(200) NOT NULL,
  `class_status` varchar(50) NOT NULL DEFAULT 'active',
  `form_createddate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_classform`
--

INSERT INTO `tbl_classform` (`form_id`, `class_id`, `class_seats`, `remain_seats`, `instr_id`, `class_hours`, `hrs_per_day`, `class_registrants`, `class_price_m`, `class_price_m2`, `class_price_n`, `class_price_n2`, `class_price_s`, `class_day`, `calss_start_date`, `calss_end_date`, `calss_start_time`, `calss_end_time`, `locat_id`, `class_room`, `class_address`, `class_city`, `class_state`, `class_code`, `class_phone`, `class_description`, `class_status`, `form_createddate`) VALUES
(16, 7, 30, 18, 5, 12, 0, 'M,M2,N,S', 200, 175, 300, 0, 200, 'Mon,Wed', '2019-02-11', '2019-02-08', '18:00:00.000000', '18:00:00.000000', 5, 'Room 112', '1400 N. Kellogg Dr.', 'Anaheim', 'CA', 92807, '7147793199', 'this is a test', 'active', '2019-02-08 16:40:04'),
(17, 8, 25, 25, 4, 4, 0, 'M,M2,N', 250, 200, 150, 100, 0, 'Mon,Wed,Fri', '2019-03-01', '2019-03-31', '18:30:00.000000', '21:00:00.000000', 5, '322', '1400 N. Kellogg Dr', 'Anaheim', 'CA', 92807, '(714) 495-2995', 'This is the description for the Plumbing 102 Class.  Plumbing 101 is a prerequisite.', 'active', '2019-02-19 13:55:16');

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

--
-- Table structure for table `tbl_classlocations`
--

CREATE TABLE `tbl_classlocations` (
  `locat_id` int(11) NOT NULL,
  `locat_name` varchar(50) NOT NULL,
  `locat_status` varchar(50) NOT NULL DEFAULT 'active',
  `locat_createddate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_classlocations`
--

INSERT INTO `tbl_classlocations` (`locat_id`, `locat_name`, `locat_status`, `locat_createddate`) VALUES
(6, 'Ventura CA', 'active', '2018-10-17 08:40:58'),
(5, 'Anaheim CA', 'active', '2018-10-17 08:40:48');

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

--
-- Table structure for table `tbl_classname`
--

CREATE TABLE `tbl_classname` (
  `class_id` int(11) NOT NULL,
  `class_name` varchar(50) NOT NULL,
  `class_status` varchar(10) DEFAULT 'active',
  `class_createddate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_classname`
--

INSERT INTO `tbl_classname` (`class_id`, `class_name`, `class_status`, `class_createddate`) VALUES
(10, 'Advanced Mechanic\'s Lien', 'active', '2018-10-17 08:43:11'),
(9, 'OSHA 100', 'active', '2018-10-17 08:40:19'),
(8, 'Plumbing 102', 'active', '2018-10-17 08:40:05'),
(7, 'Electrical 101', 'active', '2018-10-17 08:39:54'),
(11, 'OSHA 30', 'active', '2018-10-22 21:15:47'),
(12, 'Forklift', 'active', '2018-10-22 21:22:28'),
(13, 'test', 'active', '2019-02-08 16:06:52');

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

--
-- Table structure for table `tbl_emailtemplate`
--

CREATE TABLE `tbl_emailtemplate` (
  `id` int(11) NOT NULL,
  `temp_name` varchar(100) NOT NULL,
  `template` blob NOT NULL,
  `status` varchar(100) NOT NULL DEFAULT 'inactive'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_emailtemplate`
--

INSERT INTO `tbl_emailtemplate` (`id`, `temp_name`, `template`, `status`) VALUES
(1, 'Default', [REDACTED], 'active'),
(2, 'Template2', 0x3c703e44656172207b437573746f6d65725f4e616d657d2c3c2f703e0d0a0d0a3c703e5468616e6b20596f7520666f7220796f7572204f726465722e20436865636b20796f75206f72646572206c696e6b20686572652e3c2f703e0d0a0d0a3c703e53696e6365726c792c3c2f703e0d0a0d0a3c703e41424320536f2d43616c2e3c2f703e0d0a0d0a3c703e266e6273703b3c2f703e0d0a, 'inactive');

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

--
-- Table structure for table `tbl_instructors`
--

CREATE TABLE `tbl_instructors` (
  `instr_id` int(11) NOT NULL,
  `instr_name` varchar(50) NOT NULL,
  `instr_status` varchar(50) NOT NULL DEFAULT 'active',
  `instr_createddate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_instructors`
--

INSERT INTO `tbl_instructors` (`instr_id`, `instr_name`, `instr_status`, `instr_createddate`) VALUES
(5, 'Frank Jones', 'active', '2018-10-17 08:41:31'),
(4, 'Mike Smith', 'active', '2018-10-17 08:41:22'),
(6, 'Samuel Smith', 'active', '2018-10-17 08:42:53');

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

--
-- Table structure for table `tbl_notification`
--

CREATE TABLE `tbl_notification` (
  `id` int(11) NOT NULL,
  `created_date` date DEFAULT NULL,
  `firstname` varchar(100) NOT NULL,
  `lastname` varchar(100) NOT NULL,
  `email` varchar(100) NOT NULL,
  `status` varchar(50) NOT NULL DEFAULT 'active'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `tbl_regclass`
--

CREATE TABLE `tbl_regclass` (
  `regclass_id` int(11) NOT NULL,
  `reg_id` int(11) NOT NULL,
  `form_id` int(11) NOT NULL,
  `att_count` int(11) NOT NULL,
  `reg_class_count` int(11) NOT NULL,
  `regclass_total_price` float NOT NULL,
  `regclass_total_count` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_regclass`
--

INSERT INTO `tbl_regclass` (`regclass_id`, `reg_id`, `form_id`, `att_count`, `reg_class_count`, `regclass_total_price`, `regclass_total_count`) VALUES
(2, 2, 13, 2, 0, 250, 0),
(3, 3, 7, 1, 0, 165, 0),
(4, 4, 7, 1, 0, 165, 0),
(5, 5, 7, 1, 0, 165, 0),
(6, 6, 12, 2, 0, 500, 0),
(7, 7, 16, 1, 0, 200, 0),
(8, 8, 16, 1, 0, 200, 0),
(10, 10, 16, 3, 0, 600, 0),
(11, 11, 16, 1, 0, 200, 0),
(12, 12, 16, 1, 0, 200, 0),
(13, 13, 16, 1, 0, 200, 0),
(14, 14, 16, 1, 0, 200, 0);

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

--
-- Table structure for table `tbl_regmaster`
--

CREATE TABLE `tbl_regmaster` (
  `reg_id` int(11) NOT NULL,
  `reg_name` varchar(100) DEFAULT NULL,
  `reg_date` date NOT NULL,
  `reg_total` float DEFAULT NULL,
  `reg_class_count` int(11) NOT NULL,
  `att_total_count` int(11) NOT NULL,
  `payment_type` varchar(50) NOT NULL,
  `card_holder_name` varchar(100) NOT NULL,
  `card_number` varchar(100) NOT NULL,
  `card_type` varchar(100) NOT NULL,
  `exp_month` varchar(100) DEFAULT NULL,
  `exp_year` varchar(100) DEFAULT NULL,
  `ex_date` varchar(100) NOT NULL,
  `cvv_code` int(11) NOT NULL,
  `company_name` varchar(100) NOT NULL,
  `fname` varchar(100) NOT NULL,
  `lname` varchar(100) NOT NULL,
  `billing_contact` varchar(50) DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `street_adrs` varchar(100) NOT NULL,
  `addr2` varchar(100) DEFAULT NULL,
  `city_name` varchar(100) NOT NULL,
  `state` varchar(100) NOT NULL,
  `post_code` varchar(100) NOT NULL,
  `phone_no` varchar(100) NOT NULL,
  `fax_no` varchar(100) NOT NULL,
  `adtnal_instrction` text NOT NULL,
  `n_company_name` varchar(100) NOT NULL,
  `n_fname` varchar(100) NOT NULL,
  `n_lname` varchar(100) NOT NULL,
  `n_billing_contact` varchar(100) DEFAULT NULL,
  `n_customer_id` int(11) DEFAULT NULL,
  `n_street_adrs` varchar(100) NOT NULL,
  `n_addr2` varchar(100) DEFAULT NULL,
  `n_city_name` varchar(100) NOT NULL,
  `n_state` varchar(100) NOT NULL,
  `n_post_code` varchar(100) NOT NULL,
  `n_phone_no` varchar(100) NOT NULL,
  `n_fax_no` varchar(100) NOT NULL,
  `n_adtnal_instrction` text NOT NULL,
  `c_cardholder_name` varchar(100) DEFAULT NULL,
  `c_street_adrz` varchar(100) DEFAULT NULL,
  `c_exp_mnth` varchar(100) DEFAULT NULL,
  `c_exp_year` varchar(100) DEFAULT NULL,
  `c_ccv_code` int(11) DEFAULT '0',
  `c_phone_no` varchar(100) DEFAULT NULL,
  `c_fax_no` varchar(100) DEFAULT NULL,
  `email_id` varchar(100) DEFAULT NULL,
  `details` varchar(4) NOT NULL DEFAULT 'No',
  `status` varchar(100) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_regmaster`
--

INSERT INTO `tbl_regmaster` (`reg_id`, `reg_name`, `reg_date`, `reg_total`, `reg_class_count`, `att_total_count`, `payment_type`, `card_holder_name`, `card_number`, `card_type`, `exp_month`, `exp_year`, `ex_date`, `cvv_code`, `company_name`, `fname`, `lname`, `billing_contact`, `customer_id`, `street_adrs`, `addr2`, `city_name`, `state`, `post_code`, `phone_no`, `fax_no`, `adtnal_instrction`, `n_company_name`, `n_fname`, `n_lname`, `n_billing_contact`, `n_customer_id`, `n_street_adrs`, `n_addr2`, `n_city_name`, `n_state`, `n_post_code`, `n_phone_no`, `n_fax_no`, `n_adtnal_instrction`, `c_cardholder_name`, `c_street_adrz`, `c_exp_mnth`, `c_exp_year`, `c_ccv_code`, `c_phone_no`, `c_fax_no`, `email_id`, `details`, `status`) VALUES
(2, NULL, '2018-10-22', 250, 1, 2, 'invoice', 'mr nobody', '1234567891234567', 'Visa', 'Oct', '2019', '', 456, '', '', '', '', NULL, '1400 N. Kellogg Dr.', NULL, 'Anaheim', 'CA', '92807', '7147793199', '', 'special instructions', '', '', '', NULL, NULL, '', NULL, '', '', '', '', '', '', 'mr nobody', '1400 N. Kellogg Dr.', 'Oct', '2019', 456, '7147793199', '', 'abc@abc.net', 'No', 'U'),
(3, NULL, '2018-11-02', 165, 1, 1, 'card', 'wew', 'ew', 'Master', 'Mar', '2020', '', 23232, 'wew', '', '', 'wew', 0, 'wew', NULL, 'Ahmadabad', 'wew', 'wew', '(232) 323-3333', '23232', 'we', '', '', '', NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, NULL, NULL, NULL, 0, NULL, NULL, 'wewew@ff.cc', 'Yes', 'paid'),
(4, NULL, '2018-11-02', 165, 1, 1, 'card', 'wew', 'ew', 'Master', 'Mar', '2020', '', 23232, 'wew', '', '', 'wew', 0, 'wew', NULL, 'Ahmadabad', 'wew', 'wew', '(232) 323-3333', '23232', 'we', '', '', '', NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, NULL, NULL, NULL, 0, NULL, NULL, 'wewew@ff.cc', 'Yes', 'unpaid'),
(5, NULL, '2018-11-02', 165, 1, 1, 'card', '232', '23', 'Master', 'Sep', '2028', '', 23, '232', '', '', '3232', 32, '3232', NULL, '232', '32', '3232', '23', '23', '232', '', '', '', NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, NULL, NULL, NULL, 0, NULL, NULL, 'wewew@ff.cc', 'Yes', 'unpaid'),
(6, NULL, '2018-11-06', 500, 1, 2, 'card', 'Testing', '2637372387373637', 'Master', 'Apr', '2021', '', 53627, 'Testing', '', '', 'Testing', 1, 'Testing', NULL, 'Testing', 'Testing', '7637483', '67284897', '637628891', 'Testing', '', '', '', NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, NULL, NULL, NULL, 0, NULL, NULL, '', 'Yes', 'unpaid'),
(7, NULL, '2019-02-08', 200, 1, 1, 'card', 'Kevin M Garrett', '6546544654', 'Visa', 'Jan', '2023', '', 929, 'ABC', '', '', 'Steve H', 0, '1400 N. Kellogg Dr.', NULL, 'Anaheim', 'CA', '92807', '7147793199', '', 'Please let me know if confirmed', '', '', '', NULL, NULL, '', NULL, '', '', '', '', '', '', NULL, NULL, NULL, NULL, 0, NULL, NULL, 'kevinmgarrett@ymail.com', 'Yes', 'unpaid'),
(8, NULL, '2019-05-08', 200, 1, 1, 'card', '34343', '[REDACTED]', 'Visa', '', '', '1220', 123, '2323', '', '', '', 0, '2323', '232', '232', 'ID', '23233', '(232) 3', '(232) 333-3333', '', '2323', '', '', '', 0, '2323', '232', '232', 'ID', '23233', '(232) 3', '(232) 333-3333', '', NULL, NULL, NULL, NULL, 0, NULL, NULL, '2323@gg.vv', 'Yes', 'unpaid'),
(10, NULL, '2019-05-21', 600, 1, 3, 'card', 'fdsafdsacs', '4534543535353535', 'Visa', '', '', '0919', 333, 'dsad', 'fdvvv', 'fvda', '', 0, 'csda', 'fdas', 'gfsgfds', 'IA', '43242', '(342) 342-3424', '(432) 424-2424', 'fdsaca adcadsc', 'dsad', 'fdvvv', 'fvda', '', 0, 'csda', 'fdas', 'gfsgfds', 'IA', '43242', '(342) 342-3424', '(432) 424-2424', 'fdsaca adcadsc', NULL, NULL, NULL, NULL, 0, NULL, NULL, 'manjooranjoel@gmail.com', 'Yes', 'unpaid'),
(11, NULL, '2019-05-22', 200, 1, 1, 'card', '2323', '[REDACTED]', 'Visa', '', '', '1220', 2222, 'Sms', 'Sumesh', 'TG', '', 0, 'wew', 'we', 'wewe', 'CO', '23232', '(333) 333-3333', '(333) 333-3333', '33333333333333333333333333333333', 'Sms', 'Sumesh', 'TG', '', 0, 'wew', 'we', 'wewe', 'CO', '23232', '(333) 333-3333', '(333) 333-3333', '33333333333333333333333333333333', NULL, NULL, NULL, NULL, 0, NULL, NULL, 'sumeshtg@gmail.com', 'Yes', 'unpaid'),
(12, NULL, '2019-05-23', 200, 1, 1, 'invoice', '', '', '', '', '', '', 0, 'Sms', 'Sumesh', 'TG', '', 0, '2323', 'we', 'Ras al Khaimah', 'CO', '23232', '(233) 333-3333', '(333) 333-3333', '3333333333333332', 'Sms', 'Sumesh', 'TG', '', 0, '2323', 'we', 'Ras al Khaimah', 'CO', '23232', '(233) 333-3333', '(333) 333-3333', '3333333333333332', NULL, NULL, NULL, NULL, 0, NULL, NULL, 'sumeshtg@gmail.com', 'No', 'unpaid'),
(13, NULL, '2019-05-23', 200, 1, 1, 'invoice', '', '', '', '', '', '', 0, 'Sms', 'Sumesh', 'TG', '', 0, '2323', 'we', 'Ras al Khaimah', 'CO', '23232', '(233) 333-3333', '(333) 333-3333', '3333333333333332', 'Sms', 'Sumesh', 'TG', '', 0, '2323', 'we', 'Ras al Khaimah', 'CO', '23232', '(233) 333-3333', '(333) 333-3333', '3333333333333332', NULL, NULL, NULL, NULL, 0, NULL, NULL, '', 'No', 'unpaid'),
(14, NULL, '2019-05-23', 200, 1, 1, 'invoice', '', '', '', '', '', '', 0, 'Sms', 'Sumesh', 'TG', '', 0, '2323', 'we', 'Ras al Khaimah', 'CO', '23232', '(233) 333-3333', '(333) 333-3333', '3333333333333332', 'Sms', 'Sumesh', 'TG', '', 0, '2323', 'we', 'Ras al Khaimah', 'CO', '23232', '(233) 333-3333', '(333) 333-3333', '3333333333333332', NULL, NULL, NULL, NULL, 0, NULL, NULL, 'sumeshtg@gmail.com', 'No', 'unpaid');

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

--
-- Table structure for table `tbl_usermaster`
--

CREATE TABLE `tbl_usermaster` (
  `user_id` int(11) NOT NULL,
  `user_name` varchar(50) NOT NULL,
  `user_password` varchar(50) NOT NULL,
  `user_type` varchar(50) NOT NULL DEFAULT 'member',
  `user_status` varchar(20) NOT NULL DEFAULT 'active',
  `user_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_usermaster`
--

INSERT INTO `tbl_usermaster` (`user_id`, `user_name`, `user_password`, `user_type`, `user_status`, `user_date`) VALUES
(14, 'admin', 'RHdKQlVHYVJ2N3hnSTZqbWhObi9Ndz09', 'admin', 'active', '2018-09-18 14:24:45'),
(26, 'SuperUser', 'N3BPTEp5TmYreno2WG9uY1l1eFB4Zz09', 'member', 'active', '2018-10-25 20:59:59'),
(28, 'abcadmin', 'SjJoQnB5Z1VlL2Fxdm80TmFOWGN5Zz09', 'member', 'active', '2019-01-16 12:14:30');

--
-- Indexes for dumped tables
--

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

--
-- Indexes for table `tbl_attendee`
--
ALTER TABLE `tbl_attendee`
  ADD PRIMARY KEY (`att_id`);

--
-- Indexes for table `tbl_classform`
--
ALTER TABLE `tbl_classform`
  ADD PRIMARY KEY (`form_id`);

--
-- Indexes for table `tbl_classlocations`
--
ALTER TABLE `tbl_classlocations`
  ADD PRIMARY KEY (`locat_id`);

--
-- Indexes for table `tbl_classname`
--
ALTER TABLE `tbl_classname`
  ADD PRIMARY KEY (`class_id`);

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

--
-- Indexes for table `tbl_instructors`
--
ALTER TABLE `tbl_instructors`
  ADD PRIMARY KEY (`instr_id`);

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

--
-- Indexes for table `tbl_regclass`
--
ALTER TABLE `tbl_regclass`
  ADD PRIMARY KEY (`regclass_id`);

--
-- Indexes for table `tbl_regmaster`
--
ALTER TABLE `tbl_regmaster`
  ADD PRIMARY KEY (`reg_id`);

--
-- Indexes for table `tbl_usermaster`
--
ALTER TABLE `tbl_usermaster`
  ADD PRIMARY KEY (`user_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `states`
--
ALTER TABLE `states`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=52;

--
-- AUTO_INCREMENT for table `tbl_attendee`
--
ALTER TABLE `tbl_attendee`
  MODIFY `att_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=54;

--
-- AUTO_INCREMENT for table `tbl_classform`
--
ALTER TABLE `tbl_classform`
  MODIFY `form_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT for table `tbl_classlocations`
--
ALTER TABLE `tbl_classlocations`
  MODIFY `locat_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `tbl_classname`
--
ALTER TABLE `tbl_classname`
  MODIFY `class_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `tbl_emailtemplate`
--
ALTER TABLE `tbl_emailtemplate`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tbl_instructors`
--
ALTER TABLE `tbl_instructors`
  MODIFY `instr_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `tbl_notification`
--
ALTER TABLE `tbl_notification`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `tbl_regclass`
--
ALTER TABLE `tbl_regclass`
  MODIFY `regclass_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `tbl_regmaster`
--
ALTER TABLE `tbl_regmaster`
  MODIFY `reg_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `tbl_usermaster`
--
ALTER TABLE `tbl_usermaster`
  MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
