?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/application/data/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/sgms/application/data/horeitia.sql |
-- phpMyAdmin SQL Dump -- version 3.2.2.1deb1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Nov 15, 2011 at 11:04 AM -- Server version: 5.1.37 -- PHP Version: 5.2.10-2ubuntu6.10 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; /*!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 utf8 */; -- -- Database: `horeitia` -- -- -------------------------------------------------------- -- -- Table structure for table `agency` -- CREATE TABLE IF NOT EXISTS `agency` ( `agency_id` int(5) NOT NULL AUTO_INCREMENT, `agency_name` varchar(200) NOT NULL, `agency_code` varchar(10) NOT NULL, PRIMARY KEY (`agency_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `agency` -- INSERT INTO `agency` (`agency_id`, `agency_name`, `agency_code`) VALUES (1, 'Evershine Placements & Exports pvt ltd', 'EV'), (2, 'Skylink international', 'SI'), (3, 'Pheonix Recruting Agency', 'PRA'), (4, 'River Overseas', 'RO'); -- -------------------------------------------------------- -- -- Table structure for table `allowance` -- CREATE TABLE IF NOT EXISTS `allowance` ( `allowance_id` int(5) NOT NULL AUTO_INCREMENT, `allowance_name` varchar(40) NOT NULL, PRIMARY KEY (`allowance_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `allowance` -- INSERT INTO `allowance` (`allowance_id`, `allowance_name`) VALUES (1, 'HRA'), (2, 'TA'), (3, 'FA'); -- -------------------------------------------------------- -- -- Table structure for table `attendance_list` -- CREATE TABLE IF NOT EXISTS `attendance_list` ( `attendance_list_id` int(11) NOT NULL AUTO_INCREMENT, `attendance_list_reason` varchar(100) NOT NULL, PRIMARY KEY (`attendance_list_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `attendance_list` -- INSERT INTO `attendance_list` (`attendance_list_id`, `attendance_list_reason`) VALUES (1, 'Site Accident'), (2, 'Sick'), (3, 'Absent'), (4, 'Nosite'); -- -------------------------------------------------------- -- -- Table structure for table `batch` -- CREATE TABLE IF NOT EXISTS `batch` ( `id` int(11) NOT NULL AUTO_INCREMENT, `batch_date` date NOT NULL, `batch_code` varchar(20) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `batch` -- INSERT INTO `batch` (`id`, `batch_date`, `batch_code`) VALUES (1, '2011-10-26', '26-10-2011-1'); -- -------------------------------------------------------- -- -- Table structure for table `camp` -- CREATE TABLE IF NOT EXISTS `camp` ( `camp_id` int(5) NOT NULL AUTO_INCREMENT, `camp_name` varchar(200) NOT NULL, `camp_boss` varchar(100) NOT NULL, `camp_contact_no` varchar(30) NOT NULL, PRIMARY KEY (`camp_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `camp` -- INSERT INTO `camp` (`camp_id`, `camp_name`, `camp_boss`, `camp_contact_no`) VALUES (1, 'AlKhore', 'Mr Sujith S', '33447330'), (2, 'Sanaya', 'Mr Binu V', '55524160'), (3, 'Umm Salal Ali Old', 'Mr Michael Thomas', '55685079'), (4, 'Um Salali New', 'Das Mani', ''); -- -------------------------------------------------------- -- -- Table structure for table `camp_allotment` -- CREATE TABLE IF NOT EXISTS `camp_allotment` ( `camp_allotment_id` int(5) NOT NULL AUTO_INCREMENT, `camp_id` int(10) NOT NULL, `employee_id` int(10) NOT NULL, `camp_allotment_date` date NOT NULL, PRIMARY KEY (`camp_allotment_id`), KEY `camp_id` (`camp_id`), KEY `employee_id` (`employee_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `camp_allotment` -- INSERT INTO `camp_allotment` (`camp_allotment_id`, `camp_id`, `employee_id`, `camp_allotment_date`) VALUES (1, 2, 8, '2011-11-10'), (2, 4, 8, '2011-11-24'), (3, 2, 6, '2011-11-10'), (4, 2, 7, '2011-11-14'); -- -------------------------------------------------------- -- -- Table structure for table `deduction` -- CREATE TABLE IF NOT EXISTS `deduction` ( `deduction_id` int(5) NOT NULL AUTO_INCREMENT, `deduction_name` varchar(40) NOT NULL, PRIMARY KEY (`deduction_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `deduction` -- INSERT INTO `deduction` (`deduction_id`, `deduction_name`) VALUES (1, 'Leave'), (2, 'Medical'); -- -------------------------------------------------------- -- -- Table structure for table `designation` -- CREATE TABLE IF NOT EXISTS `designation` ( `designation_id` int(5) NOT NULL AUTO_INCREMENT, `designation_name` varchar(40) NOT NULL, PRIMARY KEY (`designation_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `designation` -- INSERT INTO `designation` (`designation_id`, `designation_name`) VALUES (2, 'Admin'); -- -------------------------------------------------------- -- -- Table structure for table `employee_absent` -- CREATE TABLE IF NOT EXISTS `employee_absent` ( `id` int(11) NOT NULL AUTO_INCREMENT, `attendance_reason_id` int(11) NOT NULL, `employee_id` int(11) NOT NULL, `attendance_date` date NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `employee_absent` -- INSERT INTO `employee_absent` (`id`, `attendance_reason_id`, `employee_id`, `attendance_date`) VALUES (1, 1, 1, '2011-11-02'), (2, 3, 2, '2011-11-08'), (3, 2, 1, '2011-11-08'); -- -------------------------------------------------------- -- -- Table structure for table `employee_non_main` -- CREATE TABLE IF NOT EXISTS `employee_non_main` ( `emp_non_id` int(10) NOT NULL, `batch_id` int(11) NOT NULL, `emp_non_no` varchar(10) NOT NULL, `emp_non_full_name` varchar(100) NOT NULL, `emp_non_date_joining` date NOT NULL, `emp_non_nationality_id` int(5) NOT NULL, `emp_non_trade_id` int(5) NOT NULL, `emp_non_visa_type_id` int(5) NOT NULL, `emp_non_date_visa_issue` date NOT NULL, `emp_non_date_visa_expiry` date NOT NULL, `emp_non_visa_remind_before` int(11) NOT NULL, `emp_non_sponsor_id` int(5) NOT NULL, `emp_non_agency_id` int(5) NOT NULL, `emp_non_passport_no` varchar(50) NOT NULL, `agreement_name` varchar(200) NOT NULL, `agreement_doc` varchar(200) NOT NULL, `attestment_name` varchar(200) NOT NULL, `attestment_doc` varchar(200) NOT NULL, `emp_non_date_passport_expiry` date NOT NULL, `emp_non_passport_remind_before` int(5) NOT NULL, PRIMARY KEY (`emp_non_id`), UNIQUE KEY `emp_non_no` (`emp_non_no`), KEY `emp_non_sponsor_id` (`emp_non_sponsor_id`), KEY `emp_non_visa_type_id` (`emp_non_visa_type_id`), KEY `emp_non_trade_id` (`emp_non_trade_id`), KEY `emp_non_nationality_id` (`emp_non_nationality_id`), KEY `emp_non_agency_id` (`emp_non_agency_id`), KEY `batch_id` (`batch_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `employee_non_main` -- INSERT INTO `employee_non_main` (`emp_non_id`, `batch_id`, `emp_non_no`, `emp_non_full_name`, `emp_non_date_joining`, `emp_non_nationality_id`, `emp_non_trade_id`, `emp_non_visa_type_id`, `emp_non_date_visa_issue`, `emp_non_date_visa_expiry`, `emp_non_visa_remind_before`, `emp_non_sponsor_id`, `emp_non_agency_id`, `emp_non_passport_no`, `agreement_name`, `agreement_doc`, `attestment_name`, `attestment_doc`, `emp_non_date_passport_expiry`, `emp_non_passport_remind_before`) VALUES (6, 1, '73000000', 'Shan Abdussalam', '2011-10-26', 2, 1, 18, '1970-01-01', '1970-01-01', 0, 10, 1, '23123123132', '', '', '', '', '1970-01-01', 0), (7, 1, '73000001', 'Sachin Tendulkar', '2011-10-26', 2, 1, 18, '1970-01-01', '1970-01-01', 0, 10, 1, '3333333333', '', '', '', '', '1970-01-01', 0), (8, 1, '73000002', 'google', '2011-10-26', 2, 1, 18, '1970-01-01', '1970-01-01', 0, 10, 1, 'qwer', '', '', '', '', '1970-01-01', 0); -- -------------------------------------------------------- -- -- Table structure for table `employee_training` -- CREATE TABLE IF NOT EXISTS `employee_training` ( `employee_training_id` int(11) NOT NULL AUTO_INCREMENT, `employee_id` int(11) NOT NULL, `training_id` int(11) NOT NULL, `training_date_start` date NOT NULL, `training_date_end` date NOT NULL, `first_attempt_date` date NOT NULL, `second_attempt_date` date NOT NULL, `first_attempt_result` varchar(100) NOT NULL, `second_attempt_result` varchar(100) NOT NULL, `remarks` text NOT NULL, PRIMARY KEY (`employee_training_id`), KEY `employee_id` (`employee_id`), KEY `training_id` (`training_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `employee_training` -- INSERT INTO `employee_training` (`employee_training_id`, `employee_id`, `training_id`, `training_date_start`, `training_date_end`, `first_attempt_date`, `second_attempt_date`, `first_attempt_result`, `second_attempt_result`, `remarks`) VALUES (1, 7, 1, '2011-11-01', '2011-11-23', '2011-11-01', '2011-11-30', 'Pass', 'Pass', 'good'); -- -------------------------------------------------------- -- -- Table structure for table `emp_non_personal` -- CREATE TABLE IF NOT EXISTS `emp_non_personal` ( `emp_non_id` int(11) NOT NULL, `emp_non_personal_dob` date NOT NULL, `emp_non_personal_father_name` varchar(100) NOT NULL, `emp_non_personal_religion_id` int(11) NOT NULL, `emp_non_personal_permanent_address` tinytext NOT NULL, `emp_non_personal_contact_no` int(11) NOT NULL, `emp_non_personal_nok_name` varchar(100) NOT NULL, `emp_non_personal_nok_contact_no` varchar(40) NOT NULL, `emp_non_personal_salary` varchar(50) NOT NULL, `emp_non_personal_vacation_date` date NOT NULL, `emp_non_personal_vacation_remind_before` int(11) NOT NULL, `emp_non_personal_other_trade` tinytext NOT NULL, `photo_name` varchar(100) NOT NULL, `photo_doc` varchar(100) NOT NULL, PRIMARY KEY (`emp_non_id`), KEY `emp_non_personal_religion_id` (`emp_non_personal_religion_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `emp_non_personal` -- INSERT INTO `emp_non_personal` (`emp_non_id`, `emp_non_personal_dob`, `emp_non_personal_father_name`, `emp_non_personal_religion_id`, `emp_non_personal_permanent_address`, `emp_non_personal_contact_no`, `emp_non_personal_nok_name`, `emp_non_personal_nok_contact_no`, `emp_non_personal_salary`, `emp_non_personal_vacation_date`, `emp_non_personal_vacation_remind_before`, `emp_non_personal_other_trade`, `photo_name`, `photo_doc`) VALUES (6, '1999-11-11', 'KP Abdussalam', 3, 'MLPM', 2147483647, '', '', '', '1970-01-01', 10, '', '', ''), (7, '2011-11-22', 'KP Salam', 3, 'MLPM', 9032131, 'shan', '', '', '1970-01-01', 0, '', '', ''), (8, '2011-11-16', 'KP Abdussalam', 3, 'as', 2323121, '', '32424', '', '1970-01-01', 10, '', '', ''); -- -------------------------------------------------------- -- -- Table structure for table `expected_arrival` -- CREATE TABLE IF NOT EXISTS `expected_arrival` ( `expected_arrival_id` int(11) NOT NULL, `expected_arrival_date` date NOT NULL, `expected_arrival_trade` int(11) NOT NULL, `no_employees` int(11) NOT NULL, `expected_arrival_nationality` int(11) NOT NULL, PRIMARY KEY (`expected_arrival_id`), KEY `expected_arrival_trade` (`expected_arrival_trade`), KEY `expected_arrival_nationality` (`expected_arrival_nationality`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `expected_arrival` -- -- -------------------------------------------------------- -- -- Table structure for table `general_item` -- CREATE TABLE IF NOT EXISTS `general_item` ( `item_id` int(5) NOT NULL AUTO_INCREMENT, `item_name` varchar(200) NOT NULL, `item_shelf_life` int(20) NOT NULL, `item_remind_before` int(5) NOT NULL, PRIMARY KEY (`item_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ; -- -- Dumping data for table `general_item` -- INSERT INTO `general_item` (`item_id`, `item_name`, `item_shelf_life`, `item_remind_before`) VALUES (6, 'Bed set', 720, 20), (7, 'Safety shoes', 180, 10), (8, 'Coveralls', 230, 5); -- -------------------------------------------------------- -- -- Table structure for table `grade` -- CREATE TABLE IF NOT EXISTS `grade` ( `grade_id` int(5) NOT NULL AUTO_INCREMENT, `grade_name` varchar(40) NOT NULL, PRIMARY KEY (`grade_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `grade` -- -- -------------------------------------------------------- -- -- Table structure for table `item_allotment` -- CREATE TABLE IF NOT EXISTS `item_allotment` ( `item_allotment_id` int(10) NOT NULL AUTO_INCREMENT, `item_id` int(5) NOT NULL, `employee_id` int(10) NOT NULL, `item_allotment_date` date NOT NULL, `item_allotment_expiry` date NOT NULL, `item_remind_before` int(5) NOT NULL, PRIMARY KEY (`item_allotment_id`), KEY `employee_id` (`employee_id`), KEY `item_id` (`item_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `item_allotment` -- -- -------------------------------------------------------- -- -- Table structure for table `joining` -- CREATE TABLE IF NOT EXISTS `joining` ( `joining_id` int(11) NOT NULL AUTO_INCREMENT, `joining_caption` varchar(100) NOT NULL, `joining_page` varchar(200) NOT NULL, PRIMARY KEY (`joining_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `joining` -- INSERT INTO `joining` (`joining_id`, `joining_caption`, `joining_page`) VALUES (1, 'New Batch', 'addformdisplay(''add_new_batch'',''Onboarding'')'), (2, 'Add Employees to Existing Batch', 'viewdata(''onboarding'',''viewinonboardingsearch'',''search_batch'',''view_batch'',''1'')'), (3, 'Employee List', 'viewdata(''onboarding'',''viewinonboardingsearch'',''search_employee_personal'',''view_employee_joining'',''1'')'), (4, 'Employee Checklist', 'viewdata(''onboarding'',''viewinonboardingsearch'',''search_batch'',''view_batch_checklist'',''1'')'); -- -------------------------------------------------------- -- -- Table structure for table `leave` -- CREATE TABLE IF NOT EXISTS `leave` ( `leave_id` int(11) NOT NULL AUTO_INCREMENT, `leave_type_id` int(11) NOT NULL, `leave_reason` varchar(100) NOT NULL, `leave_starting_date` date NOT NULL, `leave_ending_date` date NOT NULL, `leave_ticket` varchar(50) NOT NULL, `remarks` text NOT NULL, `employee_id` int(11) NOT NULL, `leave_from` varchar(100) NOT NULL, `leave_to` varchar(100) NOT NULL, PRIMARY KEY (`leave_id`), KEY `employee_id` (`employee_id`), KEY `leave_type_id` (`leave_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `leave` -- INSERT INTO `leave` (`leave_id`, `leave_type_id`, `leave_reason`, `leave_starting_date`, `leave_ending_date`, `leave_ticket`, `remarks`, `employee_id`, `leave_from`, `leave_to`) VALUES (4, 1, 'Disciplinary Ground', '2011-11-09', '2013-11-22', 'Company provided', 'test', 7, 'Calcitu', 'Bangalore'); -- -------------------------------------------------------- -- -- Table structure for table `leave_type` -- CREATE TABLE IF NOT EXISTS `leave_type` ( `leave_type_id` int(5) NOT NULL AUTO_INCREMENT, `leave_type_name` varchar(30) NOT NULL, PRIMARY KEY (`leave_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `leave_type` -- INSERT INTO `leave_type` (`leave_type_id`, `leave_type_name`) VALUES (1, 'Emergency'), (2, 'Vacation'), (3, 'Cancel / Exit'); -- -------------------------------------------------------- -- -- Table structure for table `login_details` -- CREATE TABLE IF NOT EXISTS `login_details` ( `id` int(11) NOT NULL AUTO_INCREMENT, `profile` varchar(30) DEFAULT NULL, `username` varchar(30) DEFAULT NULL, `password` varchar(32) DEFAULT NULL, `login_time` datetime NOT NULL, `faillog_count` varchar(11) DEFAULT NULL, `userid` varchar(11) DEFAULT NULL, `failing_time` datetime NOT NULL, `ip_address` varchar(16) NOT NULL, `status` varchar(8) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=230 ; -- -- Dumping data for table `login_details` -- INSERT INTO `login_details` (`id`, `profile`, `username`, `password`, `login_time`, `faillog_count`, `userid`, `failing_time`, `ip_address`, `status`) VALUES (1, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-07 14:05:35', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (5, 'NULL', 'admin', 'admin', '2011-10-08 10:28:00', NULL, 'NULL', '2011-10-08 10:28:00', '192.168.1.118', 'failed'), (4, 'NULL', 'admin', 'admin', '2011-10-08 10:27:56', NULL, 'NULL', '2011-10-08 10:27:56', '192.168.1.118', 'failed'), (6, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 10:28:50', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (7, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 10:39:16', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (8, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 10:52:17', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (9, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 11:49:00', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (10, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 12:36:01', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (11, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 12:39:01', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (12, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 14:48:24', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (13, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 15:27:39', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (14, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 17:39:30', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (15, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 17:40:27', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (16, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 17:41:15', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (17, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 17:42:10', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (18, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 17:43:00', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (19, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 17:51:26', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (20, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 18:00:21', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (21, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 18:12:05', NULL, '1', '0000-00-00 00:00:00', '122.166.153.79', 'Success'), (22, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 18:42:10', NULL, '1', '0000-00-00 00:00:00', '78.101.189.168', 'Success'), (23, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 19:07:35', NULL, '1', '0000-00-00 00:00:00', '122.166.153.79', 'Success'), (24, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 19:07:45', NULL, '1', '0000-00-00 00:00:00', '122.166.153.79', 'Success'), (25, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 19:15:52', NULL, '1', '0000-00-00 00:00:00', '78.101.189.168', 'Success'), (26, 'NULL', '', '', '2011-10-08 19:15:52', NULL, 'NULL', '2011-10-08 19:15:52', '0', 'failed'), (27, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 19:36:01', NULL, '1', '0000-00-00 00:00:00', '122.166.153.79', 'Success'), (28, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-09 01:21:10', NULL, '1', '0000-00-00 00:00:00', '89.211.239.151', 'Success'), (29, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-09 02:10:27', NULL, '1', '0000-00-00 00:00:00', '89.211.239.151', 'Success'), (30, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-09 14:16:21', NULL, '1', '0000-00-00 00:00:00', '89.211.239.151', 'Success'), (31, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-09 17:28:50', NULL, '1', '0000-00-00 00:00:00', '122.166.155.66', 'Success'), (32, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-10 10:18:45', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (33, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-10 11:07:45', NULL, '1', '0000-00-00 00:00:00', '192.168.1.115', 'Success'), (34, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-10 12:14:22', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (35, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-10 12:39:55', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (36, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-10 13:46:22', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (37, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-10 13:46:41', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (38, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-10 15:28:24', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (39, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-10 18:42:42', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (40, '1', 'shan', 'shan', '2011-10-10 20:21:14', NULL, '3', '2011-10-10 20:21:14', '192.168.1.118', 'failed'), (41, '1', 'shan', 'shan', '2011-10-10 20:21:19', NULL, '3', '2011-10-10 20:21:19', '192.168.1.118', 'failed'), (42, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-10 20:29:15', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (43, '1', 'shan', 'shan', '2011-10-10 20:31:51', NULL, '4', '2011-10-10 20:31:51', '192.168.1.118', 'failed'), (44, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-10 20:32:27', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (45, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-11 12:17:33', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (46, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-11 14:09:22', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (47, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-11 17:10:37', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (48, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-12 09:56:41', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (49, '1', 'shan', '3e119ab537d3c4cc0c31b9277bfd785e', '2011-10-12 12:46:36', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (50, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-12 14:39:40', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (51, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-12 17:47:42', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (52, '1', 'shan', 'shan', '2011-10-12 17:50:31', NULL, '1', '2011-10-12 17:50:31', '192.168.1.118', 'failed'), (53, '1', 'shan', 'shan', '2011-10-12 17:50:34', NULL, '1', '2011-10-12 17:50:34', '192.168.1.118', 'failed'), (54, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-12 17:50:35', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (55, '1', 'shan', '3e119ab537d3c4cc0c31b9277bfd785e', '2011-10-12 17:50:48', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (56, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-12 17:51:22', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (57, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-13 08:58:42', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (58, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-13 09:14:36', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (59, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-13 10:16:35', NULL, '2', '0000-00-00 00:00:00', '192.168.1.4', 'Success'), (60, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 09:46:13', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (61, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 09:46:42', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (62, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 10:27:48', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (63, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 10:31:18', NULL, '2', '0000-00-00 00:00:00', '192.168.1.3', 'Success'), (64, '1', 'shan', 'shan', '2011-10-14 10:48:12', NULL, '1', '2011-10-14 10:48:12', '192.168.1.118', 'failed'), (65, '1', 'shan', 'shan', '2011-10-14 10:48:16', NULL, '1', '2011-10-14 10:48:16', '192.168.1.118', 'failed'), (66, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 10:48:19', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (67, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 10:49:12', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (68, '1', 'shan', '3e119ab537d3c4cc0c31b9277bfd785e', '2011-10-14 11:13:06', NULL, '3', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (69, '1', 'admin', 'admin', '2011-10-14 14:07:37', NULL, '2', '2011-10-14 14:07:37', '192.168.1.118', 'failed'), (70, '1', 'admin', 'admin', '2011-10-14 14:07:40', NULL, '2', '2011-10-14 14:07:40', '192.168.1.118', 'failed'), (71, '1', 'admin', 'admin', '2011-10-14 14:07:42', NULL, '2', '2011-10-14 14:07:42', '192.168.1.118', 'failed'), (72, '1', 'admin', 'admin', '2011-10-14 14:07:43', NULL, '2', '2011-10-14 14:07:43', '192.168.1.118', 'failed'), (73, '1', 'admin', 'admin', '2011-10-14 14:07:47', NULL, '2', '2011-10-14 14:07:47', '192.168.1.118', 'failed'), (74, '1', 'admin', 'admin', '2011-10-14 14:07:50', NULL, '2', '2011-10-14 14:07:50', '192.168.1.118', 'failed'), (75, '1', 'admin', 'admin', '2011-10-14 14:09:18', NULL, '2', '2011-10-14 14:09:18', '192.168.1.118', 'failed'), (76, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 14:10:15', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (77, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 14:10:18', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (78, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 15:00:36', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (79, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 15:01:20', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (80, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 15:56:28', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (81, '1', 'admin', 'shan', '2011-10-14 16:00:55', NULL, '2', '2011-10-14 16:00:55', '192.168.1.118', 'failed'), (82, '1', 'admin', 'shan', '2011-10-14 16:00:58', NULL, '2', '2011-10-14 16:00:58', '192.168.1.118', 'failed'), (83, '1', 'admin', 'admin', '2011-10-14 16:01:20', NULL, '2', '2011-10-14 16:01:20', '192.168.1.118', 'failed'), (84, '1', 'admin', 'admin', '2011-10-14 16:01:22', NULL, '2', '2011-10-14 16:01:22', '192.168.1.118', 'failed'), (85, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 16:01:40', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (86, '1', 'admin', '3e119ab537d3c4cc0c31b9277bfd785e', '2011-10-14 16:01:49', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (87, '1', 'shan', 'test', '2011-10-14 16:05:11', NULL, '3', '2011-10-14 16:05:11', '192.168.1.118', 'failed'), (88, '1', 'shan', 'test', '2011-10-14 16:05:16', NULL, '3', '2011-10-14 16:05:16', '192.168.1.118', 'failed'), (89, '1', 'admin', 'admin', '2011-10-14 16:05:35', NULL, '2', '2011-10-14 16:05:35', '192.168.1.118', 'failed'), (90, '1', 'admin', '098f6bcd4621d373cade4e832627b4f6', '2011-10-14 16:05:38', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (91, '1', 'shan', '098f6bcd4621d373cade4e832627b4f6', '2011-10-14 16:05:59', NULL, '3', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (92, '1', 'admin', 'shan', '2011-10-14 16:06:02', NULL, '2', '2011-10-14 16:06:02', '192.168.1.118', 'failed'), (93, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 16:06:05', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (94, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 16:10:29', NULL, '2', '0000-00-00 00:00:00', '192.168.1.3', 'Success'), (95, '1', 'admin', 'test', '2011-10-14 18:47:18', NULL, '2', '2011-10-14 18:47:18', '192.168.1.118', 'failed'), (96, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 18:47:21', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (97, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-14 20:46:18', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (98, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-15 09:36:46', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (99, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-15 11:43:21', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (100, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-15 11:46:05', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (101, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-15 12:14:25', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (102, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-15 20:23:57', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (103, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-16 15:36:35', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (104, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-16 17:32:08', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (105, '10', 'hra', 'b849ebfa6f27b964d744ea625ac48618', '2011-10-16 18:07:40', NULL, '4', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (106, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-16 18:07:45', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (107, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-17 10:26:28', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (108, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-17 15:55:34', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (109, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-17 16:40:00', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (110, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-18 15:41:30', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (111, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-18 16:02:46', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (112, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-18 18:04:05', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (113, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-19 09:23:16', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (114, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-19 11:31:28', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (115, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-19 14:15:38', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (116, '1', 'admin', 'admin', '2011-10-20 10:19:57', NULL, '2', '2011-10-20 10:19:57', '192.168.1.118', 'failed'), (117, '1', 'admin', 'admin', '2011-10-20 10:20:00', NULL, '2', '2011-10-20 10:20:00', '192.168.1.118', 'failed'), (118, '1', 'admin', 'admin', '2011-10-20 10:20:02', NULL, '2', '2011-10-20 10:20:02', '192.168.1.118', 'failed'), (119, '1', 'admin', 'admin', '2011-10-20 10:20:46', NULL, '2', '2011-10-20 10:20:46', '192.168.1.118', 'failed'), (120, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-20 10:25:59', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (121, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-20 11:27:42', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (122, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-20 13:43:34', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (123, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-20 15:08:53', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (124, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-20 16:45:09', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (125, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-20 18:06:39', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (126, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-20 19:37:51', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (127, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-21 15:43:11', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (128, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-21 17:27:19', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (129, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-21 17:40:43', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (130, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-21 19:15:33', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (131, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-22 11:13:25', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (132, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-22 12:58:54', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (133, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-22 14:16:09', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (134, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-22 16:10:24', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (135, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-24 14:41:08', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (136, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-24 19:02:21', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (137, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-25 09:30:31', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (138, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-25 10:15:07', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (139, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-25 11:15:07', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (140, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-25 12:31:54', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (141, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-25 13:59:51', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (142, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-25 16:48:15', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (143, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-26 10:23:45', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (144, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-26 12:10:01', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (145, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-26 14:00:34', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (146, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-26 16:12:59', NULL, '2', '0000-00-00 00:00:00', '122.166.148.182', 'Success'), (147, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-26 16:46:25', NULL, '2', '0000-00-00 00:00:00', '78.100.31.113', 'Success'), (148, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-26 16:56:51', NULL, '2', '0000-00-00 00:00:00', '122.166.148.182', 'Success'), (149, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-26 17:14:57', NULL, '2', '0000-00-00 00:00:00', '78.100.31.113', 'Success'), (150, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-26 17:42:31', NULL, '2', '0000-00-00 00:00:00', '78.101.30.199', 'Success'), (151, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-26 18:05:10', NULL, '2', '0000-00-00 00:00:00', '78.100.31.113', 'Success'), (152, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-26 18:08:45', NULL, '2', '0000-00-00 00:00:00', '78.101.30.199', 'Success'), (153, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-26 19:25:22', NULL, '2', '0000-00-00 00:00:00', '178.152.109.151', 'Success'), (154, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-27 10:34:21', NULL, '2', '0000-00-00 00:00:00', '78.101.28.155', 'Success'), (155, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-27 10:52:53', NULL, '2', '0000-00-00 00:00:00', '78.101.28.155', 'Success'), (156, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-27 11:03:57', NULL, '2', '0000-00-00 00:00:00', '78.101.28.155', 'Success'), (157, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-27 11:13:18', NULL, '2', '0000-00-00 00:00:00', '178.152.83.167', 'Success'), (158, '1', 'admin', 'admi', '2011-10-27 11:34:19', NULL, '2', '2011-10-27 11:34:19', '78.101.28.155', 'failed'), (159, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-27 11:34:28', NULL, '2', '0000-00-00 00:00:00', '78.101.28.155', 'Success'), (160, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-27 11:50:54', NULL, '2', '0000-00-00 00:00:00', '178.152.83.167', 'Success'), (161, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-27 12:03:03', NULL, '2', '0000-00-00 00:00:00', '178.152.53.167', 'Success'), (162, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-27 12:08:12', NULL, '2', '0000-00-00 00:00:00', '178.152.83.167', 'Success'), (163, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-27 13:59:45', NULL, '2', '0000-00-00 00:00:00', '178.152.108.8', 'Success'), (164, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-27 19:32:27', NULL, '2', '0000-00-00 00:00:00', '178.152.83.167', 'Success'), (165, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-28 01:47:31', NULL, '2', '0000-00-00 00:00:00', '178.152.83.167', 'Success'), (166, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-29 11:42:20', NULL, '2', '0000-00-00 00:00:00', '122.166.150.62', 'Success'), (167, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-29 12:01:54', NULL, '2', '0000-00-00 00:00:00', '178.152.83.167', 'Success'), (168, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-29 13:19:14', NULL, '2', '0000-00-00 00:00:00', '178.152.196.172', 'Success'), (169, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-29 13:19:15', NULL, '2', '0000-00-00 00:00:00', '178.152.196.172', 'Success'), (170, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-29 13:47:18', NULL, '2', '0000-00-00 00:00:00', '78.101.50.203', 'Success'), (171, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-29 13:47:19', NULL, '2', '0000-00-00 00:00:00', '78.101.50.203', 'Success'), (172, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-29 14:18:01', NULL, '2', '0000-00-00 00:00:00', '122.166.150.62', 'Success'), (173, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-29 18:58:52', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (174, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-29 20:00:03', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (175, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-31 10:09:50', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (176, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-31 14:44:13', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (177, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-31 16:22:04', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (178, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-01 09:40:55', NULL, '2', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (179, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-01 09:56:54', NULL, '2', '0000-00-00 00:00:00', '192.168.2.100', 'Success'), (180, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-01 10:06:23', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (181, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-01 13:37:06', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (182, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-01 14:52:38', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (183, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-01 15:08:58', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (184, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-01 17:45:53', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (185, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-02 10:37:56', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (186, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-02 13:58:09', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (187, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-02 18:14:16', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (188, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-03 10:53:22', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (189, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-03 14:54:15', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (190, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-04 09:55:28', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (191, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-04 14:50:53', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (192, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-04 15:34:36', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (193, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-04 15:34:45', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (194, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-04 15:34:59', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (195, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-04 16:03:40', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (196, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-04 16:20:23', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (197, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-04 17:00:11', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (198, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-05 10:08:42', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (199, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-05 10:55:35', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (200, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-05 12:47:51', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (201, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-05 14:44:28', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (202, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-08 09:56:01', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (203, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-08 11:56:55', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (204, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-08 13:15:53', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (205, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-08 15:13:02', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (206, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-08 16:23:00', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (207, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-08 17:12:48', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (208, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-08 18:08:04', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (209, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-08 18:47:03', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (210, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-09 10:47:22', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (211, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-09 14:48:08', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (212, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-09 19:01:31', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (213, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-10 11:52:23', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (214, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-10 15:41:51', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (215, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-10 16:42:19', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (216, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-10 19:13:39', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (217, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-11 09:45:50', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (218, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-11 14:13:50', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (219, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-11 16:34:24', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (220, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-11 11:15:02', NULL, '2', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (221, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-12 13:05:08', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (222, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-12 09:48:13', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (223, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-12 10:06:36', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (224, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-14 10:42:51', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (225, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-14 12:02:03', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (226, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-14 16:54:29', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (227, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-14 18:54:40', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (228, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-14 20:17:10', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'), (229, '1', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-15 10:09:14', NULL, '2', '0000-00-00 00:00:00', '::1', 'Success'); -- -------------------------------------------------------- -- -- Table structure for table `master` -- CREATE TABLE IF NOT EXISTS `master` ( `master_id` int(10) NOT NULL AUTO_INCREMENT, `creator_id` int(10) NOT NULL, `created_time` datetime NOT NULL, `ip` varchar(20) NOT NULL, PRIMARY KEY (`master_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ; -- -- Dumping data for table `master` -- INSERT INTO `master` (`master_id`, `creator_id`, `created_time`, `ip`) VALUES (6, 2, '2011-11-08 18:53:42', '127.0.0.1'), (7, 2, '2011-11-08 18:53:54', '127.0.0.1'), (8, 2, '2011-11-08 18:54:07', '127.0.0.1'); -- -------------------------------------------------------- -- -- Table structure for table `menu` -- CREATE TABLE IF NOT EXISTS `menu` ( `menu_id` bigint(10) NOT NULL AUTO_INCREMENT, `module_id` bigint(10) NOT NULL, `caption` varchar(50) NOT NULL, `target` varchar(250) NOT NULL, `sort` int(11) NOT NULL, `imagepath` varchar(100) NOT NULL, PRIMARY KEY (`menu_id`), KEY `Module_id` (`module_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=46 ; -- -- Dumping data for table `menu` -- INSERT INTO `menu` (`menu_id`, `module_id`, `caption`, `target`, `sort`, `imagepath`) VALUES (1, 2, 'Type of Visa', 'manage_visa_type', 6, ''), (2, 2, 'Sponsor', 'manage_sponsor', 7, ''), (3, 2, 'Recruitment Agency', 'manage_agency', 8, ''), (4, 2, 'Camp', 'manage_camp', 10, ''), (5, 2, 'Work Site', 'manage_site', 11, ''), (6, 2, 'Type of Leave', 'manage_leave_type', 12, ''), (7, 2, 'Trade list', 'manage_trade', 5, ''), (8, 45, 'Department', 'manage_department', 8, ''), (9, 2, 'Designation', 'manage_designation', 15, ''), (10, 2, 'Training Modules', 'manage_training_module', 2, ''), (11, 2, 'Allowance', 'manage_allowance', 13, ''), (12, 2, 'Grade', 'manage_grade', 16, ''), (13, 2, 'Trade Tool List', 'manage_tool_list', 3, ''), (14, 2, 'General Items List', 'manage_general_item', 4, ''), (15, 3, 'Joining / Re Joining', 'manage_joining', 2, 'Employee Arrival.png'), (16, 3, 'Camp Allotment', 'manage_camp_allotment', 5, 'Camp Allotment.png'), (17, 3, 'Site Allotment', 'manage_site_allotment', 6, 'Site Allotment.png'), (18, 3, 'Tools and Equipments', 'manage_item_issuance', 7, 'Tool Issuance.png'), (19, 45, 'General Item Issuance', 'manage_item_issuance', 7, 'general.png'), (20, 4, 'Training', 'manage_training', 3, 'Trade Training.png'), (21, 4, 'Daily Absence list', 'manage_attendance', 1, 'Attendance1.png'), (22, 4, 'Visa Processing', 'manage_visa_processing', 4, 'visa.png'), (23, 4, 'Camp Shift', 'manage_camp_shifting', 5, 'Camp Shifting.png'), (24, 4, 'Site Shift', 'manage_site_shifting', 6, 'Site Shifting.png'), (25, 5, 'Emergency / Annual Leave', 'manage_leave', 1, 'Annual Leave.png'), (26, 45, 'Emergency Leave', 'manage_emergency', 1, 'Emergency Leave.png'), (27, 6, 'Daily & Monthly absent list', 'manage_attendance', 1, 'Attendance.png'), (28, 6, 'Camp shift report', 'manage_leave', 2, 'Leave.png'), (29, 6, 'Monthly emergency leave / Vacation', 'manage_employee', 3, 'Employee.png'), (30, 6, 'Employee Reports', 'manage_camp', 4, 'camp.png'), (31, 7, 'Users', 'manage_user', 1, 'Users.png'), (33, 7, 'Reminders', 'manage_reminder', 4, 'Reminders.png'), (34, 7, 'Alerts', 'manage_alert', 5, 'Alerts.png'), (35, 7, 'Profiles', 'manage_role', 2, 'role.png'), (36, 5, 'Settlement', 'manage_settlement', 3, 'Settlement.png'), (37, 5, 'Exit', 'manage_exit', 4, 'exit.png'), (38, 3, 'Personal details', 'manage_employee_personal', 3, 'Employee Personal Details.png'), (39, 4, 'Salary processing', 'manage_salary', 2, 'salary settings.png'), (40, 2, 'Religion', 'manage_religion', 17, ''), (41, 2, 'Daily Absence list', 'manage_attendance_list', 1, 'Attendance.png'), (42, 2, 'Nationality', 'manage_nationality', 9, ''), (43, 2, 'Deduction', 'manage_deduction', 14, ''), (44, 3, 'Expected Arrival', 'manage_expected_arrival', 1, 'exit.png'), (45, 4, 'Trade Change', 'manage_trade_change', 7, 'Site Shifting.png'); -- -------------------------------------------------------- -- -- Table structure for table `modules` -- CREATE TABLE IF NOT EXISTS `modules` ( `module_id` int(10) NOT NULL AUTO_INCREMENT, `module_name` varchar(30) NOT NULL, `sort` int(11) NOT NULL, PRIMARY KEY (`module_id`), UNIQUE KEY `module_name` (`module_name`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ; -- -- Dumping data for table `modules` -- INSERT INTO `modules` (`module_id`, `module_name`, `sort`) VALUES (1, 'Home', 1), (2, 'Master', 2), (3, 'Onboarding', 3), (4, 'Administration', 4), (5, 'Employee Exit', 5), (6, 'Reports', 6), (7, 'Settings', 7); -- -------------------------------------------------------- -- -- Table structure for table `nationality` -- CREATE TABLE IF NOT EXISTS `nationality` ( `nationality_id` int(5) NOT NULL AUTO_INCREMENT, `nationality_name` varchar(30) NOT NULL, `nationality_code` varchar(10) NOT NULL, PRIMARY KEY (`nationality_id`), UNIQUE KEY `nationality_code` (`nationality_code`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Dumping data for table `nationality` -- INSERT INTO `nationality` (`nationality_id`, `nationality_name`, `nationality_code`) VALUES (2, 'Indian', '3'), (3, 'Nepal', '1'), (6, 'Srilankan', '2'); -- -------------------------------------------------------- -- -- Table structure for table `religion` -- CREATE TABLE IF NOT EXISTS `religion` ( `religion_id` int(5) NOT NULL AUTO_INCREMENT, `religion_name` varchar(40) NOT NULL, PRIMARY KEY (`religion_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Dumping data for table `religion` -- INSERT INTO `religion` (`religion_id`, `religion_name`) VALUES (3, 'Muslim'), (4, 'Christian'), (5, 'Buddhist'), (6, 'Hindu'); -- -------------------------------------------------------- -- -- Table structure for table `reminder` -- CREATE TABLE IF NOT EXISTS `reminder` ( `reminder_id` int(10) NOT NULL, `reminder_date` date NOT NULL, `remind_before` int(10) NOT NULL, `reminder_subject` varchar(100) NOT NULL, `reminder_description` text NOT NULL, PRIMARY KEY (`reminder_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `reminder` -- -- -------------------------------------------------------- -- -- Table structure for table `role` -- CREATE TABLE IF NOT EXISTS `role` ( `role_id` int(11) NOT NULL AUTO_INCREMENT, `designation_id` int(5) NOT NULL, `role_permission` tinytext NOT NULL, `role_edit_del_permission` tinytext NOT NULL, PRIMARY KEY (`role_id`), UNIQUE KEY `designation_id` (`designation_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `role` -- INSERT INTO `role` (`role_id`, `designation_id`, `role_permission`, `role_edit_del_permission`) VALUES (1, 2, '41,10,13,14,7,1,2,3,42,4,5,6,11,43,9,12,40,44,15,38,16,17,18,21,39,20,22,23,24,45,26,25,36,37,27,28,29,30,31,35,33,34,', '7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,'); -- -------------------------------------------------------- -- -- Table structure for table `salary` -- CREATE TABLE IF NOT EXISTS `salary` ( `salary_id` int(11) NOT NULL AUTO_INCREMENT, `salary_increment` decimal(10,0) NOT NULL, `salary_increment_date` date NOT NULL, `employee_id` int(11) NOT NULL, `remarks` text NOT NULL, PRIMARY KEY (`salary_id`), KEY `employee_id` (`employee_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `salary` -- INSERT INTO `salary` (`salary_id`, `salary_increment`, `salary_increment_date`, `employee_id`, `remarks`) VALUES (1, '20004', '2011-11-30', 7, 'Tests'), (2, '35000', '2013-11-28', 7, ''); -- -------------------------------------------------------- -- -- Table structure for table `salary_allowance` -- CREATE TABLE IF NOT EXISTS `salary_allowance` ( `salaray_allowance_id` int(11) NOT NULL AUTO_INCREMENT, `salary_id` int(11) NOT NULL, `allowance_id` int(11) NOT NULL, `allowance_amount` decimal(10,0) NOT NULL, PRIMARY KEY (`salaray_allowance_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ; -- -- Dumping data for table `salary_allowance` -- INSERT INTO `salary_allowance` (`salaray_allowance_id`, `salary_id`, `allowance_id`, `allowance_amount`) VALUES (5, 1, 3, '2200'), (6, 1, 2, '3530'), (7, 2, 2, '200'); -- -------------------------------------------------------- -- -- Table structure for table `salary_deduction` -- CREATE TABLE IF NOT EXISTS `salary_deduction` ( `salaray_deduction_id` int(11) NOT NULL AUTO_INCREMENT, `salary_id` int(11) NOT NULL, `deduction_id` int(11) NOT NULL, `deduction_amount` decimal(10,0) NOT NULL, PRIMARY KEY (`salaray_deduction_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `salary_deduction` -- INSERT INTO `salary_deduction` (`salaray_deduction_id`, `salary_id`, `deduction_id`, `deduction_amount`) VALUES (3, 1, 2, '3000'), (4, 2, 2, '100'); -- -------------------------------------------------------- -- -- Table structure for table `settlement` -- CREATE TABLE IF NOT EXISTS `settlement` ( `settlement_id` int(11) NOT NULL AUTO_INCREMENT, `employee_id` int(11) NOT NULL, `date` date NOT NULL, `final_amount` decimal(10,0) NOT NULL, PRIMARY KEY (`settlement_id`), KEY `employee_id` (`employee_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `settlement` -- -- -------------------------------------------------------- -- -- Table structure for table `site` -- CREATE TABLE IF NOT EXISTS `site` ( `site_id` int(5) NOT NULL AUTO_INCREMENT, `site_name` varchar(200) NOT NULL, `site_cordinator` varchar(100) NOT NULL, `site_contact_no` varchar(30) NOT NULL, PRIMARY KEY (`site_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `site` -- INSERT INTO `site` (`site_id`, `site_name`, `site_cordinator`, `site_contact_no`) VALUES (2, 'Site1', 'Sachin Tendulkar', '9032132121'), (3, 'Site2', 'Sanjay Raspande', '312321321'); -- -------------------------------------------------------- -- -- Table structure for table `site_allotment` -- CREATE TABLE IF NOT EXISTS `site_allotment` ( `site_allotment_id` int(5) NOT NULL AUTO_INCREMENT, `site_id` int(10) NOT NULL, `employee_id` int(10) NOT NULL, `site_allotment_date` date NOT NULL, PRIMARY KEY (`site_allotment_id`), KEY `employee_id` (`employee_id`), KEY `site_id` (`site_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `site_allotment` -- INSERT INTO `site_allotment` (`site_allotment_id`, `site_id`, `employee_id`, `site_allotment_date`) VALUES (1, 2, 8, '2011-11-10'), (2, 2, 7, '2011-11-10'), (3, 2, 6, '2011-11-10'); -- -------------------------------------------------------- -- -- Table structure for table `sponsor` -- CREATE TABLE IF NOT EXISTS `sponsor` ( `sponsor_id` int(5) NOT NULL AUTO_INCREMENT, `sponsor_name` varchar(100) NOT NULL, `sponsor_code` varchar(10) NOT NULL, `visa_code` varchar(10) NOT NULL, PRIMARY KEY (`sponsor_id`), UNIQUE KEY `sponsor_code` (`sponsor_code`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ; -- -- Dumping data for table `sponsor` -- INSERT INTO `sponsor` (`sponsor_id`, `sponsor_name`, `sponsor_code`, `visa_code`) VALUES (10, 'Hamlet', '7', 'H'), (11, 'Horeitia Global', '9', 'HG'), (12, 'Global', '8', 'GB'), (13, 'DIG', '4', ''); -- -------------------------------------------------------- -- -- Table structure for table `tool_allotment` -- CREATE TABLE IF NOT EXISTS `tool_allotment` ( `tool_allotment_id` int(10) NOT NULL AUTO_INCREMENT, `tool_id` int(5) NOT NULL, `employee_id` int(10) NOT NULL, `tool_allotment_date` date NOT NULL, `tool_allotment_expiry` date NOT NULL, `tool_remind_before` int(5) NOT NULL, PRIMARY KEY (`tool_allotment_id`), KEY `tool_id` (`tool_id`), KEY `employee_id` (`employee_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `tool_allotment` -- -- -------------------------------------------------------- -- -- Table structure for table `tool_list` -- CREATE TABLE IF NOT EXISTS `tool_list` ( `trade_id` int(10) NOT NULL, `tool_id` int(10) NOT NULL AUTO_INCREMENT, `tool_name` varchar(60) NOT NULL, `tool_shelf_life` int(5) NOT NULL, `tool_remind_before` int(5) NOT NULL, PRIMARY KEY (`tool_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=50 ; -- -- Dumping data for table `tool_list` -- INSERT INTO `tool_list` (`trade_id`, `tool_id`, `tool_name`, `tool_shelf_life`, `tool_remind_before`) VALUES (4, 31, 'Claw Hammer', 200, 0), (4, 32, 'Hand Saw', 150, 0), (4, 33, 'M. Tape', 450, 0), (4, 34, 'Right Angle', 120, 0), (1, 35, 'Scaffolder Spirit Level', 300, 30), (1, 36, 'Scaffolder Spanner', 250, 10), (3, 37, 'Screw Driver -', 34, 0), (3, 38, 'Screw Driver +', 23, 0), (5, 40, 'hammer', 45, 0), (6, 41, 'measuring Tape', 10, 0), (1, 46, 'Hammer', 20, 5), (1, 48, 'Spanner', 300, 200), (1, 49, 'Screw Driver', 30, 12); -- -------------------------------------------------------- -- -- Table structure for table `trade` -- CREATE TABLE IF NOT EXISTS `trade` ( `trade_id` int(5) NOT NULL AUTO_INCREMENT, `trade_name` varchar(60) NOT NULL, `trade_training` int(1) NOT NULL, PRIMARY KEY (`trade_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ; -- -- Dumping data for table `trade` -- INSERT INTO `trade` (`trade_id`, `trade_name`, `trade_training`) VALUES (1, 'Scaffolder', 1), (3, 'Pipe Fitter', 0), (4, 'Finishing Carpenter', 0), (5, 'Duct Fitter', 0), (6, 'Pipe Fabricator', 0), (7, 'Rigger', 1); -- -------------------------------------------------------- -- -- Table structure for table `trade_change` -- CREATE TABLE IF NOT EXISTS `trade_change` ( `trade_change_id` int(11) NOT NULL AUTO_INCREMENT, `employee_id` int(11) NOT NULL, `trade_id` int(11) NOT NULL, `trade_change_date` date NOT NULL, `remarks` text NOT NULL, PRIMARY KEY (`trade_change_id`), KEY `employee_id` (`employee_id`), KEY `trade_id` (`trade_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ; -- -- Dumping data for table `trade_change` -- INSERT INTO `trade_change` (`trade_change_id`, `employee_id`, `trade_id`, `trade_change_date`, `remarks`) VALUES (10, 6, 1, '2011-10-26', ''), (11, 7, 1, '2011-10-26', ''), (12, 8, 1, '2011-10-26', ''); -- -------------------------------------------------------- -- -- Table structure for table `training_module` -- CREATE TABLE IF NOT EXISTS `training_module` ( `training_module_id` int(5) NOT NULL AUTO_INCREMENT, `trade_id` int(5) NOT NULL, `training_type` varchar(200) NOT NULL, PRIMARY KEY (`training_module_id`), UNIQUE KEY `trade_id_2` (`trade_id`), KEY `trade_id` (`trade_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `training_module` -- INSERT INTO `training_module` (`training_module_id`, `trade_id`, `training_type`) VALUES (1, 1, 'Scaffolding'); -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE IF NOT EXISTS `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(25) NOT NULL, `password` varchar(32) NOT NULL, `role_id` int(11) NOT NULL, `email` varchar(60) NOT NULL, `permission` mediumtext NOT NULL, `edit_del_permission` tinytext NOT NULL, PRIMARY KEY (`id`), KEY `role_id` (`role_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `user` -- INSERT INTO `user` (`id`, `username`, `password`, `role_id`, `email`, `permission`, `edit_del_permission`) VALUES (2, 'admin', '21232f297a57a5a743894a0e4a801fc3', 1, 'shan.salam@isrishti.com', '41,10,13,14,7,1,2,3,42,4,5,6,11,43,9,12,40,44,15,38,16,17,18,21,39,20,22,23,24,45,26,25,36,37,27,28,29,30,31,35,33,34,', '7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,'); -- -------------------------------------------------------- -- -- Table structure for table `visa_processing` -- CREATE TABLE IF NOT EXISTS `visa_processing` ( `visa_processing_id` int(11) NOT NULL AUTO_INCREMENT, `employee_id` int(11) NOT NULL, `visa_type_id` int(11) NOT NULL, `visa_issue_date` date NOT NULL, `visa_expiry_date` date NOT NULL, `visa_remind_before` int(11) NOT NULL, `work_permit` varchar(110) NOT NULL, `work_permit_expiry_date` date NOT NULL, `work_permit_renewal_date` int(11) NOT NULL, `medical` varchar(100) NOT NULL, `blood_group` varchar(100) NOT NULL, `id_card_no` varchar(100) NOT NULL, `health_card_no` varchar(100) NOT NULL, `fingerprint` varchar(100) NOT NULL, PRIMARY KEY (`visa_processing_id`), KEY `visa_type_id` (`visa_type_id`), KEY `employee_id` (`employee_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 ; -- -- Dumping data for table `visa_processing` -- INSERT INTO `visa_processing` (`visa_processing_id`, `employee_id`, `visa_type_id`, `visa_issue_date`, `visa_expiry_date`, `visa_remind_before`, `work_permit`, `work_permit_expiry_date`, `work_permit_renewal_date`, `medical`, `blood_group`, `id_card_no`, `health_card_no`, `fingerprint`) VALUES (9, 6, 18, '1970-01-01', '1970-01-01', 0, '', '0000-00-00', 0, '', '', '', '', ''), (10, 7, 18, '1970-01-01', '1970-01-01', 0, '', '0000-00-00', 0, '', '', '', '', ''), (11, 8, 18, '1970-01-01', '1970-01-01', 0, '', '0000-00-00', 0, '', '', '', '', ''); -- -------------------------------------------------------- -- -- Table structure for table `visa_type` -- CREATE TABLE IF NOT EXISTS `visa_type` ( `visa_type_id` int(11) NOT NULL AUTO_INCREMENT, `visa_type_name` varchar(200) NOT NULL, `visa_type_duration` varchar(100) NOT NULL, `visa_code` int(11) NOT NULL, PRIMARY KEY (`visa_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=20 ; -- -- Dumping data for table `visa_type` -- INSERT INTO `visa_type` (`visa_type_id`, `visa_type_name`, `visa_type_duration`, `visa_code`) VALUES (18, 'Employment', '24', 0), (19, 'Business', '1', 1); -- -- Constraints for dumped tables -- -- -- Constraints for table `camp_allotment` -- ALTER TABLE `camp_allotment` ADD CONSTRAINT `camp_allotment_ibfk_1` FOREIGN KEY (`camp_id`) REFERENCES `camp` (`camp_id`) ON DELETE NO ACTION, ADD CONSTRAINT `camp_allotment_ibfk_2` FOREIGN KEY (`employee_id`) REFERENCES `employee_non_main` (`emp_non_id`) ON DELETE CASCADE; -- -- Constraints for table `employee_non_main` -- ALTER TABLE `employee_non_main` ADD CONSTRAINT `employee_non_main_ibfk_1` FOREIGN KEY (`emp_non_nationality_id`) REFERENCES `nationality` (`nationality_id`) ON DELETE NO ACTION, ADD CONSTRAINT `employee_non_main_ibfk_2` FOREIGN KEY (`emp_non_trade_id`) REFERENCES `trade` (`trade_id`) ON DELETE NO ACTION, ADD CONSTRAINT `employee_non_main_ibfk_3` FOREIGN KEY (`emp_non_visa_type_id`) REFERENCES `visa_type` (`visa_type_id`) ON DELETE NO ACTION, ADD CONSTRAINT `employee_non_main_ibfk_4` FOREIGN KEY (`emp_non_sponsor_id`) REFERENCES `sponsor` (`sponsor_id`) ON DELETE NO ACTION, ADD CONSTRAINT `employee_non_main_ibfk_5` FOREIGN KEY (`emp_non_agency_id`) REFERENCES `agency` (`agency_id`) ON DELETE NO ACTION, ADD CONSTRAINT `employee_non_main_ibfk_6` FOREIGN KEY (`batch_id`) REFERENCES `batch` (`id`) ON DELETE NO ACTION, ADD CONSTRAINT `employee_non_main_ibfk_7` FOREIGN KEY (`emp_non_id`) REFERENCES `master` (`master_id`) ON DELETE CASCADE; -- -- Constraints for table `employee_training` -- ALTER TABLE `employee_training` ADD CONSTRAINT `employee_training_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `employee_non_main` (`emp_non_id`) ON DELETE CASCADE, ADD CONSTRAINT `employee_training_ibfk_2` FOREIGN KEY (`training_id`) REFERENCES `training_module` (`training_module_id`) ON DELETE NO ACTION; -- -- Constraints for table `emp_non_personal` -- ALTER TABLE `emp_non_personal` ADD CONSTRAINT `emp_non_personal_ibfk_1` FOREIGN KEY (`emp_non_id`) REFERENCES `employee_non_main` (`emp_non_id`) ON DELETE CASCADE, ADD CONSTRAINT `emp_non_personal_ibfk_2` FOREIGN KEY (`emp_non_personal_religion_id`) REFERENCES `religion` (`religion_id`) ON DELETE NO ACTION; -- -- Constraints for table `expected_arrival` -- ALTER TABLE `expected_arrival` ADD CONSTRAINT `expected_arrival_ibfk_1` FOREIGN KEY (`expected_arrival_id`) REFERENCES `master` (`master_id`) ON DELETE CASCADE, ADD CONSTRAINT `expected_arrival_ibfk_2` FOREIGN KEY (`expected_arrival_trade`) REFERENCES `trade` (`trade_id`) ON DELETE NO ACTION, ADD CONSTRAINT `expected_arrival_ibfk_3` FOREIGN KEY (`expected_arrival_nationality`) REFERENCES `nationality` (`nationality_id`) ON DELETE NO ACTION; -- -- Constraints for table `item_allotment` -- ALTER TABLE `item_allotment` ADD CONSTRAINT `item_allotment_ibfk_1` FOREIGN KEY (`item_id`) REFERENCES `general_item` (`item_id`) ON DELETE NO ACTION, ADD CONSTRAINT `item_allotment_ibfk_2` FOREIGN KEY (`employee_id`) REFERENCES `employee_non_main` (`emp_non_id`) ON DELETE CASCADE; -- -- Constraints for table `leave` -- ALTER TABLE `leave` ADD CONSTRAINT `leave_ibfk_2` FOREIGN KEY (`employee_id`) REFERENCES `employee_non_main` (`emp_non_id`) ON DELETE CASCADE, ADD CONSTRAINT `leave_ibfk_3` FOREIGN KEY (`leave_type_id`) REFERENCES `leave_type` (`leave_type_id`) ON DELETE NO ACTION; -- -- Constraints for table `reminder` -- ALTER TABLE `reminder` ADD CONSTRAINT `reminder_ibfk_1` FOREIGN KEY (`reminder_id`) REFERENCES `master` (`master_id`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `role` -- ALTER TABLE `role` ADD CONSTRAINT `role_ibfk_1` FOREIGN KEY (`designation_id`) REFERENCES `designation` (`designation_id`) ON DELETE NO ACTION; -- -- Constraints for table `salary` -- ALTER TABLE `salary` ADD CONSTRAINT `salary_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `employee_non_main` (`emp_non_id`) ON DELETE CASCADE; -- -- Constraints for table `settlement` -- ALTER TABLE `settlement` ADD CONSTRAINT `settlement_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `employee_non_main` (`emp_non_id`) ON DELETE CASCADE; -- -- Constraints for table `site_allotment` -- ALTER TABLE `site_allotment` ADD CONSTRAINT `site_allotment_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `employee_non_main` (`emp_non_id`) ON DELETE CASCADE, ADD CONSTRAINT `site_allotment_ibfk_2` FOREIGN KEY (`site_id`) REFERENCES `site` (`site_id`) ON DELETE NO ACTION; -- -- Constraints for table `tool_allotment` -- ALTER TABLE `tool_allotment` ADD CONSTRAINT `tool_allotment_ibfk_1` FOREIGN KEY (`tool_id`) REFERENCES `tool_list` (`tool_id`) ON DELETE NO ACTION, ADD CONSTRAINT `tool_allotment_ibfk_2` FOREIGN KEY (`employee_id`) REFERENCES `employee_non_main` (`emp_non_id`) ON DELETE CASCADE; -- -- Constraints for table `trade_change` -- ALTER TABLE `trade_change` ADD CONSTRAINT `trade_change_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `employee_non_main` (`emp_non_id`) ON DELETE CASCADE, ADD CONSTRAINT `trade_change_ibfk_2` FOREIGN KEY (`trade_id`) REFERENCES `trade` (`trade_id`) ON DELETE NO ACTION; -- -- Constraints for table `training_module` -- ALTER TABLE `training_module` ADD CONSTRAINT `training_module_ibfk_1` FOREIGN KEY (`trade_id`) REFERENCES `trade` (`trade_id`) ON DELETE NO ACTION; -- -- Constraints for table `user` -- ALTER TABLE `user` ADD CONSTRAINT `user_ibfk_1` FOREIGN KEY (`role_id`) REFERENCES `role` (`role_id`) ON DELETE NO ACTION; -- -- Constraints for table `visa_processing` -- ALTER TABLE `visa_processing` ADD CONSTRAINT `visa_processing_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `employee_non_main` (`emp_non_id`) ON DELETE CASCADE, ADD CONSTRAINT `visa_processing_ibfk_2` FOREIGN KEY (`visa_type_id`) REFERENCES `visa_type` (`visa_type_id`) ON DELETE NO ACTION;