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




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

--
-- Table structure for table `applicant_master`
--

CREATE TABLE IF NOT EXISTS `applicant_master` (
  `appid` int(11) NOT NULL,
  `app_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fname` varchar(50) NOT NULL DEFAULT '-',
  `mname` varchar(50) NOT NULL DEFAULT ' ',
  `lname` varchar(50) NOT NULL DEFAULT ' ',
  `fathername` varchar(150) NOT NULL DEFAULT ' ',
  `fatheroccupation` varchar(50) NOT NULL DEFAULT ' ',
  `dob` date NOT NULL DEFAULT '1900-01-01',
  `spousename` varchar(150) NOT NULL DEFAULT '-',
  `spouseoccupation` varchar(50) NOT NULL DEFAULT '-',
  `mobileno` varchar(50) NOT NULL DEFAULT ' ',
  `address` varchar(500) NOT NULL DEFAULT ' ',
  `pincode` varchar(8) NOT NULL DEFAULT ' ',
  `appemail` varchar(100) NOT NULL DEFAULT '-',
  `altmobileno` varchar(50) NOT NULL DEFAULT '-',
  `matricyear` varchar(4) NOT NULL DEFAULT '1998',
  `matricmarks` decimal(6,2) NOT NULL DEFAULT '0.00',
  `matricboard` varchar(10) NOT NULL DEFAULT 'PSEB',
  `sscyear` varchar(10) NOT NULL DEFAULT '-',
  `sscmarks` decimal(6,2) NOT NULL DEFAULT '0.00',
  `sscstream` varchar(20) NOT NULL DEFAULT 'Medical',
  `tradecertificate` varchar(200) NOT NULL DEFAULT '-',
  `tradeyear` varchar(10) NOT NULL DEFAULT '-',
  `trademarks` decimal(6,2) NOT NULL DEFAULT '0.00',
  `graduation` varchar(100) NOT NULL DEFAULT '-',
  `graduationyear` varchar(10) NOT NULL DEFAULT '-',
  `graduationmarks` decimal(6,2) NOT NULL DEFAULT '0.00',
  `postgraduation` varchar(100) NOT NULL DEFAULT '-',
  `postgraduationyear` varchar(10) NOT NULL DEFAULT '-',
  `postgraduationmarks` decimal(6,2) NOT NULL DEFAULT '0.00',
  `diploma` varchar(100) NOT NULL DEFAULT '-',
  `diplomayear` varchar(10) NOT NULL DEFAULT '-',
  `diplomamarks` decimal(6,2) NOT NULL DEFAULT '0.00',
  `lscore` decimal(3,1) NOT NULL DEFAULT '0.0',
  `rscore` decimal(3,1) NOT NULL DEFAULT '0.0',
  `wscore` decimal(3,1) NOT NULL DEFAULT '0.0',
  `sscore` decimal(3,1) NOT NULL DEFAULT '0.0',
  `oscore` decimal(3,1) NOT NULL DEFAULT '0.0',
  `ieltsdate` date NOT NULL DEFAULT '1900-01-01',
  `trfno` varchar(15) NOT NULL DEFAULT '-',
  `ieltstype` varchar(20) NOT NULL DEFAULT '-',
  `workexp` varchar(5000) NOT NULL DEFAULT '-',
  `prevvisa` varchar(5000) NOT NULL DEFAULT '-',
  `remarks` varchar(5000) NOT NULL DEFAULT '-',
  `countrypref` varchar(500) NOT NULL DEFAULT '-',
  `coursepref` varchar(500) NOT NULL DEFAULT '-',
  `collegepref` varchar(500) NOT NULL DEFAULT '-',
  `courserecommend1` varchar(500) NOT NULL DEFAULT '-',
  `courserecommend2` varchar(500) NOT NULL DEFAULT '-',
  `courserecommend3` varchar(500) NOT NULL DEFAULT '-',
  `offerletter1` varchar(500) NOT NULL DEFAULT '-',
  `offerletterapplied` date NOT NULL DEFAULT '1900-01-01',
  `offerletterrecieved` date NOT NULL DEFAULT '1900-01-01',
  `feeamount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `feeamountpaidon` date NOT NULL DEFAULT '2019-01-01',
  `feebankdetails` varchar(2000) NOT NULL DEFAULT '-',
  `gicbankname` varchar(500) NOT NULL DEFAULT '-',
  `gicamount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `gicapplied` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `gicfeebankdetails` varchar(1000) NOT NULL DEFAULT '-',
  `gicaccountno` varchar(500) NOT NULL DEFAULT '-',
  `gicopened` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `medicaldtl` varchar(500) NOT NULL DEFAULT '-',
  `medicalon` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `pccdate` date NOT NULL DEFAULT '2019-01-01',
  `pccvalidity` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `bioappointment` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `bioplace` varchar(500) NOT NULL DEFAULT '-',
  `biodone` date NOT NULL DEFAULT '2019-01-01',
  `submissiontype` varchar(100) NOT NULL DEFAULT '-',
  `submissionplace` varchar(500) NOT NULL DEFAULT '-',
  `submissionon` date NOT NULL DEFAULT '2019-01-01',
  `submissionremarks` varchar(2000) NOT NULL DEFAULT '-',
  `pic` varchar(100) NOT NULL DEFAULT 'blank.jpg',
  `status` varchar(100) NOT NULL DEFAULT 'Personal Information done'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `applicant_master`
--

INSERT INTO `applicant_master` (`appid`, `app_date`, `fname`, `mname`, `lname`, `fathername`, `fatheroccupation`, `dob`, `spousename`, `spouseoccupation`, `mobileno`, `address`, `pincode`, `appemail`, `altmobileno`, `matricyear`, `matricmarks`, `matricboard`, `sscyear`, `sscmarks`, `sscstream`, `tradecertificate`, `tradeyear`, `trademarks`, `graduation`, `graduationyear`, `graduationmarks`, `postgraduation`, `postgraduationyear`, `postgraduationmarks`, `diploma`, `diplomayear`, `diplomamarks`, `lscore`, `rscore`, `wscore`, `sscore`, `oscore`, `ieltsdate`, `trfno`, `ieltstype`, `workexp`, `prevvisa`, `remarks`, `countrypref`, `coursepref`, `collegepref`, `courserecommend1`, `courserecommend2`, `courserecommend3`, `offerletter1`, `offerletterapplied`, `offerletterrecieved`, `feeamount`, `feeamountpaidon`, `feebankdetails`, `gicbankname`, `gicamount`, `gicapplied`, `gicfeebankdetails`, `gicaccountno`, `gicopened`, `medicaldtl`, `medicalon`, `pccdate`, `pccvalidity`, `bioappointment`, `bioplace`, `biodone`, `submissiontype`, `submissionplace`, `submissionon`, `submissionremarks`, `pic`, `status`) VALUES
(10, '2019-05-26 11:42:18', 'Hardeep ', 's', 'chahal', 'man', 'Farmer', '2019-05-24', 'dasd', 'asdasd', '123123123', 'asdasdasdas', '123', 'asdasdasd', '123123', '1998', '0.00', 'PSEB', '-', '0.00', 'Medical', '-', '-', '0.00', '-', '-', '0.00', '-', '-', '0.00', '-', '-', '0.00', '0.0', '0.0', '0.0', '0.0', '0.0', '1900-01-01', '-', '-', '-', '-', '-', '-', '-', '-', '-', '-', '-', '-', '1900-01-01', '1900-01-01', '0.00', '2019-01-01', '-', '-', '0.00', '2019-05-26 11:42:18', '-', '-', '2019-05-26 11:42:18', '-', '2019-05-26 11:42:18', '2019-01-01', '2019-05-26 11:42:18', '2019-05-26 11:42:18', '-', '2019-01-01', '-', '-', '2019-01-01', '-', 'blank.jpg', 'Personal Information done'),
(11, '2019-05-26 11:44:08', 'Rajinder', 'k', 'Chahal', 'asdasdasd', 'asdasd', '2019-05-23', 'Tanvir Singh Chahal', '', '8437829242', 'Aptech Jagraon, Galib Complex, Tehsil Road, Shakti Nagar, Jagraon, Dist. Ludhiana', '142026', 'tnvr009@gmail.com', '', '1998', '0.00', 'PSEB', '-', '0.00', 'Medical', '-', '-', '0.00', '-', '-', '0.00', '-', '-', '0.00', '-', '-', '0.00', '0.0', '0.0', '0.0', '0.0', '0.0', '1900-01-01', '-', '-', 'asdasd', '-asdasd', '-asdasd', '-', '-', '-', '-', '-', '-', '-', '1900-01-01', '1900-01-01', '0.00', '2019-01-01', '-', '-', '0.00', '2019-05-26 11:44:08', '-', '-', '2019-05-26 11:44:08', '-', '2019-05-26 11:44:08', '2019-01-01', '2019-05-26 11:44:08', '2019-05-26 11:44:08', '-', '2019-01-01', '-', '-', '2019-01-01', '-', 'blank.jpg', 'Personal Information done'),
(12, '2019-05-26 17:51:19', 'Manmohan Singh', 'Chahal', 'Chahal', 'Amar Singh', 'Late', '2019-05-08', 'Manmohan Singh Chahal Chahal', 'no', '9815075956', 'Near Telephone Exchange, VPO Sudhar, Distt. Ludhiana', '141104', 'info@motoweb.org', '', '1998', '0.00', 'PSEB', '-', '0.00', 'Medical', '-', '-', '0.00', '-', '-', '0.00', '-', '-', '0.00', '-', '-', '0.00', '0.0', '0.0', '0.0', '0.0', '0.0', '1900-01-01', '-', '-', '-', '-', '-', '-', '-', '-', '-', '-', '-', '-', '1900-01-01', '1900-01-01', '0.00', '2019-01-01', '-', '-', '0.00', '2019-05-26 17:51:19', '-', '-', '2019-05-26 17:51:19', '-', '2019-05-26 17:51:19', '2019-01-01', '2019-05-26 17:51:19', '2019-05-26 17:51:19', '-', '2019-01-01', '-', '-', '2019-01-01', '-', 'blank.jpg', 'Personal Information done');

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

--
-- Table structure for table `qualification_master`
--

CREATE TABLE IF NOT EXISTS `qualification_master` (
  `qid` int(11) NOT NULL,
  `qname` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `qualification_master`
--

INSERT INTO `qualification_master` (`qid`, `qname`) VALUES
(1, 'Matric'),
(2, '10+2 Arts'),
(3, '10+2 Non-Medical'),
(4, '10+2 Medical'),
(5, '10+2 Commerce'),
(6, 'Graduate'),
(6, 'Post Graduate'),
(7, 'Engineering'),
(8, 'Diploma'),
(9, 'Others');

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

--
-- Table structure for table `student_master`
--

CREATE TABLE IF NOT EXISTS `student_master` (
  `appid` int(11) NOT NULL,
  `app_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fname` varchar(50) NOT NULL DEFAULT '-',
  `mname` varchar(50) NOT NULL DEFAULT ' ',
  `lname` varchar(50) NOT NULL DEFAULT ' ',
  `fathername` varchar(150) NOT NULL DEFAULT ' ',
  `fatheroccupation` varchar(50) NOT NULL DEFAULT ' ',
  `dob` date NOT NULL DEFAULT '1900-01-01',
  `mobileno` varchar(50) NOT NULL DEFAULT ' ',
  `address` varchar(500) NOT NULL DEFAULT ' ',
  `pincode` varchar(8) NOT NULL DEFAULT ' ',
  `appemail` varchar(100) NOT NULL DEFAULT '-',
  `altmobileno` varchar(50) NOT NULL DEFAULT '-',
  `qualificationyear` varchar(4) NOT NULL DEFAULT '1998',
  `qualification` varchar(100) NOT NULL DEFAULT '10+2',
  `lscore` decimal(3,1) NOT NULL DEFAULT '0.0',
  `rscore` decimal(3,1) NOT NULL DEFAULT '0.0',
  `wscore` decimal(3,1) NOT NULL DEFAULT '0.0',
  `sscore` decimal(3,1) NOT NULL DEFAULT '0.0',
  `oscore` decimal(3,1) NOT NULL DEFAULT '0.0',
  `ieltsdate` date NOT NULL DEFAULT '1900-01-01',
  `ieltstype` varchar(20) NOT NULL DEFAULT '-',
  `remarks` varchar(5000) NOT NULL DEFAULT '-',
  `feeamount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `pic` varchar(100) NOT NULL DEFAULT 'blank.jpg',
  `status` varchar(100) NOT NULL DEFAULT 'Enquiry',
  `courseregistered` varchar(50) NOT NULL DEFAULT 'IELTS',
  `courseduration` int(11) NOT NULL DEFAULT '2',
  `coursefrom` date DEFAULT NULL,
  `courseto` date DEFAULT NULL,
  `enquirysrc` varchar(500) NOT NULL DEFAULT 'Walk in',
  `enrollmentno` varchar(30) NOT NULL DEFAULT '-',
  `certificateno` varchar(500) DEFAULT NULL,
  `coursename` varchar(500) DEFAULT NULL,
  `dateofissue` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `student_master`
--

INSERT INTO `student_master` (`appid`, `app_date`, `fname`, `mname`, `lname`, `fathername`, `fatheroccupation`, `dob`, `mobileno`, `address`, `pincode`, `appemail`, `altmobileno`, `qualificationyear`, `qualification`, `lscore`, `rscore`, `wscore`, `sscore`, `oscore`, `ieltsdate`, `ieltstype`, `remarks`, `feeamount`, `pic`, `status`, `courseregistered`, `courseduration`, `coursefrom`, `courseto`, `enquirysrc`, `enrollmentno`, `certificateno`, `coursename`, `dateofissue`) VALUES
(2, '2019-05-26 17:44:01', 'Gurleen', 'Singh', 'Chahal', 'man', 'Farmer', '2019-05-21', '8437829242', 'Aptech Jagraon, Galib Complex, Tehsil Road, Shakti Nagar, Jagraon, Dist. Ludhiana', '142026', 'tnvr009@gmail.com', '', '', 'Matric', '0.0', '0.0', '0.0', '0.0', '0.0', '2019-05-25', 'Not Appeared', '-', '0.00', 'blank.jpg', 'Certificate Issued', 'IELTS Academics', 5, '2019-05-26', '2019-10-26', 'Walk In', '000', '101', 'CSE', '2019-05-30'),
(3, '2019-05-26 17:48:59', 'Student 1', 'Stu', 'Last', 'Amar Singh', 'Test', '2019-05-15', '9815075956', 'A52', '141104', 'motoweb009@gmail.com', '', '', 'Matric', '6.0', '6.0', '6.0', '6.0', '5.0', '2019-05-15', 'IELTS General', '-', '0.00', 'blank.jpg', 'Certificate Issued', 'IELTS General', 5, '2019-05-26', '2019-10-26', 'Reference', '000', '101', 'CSE', '2019-05-29');

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

--
-- Table structure for table `student_visa_steps`
--

CREATE TABLE IF NOT EXISTS `student_visa_steps` (
  `stepno` int(11) NOT NULL,
  `description` varchar(200) NOT NULL,
  `pageurl` varchar(100) NOT NULL,
  `pageurlupdate` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `student_visa_steps`
--

INSERT INTO `student_visa_steps` (`stepno`, `description`, `pageurl`, `pageurlupdate`) VALUES
(1, 'Personal Information', 'assesmentform_update.php', 'assesmentform_update.php'),
(2, 'Educational Details', 'educationalform.php', 'educationalform_update.php'),
(3, 'Work Experience/Other Information', 'workexperience.php', 'workexperience.php'),
(4, 'Upload Documents', 'documentupload.php', 'documentupload.php'),
(5, 'Student Preferences ', 'studentpreference.php', 'studentpreference.php'),
(6, 'Course/College recommended by office', 'officerecommend.php', 'officerecommend.php'),
(7, 'Offer Letter', 'offerletter.php', 'offerletter.php'),
(8, 'Collge Fee Submission', 'fee_submission_college.php', 'fee_submission_college.php'),
(9, 'GIC Account', 'gic_account.php', 'gic_account.php'),
(10, 'Medical Details', 'medicaldetails.php', 'medicaldetails.php'),
(11, 'PCC Details', 'pccdetails.php', 'pccdetails.php'),
(12, 'Biometric Details', 'biometricdetails.php', 'biometricdetails.php'),
(13, 'File Submission', 'filesubmission.php', 'filesubmission.php');

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

--
-- Table structure for table `student_visa_steps_completed`
--

CREATE TABLE IF NOT EXISTS `student_visa_steps_completed` (
  `stepno` int(11) NOT NULL,
  `appid` int(11) NOT NULL,
  `status` varchar(1) NOT NULL DEFAULT 'N'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `student_visa_steps_completed`
--

INSERT INTO `student_visa_steps_completed` (`stepno`, `appid`, `status`) VALUES
(1, 10, 'C'),
(2, 10, 'C'),
(3, 10, 'C'),
(4, 10, 'C'),
(5, 10, 'C'),
(6, 10, 'C'),
(7, 10, 'C'),
(8, 10, 'C'),
(9, 10, 'C'),
(10, 10, 'C'),
(11, 10, 'C'),
(12, 10, 'C'),
(13, 10, 'C'),
(1, 11, 'C'),
(2, 11, 'N'),
(3, 11, 'C'),
(4, 11, 'N'),
(5, 11, 'N'),
(6, 11, 'N'),
(7, 11, 'N'),
(8, 11, 'N'),
(9, 11, 'N'),
(10, 11, 'N'),
(11, 11, 'N'),
(12, 11, 'N'),
(13, 11, 'N'),
(1, 12, 'C'),
(2, 12, 'N'),
(3, 12, 'N'),
(4, 12, 'N'),
(5, 12, 'N'),
(6, 12, 'N'),
(7, 12, 'N'),
(8, 12, 'N'),
(9, 12, 'N'),
(10, 12, 'N'),
(11, 12, 'N'),
(12, 12, 'N'),
(13, 12, 'N');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `applicant_master`
--
ALTER TABLE `applicant_master`
 ADD PRIMARY KEY (`appid`);

--
-- Indexes for table `student_master`
--
ALTER TABLE `student_master`
 ADD PRIMARY KEY (`appid`);

--
-- Indexes for table `student_visa_steps`
--
ALTER TABLE `student_visa_steps`
 ADD PRIMARY KEY (`stepno`);

