? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/sims/school/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
Upload File :
Current File : /home1/savoy/public_html/savoyglobal.net/sims/school/application/data/sims-07-02-12.sql

-- phpMyAdmin SQL Dump
-- version 3.2.2.1deb1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 07, 2012 at 11:57 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: `sims`
--

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

--
-- Table structure for table `academicyear`
--

CREATE TABLE IF NOT EXISTS `academicyear` (
  `ayear` year(4) NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `current` tinyint(4) NOT NULL,
  UNIQUE KEY `ayear` (`ayear`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `academicyear`
--

INSERT INTO `academicyear` (`ayear`, `start_date`, `end_date`, `current`) VALUES
(2009, '2011-12-14', '2011-12-31', 0),
(2011, '2011-04-01', '2012-03-31', 1);

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

--
-- Table structure for table `assignmark`
--

CREATE TABLE IF NOT EXISTS `assignmark` (
  `assignmark_id` int(11) NOT NULL,
  `exammaster_id` int(11) NOT NULL,
  `classlevel_id` int(11) NOT NULL,
  PRIMARY KEY (`assignmark_id`),
  KEY `exammaster_id` (`exammaster_id`),
  KEY `classlevel_sectionid` (`classlevel_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `assignmark`
--


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

--
-- Table structure for table `assignmark_student`
--

CREATE TABLE IF NOT EXISTS `assignmark_student` (
  `assignmark_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `mark` varchar(200) NOT NULL,
  `mark_classwork` double NOT NULL,
  KEY `assignmark_id` (`assignmark_id`),
  KEY `student_id` (`student_id`),
  KEY `subject_id` (`subject_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `assignmark_student`
--


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

--
-- Table structure for table `attendance_register`
--

CREATE TABLE IF NOT EXISTS `attendance_register` (
  `id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `date` date NOT NULL,
  `reason` text NOT NULL,
  KEY `id` (`id`),
  KEY `student_id` (`student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `attendance_register`
--

INSERT INTO `attendance_register` (`id`, `student_id`, `date`, `reason`) VALUES
(9, 1, '2011-06-01', 'erdr'),
(174, 1, '2012-01-31', 'leave'),
(175, 1, '2012-02-05', 'est');

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

--
-- Table structure for table `calendar`
--

CREATE TABLE IF NOT EXISTS `calendar` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `title` varchar(200) NOT NULL,
  `description` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=89 ;

--
-- Dumping data for table `calendar`
--

INSERT INTO `calendar` (`id`, `start_date`, `end_date`, `title`, `description`) VALUES
(11, '2011-12-01', '2011-12-22', 'fdsf', 'dsfds'),
(36, '2011-12-16', '2011-12-30', '', ''),
(37, '2011-12-08', '2011-12-23', 'dsadsa', ''),
(47, '2011-12-30', '2011-12-30', 'test', ''),
(48, '2011-11-28', '2011-11-28', 'test', ''),
(55, '2012-01-19', '2012-01-26', 'fdsa', ''),
(65, '2012-01-06', '2012-01-06', 'test', ''),
(85, '2012-01-10', '2012-01-10', 'arts fest', ''),
(86, '2012-01-11', '2012-01-11', 'arts fest', ''),
(87, '2012-01-30', '2012-01-30', 'PTA', ''),
(88, '2012-02-14', '2012-02-14', 'sports meet', ''),
(20, '2012-01-03', '2012-01-03', 'shan', '');

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

--
-- Table structure for table `classlevel`
--

CREATE TABLE IF NOT EXISTS `classlevel` (
  `classlevel_id` int(11) NOT NULL AUTO_INCREMENT,
  `classlevel_code` varchar(10) NOT NULL,
  `classlevel_name` varchar(20) NOT NULL,
  `classlevel_section` varchar(10) NOT NULL,
  `nextclasslevel_id` int(11) NOT NULL,
  `sort` int(11) NOT NULL,
  PRIMARY KEY (`classlevel_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=18 ;

--
-- Dumping data for table `classlevel`
--

INSERT INTO `classlevel` (`classlevel_id`, `classlevel_code`, `classlevel_name`, `classlevel_section`, `nextclasslevel_id`, `sort`) VALUES
(2, '1st A', '1', 'A', 3, 1),
(3, '2nd A', '2', 'A', 0, 2),
(4, '2nd B', '2', 'B', 0, 3),
(5, 'KG1 A', 'KG 1', 'A', 0, 1),
(6, 'KG1 B', 'KG 1', 'B', 0, 2),
(7, 'KG2 A', 'KG 2', 'A', 0, 3),
(8, 'KG2 B', 'KG 2', 'B', 0, 4),
(9, 'G1 A', 'Grade 1', 'A', 0, 5),
(10, 'G1 B', 'Grade 1', 'B', 0, 5),
(11, 'G2 A', 'Grade 2', 'A', 0, 6),
(12, 'G2 B', 'Grade 2', 'B', 0, 7),
(13, 'G3 A', 'Grade 3', 'A', 0, 8),
(14, 'G3 B', 'Grade 3', 'B', 0, 9),
(15, 'G4 A', 'Grade 4', 'A', 0, 10),
(16, 'G5 A', 'Grade 5', 'A', 0, 11),
(17, 'G6 A', 'Grade 6', 'A', 0, 12);

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

--
-- Table structure for table `department`
--

CREATE TABLE IF NOT EXISTS `department` (
  `department_id` int(11) NOT NULL AUTO_INCREMENT,
  `department_name` varchar(100) NOT NULL,
  PRIMARY KEY (`department_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `department`
--

INSERT INTO `department` (`department_id`, `department_name`) VALUES
(1, 'Finance');

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

--
-- Table structure for table `designation`
--

CREATE TABLE IF NOT EXISTS `designation` (
  `designation_id` int(11) NOT NULL AUTO_INCREMENT,
  `designation_name` varchar(100) 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
(1, 'Principal'),
(2, 'Administrative Officer');

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

--
-- Table structure for table `directory`
--

CREATE TABLE IF NOT EXISTS `directory` (
  `directory_id` int(20) NOT NULL,
  `directory_name` varchar(200) NOT NULL,
  `parent_id` int(20) NOT NULL,
  `is_file` int(2) NOT NULL,
  PRIMARY KEY (`directory_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `directory`
--

INSERT INTO `directory` (`directory_id`, `directory_name`, `parent_id`, `is_file`) VALUES
(165, 'filr', 0, 1),
(166, 'File', 0, 0);

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

--
-- Table structure for table `directory_file`
--

CREATE TABLE IF NOT EXISTS `directory_file` (
  `directory_id` int(10) NOT NULL,
  `file_name` varchar(200) NOT NULL,
  `media_type` varchar(20) NOT NULL,
  `category` varchar(20) NOT NULL,
  PRIMARY KEY (`directory_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `directory_file`
--

INSERT INTO `directory_file` (`directory_id`, `file_name`, `media_type`, `category`) VALUES
(165, './school/uploads//socialbookmarking.doc', 'Presentation', '');

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

--
-- Table structure for table `emailreport`
--

CREATE TABLE IF NOT EXISTS `emailreport` (
  `email_id` int(11) NOT NULL AUTO_INCREMENT,
  `email_subject` text NOT NULL,
  `email_contents` text NOT NULL,
  `email_date` date NOT NULL,
  `status` varchar(11) NOT NULL,
  PRIMARY KEY (`email_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

--
-- Dumping data for table `emailreport`
--


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

--
-- Table structure for table `emailtemplate`
--

CREATE TABLE IF NOT EXISTS `emailtemplate` (
  `template_id` int(11) NOT NULL DEFAULT '0',
  `template_title` varchar(200) NOT NULL,
  `template_subject` text NOT NULL,
  `template_contents` text NOT NULL,
  PRIMARY KEY (`template_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `emailtemplate`
--

INSERT INTO `emailtemplate` (`template_id`, `template_title`, `template_subject`, `template_contents`) VALUES
(0, 'tetes', 'gfdsfgd', '<b>gfdsgfdsgfds</b>');

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

--
-- Table structure for table `email_receipents`
--

CREATE TABLE IF NOT EXISTS `email_receipents` (
  `email_id` int(11) NOT NULL,
  `receipent_name` varchar(50) NOT NULL,
  `receipent_email` varchar(50) NOT NULL,
  `receipent_type` varchar(20) NOT NULL,
  KEY `email_id` (`email_id`),
  KEY `receipent_id` (`receipent_name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `email_receipents`
--


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

--
-- Table structure for table `employeemaster`
--

CREATE TABLE IF NOT EXISTS `employeemaster` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `report_label` varchar(200) NOT NULL,
  `description` text NOT NULL,
  `target` tinytext NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

--
-- Dumping data for table `employeemaster`
--

INSERT INTO `employeemaster` (`id`, `report_label`, `description`, `target`) VALUES
(1, 'Departments Master', 'Employee departments', 'viewdata(''settings'',''viewinsettings'',''searchdepartment'',''viewdepartment'',''1'');'),
(2, 'Designations Master', 'Employee designations', 'viewdata(''settings'',''viewinsettings'',''searchdesignation'',''viewdesignation'',''1'');');

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

--
-- Table structure for table `exammaster`
--

CREATE TABLE IF NOT EXISTS `exammaster` (
  `exammaster_id` int(11) NOT NULL AUTO_INCREMENT,
  `exammaster_name` varchar(200) NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  PRIMARY KEY (`exammaster_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=34 ;

--
-- Dumping data for table `exammaster`
--

INSERT INTO `exammaster` (`exammaster_id`, `exammaster_name`, `start_date`, `end_date`) VALUES
(7, 'First Term', '2011-12-01', '2011-12-15'),
(29, '2nd Term', '2012-02-03', '2012-02-16'),
(33, '3rd Term', '2012-02-09', '2012-02-29');

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

--
-- Table structure for table `examreport`
--

CREATE TABLE IF NOT EXISTS `examreport` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `report_label` varchar(200) NOT NULL,
  `description` text NOT NULL,
  `target` varchar(20) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `examreport`
--

INSERT INTO `examreport` (`id`, `report_label`, `description`, `target`) VALUES
(1, 'Student Exam Report Cards', 'Report cards of Student for an Exam', 'studrepcard'),
(3, 'Class Examination Reports', 'Reports of examination classwise', 'classexamrep'),
(2, 'Student Yearly Report Card', 'Report card of a student for the whole year', 'studyearrepcard');

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

--
-- Table structure for table `examtimetable`
--

CREATE TABLE IF NOT EXISTS `examtimetable` (
  `examtimetable_id` int(11) NOT NULL AUTO_INCREMENT,
  `exammaster_id` int(11) NOT NULL,
  `classlevel_id` int(11) NOT NULL,
  PRIMARY KEY (`examtimetable_id`),
  KEY `classlevel_id` (`classlevel_id`),
  KEY `exammaster_id` (`exammaster_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=169 ;

--
-- Dumping data for table `examtimetable`
--

INSERT INTO `examtimetable` (`examtimetable_id`, `exammaster_id`, `classlevel_id`) VALUES
(12, 7, 2),
(18, 7, 4),
(32, 29, 2),
(168, 33, 8);

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

--
-- Table structure for table `examtimetable_subject`
--

CREATE TABLE IF NOT EXISTS `examtimetable_subject` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `examtimetable_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `start_time` datetime NOT NULL,
  `end_time` datetime NOT NULL,
  `max_marks` decimal(10,0) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `subject_id` (`subject_id`),
  KEY `examtimetable_id` (`examtimetable_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;

--
-- Dumping data for table `examtimetable_subject`
--

INSERT INTO `examtimetable_subject` (`id`, `examtimetable_id`, `subject_id`, `start_time`, `end_time`, `max_marks`) VALUES
(1, 12, 1, '2011-12-10 04:30:00', '2011-12-10 04:30:00', '0'),
(2, 32, 1, '2012-02-03 04:30:00', '2012-02-03 04:30:00', '0'),
(3, 32, 2, '2012-02-03 04:30:00', '2012-02-03 04:30:00', '0'),
(4, 32, 4, '2012-02-03 04:30:00', '2012-02-03 04:30:00', '0'),
(5, 32, 5, '2012-02-03 04:30:00', '2012-02-03 04:30:00', '0'),
(6, 32, 6, '2012-02-03 04:30:00', '2012-02-03 04:30:00', '0'),
(7, 32, 7, '2012-02-03 04:30:00', '2012-02-03 04:30:00', '0');

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

--
-- Table structure for table `extraactivity`
--

CREATE TABLE IF NOT EXISTS `extraactivity` (
  `activity_id` int(11) NOT NULL,
  `activity_title` varchar(200) NOT NULL,
  `activity_date` date NOT NULL,
  `activity_event_name` varchar(200) NOT NULL,
  `activity_remarks` text NOT NULL,
  KEY `activity_id` (`activity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `extraactivity`
--

INSERT INTO `extraactivity` (`activity_id`, `activity_title`, `activity_date`, `activity_event_name`, `activity_remarks`) VALUES
(156, 'Swimming', '2012-02-09', 'Eve1', 'efsdgfsdfsdf'),
(157, 'dfd', '2012-02-07', 'sdfsdf', 'sdfdfds');

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

--
-- Table structure for table `extraactivity_class`
--

CREATE TABLE IF NOT EXISTS `extraactivity_class` (
  `activity_id` int(11) NOT NULL,
  `activity_class_id` int(11) NOT NULL,
  KEY `activity_id` (`activity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `extraactivity_class`
--

INSERT INTO `extraactivity_class` (`activity_id`, `activity_class_id`) VALUES
(156, 4),
(157, 8);

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

--
-- Table structure for table `extraactivity_winners`
--

CREATE TABLE IF NOT EXISTS `extraactivity_winners` (
  `activity_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `activity_position` varchar(100) NOT NULL,
  KEY `activity_id` (`activity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `extraactivity_winners`
--

INSERT INTO `extraactivity_winners` (`activity_id`, `student_id`, `activity_position`) VALUES
(156, 4, '1'),
(157, 1, '2');

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

--
-- Table structure for table `fee`
--

CREATE TABLE IF NOT EXISTS `fee` (
  `fee_id` int(11) NOT NULL,
  `fee_date` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `total_amount` int(11) NOT NULL,
  `feecollection_id` int(11) NOT NULL,
  `payment_mode` varchar(50) NOT NULL,
  `remarks` text NOT NULL,
  KEY `fee_id` (`fee_id`),
  KEY `student_id` (`student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `fee`
--

INSERT INTO `fee` (`fee_id`, `fee_date`, `student_id`, `total_amount`, `feecollection_id`, `payment_mode`, `remarks`) VALUES
(25, 2012, 1, 273, 4, 'Cash', 'test'),
(154, 2012, 7, 273, 4, 'Cash', 'dgg'),
(155, 2012, 4, 273, 4, 'Cheque', 'fghgh');

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

--
-- Table structure for table `feecategory`
--

CREATE TABLE IF NOT EXISTS `feecategory` (
  `feecategory_id` int(11) NOT NULL AUTO_INCREMENT,
  `feecategory_name` varchar(50) NOT NULL,
  PRIMARY KEY (`feecategory_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `feecategory`
--

INSERT INTO `feecategory` (`feecategory_id`, `feecategory_name`) VALUES
(1, 'Tution'),
(2, 'Transportation'),
(3, 'Uniform');

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

--
-- Table structure for table `feecollection`
--

CREATE TABLE IF NOT EXISTS `feecollection` (
  `feecollection_id` int(11) NOT NULL AUTO_INCREMENT,
  `feecollection_name` varchar(200) NOT NULL,
  `feecollection_feecreate_id` int(11) NOT NULL,
  `feecollection_due_date` date NOT NULL,
  PRIMARY KEY (`feecollection_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `feecollection`
--

INSERT INTO `feecollection` (`feecollection_id`, `feecollection_name`, `feecollection_feecreate_id`, `feecollection_due_date`) VALUES
(4, '1st Terms', 4, '2011-12-31');

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

--
-- Table structure for table `feecreate`
--

CREATE TABLE IF NOT EXISTS `feecreate` (
  `feecreate_id` int(11) NOT NULL AUTO_INCREMENT,
  `feecreate_name` varchar(100) NOT NULL,
  `feecreate_classlevel_id` int(11) NOT NULL,
  PRIMARY KEY (`feecreate_id`),
  KEY `feecreate_classlevel_id` (`feecreate_classlevel_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;

--
-- Dumping data for table `feecreate`
--

INSERT INTO `feecreate` (`feecreate_id`, `feecreate_name`, `feecreate_classlevel_id`) VALUES
(4, 'Tuition', 2),
(5, 'fdas', 3);

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

--
-- Table structure for table `feecreate_category`
--

CREATE TABLE IF NOT EXISTS `feecreate_category` (
  `feecreate_id` int(11) NOT NULL,
  `feecategory_id` int(11) NOT NULL,
  `amount` varchar(20) NOT NULL,
  KEY `feecreate_id` (`feecreate_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `feecreate_category`
--

INSERT INTO `feecreate_category` (`feecreate_id`, `feecategory_id`, `amount`) VALUES
(4, 2, '23'),
(4, 3, '250');

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

--
-- Table structure for table `feemaster`
--

CREATE TABLE IF NOT EXISTS `feemaster` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `report_label` varchar(200) NOT NULL,
  `description` text NOT NULL,
  `target` tinytext NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `feemaster`
--

INSERT INTO `feemaster` (`id`, `report_label`, `description`, `target`) VALUES
(1, 'Fees Category', 'Students Fee Category', 'viewdata(''settings'',''viewinsettings'',''searchfeecategory'',''viewfeecategory'',''1'');'),
(2, 'Fees Management', 'Configure class wise fees categories and amount', 'viewdata(''settings'',''viewinsettings'',''searchfeecreate'',''viewfeecreate'',''1'');'),
(3, 'Fees Payment Management', 'Managing fee collectiion dates', 'viewdata(''settings'',''viewinsettings'',''searchfeecollection'',''viewfeecollection'',''1'');');

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

--
-- Table structure for table `fee_particular`
--

CREATE TABLE IF NOT EXISTS `fee_particular` (
  `fee_id` int(11) NOT NULL,
  `fee_category` varchar(100) NOT NULL,
  `fee_amount` double NOT NULL,
  KEY `fee_id` (`fee_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `fee_particular`
--

INSERT INTO `fee_particular` (`fee_id`, `fee_category`, `fee_amount`) VALUES
(25, 'Uniform', 250),
(25, 'Transportation', 23),
(154, 'Uniform', 250),
(154, 'Transportation', 23),
(155, 'Uniform', 250),
(155, 'Transportation', 23);

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

--
-- Table structure for table `gradelevel`
--

CREATE TABLE IF NOT EXISTS `gradelevel` (
  `gradelevel_id` int(11) NOT NULL AUTO_INCREMENT,
  `gradelevel_name` varchar(10) NOT NULL,
  `min_marks` decimal(10,0) NOT NULL,
  `max_marks` decimal(10,0) NOT NULL,
  `gradelevel_description` varchar(50) NOT NULL,
  PRIMARY KEY (`gradelevel_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=170 ;

--
-- Dumping data for table `gradelevel`
--

INSERT INTO `gradelevel` (`gradelevel_id`, `gradelevel_name`, `min_marks`, `max_marks`, `gradelevel_description`) VALUES
(13, 'E', '90', '100', 'Excellent'),
(14, 'VG', '80', '89', 'Very Good'),
(15, 'G', '70', '79', 'Good'),
(26, 'S', '60', '69', 'Satisfactory'),
(27, 'N', '0', '59', 'Needs Improvement'),
(169, 'earfer', '2312', '123', 'ss');

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

--
-- Table structure for table `homework`
--

CREATE TABLE IF NOT EXISTS `homework` (
  `homework_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `homework_title` text NOT NULL,
  `assigned_date` date NOT NULL,
  `due_date` date NOT NULL,
  `homework_description` text NOT NULL,
  KEY `homework_id` (`homework_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `homework`
--

INSERT INTO `homework` (`homework_id`, `subject_id`, `homework_title`, `assigned_date`, `due_date`, `homework_description`) VALUES
(16, 1, 'dictation', '2012-01-12', '2012-01-17', 'dfyfhfghhg'),
(150, 1, 'English - Peom reading', '2012-02-05', '2012-02-07', 'Poem reading - Three little lambs'),
(153, 110, 'rtrtr', '2012-02-08', '2012-02-08', 'sfsfgsf');

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

--
-- Table structure for table `kgactivity`
--

CREATE TABLE IF NOT EXISTS `kgactivity` (
  `kgactivity_id` int(11) NOT NULL AUTO_INCREMENT,
  `kgactivity_name` varchar(200) NOT NULL,
  `kgcategory_id` int(11) NOT NULL,
  PRIMARY KEY (`kgactivity_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=62 ;

--
-- Dumping data for table `kgactivity`
--

INSERT INTO `kgactivity` (`kgactivity_id`, `kgactivity_name`, `kgcategory_id`) VALUES
(1, 'Participate in Physical activities', 30),
(2, 'Participate in physical activities', 53),
(3, 'Enjoys running,jumping,throwing,and catching', 53),
(4, 'Can play alone', 53),
(5, 'Can play with others', 53),
(6, 'Can follow game rules', 53),
(7, 'Participates in group singing/rhymes', 54),
(8, 'Enjoys using variety of art materials', 54),
(9, 'Can draw and color within the lines', 54),
(10, 'Expresses creativity', 54),
(11, 'Identifies colors', 55),
(12, 'Identifies animals and their babies', 55),
(13, 'Identifies fruits and vegetables', 55),
(14, 'Identifies body parts', 55),
(15, 'Demonstrates knowledge of safe activities', 55),
(16, 'Obeys instructions', 56),
(17, 'Works on time', 56),
(18, 'Works independantly', 56),
(19, 'Maintain personal hygein', 57),
(20, 'Takes care of personal an school belongings', 57),
(21, 'Maintain discipline in class', 57),
(61, 'test', 53);

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

--
-- Table structure for table `kgactivityattainment`
--

CREATE TABLE IF NOT EXISTS `kgactivityattainment` (
  `kgactivity_id` int(11) NOT NULL,
  `kgattainment_id` int(11) NOT NULL,
  PRIMARY KEY (`kgactivity_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `kgactivityattainment`
--

INSERT INTO `kgactivityattainment` (`kgactivity_id`, `kgattainment_id`) VALUES
(60, 85);

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

--
-- Table structure for table `kgactivityeffort`
--

CREATE TABLE IF NOT EXISTS `kgactivityeffort` (
  `kgactivity_id` int(11) NOT NULL,
  `kgeffort_id` int(11) NOT NULL,
  PRIMARY KEY (`kgactivity_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `kgactivityeffort`
--

INSERT INTO `kgactivityeffort` (`kgactivity_id`, `kgeffort_id`) VALUES
(60, 90),
(61, 89);

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

--
-- Table structure for table `kgattainment`
--

CREATE TABLE IF NOT EXISTS `kgattainment` (
  `kgattainment_id` int(11) NOT NULL AUTO_INCREMENT,
  `kgattainment_name` varchar(200) NOT NULL,
  PRIMARY KEY (`kgattainment_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=89 ;

--
-- Dumping data for table `kgattainment`
--

INSERT INTO `kgattainment` (`kgattainment_id`, `kgattainment_name`) VALUES
(84, 'Working Towards'),
(85, 'At Expected Level'),
(86, 'Above Expected Level');

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

--
-- Table structure for table `kgcategory`
--

CREATE TABLE IF NOT EXISTS `kgcategory` (
  `kgcategory_id` int(11) NOT NULL AUTO_INCREMENT,
  `kgcategory_name` varchar(200) NOT NULL,
  PRIMARY KEY (`kgcategory_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=83 ;

--
-- Dumping data for table `kgcategory`
--

INSERT INTO `kgcategory` (`kgcategory_id`, `kgcategory_name`) VALUES
(53, 'Physical Department'),
(54, 'Music and Art'),
(55, 'General Knowledge'),
(56, 'Social Development'),
(57, 'Personal Development');

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

--
-- Table structure for table `kgeffort`
--

CREATE TABLE IF NOT EXISTS `kgeffort` (
  `kgeffort_id` int(11) NOT NULL AUTO_INCREMENT,
  `kgeffort_name` varchar(200) NOT NULL,
  PRIMARY KEY (`kgeffort_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=96 ;

--
-- Dumping data for table `kgeffort`
--

INSERT INTO `kgeffort` (`kgeffort_id`, `kgeffort_name`) VALUES
(89, 'Needs More Effort'),
(90, 'Satisfactory'),
(91, 'Good');

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

--
-- Table structure for table `kgperformance`
--

CREATE TABLE IF NOT EXISTS `kgperformance` (
  `kgperformance_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `date` date NOT NULL,
  `comments` text NOT NULL,
  PRIMARY KEY (`kgperformance_id`),
  KEY `student_id` (`student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `kgperformance`
--


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

--
-- Table structure for table `kgsettings`
--

CREATE TABLE IF NOT EXISTS `kgsettings` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `label` varchar(200) NOT NULL,
  `description` text NOT NULL,
  `target` varchar(200) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `kgsettings`
--

INSERT INTO `kgsettings` (`id`, `label`, `description`, `target`) VALUES
(1, 'Category Master', 'List of Categories', 'viewdata(''examination'',''viewinexamination'',''searchkgcategory'',''viewkgcategory'',''1'');'),
(2, 'Activity Master', 'List of Activities', 'viewdata(''examination'',''viewinexamination'',''searchkgactivity'',''viewkgactivity'',''1'');'),
(3, 'Attainment Master', 'List of Attaiments', 'viewdata(''examination'',''viewinexamination'',''searchkgattainment'',''viewkgattainment'',''1'');'),
(4, 'Effort Master', 'List of efforts', 'viewdata(''examination'',''viewinexamination'',''searchkgeffort'',''viewkgeffort'',''1'');');

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

--
-- 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=404 ;

--
-- 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, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-02-25 17:03:05', NULL, '1', '0000-00-00 00:00:00', '192.168.1.101', 'Success'),
(2, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-02-28 10:51:25', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(3, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-02-28 11:55:19', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(4, NULL, 'admin', 'admin', '2011-02-28 12:09:23', NULL, '1', '2011-02-28 12:09:23', '192.168.1.115', 'failed'),
(5, NULL, 'admin', 'admin', '2011-02-28 12:09:37', NULL, '1', '2011-02-28 12:09:37', '192.168.1.115', 'failed'),
(6, NULL, 'admin', 'admin', '2011-02-28 12:09:47', NULL, '1', '2011-02-28 12:09:47', '192.168.1.115', 'failed'),
(7, NULL, 'admin', '', '2011-02-28 12:10:04', NULL, '1', '2011-02-28 12:10:04', '192.168.1.115', 'failed'),
(8, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-02-28 12:10:15', NULL, '1', '0000-00-00 00:00:00', '192.168.1.115', 'Success'),
(9, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-02-28 15:18:31', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(10, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-02-28 17:35:41', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(11, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-01 12:52:33', NULL, '1', '0000-00-00 00:00:00', '192.168.1.2', 'Success'),
(12, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-01 14:27:45', NULL, '1', '0000-00-00 00:00:00', '192.168.1.115', 'Success'),
(13, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-03 10:43:23', NULL, '1', '0000-00-00 00:00:00', '192.168.1.2', 'Success'),
(14, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-03 15:16:10', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(15, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-03 15:36:00', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(16, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-03 16:05:08', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(17, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-03 17:53:14', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(18, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-03 17:54:39', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(19, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-08 09:50:27', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(20, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-08 09:53:57', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(21, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-08 20:30:00', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(22, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-10 10:29:42', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(23, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-10 10:48:28', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(24, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-10 11:01:02', NULL, '1', '0000-00-00 00:00:00', '192.168.1.101', 'Success'),
(25, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-10 11:35:16', NULL, '1', '0000-00-00 00:00:00', '192.168.1.101', 'Success'),
(26, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-10 11:38:17', NULL, '1', '0000-00-00 00:00:00', '192.168.1.101', 'Success'),
(27, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-10 15:03:19', NULL, '1', '0000-00-00 00:00:00', '192.168.1.6', 'Success'),
(28, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-03-12 14:20:00', NULL, '1', '0000-00-00 00:00:00', '192.168.1.115', 'Success'),
(29, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-01 11:02:01', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(30, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-02 13:22:18', NULL, '1', '0000-00-00 00:00:00', '192.168.1.115', 'Success'),
(31, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-02 13:25:06', NULL, '1', '0000-00-00 00:00:00', '192.168.1.115', 'Success'),
(32, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-02 13:29:05', NULL, '1', '0000-00-00 00:00:00', '192.168.1.115', 'Success'),
(33, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-02 13:57:43', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(34, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-04 10:32:07', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(35, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-04 10:42:52', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(36, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-04 12:03:00', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(37, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-04 12:19:39', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(38, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-04 12:23:32', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(39, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-04 19:29:15', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(40, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-04 20:43:02', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(41, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-05 10:38:18', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(42, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-05 10:50:55', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(43, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-05 12:18:32', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(44, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-05 12:26:48', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(45, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-06 09:59:32', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(46, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-06 11:24:44', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(47, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-06 13:16:59', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(48, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-06 14:23:35', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(49, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-06 14:58:40', NULL, '1', '0000-00-00 00:00:00', '192.168.1.115', 'Success'),
(50, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-06 15:51:43', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(51, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-06 18:21:22', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(52, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-06 20:38:17', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(53, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-07 09:43:55', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(54, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-07 10:18:51', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(55, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-07 13:21:40', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(56, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-07 13:22:36', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(57, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-07 14:53:13', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(58, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-07 14:58:17', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(59, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-07 20:12:28', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(60, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-08 09:35:20', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(61, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-08 14:18:59', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(62, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-08 17:53:12', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(63, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-08 20:08:26', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(64, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-09 10:59:49', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(65, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-09 14:28:13', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(66, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-09 14:43:54', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(67, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-15 16:39:48', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(68, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-18 14:22:54', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(69, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-19 16:46:48', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(70, NULL, 'isrishti', '3e0a8e54695c346d5378f0638fe63472', '2011-04-19 16:51:33', NULL, '695', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(71, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-04-19 16:53:30', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(72, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-05-13 14:06:21', NULL, '1', '0000-00-00 00:00:00', '192.168.1.115', 'Success'),
(73, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-05-16 16:10:57', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(74, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-06-07 15:30:53', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(75, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-07-28 11:18:40', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(76, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-08-03 14:05:14', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(77, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-08-03 14:24:01', NULL, '1', '0000-00-00 00:00:00', '122.171.10.41', 'Success'),
(78, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-08-03 14:25:43', NULL, '1', '0000-00-00 00:00:00', '122.171.10.41', 'Success'),
(79, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-08-03 14:44:36', NULL, '1', '0000-00-00 00:00:00', '122.171.10.41', 'Success'),
(80, NULL, 'demo', 'demo\\\\', '2011-08-03 15:02:34', NULL, 'NULL', '2011-08-03 15:02:34', '122.172.115.198', 'failed'),
(81, NULL, 'demo', 'demo', '2011-08-03 15:02:45', NULL, 'NULL', '2011-08-03 15:02:45', '122.172.115.198', 'failed'),
(82, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-08-03 15:03:15', NULL, '1', '0000-00-00 00:00:00', '122.172.115.198', 'Success'),
(83, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-08-03 15:04:08', NULL, '1', '0000-00-00 00:00:00', '117.214.17.204', 'Success'),
(84, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-08-03 15:56:32', NULL, '1', '0000-00-00 00:00:00', '122.172.130.136', 'Success'),
(85, NULL, 'user', 'user', '2011-08-03 16:25:33', NULL, 'NULL', '2011-08-03 16:25:33', '122.172.115.198', 'failed'),
(86, NULL, 'login', 'login', '2011-08-03 16:25:43', NULL, 'NULL', '2011-08-03 16:25:43', '122.172.115.198', 'failed'),
(87, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-08-05 12:07:51', NULL, '1', '0000-00-00 00:00:00', '122.172.118.203', 'Success'),
(88, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-08-05 12:17:03', NULL, '1', '0000-00-00 00:00:00', '122.172.118.203', 'Success'),
(89, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-08-09 16:41:51', NULL, '1', '0000-00-00 00:00:00', '122.172.113.10', 'Success'),
(90, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-08-17 13:52:26', NULL, '1', '0000-00-00 00:00:00', '178.152.13.227', 'Success'),
(91, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-09 15:44:14', NULL, '1', '0000-00-00 00:00:00', '122.172.120.72', 'Success'),
(92, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-10 10:24:12', NULL, '1', '0000-00-00 00:00:00', '117.204.92.3', 'Success'),
(93, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-10 11:58:47', NULL, '1', '0000-00-00 00:00:00', '122.172.122.198', 'Success'),
(94, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-10 14:31:47', NULL, '1', '0000-00-00 00:00:00', '117.204.92.3', 'Success'),
(95, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-12 10:46:18', NULL, '1', '0000-00-00 00:00:00', '122.172.118.3', 'Success'),
(96, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-12 11:22:57', NULL, '1', '0000-00-00 00:00:00', '117.201.241.202', 'Success'),
(97, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-17 10:11:44', NULL, '1', '0000-00-00 00:00:00', '117.201.247.114', 'Success'),
(98, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-17 10:12:42', NULL, '1', '0000-00-00 00:00:00', '85.154.248.131', 'Success'),
(99, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-17 15:21:55', NULL, '1', '0000-00-00 00:00:00', '85.154.248.131', 'Success'),
(100, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-17 16:59:36', NULL, '1', '0000-00-00 00:00:00', '122.166.153.149', 'Success'),
(101, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-17 17:10:32', NULL, '1', '0000-00-00 00:00:00', '117.201.247.114', 'Success'),
(102, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-21 10:23:48', NULL, '1', '0000-00-00 00:00:00', '85.154.248.131', 'Success'),
(103, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-21 10:23:57', NULL, '1', '0000-00-00 00:00:00', '117.204.88.76', 'Success'),
(104, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-21 10:54:58', NULL, '1', '0000-00-00 00:00:00', '117.204.88.76', 'Success'),
(105, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-21 18:37:07', NULL, '1', '0000-00-00 00:00:00', '117.204.88.76', 'Success'),
(106, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-26 12:40:21', NULL, '1', '0000-00-00 00:00:00', '117.204.81.65', 'Success'),
(107, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-27 13:29:47', NULL, '1', '0000-00-00 00:00:00', '94.201.228.179', 'Success'),
(108, NULL, '', '', '2011-09-27 13:29:47', NULL, 'NULL', '2011-09-27 13:29:47', '0', 'failed'),
(109, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-28 11:28:45', NULL, '1', '0000-00-00 00:00:00', '117.207.192.210', 'Success'),
(110, NULL, 'ADMIN', '21232f297a57a5a743894a0e4a801fc3', '2011-09-28 12:23:00', NULL, '1', '0000-00-00 00:00:00', '2.50.195.84', 'Success'),
(111, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-28 13:02:30', NULL, '1', '0000-00-00 00:00:00', '117.201.253.199', 'Success'),
(112, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-09-28 14:21:17', NULL, '1', '0000-00-00 00:00:00', '122.166.173.64', 'Success'),
(113, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-03 10:34:20', NULL, '1', '0000-00-00 00:00:00', '122.172.204.23', 'Success'),
(114, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-03 10:51:05', NULL, '1', '0000-00-00 00:00:00', '93.186.31.80', 'Success'),
(115, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-03 10:56:13', NULL, '1', '0000-00-00 00:00:00', '59.93.34.92', 'Success'),
(116, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-03 11:15:26', NULL, '1', '0000-00-00 00:00:00', '122.172.204.23', 'Success'),
(117, NULL, 'testuser', 'testuser', '2011-10-06 10:26:32', NULL, 'NULL', '2011-10-06 10:26:32', '117.204.87.118', 'failed'),
(118, NULL, 'testuser', 'testuser', '2011-10-06 10:26:46', NULL, 'NULL', '2011-10-06 10:26:46', '117.204.87.118', 'failed'),
(119, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-06 10:26:59', NULL, '1', '0000-00-00 00:00:00', '117.204.87.118', 'Success'),
(120, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-07 16:18:45', NULL, '1', '0000-00-00 00:00:00', '122.167.202.154', 'Success'),
(121, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 17:05:56', NULL, '1', '0000-00-00 00:00:00', '83.101.128.20', 'Success'),
(122, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-10-08 17:05:59', NULL, '1', '0000-00-00 00:00:00', '86.51.11.178', 'Success'),
(123, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-12 13:02:36', NULL, '1', '0000-00-00 00:00:00', '117.204.95.240', 'Success'),
(124, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-12 14:12:28', NULL, '1', '0000-00-00 00:00:00', '117.204.95.240', 'Success'),
(125, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-14 12:06:32', NULL, '1', '0000-00-00 00:00:00', '212.77.217.195', 'Success'),
(126, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-15 16:06:51', NULL, '1', '0000-00-00 00:00:00', '122.166.150.213', 'Success'),
(127, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-15 16:24:58', NULL, '1', '0000-00-00 00:00:00', '122.166.150.213', 'Success'),
(128, NULL, 'adminadmin', '', '2011-11-15 16:25:27', NULL, 'NULL', '2011-11-15 16:25:27', '178.152.39.180', 'failed'),
(129, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-15 16:25:31', NULL, '1', '0000-00-00 00:00:00', '178.152.39.180', 'Success'),
(130, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-15 17:43:37', NULL, '1', '0000-00-00 00:00:00', '178.152.39.180', 'Success'),
(131, NULL, 'admin', 'ADMIN', '2011-11-15 18:51:42', NULL, '1', '2011-11-15 18:51:42', '178.152.39.180', 'failed'),
(132, NULL, '', '', '2011-11-15 18:51:43', NULL, 'NULL', '2011-11-15 18:51:43', '0', 'failed'),
(133, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-15 19:24:22', NULL, '1', '0000-00-00 00:00:00', '178.152.39.180', 'Success'),
(134, NULL, 'admin', '', '2011-11-16 13:55:18', NULL, '1', '2011-11-16 13:55:18', '78.100.109.201', 'failed'),
(135, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-16 13:55:26', NULL, '1', '0000-00-00 00:00:00', '78.100.109.201', 'Success'),
(136, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-18 15:12:16', NULL, '1', '0000-00-00 00:00:00', '117.201.252.34', 'Success'),
(137, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-28 16:48:25', NULL, '1', '0000-00-00 00:00:00', '178.152.38.154', 'Success'),
(138, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-28 16:51:14', NULL, '1', '0000-00-00 00:00:00', '122.172.205.171', 'Success'),
(139, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-28 16:54:13', NULL, '1', '0000-00-00 00:00:00', '122.172.205.171', 'Success'),
(140, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-28 16:56:42', NULL, '1', '0000-00-00 00:00:00', '122.172.205.171', 'Success'),
(141, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-11-28 17:17:49', NULL, '1', '0000-00-00 00:00:00', '122.172.205.171', 'Success'),
(142, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-04 16:43:44', NULL, '1', '0000-00-00 00:00:00', '178.152.44.108', 'Success'),
(143, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-05 16:21:47', NULL, '1', '0000-00-00 00:00:00', '178.152.162.225', 'Success'),
(144, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-05 17:03:57', NULL, '1', '0000-00-00 00:00:00', '122.172.207.59', 'Success'),
(145, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-05 17:08:47', NULL, '1', '0000-00-00 00:00:00', '122.172.207.59', 'Success'),
(146, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-05 17:18:57', NULL, '1', '0000-00-00 00:00:00', '178.152.162.225', 'Success'),
(147, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-05 17:29:53', NULL, '1', '0000-00-00 00:00:00', '122.172.207.59', 'Success'),
(148, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-05 18:15:43', NULL, '1', '0000-00-00 00:00:00', '178.152.162.225', 'Success'),
(149, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-05 18:16:10', NULL, '1', '0000-00-00 00:00:00', '178.152.162.225', 'Success'),
(150, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-06 12:31:04', NULL, '1', '0000-00-00 00:00:00', '122.166.149.128', 'Success'),
(151, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-06 12:39:34', NULL, '1', '0000-00-00 00:00:00', '178.152.85.132', 'Success'),
(152, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-06 14:22:14', NULL, '1', '0000-00-00 00:00:00', '178.152.219.8', 'Success'),
(153, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-06 14:29:59', NULL, '1', '0000-00-00 00:00:00', '122.166.149.128', 'Success'),
(154, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-06 14:48:15', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(155, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-06 15:26:52', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(156, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-07 10:55:26', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(157, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-07 12:10:09', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(158, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-07 12:13:34', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(159, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-07 14:26:14', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(160, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-07 15:52:09', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(161, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-07 16:27:25', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(162, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-07 17:48:08', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(163, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-07 18:57:16', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(164, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-07 19:21:11', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(165, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-07 19:21:15', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(166, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-07 19:24:52', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(167, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-08 09:49:13', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(168, NULL, 'admin', 'admin', '2011-12-08 10:46:29', NULL, '1', '2011-12-08 10:46:29', '::1', 'failed'),
(169, NULL, 'admin', 'admin', '2011-12-08 10:46:36', NULL, '1', '2011-12-08 10:46:36', '::1', 'failed'),
(170, NULL, 'admin', 'admin', '2011-12-08 10:46:39', NULL, '1', '2011-12-08 10:46:39', '::1', 'failed'),
(171, NULL, 'admin', 'admin', '2011-12-08 10:46:44', NULL, '1', '2011-12-08 10:46:44', '::1', 'failed'),
(172, NULL, 'admin', 'admin', '2011-12-08 10:46:47', NULL, '1', '2011-12-08 10:46:47', '::1', 'failed'),
(173, NULL, 'admin', 'admin123', '2011-12-08 10:46:57', NULL, '1', '2011-12-08 10:46:57', '::1', 'failed'),
(174, NULL, 'admin', 'admin', '2011-12-08 10:47:02', NULL, '1', '2011-12-08 10:47:02', '::1', 'failed'),
(175, NULL, 'shan', '3e119ab537d3c4cc0c31b9277bfd785e', '2011-12-08 10:47:09', NULL, '668', '0000-00-00 00:00:00', '::1', 'Success'),
(176, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-08 10:47:30', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(177, NULL, 'shan', '3e119ab537d3c4cc0c31b9277bfd785e', '2011-12-08 10:50:21', NULL, 'NULL', '0000-00-00 00:00:00', '::1', 'Success'),
(178, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-08 10:51:25', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(179, NULL, 'shan', 'shan', '2011-12-08 10:59:04', NULL, 'NULL', '2011-12-08 10:59:04', '::1', 'failed'),
(180, NULL, 'admin', 'admindsadsa', '2011-12-08 11:01:15', NULL, '1', '2011-12-08 11:01:15', '::1', 'failed'),
(181, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-08 11:01:36', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(182, NULL, 'admin', 'dddd', '2011-12-08 11:01:41', NULL, '1', '2011-12-08 11:01:41', '::1', 'failed'),
(183, NULL, 'admin', 'dddd', '2011-12-08 11:02:11', NULL, '1', '2011-12-08 11:02:11', '::1', 'failed'),
(184, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-08 11:02:19', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(185, NULL, 'admin', 'admindsadas', '2011-12-08 11:02:24', NULL, '1', '2011-12-08 11:02:24', '::1', 'failed'),
(186, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-08 11:03:42', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(187, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-08 11:04:00', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(188, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-08 11:04:04', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(189, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-08 11:05:32', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(190, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-08 11:05:52', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(191, NULL, 'admin', 'dsadsa', '2011-12-08 11:05:57', NULL, '1', '2011-12-08 11:05:57', '::1', 'failed'),
(192, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-08 11:06:00', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(193, NULL, 'shan', 'shan', '2011-12-08 15:50:03', NULL, 'NULL', '2011-12-08 15:50:03', '::1', 'failed'),
(194, NULL, 'shan', 'shan', '2011-12-08 15:50:08', NULL, 'NULL', '2011-12-08 15:50:08', '::1', 'failed'),
(195, NULL, 'admin', 'admin', '2011-12-08 15:50:10', NULL, 'NULL', '2011-12-08 15:50:10', '::1', 'failed'),
(196, NULL, 'admin', 'admin', '2011-12-08 15:50:14', NULL, 'NULL', '2011-12-08 15:50:14', '::1', 'failed'),
(197, NULL, 'admin', 'admin', '2011-12-08 15:50:16', NULL, 'NULL', '2011-12-08 15:50:16', '::1', 'failed'),
(198, NULL, 'admin', 'admin', '2011-12-08 15:50:18', NULL, 'NULL', '2011-12-08 15:50:18', '::1', 'failed'),
(199, NULL, 'shan', 'shan', '2011-12-08 15:50:51', NULL, '697', '2011-12-08 15:50:51', '::1', 'failed'),
(200, NULL, 'shan', 'shan', '2011-12-08 15:50:56', NULL, '697', '2011-12-08 15:50:56', '::1', 'failed'),
(201, NULL, 'admin', 'admin', '2011-12-08 15:50:58', NULL, '1', '2011-12-08 15:50:58', '::1', 'failed'),
(202, NULL, 'admin', 'admin', '2011-12-08 15:50:59', NULL, '1', '2011-12-08 15:50:59', '::1', 'failed'),
(203, NULL, 'admin', 'admin', '2011-12-08 15:50:59', NULL, '1', '2011-12-08 15:50:59', '::1', 'failed'),
(204, NULL, 'admin', 'admin', '2011-12-08 15:50:59', NULL, '1', '2011-12-08 15:50:59', '::1', 'failed'),
(205, NULL, 'admin', 'admin', '2011-12-08 15:50:59', NULL, '1', '2011-12-08 15:50:59', '::1', 'failed'),
(206, NULL, 'admin', 'admin', '2011-12-08 15:51:00', NULL, '1', '2011-12-08 15:51:00', '::1', 'failed'),
(207, NULL, 'shan', '3e119ab537d3c4cc0c31b9277bfd785e', '2011-12-08 15:51:26', NULL, '697', '0000-00-00 00:00:00', '::1', 'Success'),
(208, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-08 16:16:22', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(209, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-08 16:21:13', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(210, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-08 17:09:17', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(211, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-09 09:34:48', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(212, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-09 14:48:28', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(213, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-09 19:41:12', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(214, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-10 09:24:40', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(215, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-10 14:21:42', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(216, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-10 16:22:19', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(217, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-11 14:00:35', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(218, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-11 14:02:52', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(219, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-12 09:24:21', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(220, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-12 09:24:39', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(221, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-12 12:10:56', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(222, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-12 14:15:59', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(223, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-12 17:01:30', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(224, NULL, 'sachin', '15285722f9def45c091725aee9c387cb', '2011-12-12 17:26:55', NULL, '4', '0000-00-00 00:00:00', '::1', 'Success'),
(225, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-12 17:27:00', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(226, NULL, 'Tendulkar', 'Tendulkar', '2011-12-12 17:28:14', NULL, 'NULL', '2011-12-12 17:28:14', '::1', 'failed'),
(227, NULL, 'Tendulkar', 'Tendulkar', '2011-12-12 17:28:18', NULL, 'NULL', '2011-12-12 17:28:18', '::1', 'failed'),
(228, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-12 17:28:20', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(229, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-12 18:39:49', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(230, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-13 11:14:47', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(231, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-14 16:19:58', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(232, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-14 17:19:04', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(233, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-14 18:38:14', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(234, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-14 19:57:53', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(235, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-15 09:42:04', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(236, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-15 11:07:11', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(237, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-15 13:54:48', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(238, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-15 15:21:39', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(239, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-15 17:24:15', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(240, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-15 19:59:29', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(241, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-16 14:09:55', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(242, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-16 16:54:08', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(243, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-19 19:25:15', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(244, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-20 17:06:45', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(245, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-21 17:28:21', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(246, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-21 19:10:13', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(247, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-22 10:01:35', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(248, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-22 10:12:04', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(249, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-22 11:45:27', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(250, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-22 13:27:49', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(251, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-22 16:41:25', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(252, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-22 19:25:28', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(253, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-22 20:09:08', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(254, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-22 20:14:50', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(255, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-23 08:46:52', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(256, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-23 14:02:33', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(257, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-23 15:34:54', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(258, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-24 09:15:14', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(259, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-24 09:50:30', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(260, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-24 10:19:12', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(261, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-24 11:30:42', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(262, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-24 14:44:39', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(263, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-26 10:48:21', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(264, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-26 11:05:26', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(265, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-26 11:25:53', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(266, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-26 12:48:37', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(267, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-29 13:23:51', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(268, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-29 13:48:10', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(269, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-29 13:51:50', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(270, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-29 15:56:05', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(271, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-30 11:28:53', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(272, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-30 14:50:51', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(273, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-31 10:29:23', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(274, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-31 15:04:54', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(275, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-31 17:09:01', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(276, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2011-12-31 17:11:54', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(277, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-02 10:39:13', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(278, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-02 11:12:47', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(279, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-02 11:37:18', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(280, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-02 11:59:25', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(281, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-02 14:26:20', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(282, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-02 14:45:59', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(283, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-02 15:19:20', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(284, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-02 15:21:01', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(285, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-03 10:07:03', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(286, NULL, 'adminAC', 'V', '2012-01-03 10:48:05', NULL, 'NULL', '2012-01-03 10:48:05', '::1', 'failed'),
(287, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-03 10:48:12', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(288, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-03 11:55:18', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(289, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-03 12:49:52', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(290, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-03 15:16:19', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(291, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-03 15:33:16', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(292, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-03 16:13:48', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(293, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-03 17:50:55', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(294, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-04 10:23:54', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(295, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-04 10:33:09', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(296, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-04 11:45:07', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(297, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-04 12:36:27', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(298, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-04 14:34:22', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(299, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-04 16:18:28', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(300, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-05 10:18:35', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(301, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-05 13:10:59', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(302, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-05 13:46:08', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(303, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-05 14:02:18', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(304, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-05 15:48:36', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(305, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-05 16:30:52', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(306, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-06 09:42:03', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(307, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-06 10:10:05', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(308, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-06 11:21:20', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(309, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-06 13:47:46', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(310, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-06 15:44:25', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(311, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-06 16:19:01', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(312, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-06 16:26:46', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(313, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-06 16:56:16', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(314, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-07 10:05:23', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(315, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-07 10:10:31', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(316, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-07 10:47:26', NULL, '1', '0000-00-00 00:00:00', '::1', 'Success'),
(317, NULL, 'admin', 'root', '2012-01-07 11:41:11', NULL, '1', '2012-01-07 11:41:11', '127.0.0.1', 'failed'),
(318, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-07 11:41:22', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(319, NULL, 'admin', 'root', '2012-01-07 15:12:34', NULL, '1', '2012-01-07 15:12:34', '127.0.0.1', 'failed'),
(320, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-07 15:12:46', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(321, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-09 10:07:27', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(322, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-10 10:32:57', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(323, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-15 11:14:01', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(324, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-19 11:58:29', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(325, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-19 12:27:05', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(326, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-19 14:22:25', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(327, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-19 15:42:31', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(328, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-20 12:15:37', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(329, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-20 14:24:45', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(330, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-23 20:35:56', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(331, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-24 10:08:56', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(332, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-24 10:43:20', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(333, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-30 09:36:58', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(334, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-29 19:00:03', NULL, '1', '0000-00-00 00:00:00', '<?=$_SERVER[''REM', 'Success'),
(335, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-29 19:00:43', NULL, '1', '0000-00-00 00:00:00', '<?=$_SERVER[''REM', 'Success'),
(336, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-30 11:29:20', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(337, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-30 11:45:32', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(338, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-30 13:07:17', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(339, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-30 15:47:16', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(340, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-30 16:00:04', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(341, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-30 16:03:10', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(342, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-30 16:06:53', NULL, '1', '0000-00-00 00:00:00', '192.168.1.100', 'Success'),
(343, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-30 16:44:34', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(344, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-30 19:21:22', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(345, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-31 09:55:04', NULL, '1', '0000-00-00 00:00:00', '192.168.1.100', 'Success'),
(346, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-31 11:27:57', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(347, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-31 11:36:51', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(348, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-31 12:18:03', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(349, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-01-31 15:23:42', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(350, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-01 16:42:26', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(351, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-02 10:25:46', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(352, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-02 10:37:06', NULL, '1', '0000-00-00 00:00:00', '192.168.1.100', 'Success'),
(353, NULL, 'Shan', '3e119ab537d3c4cc0c31b9277bfd785e', '2012-02-02 12:43:37', NULL, '2', '0000-00-00 00:00:00', '192.168.1.100', 'Success'),
(354, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-02 12:43:53', NULL, '1', '0000-00-00 00:00:00', '192.168.1.100', 'Success'),
(355, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-02 12:58:38', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(356, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-02 15:09:44', NULL, '1', '0000-00-00 00:00:00', '192.168.1.100', 'Success'),
(357, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-02 15:37:29', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(358, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-02 15:52:52', NULL, '1', '0000-00-00 00:00:00', '192.168.1.100', 'Success'),
(359, NULL, 'admi', 'admin', '2012-02-02 16:46:49', NULL, 'NULL', '2012-02-02 16:46:49', '192.168.1.100', 'failed'),
(360, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-02 16:46:52', NULL, '1', '0000-00-00 00:00:00', '192.168.1.100', 'Success'),
(361, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-02 16:49:24', NULL, '1', '0000-00-00 00:00:00', '192.168.1.100', 'Success'),
(362, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-02 16:49:58', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(363, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-02 11:43:22', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(364, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-03 09:50:17', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(365, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-03 09:51:45', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(366, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-03 11:04:55', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(367, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-03 12:13:24', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(368, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-03 12:50:14', NULL, '1', '0000-00-00 00:00:00', '192.168.1.2', 'Success'),
(369, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-03 14:30:27', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(370, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-03 14:52:26', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(371, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-03 15:20:08', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(372, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-03 15:50:33', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(373, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-03 15:58:25', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success');
INSERT INTO `login_details` (`id`, `profile`, `username`, `password`, `login_time`, `faillog_count`, `userid`, `failing_time`, `ip_address`, `status`) VALUES
(374, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-03 17:10:51', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(375, NULL, '', '', '2012-02-03 17:18:22', NULL, 'NULL', '2012-02-03 17:18:22', '0', 'failed'),
(376, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-03 17:18:26', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(377, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-03 17:19:34', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(378, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-04 09:39:11', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(379, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-04 05:12:07', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(380, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-04 05:12:17', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(381, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-04 12:11:36', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(382, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-04 13:04:58', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(383, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-04 07:45:12', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(384, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-04 08:04:19', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(385, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-04 15:56:30', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(386, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-04 05:31:03', NULL, '1', '0000-00-00 00:00:00', '122.172.204.97', 'Success'),
(387, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-04 07:23:51', NULL, '1', '0000-00-00 00:00:00', '178.152.33.148', 'Success'),
(388, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-05 00:27:40', NULL, '1', '0000-00-00 00:00:00', '178.152.45.254', 'Success'),
(389, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-05 01:33:15', NULL, '1', '0000-00-00 00:00:00', '178.152.45.254', 'Success'),
(390, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-05 04:28:22', NULL, '1', '0000-00-00 00:00:00', '178.152.45.254', 'Success'),
(391, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-06 15:38:37', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(392, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-06 15:50:27', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(393, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-06 16:29:38', NULL, '1', '0000-00-00 00:00:00', '192.168.1.115', 'Success'),
(394, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-06 16:49:20', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(395, NULL, '', '', '2012-02-06 17:00:58', NULL, 'NULL', '2012-02-06 17:00:58', '127.0.0.1', 'failed'),
(396, NULL, '', '', '2012-02-06 17:00:58', NULL, 'NULL', '2012-02-06 17:00:58', '127.0.0.1', 'failed'),
(397, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-06 17:01:50', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(398, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-06 17:22:27', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'),
(399, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-06 17:30:24', NULL, '1', '0000-00-00 00:00:00', '192.168.1.115', 'Success'),
(400, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-06 17:31:54', NULL, '1', '0000-00-00 00:00:00', '192.168.1.115', 'Success'),
(401, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-07 09:43:40', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(402, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-07 04:15:18', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'),
(403, NULL, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-02-07 10:22:25', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success');

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

--
-- Table structure for table `master`
--

CREATE TABLE IF NOT EXISTS `master` (
  `masterid` int(10) NOT NULL AUTO_INCREMENT,
  `module_id` int(5) NOT NULL,
  `creator_id` int(5) NOT NULL,
  `modifier_id` int(5) NOT NULL,
  `created_time` datetime NOT NULL,
  `modified_time` datetime NOT NULL,
  `ip` varchar(20) NOT NULL,
  `deleted` int(1) NOT NULL DEFAULT '0',
  `ayear` year(4) NOT NULL,
  PRIMARY KEY (`masterid`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=177 ;

--
-- Dumping data for table `master`
--

INSERT INTO `master` (`masterid`, `module_id`, `creator_id`, `modifier_id`, `created_time`, `modified_time`, `ip`, `deleted`, `ayear`) VALUES
(1, 46, 1, 1, '2012-01-06 11:28:45', '2012-02-03 17:30:14', '127.0.0.1', 0, 2009),
(2, 46, 1, 0, '2012-01-06 11:28:45', '0000-00-00 00:00:00', '127.0.0.1', 0, 2009),
(3, 46, 1, 0, '2012-01-06 11:28:45', '0000-00-00 00:00:00', '127.0.0.1', 0, 2009),
(4, 46, 1, 0, '2012-01-06 11:33:47', '0000-00-00 00:00:00', '127.0.0.1', 0, 2009),
(5, 46, 1, 0, '2012-01-06 11:33:47', '0000-00-00 00:00:00', '127.0.0.1', 0, 2009),
(6, 46, 1, 0, '2012-01-06 11:33:47', '0000-00-00 00:00:00', '127.0.0.1', 0, 2009),
(7, 2, 1, 0, '2012-01-06 11:58:01', '0000-00-00 00:00:00', '127.0.0.1', 0, 2009),
(8, 9, 1, 0, '2012-01-06 11:59:47', '0000-00-00 00:00:00', '127.0.0.1', 0, 2009),
(9, 31, 1, 0, '2012-01-06 12:37:51', '0000-00-00 00:00:00', '127.0.0.1', 0, 2009),
(10, 26, 1, 1, '2012-01-06 12:44:46', '2012-02-02 14:01:47', '192.168.1.118', 1, 2009),
(11, 26, 1, 1, '2012-01-06 12:45:10', '2012-01-06 14:39:48', '127.0.0.1', 1, 2009),
(12, 26, 1, 1, '2012-01-06 12:45:35', '2012-01-06 14:39:45', '127.0.0.1', 1, 2009),
(13, 28, 1, 1, '2012-01-06 12:47:54', '2012-02-02 13:45:32', '192.168.1.118', 0, 2009),
(14, 28, 1, 1, '2012-01-06 12:48:30', '2012-02-02 13:45:57', '192.168.1.118', 0, 2009),
(15, 28, 1, 1, '2012-01-06 12:48:57', '2012-02-02 13:46:11', '192.168.1.118', 0, 2009),
(16, 43, 1, 0, '2012-01-06 13:53:47', '0000-00-00 00:00:00', '127.0.0.1', 0, 2009),
(17, 26, 1, 1, '2012-01-06 14:40:02', '2012-02-02 14:01:42', '192.168.1.118', 1, 2009),
(18, 29, 1, 0, '2012-01-06 14:41:17', '0000-00-00 00:00:00', '127.0.0.1', 0, 2009),
(19, 21, 1, 1, '2012-01-06 16:27:03', '2012-01-06 16:27:18', '127.0.0.1', 1, 2009),
(20, 19, 1, 1, '2012-01-06 16:56:30', '2012-01-06 16:56:36', '127.0.0.1', 1, 2009),
(22, 8, 1, 1, '2012-01-23 21:18:41', '2012-02-06 16:31:19', '127.0.0.1', 0, 2011),
(24, 12, 1, 1, '2012-01-23 21:21:13', '2012-01-23 21:21:28', '127.0.0.1', 0, 2011),
(25, 44, 1, 1, '2012-02-01 16:52:37', '2012-02-01 17:42:12', '192.168.1.118', 0, 2011),
(26, 28, 1, 1, '2012-02-02 13:46:28', '2012-02-02 13:46:50', '192.168.1.118', 0, 2011),
(27, 28, 1, 1, '2012-02-02 13:47:08', '2012-02-02 13:47:16', '192.168.1.118', 0, 2011),
(28, 26, 1, 1, '2012-02-02 14:06:29', '2012-02-03 12:14:04', '192.168.1.118', 0, 2011),
(29, 27, 1, 1, '2012-02-03 10:30:30', '2012-02-03 12:13:33', '192.168.1.118', 0, 2011),
(30, 47, 1, 1, '2012-02-03 12:03:55', '2012-02-03 14:32:14', '127.0.0.1', 0, 2011),
(31, 26, 1, 1, '2012-02-03 12:04:58', '2012-02-03 12:13:58', '192.168.1.118', 0, 2011),
(32, 29, 1, 0, '2012-02-03 12:13:47', '0000-00-00 00:00:00', '192.168.1.118', 0, 2011),
(33, 27, 1, 0, '2012-02-03 12:14:17', '0000-00-00 00:00:00', '192.168.1.118', 0, 2011),
(34, 26, 1, 0, '2012-02-03 12:14:33', '0000-00-00 00:00:00', '192.168.1.118', 0, 2011),
(35, 47, 1, 0, '2012-02-03 12:17:10', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(36, 47, 1, 1, '2012-02-03 12:18:27', '2012-02-06 12:51:30', '127.0.0.1', 1, 2011),
(37, 47, 1, 0, '2012-02-03 12:18:58', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(38, 47, 1, 0, '2012-02-03 12:19:27', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(39, 47, 1, 0, '2012-02-03 14:46:57', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(40, 47, 1, 0, '2012-02-03 14:47:21', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(41, 47, 1, 0, '2012-02-03 14:52:42', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(42, 47, 1, 0, '2012-02-03 14:55:46', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(43, 47, 1, 0, '2012-02-03 14:56:03', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(44, 47, 1, 0, '2012-02-03 14:57:30', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(45, 47, 1, 0, '2012-02-03 14:57:34', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(46, 47, 1, 0, '2012-02-03 14:58:37', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(47, 47, 1, 0, '2012-02-03 14:59:17', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(48, 47, 1, 1, '2012-02-03 15:35:49', '2012-02-03 15:36:37', '127.0.0.1', 1, 2011),
(49, 47, 1, 0, '2012-02-03 16:34:20', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(50, 47, 1, 0, '2012-02-03 16:41:25', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(51, 47, 1, 0, '2012-02-03 16:41:33', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(52, 47, 1, 1, '2012-02-03 16:41:40', '2012-02-03 16:47:11', '127.0.0.1', 1, 2011),
(53, 47, 1, 0, '2012-02-03 17:33:55', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(54, 47, 1, 0, '2012-02-03 17:34:10', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(55, 47, 1, 0, '2012-02-03 17:34:31', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(56, 47, 1, 0, '2012-02-03 17:34:47', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(57, 47, 1, 0, '2012-02-03 17:35:20', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(58, 47, 1, 0, '2012-02-03 17:36:10', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(59, 47, 1, 0, '2012-02-03 17:36:52', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(60, 47, 1, 0, '2012-02-03 17:37:08', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(61, 47, 1, 0, '2012-02-03 17:37:32', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(62, 47, 1, 0, '2012-02-03 17:37:52', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(63, 47, 1, 0, '2012-02-03 17:38:31', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(64, 47, 1, 0, '2012-02-03 17:39:15', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(65, 47, 1, 0, '2012-02-03 17:39:47', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(66, 47, 1, 0, '2012-02-03 17:40:11', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(67, 47, 1, 0, '2012-02-03 17:40:33', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(68, 47, 1, 0, '2012-02-03 17:41:00', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(69, 47, 1, 0, '2012-02-03 17:41:24', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(70, 47, 1, 0, '2012-02-03 17:41:48', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(71, 47, 1, 0, '2012-02-03 17:42:45', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(72, 47, 1, 0, '2012-02-03 17:43:09', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(73, 47, 1, 0, '2012-02-03 17:43:25', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(74, 47, 1, 0, '2012-02-03 17:43:43', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(75, 47, 1, 0, '2012-02-03 17:44:13', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(76, 47, 1, 0, '2012-02-03 17:44:50', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(77, 47, 1, 0, '2012-02-03 17:45:13', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(78, 47, 1, 0, '2012-02-03 17:50:01', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(79, 47, 1, 0, '2012-02-03 17:52:26', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(80, 47, 1, 0, '2012-02-03 17:54:20', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(81, 47, 1, 0, '2012-02-03 17:55:07', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(82, 47, 1, 0, '2012-02-04 09:40:07', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(83, 47, 1, 0, '2012-02-04 09:40:37', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(84, 47, 1, 0, '2012-02-04 10:15:00', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(85, 47, 1, 0, '2012-02-04 10:16:10', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(86, 47, 1, 0, '2012-02-04 10:17:37', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(87, 47, 1, 0, '2012-02-04 10:18:38', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(88, 47, 1, 0, '2012-02-04 10:18:43', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(89, 47, 1, 0, '2012-02-04 10:33:59', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(90, 47, 1, 0, '2012-02-04 10:34:22', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(91, 47, 1, 0, '2012-02-04 10:34:37', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(92, 47, 1, 0, '2012-02-04 10:34:52', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(93, 47, 1, 0, '2012-02-04 10:36:16', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(94, 47, 1, 0, '2012-02-04 10:36:59', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(95, 47, 1, 0, '2012-02-04 10:42:12', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(96, 47, 1, 0, '2012-02-04 12:46:17', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(97, 47, 1, 0, '2012-02-04 12:46:25', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(98, 47, 1, 0, '2012-02-04 12:54:49', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(105, 47, 1, 0, '2012-02-04 13:10:35', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(106, 47, 1, 0, '2012-02-04 13:12:30', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(107, 47, 1, 0, '2012-02-04 13:27:22', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(108, 47, 1, 0, '2012-02-04 13:32:59', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(109, 47, 1, 0, '2012-02-04 13:37:29', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(110, 47, 1, 0, '2012-02-04 13:42:31', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(111, 47, 1, 0, '2012-02-04 13:46:11', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(150, 43, 1, 0, '2012-02-05 00:57:40', '0000-00-00 00:00:00', '178.152.45.254', 0, 2011),
(151, 2, 1, 0, '2012-02-06 12:18:00', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(152, 9, 1, 1, '2012-02-06 12:23:20', '2012-02-06 12:23:27', '127.0.0.1', 1, 2011),
(153, 43, 1, 1, '2012-02-06 12:30:33', '2012-02-06 12:30:37', '127.0.0.1', 1, 2011),
(154, 44, 1, 1, '2012-02-06 12:34:10', '2012-02-06 12:35:16', '127.0.0.1', 1, 2011),
(155, 44, 1, 0, '2012-02-06 12:35:13', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(156, 45, 1, 0, '2012-02-06 12:36:40', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(157, 45, 1, 1, '2012-02-06 12:38:48', '2012-02-06 12:39:00', '127.0.0.1', 1, 2011),
(158, 46, 1, 0, '2012-02-06 12:43:07', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(159, 46, 1, 0, '2012-02-06 12:43:07', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(160, 46, 1, 0, '2012-02-06 12:43:07', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(161, 8, 1, 1, '2012-02-06 12:48:33', '2012-02-06 12:48:36', '127.0.0.1', 1, 2011),
(162, 12, 1, 1, '2012-02-06 12:51:04', '2012-02-06 12:51:09', '127.0.0.1', 1, 2011),
(163, 21, 1, 0, '2012-02-06 13:01:10', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011),
(164, 21, 1, 1, '2012-02-06 13:02:19', '2012-02-06 13:02:21', '127.0.0.1', 1, 2011),
(165, 22, 1, 1, '2012-02-06 13:04:45', '2012-02-06 17:39:49', '127.0.0.1', 1, 2011),
(166, 22, 1, 1, '2012-02-06 13:05:13', '2012-02-06 17:39:45', '127.0.0.1', 1, 2011),
(167, 26, 1, 1, '2012-02-06 13:28:23', '2012-02-06 16:37:27', '192.168.1.118', 1, 2011),
(168, 29, 1, 1, '2012-02-06 13:48:55', '2012-02-06 13:48:59', '127.0.0.1', 1, 2011),
(169, 28, 1, 1, '2012-02-06 13:50:49', '2012-02-06 13:50:53', '127.0.0.1', 1, 2011),
(170, 12, 1, 1, '2012-02-06 16:08:46', '2012-02-06 16:09:36', '127.0.0.1', 0, 2011),
(171, 8, 1, 1, '2012-02-06 16:10:32', '2012-02-06 16:10:48', '127.0.0.1', 1, 2011),
(172, 8, 1, 1, '2012-02-06 16:12:33', '2012-02-06 16:21:19', '127.0.0.1', 0, 2011),
(173, 31, 1, 0, '2012-02-06 16:30:26', '0000-00-00 00:00:00', '192.168.1.115', 0, 2011),
(174, 31, 1, 0, '2012-02-06 16:30:48', '0000-00-00 00:00:00', '192.168.1.115', 0, 2011),
(175, 31, 1, 0, '2012-02-06 17:25:21', '0000-00-00 00:00:00', '192.168.1.118', 0, 2011),
(176, 26, 1, 0, '2012-02-07 04:44:24', '0000-00-00 00:00:00', '127.0.0.1', 0, 2011);

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

--
-- Table structure for table `module`
--

CREATE TABLE IF NOT EXISTS `module` (
  `module_id` int(5) NOT NULL AUTO_INCREMENT,
  `tab_id` int(10) NOT NULL,
  `module_name` varchar(100) NOT NULL,
  `module_caption` varchar(100) NOT NULL,
  `sort` int(5) NOT NULL,
  `invisible` int(2) NOT NULL,
  `target` varchar(25) NOT NULL,
  PRIMARY KEY (`module_id`),
  KEY `tab_id` (`tab_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=49 ;

--
-- Dumping data for table `module`
--

INSERT INTO `module` (`module_id`, `tab_id`, `module_name`, `module_caption`, `sort`, `invisible`, `target`) VALUES
(1, 1, 'shortcut', 'Dashboard', 1, 0, 'index'),
(2, 2, 'Student', 'Students', 2, 0, 'student'),
(3, 5, 'SchoolSetup', 'School Setup ', 1, 0, 'schoolsetup'),
(4, 5, 'ClassSections', 'Class Sections', 3, 1, 'classsection'),
(5, 5, 'ClassLevels', 'Class Levels', 2, 0, 'classlevel'),
(6, 5, 'Subject', 'Subject Master', 4, 0, 'subject'),
(7, 5, 'User', 'Users', 10, 0, 'user'),
(8, 3, 'Teacher', 'Teachers', 1, 0, 'teacher'),
(9, 2, 'Parent', 'Parent Details', 3, 0, 'parent'),
(10, 5, 'Academic Year', 'Academic Year', 5, 0, 'academicyear'),
(11, 5, 'Term', 'Term/Semester', 6, 0, 'term'),
(12, 3, 'Staff', 'Non-Teaching Staff', 2, 0, 'staff'),
(13, 6, 'SendSms', 'Send SMS', 1, 0, 'sendsms'),
(14, 6, 'BulkSms', 'Bulk SMS', 2, 0, 'bulksms'),
(15, 6, 'Template', 'SMS Templates', 3, 0, 'template'),
(16, 6, 'Schedule', 'Schedule SMS', 4, 1, 'schedule'),
(17, 6, 'Draft', 'SMS Drafts', 5, 0, 'draft'),
(18, 6, 'Report', 'SMS Reports', 6, 0, 'report'),
(19, 7, 'Calendar', 'Calendar', 1, 0, 'calendar'),
(20, 7, 'Event', 'Events', 2, 0, 'event'),
(21, 7, 'NoticeBoard', 'Notice Board', 8, 0, 'noticeboard'),
(22, 8, 'Document', 'Documents', 1, 0, 'document'),
(23, 5, 'UserProfile', 'User Profiles', 9, 0, 'userprofile'),
(24, 9, 'ExamReport', 'Exam Reports', 1, 0, 'examreport'),
(26, 9, 'AssignMark', 'Assign Marks', 2, 0, 'assignmark'),
(27, 9, 'ExamMaster', 'Exam Masters', 6, 0, 'exammaster'),
(28, 9, 'GradeLevel', 'Grading Levels', 5, 0, 'gradelevel'),
(29, 9, 'ExamTimeTable', 'Exam Time Table', 4, 0, 'examtimetable'),
(30, 6, 'SMSSettings', 'SMS Settings', 7, 0, 'smssettings'),
(31, 2, 'AttendanceRegister', 'Attendance', 4, 0, 'attendanceregister'),
(32, 12, 'AttendanceReport', 'Attendance Reports', 3, 0, 'attendance_report'),
(33, 5, 'EmployeeMaster', 'Employee Master', 7, 0, 'employeemaster'),
(34, 11, 'SendSMS', 'Send Emails', 1, 0, 'sendemail'),
(36, 11, 'EmailTemplate', 'Email Templates', 2, 0, 'emailtemplate'),
(37, 11, 'EmailReport', 'Email Reports', 3, 0, 'emailreport'),
(38, 5, 'Fee Master', 'Fees Master', 8, 0, 'feemaster'),
(39, 12, 'StudentReport', 'Students Reports', 1, 0, 'studentreport'),
(40, 12, 'EmployeeReport', 'Employees Reports', 2, 0, 'employeereport'),
(41, 12, 'FeeReport', 'Fees Reports', 4, 0, 'feereport'),
(43, 2, 'Homework', 'Homewok', 5, 0, 'homework'),
(44, 2, 'FeePayment', 'Fees', 6, 0, 'fee'),
(45, 2, 'ExtraCurricularActivity', 'Extra Curricular Activitivities', 7, 0, 'extraactivity'),
(46, 2, 'Admission', 'Admission', 1, 0, 'admission'),
(47, 9, 'KGSettings', 'KG Settings', 7, 0, 'kgsettings'),
(48, 9, 'KGPerformance', 'KG Performance', 3, 0, 'kgperformance');

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

--
-- Table structure for table `noticeboard`
--

CREATE TABLE IF NOT EXISTS `noticeboard` (
  `id` int(11) NOT NULL,
  `title` varchar(200) NOT NULL,
  `note` text NOT NULL,
  `posted_date` date NOT NULL,
  `from_date` date NOT NULL,
  `to_date` date NOT NULL,
  `permission` varchar(20) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `noticeboard`
--

INSERT INTO `noticeboard` (`id`, `title`, `note`, `posted_date`, `from_date`, `to_date`, `permission`) VALUES
(19, 'testomatic', '', '2012-01-06', '2012-01-01', '2012-01-31', ''),
(163, 'notice', 'gdfgdsgfgsdfjgjd', '2012-02-06', '2012-02-06', '2012-02-10', ''),
(164, '7uui', 'jututf', '2012-02-06', '2012-02-13', '2012-02-20', '');

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

--
-- Table structure for table `parent`
--

CREATE TABLE IF NOT EXISTS `parent` (
  `parent_id` int(10) NOT NULL,
  `name` varchar(100) NOT NULL,
  `relationship_type` varchar(20) NOT NULL,
  `email` varchar(50) NOT NULL,
  `contact_no` varchar(25) NOT NULL,
  `mobile_no` varchar(12) NOT NULL,
  `profession` varchar(200) NOT NULL,
  PRIMARY KEY (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `parent`
--

INSERT INTO `parent` (`parent_id`, `name`, `relationship_type`, `email`, `contact_no`, `mobile_no`, `profession`) VALUES
(2, 'Ram', 'father', 'ram@gmail.com', '', '9847562356', ''),
(3, 'Rama', 'mother', 'rama@gmail.com', '', '9847589623', ''),
(5, 'John', 'father', 'john@gmail.com', '', '985562312', ''),
(6, 'Lucy', 'mother', 'lucy@yahoo.com', '', '985623145', ''),
(8, 'Bagat ', 'father', 'bag@gmail.com', '478845', '9856632564', 'Marketting'),
(152, 'qweqw', 'guardian', 'dddd@fdf.com', 'ad', '', ''),
(159, 'hi', 'father', 'swdfs@gdg.fg', '', '', ''),
(160, 'ho', 'mother', 'ada@fg.f', '', '', '');

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

--
-- Table structure for table `parent_address`
--

CREATE TABLE IF NOT EXISTS `parent_address` (
  `parent_id` int(10) NOT NULL,
  `address` text NOT NULL,
  `country` varchar(20) NOT NULL,
  PRIMARY KEY (`parent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `parent_address`
--

INSERT INTO `parent_address` (`parent_id`, `address`, `country`) VALUES
(2, 'utrufe\nhdgfsgk\ngsgfjhg', ''),
(3, 'utrufe\nhdgfsgk\ngsgfjhg', ''),
(5, 'gfsfgh\ndfsgghshg\ndfgs', ''),
(6, 'gfsfgh\ndfsgghshg\ndfgs', ''),
(8, 'rfewe', 'Qatar'),
(152, 'sss', '<div style='),
(159, '', ''),
(160, '', '');

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

--
-- Table structure for table `parent_student`
--

CREATE TABLE IF NOT EXISTS `parent_student` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `parent_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `classlevel_id` (`parent_id`),
  KEY `student_id` (`student_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;

--
-- Dumping data for table `parent_student`
--

INSERT INTO `parent_student` (`id`, `parent_id`, `student_id`) VALUES
(1, 2, 1),
(2, 3, 1),
(3, 5, 4),
(4, 6, 4),
(5, 152, 4),
(6, 159, 158),
(7, 160, 158);

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

--
-- Table structure for table `schoolsetup`
--

CREATE TABLE IF NOT EXISTS `schoolsetup` (
  `name` varchar(100) NOT NULL,
  `phone` varchar(50) NOT NULL,
  `email` varchar(50) NOT NULL,
  `website` varchar(50) NOT NULL,
  `logo` varchar(50) NOT NULL,
  `address` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `schoolsetup`
--

INSERT INTO `schoolsetup` (`name`, `phone`, `email`, `website`, `logo`, `address`) VALUES
('International British School', '4786837', 'principal.ibs@hotmail.com', 'www.ibsqatar.org', 'assets/css/layout/white/logo.png', 'P.O. Box : 16239,\nDuhail - Qatar ');

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

--
-- Table structure for table `sendsms`
--

CREATE TABLE IF NOT EXISTS `sendsms` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `sender_id` varchar(10) NOT NULL,
  `message` text NOT NULL,
  `numbers` text NOT NULL,
  `status` varchar(10) NOT NULL,
  `datetime` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `sendsms`
--

INSERT INTO `sendsms` (`id`, `sender_id`, `message`, `numbers`, `status`, `datetime`) VALUES
(1, '4874', 'kl', '9874563214', 'Not Sent', '2012-01-06 12:50:43');

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

--
-- Table structure for table `smssettings`
--

CREATE TABLE IF NOT EXISTS `smssettings` (
  `username` varchar(30) NOT NULL,
  `password` varchar(100) NOT NULL,
  `domain` varchar(200) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `smssettings`
--

INSERT INTO `smssettings` (`username`, `password`, `domain`) VALUES
('shan', 'shan', 'isrishti.com');

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

--
-- Table structure for table `staff`
--

CREATE TABLE IF NOT EXISTS `staff` (
  `staff_id` int(10) NOT NULL,
  `staff_no` varchar(10) NOT NULL,
  `name` varchar(50) NOT NULL,
  `designation_id` int(11) NOT NULL,
  `department_id` int(11) NOT NULL,
  `email` varchar(50) NOT NULL,
  `contact_no` varchar(25) NOT NULL,
  `mobile_no` varchar(12) NOT NULL,
  `passport_no` varchar(20) NOT NULL,
  PRIMARY KEY (`staff_id`),
  KEY `designation_id` (`designation_id`),
  KEY `department_id` (`department_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `staff`
--

INSERT INTO `staff` (`staff_id`, `staff_no`, `name`, `designation_id`, `department_id`, `email`, `contact_no`, `mobile_no`, `passport_no`) VALUES
(24, '', 'test', 2, 1, '', '', '', ''),
(162, '', 'qer', 2, 1, 'dfw@tfg.fgf', 'gd', 'dfgdf', ''),
(170, 'ST101', 'Jose', 2, 1, 'wqw@wee.dg', '', '9874562312', 'AB78956421');

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

--
-- Table structure for table `staff_address`
--

CREATE TABLE IF NOT EXISTS `staff_address` (
  `staff_id` int(10) NOT NULL,
  `address` text NOT NULL,
  `country` varchar(20) NOT NULL,
  PRIMARY KEY (`staff_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `staff_address`
--

INSERT INTO `staff_address` (`staff_id`, `address`, `country`) VALUES
(24, '', 'Qatar'),
(162, 'dfg', 'Qatar'),
(170, '', 'dasdad');

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

--
-- Table structure for table `student`
--

CREATE TABLE IF NOT EXISTS `student` (
  `student_id` int(10) NOT NULL,
  `reg_no` varchar(20) NOT NULL,
  `first_name` varchar(50) NOT NULL,
  `last_name` varchar(50) NOT NULL,
  `gender` varchar(7) NOT NULL,
  `dob` date NOT NULL,
  `email` varchar(50) NOT NULL,
  `contact_no` varchar(25) NOT NULL,
  `mobile_no` varchar(12) NOT NULL,
  `classlevel_id` int(11) NOT NULL,
  PRIMARY KEY (`student_id`),
  KEY `classlevel_id` (`classlevel_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `student`
--

INSERT INTO `student` (`student_id`, `reg_no`, `first_name`, `last_name`, `gender`, `dob`, `email`, `contact_no`, `mobile_no`, `classlevel_id`) VALUES
(1, 's101', 'Raj', 'Ram', 'male', '2006-01-10', 'raj@gmail.com', '4521879', '9847562356', 2),
(4, 's102', 'Mary', 'John', 'female', '2005-05-25', 'mary@gmail.com', '245789', '985562312', 4),
(7, 's103', 'Pia', 'Kaul', 'female', '2005-11-14', 'pia@rediff.com', '789565', '9856231445', 3),
(151, 'werwer', 'wrwer', 'weew', 'male', '2012-02-08', 'efds@gmail.com', 'wwer', 'wr', 15),
(158, 's110', 'ret', 'hi', 'male', '2012-02-06', 'ret@mail.com', '987564454', '9856475', 2);

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

--
-- Table structure for table `studentreport`
--

CREATE TABLE IF NOT EXISTS `studentreport` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `report_label` varchar(200) NOT NULL,
  `description` text NOT NULL,
  `target` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

--
-- Dumping data for table `studentreport`
--

INSERT INTO `studentreport` (`id`, `report_label`, `description`, `target`) VALUES
(1, 'Student Report', 'Student detailed report\r\n', ''),
(2, 'Attendance Report', 'Details of student Attendance\r\n', '');

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

--
-- Table structure for table `student_address`
--

CREATE TABLE IF NOT EXISTS `student_address` (
  `student_id` int(10) NOT NULL,
  `address` mediumtext NOT NULL,
  `state` varchar(100) NOT NULL,
  `country` varchar(20) NOT NULL,
  PRIMARY KEY (`student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `student_address`
--

INSERT INTO `student_address` (`student_id`, `address`, `state`, `country`) VALUES
(1, 'test', 'kerala', 'India'),
(4, '', '', 'Chennai'),
(7, 'dfdfdg\nshgshfgsh\nsgfjgj', '', 'Qatar'),
(151, '', '', ''),
(158, '', '', '');

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

--
-- Table structure for table `student_otherinfo`
--

CREATE TABLE IF NOT EXISTS `student_otherinfo` (
  `student_id` int(11) NOT NULL,
  `community` varchar(200) NOT NULL,
  `ipp_no` varchar(100) NOT NULL,
  `tc` varchar(100) NOT NULL,
  `school_previous` varchar(100) NOT NULL,
  `illness` varchar(100) NOT NULL,
  `allergy` varchar(100) NOT NULL,
  `transport` varchar(100) NOT NULL,
  `computer` varchar(30) NOT NULL,
  `internet` varchar(30) NOT NULL,
  `printer` varchar(30) NOT NULL,
  KEY `student_id` (`student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `student_otherinfo`
--

INSERT INTO `student_otherinfo` (`student_id`, `community`, `ipp_no`, `tc`, `school_previous`, `illness`, `allergy`, `transport`, `computer`, `internet`, `printer`) VALUES
(1, 'Hindu', '678647', '5667564', 'St.Xavier''s HSS', 'No', 'Dust', 'schoolbus', '1', '1', '0'),
(4, 'RC', '4664', '56675875', 'St. Alphonse', 'No', 'No', 'schoolbus', '1', '1', '1'),
(7, 'Hindu', '54545', '233', 'asswg', 'No', 'No', 'schoolbus', '1', '1', '0'),
(151, '', '', '', '', '', '', 'schoolbus', '0', '0', '0'),
(158, '', '', '', '', '', '', 'schoolbus', '0', '0', '0');

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

--
-- Table structure for table `subject`
--

CREATE TABLE IF NOT EXISTS `subject` (
  `subject_id` int(10) NOT NULL AUTO_INCREMENT,
  `subject_name` varchar(100) NOT NULL,
  `subject_code` varchar(20) NOT NULL,
  `classlevel_id` int(11) NOT NULL,
  PRIMARY KEY (`subject_id`),
  KEY `classlevel_id` (`classlevel_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=122 ;

--
-- Dumping data for table `subject`
--

INSERT INTO `subject` (`subject_id`, `subject_name`, `subject_code`, `classlevel_id`) VALUES
(1, 'English', 'ENG', 2),
(2, 'Writing', 'WRT', 2),
(4, 'Math', '', 2),
(5, 'Science', '', 2),
(6, 'History', '', 2),
(7, 'Geography', '', 2),
(8, 'English', 'ENG', 9),
(9, 'Writing', 'WRT', 9),
(10, 'Reading', 'RDG', 9),
(11, 'Math', 'MAT', 9),
(12, 'Science', 'SCI', 9),
(13, 'Arabic', 'ARB', 9),
(14, 'Islamic Studies', 'IS', 9),
(15, 'French', 'FRN', 9),
(16, 'ICT', 'ICT', 9),
(17, 'PE', 'PE', 9),
(18, 'Art', 'ART', 9),
(19, 'English', 'ENG', 10),
(20, 'Writing', 'WRT', 10),
(21, 'Reading', 'RDG', 10),
(22, 'Math', 'MAT', 10),
(23, 'Science', 'SCI', 10),
(24, 'Arabic', 'ARB', 10),
(25, 'Islamic Studies', 'IS', 10),
(26, 'French', 'FRN', 10),
(27, 'ICT', 'ICT', 10),
(28, 'PE', 'PE', 10),
(29, 'Art', 'ART', 10),
(30, 'English', 'ENG', 11),
(31, 'Writing', 'WRT', 11),
(32, 'Reading', 'RDG', 11),
(33, 'Math', 'MAT', 11),
(34, 'Science', 'SCI', 11),
(35, 'Arabic', 'ARB', 11),
(36, 'Islamic Studies', 'IS', 11),
(37, 'French', 'FRN', 11),
(38, 'ICT', 'ICT', 11),
(39, 'PE', 'PE', 11),
(40, 'Art', 'ART', 11),
(41, 'English', 'ENG', 12),
(42, 'Writing', 'WRT', 12),
(43, 'Reading', 'RDG', 12),
(44, 'Math', 'MAT', 12),
(45, 'Science', 'SCI', 12),
(46, 'Arabic', 'ARB', 12),
(47, 'Islamic Studies', 'IS', 12),
(48, 'French', 'FRN', 12),
(49, 'ICT', 'ICT', 12),
(50, 'PE', 'PE', 12),
(51, 'Art', 'ART', 12),
(52, 'English', 'ENG', 13),
(53, 'Writing', 'WRT', 13),
(54, 'Reading', 'RDG', 13),
(55, 'Math', 'MAT', 13),
(56, 'Science', 'SCI', 13),
(57, 'Arabic', 'ARB', 13),
(58, 'Islamic Studies', 'IS', 13),
(59, 'Geography', 'GEO', 13),
(60, 'History', 'HIS', 13),
(61, 'FRench', 'FRN', 13),
(62, 'ICT', 'ICT', 13),
(63, 'PE', 'PE', 13),
(64, 'Art', 'ART', 13),
(65, 'PSHE', 'PSHE', 13),
(66, 'English', 'ENG', 14),
(67, 'Writing', 'WRT', 14),
(68, 'Reading', 'RDG', 14),
(69, 'Math', 'MAT', 14),
(70, 'Science', 'SCI', 14),
(71, 'Arabic', 'ARB', 14),
(72, 'Islamic History', 'IS', 14),
(73, 'Geography', 'GEO', 14),
(74, 'History', 'HIS', 14),
(75, 'French', 'FRN', 14),
(76, 'ICT', 'ICT', 14),
(77, 'PE', 'PE', 14),
(78, 'Art', 'ART', 14),
(79, 'PSHE', 'PSHE', 14),
(80, 'English', 'ENG', 15),
(81, 'Writing', 'WRT', 15),
(82, 'Reading', 'RDG', 15),
(83, 'Math', 'MAT', 15),
(84, 'Science', 'SCI', 15),
(85, 'Arabic', 'ARB', 15),
(86, 'Islamic Studies', 'IS', 15),
(87, 'Geography', 'GEO', 15),
(88, 'History', 'HIS', 15),
(89, 'French', 'FRN', 15),
(90, 'ICT', 'ICT', 15),
(91, 'PE', 'PE', 15),
(92, 'Art', 'ART', 15),
(93, 'PSHE', 'PSHE', 15),
(94, 'English', 'ENG', 16),
(95, 'Writing', 'WRT', 16),
(96, 'Reading', 'RDG', 16),
(97, 'Math', 'MAT', 16),
(98, 'Science', 'SCI', 16),
(99, 'Arabic', 'ARB', 16),
(100, 'Islamic Studies', 'IS', 16),
(101, 'Geography', 'GEO', 16),
(102, 'History', 'HIS', 16),
(103, 'French', 'FRN', 16),
(104, 'ICT', 'ICT', 16),
(105, 'PE', 'PE', 16),
(106, 'Art', 'ART', 16),
(107, 'PSHE', 'PSHE', 16),
(108, 'English', 'ENG', 17),
(109, 'Writing', 'WRT', 17),
(110, 'Reading', 'RDG', 17),
(111, 'Math', 'MAT', 17),
(112, 'Science', 'SCI', 17),
(113, 'Arabic', 'ARB', 17),
(114, 'Islamic Studies', 'IS', 17),
(115, 'Geography', 'GEO', 17),
(116, 'History', 'HIS', 17),
(117, 'French', 'FRN', 17),
(118, 'ICT', 'ICT', 17),
(119, 'PE', 'PE', 17),
(120, 'Art', 'ART', 17),
(121, 'PSHE', 'PSHE', 17);

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

--
-- Table structure for table `tab`
--

CREATE TABLE IF NOT EXISTS `tab` (
  `tab_id` int(10) NOT NULL AUTO_INCREMENT,
  `tab_name` varchar(20) NOT NULL,
  `tab_caption` varchar(25) NOT NULL,
  `sort` int(5) NOT NULL,
  `invisible` int(1) NOT NULL,
  PRIMARY KEY (`tab_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ;

--
-- Dumping data for table `tab`
--

INSERT INTO `tab` (`tab_id`, `tab_name`, `tab_caption`, `sort`, `invisible`) VALUES
(1, 'Dashboard', 'Home', 1, 0),
(2, 'Student', 'Students', 2, 0),
(3, 'Teacher', 'Employees', 3, 0),
(5, 'Settings', 'Settings', 11, 0),
(6, 'Sms', 'SMS', 9, 0),
(7, 'Calendar', 'Calendar', 5, 0),
(8, 'Document', 'Documents', 6, 0),
(9, 'Examination', 'Examinations', 7, 0),
(10, 'Attendance', 'Attendance', 4, 0),
(11, 'Email', 'Emails', 8, 0),
(12, 'Report', 'Reports', 10, 0);

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

--
-- Table structure for table `teacher`
--

CREATE TABLE IF NOT EXISTS `teacher` (
  `teacher_id` int(10) NOT NULL,
  `teacher_no` varchar(10) NOT NULL,
  `first_name` varchar(50) NOT NULL,
  `last_name` varchar(50) NOT NULL,
  `gender` varchar(7) NOT NULL,
  `email` varchar(50) NOT NULL,
  `contact_no` varchar(25) NOT NULL,
  `mobile_no` varchar(12) NOT NULL,
  `passport_no` varchar(20) NOT NULL,
  PRIMARY KEY (`teacher_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `teacher`
--

INSERT INTO `teacher` (`teacher_id`, `teacher_no`, `first_name`, `last_name`, `gender`, `email`, `contact_no`, `mobile_no`, `passport_no`) VALUES
(22, 'TR1003', 'test', '', 'male', '', '', '98563214', ''),
(161, '', 'teacher1', 'ewe', 'female', 'asd@sf.sgs', '9856234', '98574512', ''),
(171, 'TR1001', 'Mary', 'John', 'female', 'asds@ere.dfdf', '', '', ''),
(172, 'TR1001', 'May', 'hudihs', 'female', 'scoda@yahoo.com', '2557896', '9955667788', 'AZD46588555');

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

--
-- Table structure for table `teacher_address`
--

CREATE TABLE IF NOT EXISTS `teacher_address` (
  `teacher_id` int(10) NOT NULL,
  `address` text NOT NULL,
  `country` varchar(20) NOT NULL,
  PRIMARY KEY (`teacher_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `teacher_address`
--

INSERT INTO `teacher_address` (`teacher_id`, `address`, `country`) VALUES
(22, 'test', 'Qatar'),
(161, 'qweqeqewq', '<div style='),
(171, '', '<div style='),
(172, 'ads', 'Qatar');

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

--
-- Table structure for table `teacher_qualification`
--

CREATE TABLE IF NOT EXISTS `teacher_qualification` (
  `teacher_id` int(11) NOT NULL,
  `course` varchar(200) NOT NULL,
  `university` varchar(200) NOT NULL,
  `passing_year` varchar(40) NOT NULL,
  KEY `teacher_id` (`teacher_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `teacher_qualification`
--


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

--
-- Table structure for table `teacher_subject`
--

CREATE TABLE IF NOT EXISTS `teacher_subject` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `teacher_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `classlevel_id` (`teacher_id`),
  KEY `subject_id` (`subject_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;

--
-- Dumping data for table `teacher_subject`
--

INSERT INTO `teacher_subject` (`id`, `teacher_id`, `subject_id`) VALUES
(1, 161, 1),
(2, 172, 4),
(3, 172, 4),
(4, 172, 4),
(5, 172, 4),
(6, 172, 8),
(7, 22, 13),
(8, 22, 13);

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

--
-- Table structure for table `teacher_work_experience`
--

CREATE TABLE IF NOT EXISTS `teacher_work_experience` (
  `teacher_id` int(11) NOT NULL,
  `employer` varchar(200) NOT NULL,
  `designation` varchar(200) NOT NULL,
  `period` varchar(200) NOT NULL,
  KEY `teacher_id` (`teacher_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `teacher_work_experience`
--


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

--
-- Table structure for table `template`
--

CREATE TABLE IF NOT EXISTS `template` (
  `template_id` int(10) NOT NULL AUTO_INCREMENT,
  `template_title` varchar(50) NOT NULL,
  `content` text NOT NULL,
  PRIMARY KEY (`template_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=97 ;

--
-- Dumping data for table `template`
--

INSERT INTO `template` (`template_id`, `template_title`, `content`) VALUES
(96, 'test', 'test must attend');

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

--
-- Table structure for table `term`
--

CREATE TABLE IF NOT EXISTS `term` (
  `term_id` int(11) NOT NULL AUTO_INCREMENT,
  `term_name` varchar(50) NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `ayear` year(4) NOT NULL,
  PRIMARY KEY (`term_id`),
  KEY `ayear` (`ayear`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=683 ;

--
-- Dumping data for table `term`
--

INSERT INTO `term` (`term_id`, `term_name`, `start_date`, `end_date`, `ayear`) VALUES
(680, 'Autumn Term', '2011-04-01', '2011-07-31', 2011),
(681, 'Winter Term', '2011-08-01', '2011-11-30', 2011),
(682, 'Spring Term', '2011-12-01', '2011-12-31', 2011);

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

--
-- Table structure for table `user`
--

CREATE TABLE IF NOT EXISTS `user` (
  `user_id` int(5) NOT NULL AUTO_INCREMENT,
  `username` varchar(30) NOT NULL,
  `password` varchar(50) NOT NULL,
  `profile_id` int(5) NOT NULL,
  `linkedto_id` int(10) NOT NULL,
  PRIMARY KEY (`user_id`),
  KEY `profile_id` (`profile_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `user`
--

INSERT INTO `user` (`user_id`, `username`, `password`, `profile_id`, `linkedto_id`) VALUES
(1, 'admin', '21232f297a57a5a743894a0e4a801fc3', 2, 0),
(2, 'shan', '3e119ab537d3c4cc0c31b9277bfd785e', 3, 25),
(3, 'asd', '7815696ecbf1c96e6894b779456d330e', 4, 26),
(4, 'sachin', '15285722f9def45c091725aee9c387cb', 4, 28);

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

--
-- Table structure for table `user_profiles`
--

CREATE TABLE IF NOT EXISTS `user_profiles` (
  `profile_id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `modules` varchar(255) NOT NULL,
  `permissions` varchar(255) NOT NULL,
  `profile_user_type` enum('Administrator','Non-Teaching Staff','Teacher','Student','Parent') NOT NULL,
  PRIMARY KEY (`profile_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;

--
-- Dumping data for table `user_profiles`
--

INSERT INTO `user_profiles` (`profile_id`, `name`, `modules`, `permissions`, `profile_user_type`) VALUES
(2, 'Administrator', '46,2,9,31,43,44,45,8,12,19,20,21,22,24,26,29,27,28,34,36,37,13,14,15,17,18,30,39,40,32,41,3,5,6,10,11,33,38,23,7', '7,6,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', 'Administrator'),
(3, 'Teacher', '2,9,8,12,31,32,19,20,21,22,24,26,27,29,28,13,14,15,16,17,18,30,3,5,6,10,11,33,23,7', '7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0', 'Teacher'),
(4, 'NTS MAIN', '1,2,9,8,12,31,32,19,20,21,22,24,26,27,29,28,13,14,15,16,17,18,30,3,5,6,10,11,33,23,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,', 'Non-Teaching Staff'),
(5, 'Parent', '1,2,9,8,12,31,32,19,20,21,22,24,26,27,29,28,13,14,15,16,17,18,30,3,5,6,10,11,33,23,7,', '4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,', 'Parent');

--
-- Constraints for dumped tables
--

--
-- Constraints for table `assignmark`
--
ALTER TABLE `assignmark`
  ADD CONSTRAINT `assignmark_ibfk_1` FOREIGN KEY (`assignmark_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE,
  ADD CONSTRAINT `assignmark_ibfk_2` FOREIGN KEY (`exammaster_id`) REFERENCES `exammaster` (`exammaster_id`) ON DELETE NO ACTION,
  ADD CONSTRAINT `assignmark_ibfk_3` FOREIGN KEY (`classlevel_id`) REFERENCES `classlevel` (`classlevel_id`) ON DELETE NO ACTION;

--
-- Constraints for table `assignmark_student`
--
ALTER TABLE `assignmark_student`
  ADD CONSTRAINT `assignmark_student_ibfk_1` FOREIGN KEY (`assignmark_id`) REFERENCES `assignmark` (`assignmark_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `assignmark_student_ibfk_2` FOREIGN KEY (`student_id`) REFERENCES `student` (`student_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `assignmark_student_ibfk_3` FOREIGN KEY (`subject_id`) REFERENCES `subject` (`subject_id`) ON DELETE NO ACTION;

--
-- Constraints for table `attendance_register`
--
ALTER TABLE `attendance_register`
  ADD CONSTRAINT `attendance_register_ibfk_1` FOREIGN KEY (`id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE,
  ADD CONSTRAINT `attendance_register_ibfk_2` FOREIGN KEY (`student_id`) REFERENCES `student` (`student_id`) ON DELETE CASCADE;

--
-- Constraints for table `directory`
--
ALTER TABLE `directory`
  ADD CONSTRAINT `directory_ibfk_1` FOREIGN KEY (`directory_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE;

--
-- Constraints for table `directory_file`
--
ALTER TABLE `directory_file`
  ADD CONSTRAINT `directory_file_ibfk_1` FOREIGN KEY (`directory_id`) REFERENCES `directory` (`directory_id`) ON DELETE CASCADE;

--
-- Constraints for table `email_receipents`
--
ALTER TABLE `email_receipents`
  ADD CONSTRAINT `email_receipents_ibfk_1` FOREIGN KEY (`email_id`) REFERENCES `emailreport` (`email_id`) ON DELETE CASCADE;

--
-- Constraints for table `examtimetable`
--
ALTER TABLE `examtimetable`
  ADD CONSTRAINT `examtimetable_ibfk_1` FOREIGN KEY (`exammaster_id`) REFERENCES `exammaster` (`exammaster_id`) ON DELETE NO ACTION,
  ADD CONSTRAINT `examtimetable_ibfk_2` FOREIGN KEY (`classlevel_id`) REFERENCES `classlevel` (`classlevel_id`) ON DELETE NO ACTION;

--
-- Constraints for table `examtimetable_subject`
--
ALTER TABLE `examtimetable_subject`
  ADD CONSTRAINT `examtimetable_subject_ibfk_2` FOREIGN KEY (`subject_id`) REFERENCES `subject` (`subject_id`) ON DELETE NO ACTION,
  ADD CONSTRAINT `examtimetable_subject_ibfk_3` FOREIGN KEY (`examtimetable_id`) REFERENCES `examtimetable` (`examtimetable_id`) ON DELETE CASCADE;

--
-- Constraints for table `extraactivity`
--
ALTER TABLE `extraactivity`
  ADD CONSTRAINT `extraactivity_ibfk_1` FOREIGN KEY (`activity_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE;

--
-- Constraints for table `extraactivity_class`
--
ALTER TABLE `extraactivity_class`
  ADD CONSTRAINT `extraactivity_class_ibfk_1` FOREIGN KEY (`activity_id`) REFERENCES `extraactivity` (`activity_id`) ON DELETE CASCADE;

--
-- Constraints for table `extraactivity_winners`
--
ALTER TABLE `extraactivity_winners`
  ADD CONSTRAINT `extraactivity_winners_ibfk_1` FOREIGN KEY (`activity_id`) REFERENCES `extraactivity` (`activity_id`) ON DELETE CASCADE;

--
-- Constraints for table `fee`
--
ALTER TABLE `fee`
  ADD CONSTRAINT `fee_ibfk_1` FOREIGN KEY (`fee_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE,
  ADD CONSTRAINT `fee_ibfk_2` FOREIGN KEY (`student_id`) REFERENCES `student` (`student_id`) ON DELETE CASCADE;

--
-- Constraints for table `feecreate`
--
ALTER TABLE `feecreate`
  ADD CONSTRAINT `feecreate_ibfk_1` FOREIGN KEY (`feecreate_classlevel_id`) REFERENCES `classlevel` (`classlevel_id`) ON DELETE NO ACTION;

--
-- Constraints for table `feecreate_category`
--
ALTER TABLE `feecreate_category`
  ADD CONSTRAINT `feecreate_category_ibfk_1` FOREIGN KEY (`feecreate_id`) REFERENCES `feecreate` (`feecreate_id`) ON DELETE CASCADE;

--
-- Constraints for table `fee_particular`
--
ALTER TABLE `fee_particular`
  ADD CONSTRAINT `fee_particular_ibfk_1` FOREIGN KEY (`fee_id`) REFERENCES `fee` (`fee_id`) ON DELETE CASCADE;

--
-- Constraints for table `homework`
--
ALTER TABLE `homework`
  ADD CONSTRAINT `homework_ibfk_1` FOREIGN KEY (`homework_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE;

--
-- Constraints for table `module`
--
ALTER TABLE `module`
  ADD CONSTRAINT `module_ibfk_1` FOREIGN KEY (`tab_id`) REFERENCES `tab` (`tab_id`) ON DELETE NO ACTION;

--
-- Constraints for table `noticeboard`
--
ALTER TABLE `noticeboard`
  ADD CONSTRAINT `noticeboard_ibfk_1` FOREIGN KEY (`id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Constraints for table `parent`
--
ALTER TABLE `parent`
  ADD CONSTRAINT `parent_ibfk_1` FOREIGN KEY (`parent_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE;

--
-- Constraints for table `parent_address`
--
ALTER TABLE `parent_address`
  ADD CONSTRAINT `parent_address_ibfk_1` FOREIGN KEY (`parent_id`) REFERENCES `parent` (`parent_id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Constraints for table `parent_student`
--
ALTER TABLE `parent_student`
  ADD CONSTRAINT `parent_student_ibfk_1` FOREIGN KEY (`parent_id`) REFERENCES `parent` (`parent_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `parent_student_ibfk_2` FOREIGN KEY (`student_id`) REFERENCES `student` (`student_id`) ON DELETE CASCADE;

--
-- Constraints for table `sendsms`
--
ALTER TABLE `sendsms`
  ADD CONSTRAINT `sendsms_ibfk_1` FOREIGN KEY (`id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE;

--
-- Constraints for table `staff`
--
ALTER TABLE `staff`
  ADD CONSTRAINT `staff_ibfk_1` FOREIGN KEY (`staff_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE,
  ADD CONSTRAINT `staff_ibfk_2` FOREIGN KEY (`designation_id`) REFERENCES `designation` (`designation_id`) ON DELETE NO ACTION,
  ADD CONSTRAINT `staff_ibfk_3` FOREIGN KEY (`department_id`) REFERENCES `department` (`department_id`) ON DELETE NO ACTION;

--
-- Constraints for table `staff_address`
--
ALTER TABLE `staff_address`
  ADD CONSTRAINT `staff_address_ibfk_1` FOREIGN KEY (`staff_id`) REFERENCES `staff` (`staff_id`) ON DELETE CASCADE;

--
-- Constraints for table `student`
--
ALTER TABLE `student`
  ADD CONSTRAINT `student_ibfk_1` FOREIGN KEY (`student_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `student_ibfk_2` FOREIGN KEY (`classlevel_id`) REFERENCES `classlevel` (`classlevel_id`) ON DELETE NO ACTION;

--
-- Constraints for table `student_address`
--
ALTER TABLE `student_address`
  ADD CONSTRAINT `student_address_ibfk_1` FOREIGN KEY (`student_id`) REFERENCES `student` (`student_id`) ON DELETE CASCADE;

--
-- Constraints for table `student_otherinfo`
--
ALTER TABLE `student_otherinfo`
  ADD CONSTRAINT `student_otherinfo_ibfk_1` FOREIGN KEY (`student_id`) REFERENCES `student` (`student_id`) ON DELETE CASCADE;

--
-- Constraints for table `subject`
--
ALTER TABLE `subject`
  ADD CONSTRAINT `subject_ibfk_1` FOREIGN KEY (`classlevel_id`) REFERENCES `classlevel` (`classlevel_id`) ON DELETE CASCADE;

--
-- Constraints for table `teacher`
--
ALTER TABLE `teacher`
  ADD CONSTRAINT `teacher_ibfk_1` FOREIGN KEY (`teacher_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE;

--
-- Constraints for table `teacher_address`
--
ALTER TABLE `teacher_address`
  ADD CONSTRAINT `teacher_address_ibfk_1` FOREIGN KEY (`teacher_id`) REFERENCES `teacher` (`teacher_id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Constraints for table `teacher_qualification`
--
ALTER TABLE `teacher_qualification`
  ADD CONSTRAINT `teacher_qualification_ibfk_1` FOREIGN KEY (`teacher_id`) REFERENCES `teacher` (`teacher_id`) ON DELETE CASCADE;

--
-- Constraints for table `teacher_subject`
--
ALTER TABLE `teacher_subject`
  ADD CONSTRAINT `teacher_subject_ibfk_1` FOREIGN KEY (`teacher_id`) REFERENCES `teacher` (`teacher_id`) ON DELETE CASCADE,
  ADD CONSTRAINT `teacher_subject_ibfk_2` FOREIGN KEY (`subject_id`) REFERENCES `subject` (`subject_id`) ON DELETE NO ACTION;

--
-- Constraints for table `teacher_work_experience`
--
ALTER TABLE `teacher_work_experience`
  ADD CONSTRAINT `teacher_work_experience_ibfk_1` FOREIGN KEY (`teacher_id`) REFERENCES `teacher` (`teacher_id`) ON DELETE CASCADE;

--
-- Constraints for table `user`
--
ALTER TABLE `user`
  ADD CONSTRAINT `user_ibfk_1` FOREIGN KEY (`profile_id`) REFERENCES `user_profiles` (`profile_id`) ON DELETE NO ACTION;

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net