follow changes
This commit is contained in:
parent
769edb667b
commit
9d83dc3ccb
445
VISA.sql
Normal file
445
VISA.sql
Normal file
@ -0,0 +1,445 @@
|
|||||||
|
-- phpMyAdmin SQL Dump
|
||||||
|
-- version 4.5.2
|
||||||
|
-- http://www.phpmyadmin.net
|
||||||
|
--
|
||||||
|
-- Host: localhost
|
||||||
|
-- Generation Time: Aug 11, 2018 at 01:17 PM
|
||||||
|
-- Server version: 10.1.10-MariaDB
|
||||||
|
-- PHP Version: 7.0.2
|
||||||
|
|
||||||
|
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||||
|
SET time_zone = "+00:00";
|
||||||
|
|
||||||
|
|
||||||
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||||
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||||
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||||
|
/*!40101 SET NAMES utf8mb4 */;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Database: `VISA`
|
||||||
|
--
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `ci_sessions`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `ci_sessions` (
|
||||||
|
`session_id` varchar(40) NOT NULL DEFAULT '0',
|
||||||
|
`ip_address` varchar(45) NOT NULL DEFAULT '0',
|
||||||
|
`user_agent` varchar(120) NOT NULL,
|
||||||
|
`last_activity` int(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`user_data` text NOT NULL
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `Tab_CityMaster`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `Tab_CityMaster` (
|
||||||
|
`CityCode` int(4) NOT NULL,
|
||||||
|
`CityName` varchar(80) NOT NULL,
|
||||||
|
`CityDescription` varchar(300) NOT NULL,
|
||||||
|
`IsActive` tinyint(2) NOT NULL DEFAULT '1'
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `Tab_CityMaster`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `Tab_CityMaster` (`CityCode`, `CityName`, `CityDescription`, `IsActive`) VALUES
|
||||||
|
(1, 'chennai city', 'dnfkvdfkb ndbndfnbndf chennai', 1),
|
||||||
|
(2, 'vnjfsnjvnsz', 'mjvncjkvnx', 1),
|
||||||
|
(3, 'mv', ' v nkcx nv xcndsf', 0),
|
||||||
|
(4, ' vcnzx vnz xv', 'nc vn xckn vknzcx', 1),
|
||||||
|
(5, 'n mnv mxcnz', 'n zvn zxn vz', 1),
|
||||||
|
(6, 'city1', 'nil', 0),
|
||||||
|
(7, 'new city', 'new city', 1),
|
||||||
|
(8, 'one two three', 'four five six seven', 0);
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `Tab_CountryMaster`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `Tab_CountryMaster` (
|
||||||
|
`CountryCode` int(3) NOT NULL,
|
||||||
|
`CountryName` varchar(80) NOT NULL,
|
||||||
|
`CapitalCity` varchar(80) NOT NULL,
|
||||||
|
`CountryDescription` varchar(300) NOT NULL,
|
||||||
|
`IsActive` tinyint(2) NOT NULL DEFAULT '1'
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `Tab_CountryMaster`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `Tab_CountryMaster` (`CountryCode`, `CountryName`, `CapitalCity`, `CountryDescription`, `IsActive`) VALUES
|
||||||
|
(1, 'gygyvgh', 'gvgvghvgv', '<p>This is my textarea to be replaced with CKEditor.</p>\r\n', 0),
|
||||||
|
(2, 'ncvxbxc', 'ncbxnvc', '<p>nmcbbzxcm</p>\r\n', 0),
|
||||||
|
(3, 'country 1', 'city 1', '<p>nil</p>\r\n', 1),
|
||||||
|
(4, 'country 2', 'city 2', '<p>nil</p>\r\n', 0),
|
||||||
|
(5, 'country 3', 'city 3', '<p>nil</p>\r\n', 1),
|
||||||
|
(6, 'name', 'sfgvfsdg', '<p> vbcbcc</p>\r\n', 1),
|
||||||
|
(7, 'new country edited', 'new capital edited', '<p>new description edited</p>\r\n', 0),
|
||||||
|
(8, 'Asia', 'something', '<p>new country </p>\r\n', 1);
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `Tab_Documents`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `Tab_Documents` (
|
||||||
|
`DocumentCode` int(4) NOT NULL,
|
||||||
|
`DocumentName` varchar(80) NOT NULL,
|
||||||
|
`Document` varchar(300) NOT NULL,
|
||||||
|
`DocumentDescription` varchar(300) NOT NULL,
|
||||||
|
`IsActive` tinyint(2) NOT NULL DEFAULT '1'
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `Tab_Documents`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `Tab_Documents` (`DocumentCode`, `DocumentName`, `Document`, `DocumentDescription`, `IsActive`) VALUES
|
||||||
|
(1, 'dai loose suren suma iru da', 'visa_document.pdf', 'document file upload ', 1),
|
||||||
|
(2, 'document owo three', 'hero-bg.jpg', 'document 1 owo three', 1),
|
||||||
|
(3, 'visa PPT doc', '0', 'visa doc', 0),
|
||||||
|
(4, 'checking document reset', 'w3validator.png', 'reset buuton', 1),
|
||||||
|
(5, 'testing document 2', '', 'nil', 1),
|
||||||
|
(6, 'njik', '', 'nil', 1),
|
||||||
|
(7, 'new check', 'imageedit_1_3095006469.png', 'nil', 0);
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `Tab_LastLogin`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `Tab_LastLogin` (
|
||||||
|
`id` bigint(20) NOT NULL,
|
||||||
|
`userId` bigint(20) NOT NULL,
|
||||||
|
`sessionData` varchar(2048) NOT NULL,
|
||||||
|
`machineIp` varchar(1024) NOT NULL,
|
||||||
|
`userAgent` varchar(128) NOT NULL,
|
||||||
|
`agentString` varchar(1024) NOT NULL,
|
||||||
|
`platform` varchar(128) NOT NULL,
|
||||||
|
`createdDtm` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `Tab_LastLogin`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `Tab_LastLogin` (`id`, `userId`, `sessionData`, `machineIp`, `userAgent`, `agentString`, `platform`, `createdDtm`) VALUES
|
||||||
|
(1, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-07-31 10:33:08'),
|
||||||
|
(2, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-01 10:16:32'),
|
||||||
|
(3, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-01 10:20:54'),
|
||||||
|
(4, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-01 10:32:10'),
|
||||||
|
(5, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-01 11:09:37'),
|
||||||
|
(6, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-01 18:45:44'),
|
||||||
|
(7, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-02 10:24:05'),
|
||||||
|
(8, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-02 11:53:48'),
|
||||||
|
(9, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-02 15:20:31'),
|
||||||
|
(10, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-02 15:38:19'),
|
||||||
|
(11, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-02 16:05:23'),
|
||||||
|
(12, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-02 17:15:19'),
|
||||||
|
(13, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-03 10:39:04'),
|
||||||
|
(14, 11, '{"role":"2","roleText":"Manager","name":"two"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-03 13:17:06'),
|
||||||
|
(15, 12, '{"role":"2","roleText":"Manager","name":"suren"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-03 13:20:05'),
|
||||||
|
(16, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-03 16:55:50'),
|
||||||
|
(17, 14, '{"role":"2","roleText":"Manager","name":"hari"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-03 16:58:24'),
|
||||||
|
(18, 14, '{"role":"2","roleText":"Manager","name":"hari"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-03 17:00:00'),
|
||||||
|
(19, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-03 17:07:00'),
|
||||||
|
(20, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-03 18:21:35'),
|
||||||
|
(21, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-06 10:15:17'),
|
||||||
|
(22, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-06 11:23:37'),
|
||||||
|
(23, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-07 10:26:24'),
|
||||||
|
(24, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-07 11:23:52'),
|
||||||
|
(25, 16, '{"role":"2","roleText":"Register Users","name":"raj"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-07 11:46:07'),
|
||||||
|
(26, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-07 12:18:28'),
|
||||||
|
(27, 16, '{"role":"2","roleText":"Register Users","name":"raj"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-07 12:20:46'),
|
||||||
|
(28, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-07 15:59:54'),
|
||||||
|
(29, 16, '{"role":"2","roleText":"Register Users","name":"raj"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-07 16:02:56'),
|
||||||
|
(30, 16, '{"role":"2","roleText":"Register Users","name":"veera"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-07 16:39:08'),
|
||||||
|
(31, 16, '{"role":"2","roleText":"Register Users","name":"raj"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-07 16:45:45'),
|
||||||
|
(32, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-09 10:08:08'),
|
||||||
|
(33, 16, '{"role":"2","roleText":"Register Users","name":"raj"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-09 10:12:13'),
|
||||||
|
(34, 16, '{"role":"2","roleText":"Register Users","name":"raj"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-09 10:18:05'),
|
||||||
|
(35, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-09 12:41:28'),
|
||||||
|
(36, 16, '{"role":"2","roleText":"Register Users","name":"raj"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-09 14:23:37'),
|
||||||
|
(37, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-09 14:28:16'),
|
||||||
|
(38, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-09 14:32:26'),
|
||||||
|
(39, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-09 15:22:19'),
|
||||||
|
(40, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-09 17:18:56'),
|
||||||
|
(41, 16, '{"role":"2","roleText":"Register Users","name":"raj"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-09 17:22:40'),
|
||||||
|
(42, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-09 18:47:23'),
|
||||||
|
(43, 16, '{"role":"2","roleText":"Register Users","name":"raj"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-09 18:52:14'),
|
||||||
|
(44, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-10 10:56:51'),
|
||||||
|
(45, 16, '{"role":"2","roleText":"Register Users","name":"raj"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-10 10:57:32'),
|
||||||
|
(46, 17, '{"role":"2","roleText":"Register Users","name":"suri"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-10 11:38:38'),
|
||||||
|
(47, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-10 12:27:30'),
|
||||||
|
(48, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-10 12:39:45'),
|
||||||
|
(49, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-10 14:23:22'),
|
||||||
|
(50, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-10 17:14:00'),
|
||||||
|
(51, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-11 10:43:50'),
|
||||||
|
(52, 1, '{"role":"1","roleText":"System Administrator","name":"System Administrator"}', '::1', 'Chrome 59.0.3071.86', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36', 'Linux', '2018-08-11 10:56:24');
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `Tab_Register`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `Tab_Register` (
|
||||||
|
`RegNo` int(4) NOT NULL,
|
||||||
|
`Name` varchar(30) NOT NULL,
|
||||||
|
`PhoneNo` int(12) NOT NULL,
|
||||||
|
`Email` varchar(50) NOT NULL,
|
||||||
|
`AlternateEmail` varchar(50) DEFAULT NULL,
|
||||||
|
`Designation` varchar(80) DEFAULT NULL,
|
||||||
|
`CompanyName` varchar(80) DEFAULT NULL,
|
||||||
|
`CityName` varchar(25) DEFAULT NULL,
|
||||||
|
`CountryName` varchar(25) DEFAULT NULL,
|
||||||
|
`Address` varchar(300) DEFAULT NULL
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `Tab_Register`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `Tab_Register` (`RegNo`, `Name`, `PhoneNo`, `Email`, `AlternateEmail`, `Designation`, `CompanyName`, `CityName`, `CountryName`, `Address`) VALUES
|
||||||
|
(1, 'one', 1234567890, 'one@example.com', 'two@example.com', 'nil', 'venba', 'chennai', 'india', 'first nagar,chennai'),
|
||||||
|
(2, 'two', 1234567899, 'two@eg.com', 'two@eg.com', 'nil', 'vit', 'three', 'four', 'five'),
|
||||||
|
(3, 'suren', 2147483647, 'venba@gmail.com', 'venba2@gmail.com', 'developer', 'venba', 'chennai', 'India', 'gowrivakkam ,chennai -17'),
|
||||||
|
(4, 'suri', 568923417, 'suri@gmail.com', 'suri1@gmail.com', 'developer', 'software', 'chennai', 'India', 'gowrivakkam ,chennai -17'),
|
||||||
|
(5, 'hari', 568923410, 'hari@gmail.com', 'hari2@gmail.com', 'tester', 'HCL', 'chennai', 'India', 'guindy'),
|
||||||
|
(6, 'saravana', 2147483647, 'saravana@gmail.com', 'sara@gmail.com', 'software', 'Infotech', 'chennai', 'India', 'guindy,chennai'),
|
||||||
|
(7, 'raj', 2147483647, 'raj@gmail.com', 'raja@gmail.com', 'tester', 'Apple', 'inout street', 'India', 'chennai,india'),
|
||||||
|
(8, 'suri', 2147483647, 'suri123@gmail.com', 'suri1234@gmail.com', 'software developer', 'Accenture', 'chennai', 'India', 'sholinganallur');
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `Tab_ResetPassword`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `Tab_ResetPassword` (
|
||||||
|
`id` bigint(20) NOT NULL,
|
||||||
|
`email` varchar(128) NOT NULL,
|
||||||
|
`activation_id` varchar(32) NOT NULL,
|
||||||
|
`agent` varchar(512) NOT NULL,
|
||||||
|
`client_ip` varchar(32) NOT NULL,
|
||||||
|
`isDeleted` tinyint(4) NOT NULL DEFAULT '0',
|
||||||
|
`createdBy` bigint(20) NOT NULL DEFAULT '1',
|
||||||
|
`createdDtm` datetime NOT NULL,
|
||||||
|
`updatedBy` bigint(20) DEFAULT NULL,
|
||||||
|
`updatedDtm` datetime DEFAULT NULL
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `Tab_Roles`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `Tab_Roles` (
|
||||||
|
`roleId` tinyint(4) NOT NULL COMMENT 'role id',
|
||||||
|
`role` varchar(50) NOT NULL COMMENT 'role text'
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `Tab_Roles`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `Tab_Roles` (`roleId`, `role`) VALUES
|
||||||
|
(1, 'System Administrator'),
|
||||||
|
(2, 'Register Users');
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `Tab_Users`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `Tab_Users` (
|
||||||
|
`userId` int(11) NOT NULL,
|
||||||
|
`email` varchar(128) NOT NULL COMMENT 'login email',
|
||||||
|
`password` varchar(128) NOT NULL COMMENT 'hashed login password',
|
||||||
|
`name` varchar(128) DEFAULT NULL COMMENT 'full name of user',
|
||||||
|
`mobile` varchar(20) DEFAULT NULL,
|
||||||
|
`roleId` tinyint(4) NOT NULL,
|
||||||
|
`isDeleted` tinyint(4) NOT NULL DEFAULT '0',
|
||||||
|
`createdBy` int(11) NOT NULL,
|
||||||
|
`createdDtm` datetime NOT NULL,
|
||||||
|
`updatedBy` int(11) DEFAULT NULL,
|
||||||
|
`updatedDtm` datetime DEFAULT NULL
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `Tab_Users`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `Tab_Users` (`userId`, `email`, `password`, `name`, `mobile`, `roleId`, `isDeleted`, `createdBy`, `createdDtm`, `updatedBy`, `updatedDtm`) VALUES
|
||||||
|
(1, 'admin@Visa.com', '$2y$10$Z.JwBMjSgKrWOYPK3Gs/wOb.zEL3816sChRNWr2F4cujf9VDVXOae', 'System Administrator', '9890098900', 1, 0, 0, '2015-07-01 18:56:49', 1, '2018-07-30 12:21:25'),
|
||||||
|
(2, 'manager@Visa.com', '$2y$10$q3/bzbhAviWTh9O9XymWr.awSwSJE45cSQJ8RbGbNAAEJ1p2w5Ksa', 'Manager', '9890098900', 2, 0, 1, '2016-12-09 17:49:56', 1, '2018-01-12 07:22:11'),
|
||||||
|
(3, 'employee@Visa.com', '$2y$10$q3/bzbhAviWTh9O9XymWr.awSwSJE45cSQJ8RbGbNAAEJ1p2w5Ksa', 'Employee', '9890098900', 2, 0, 1, '2016-12-09 17:50:22', 3, '2018-01-04 07:58:28'),
|
||||||
|
(10, 'one@example.com', '$2y$10$hU2MPI3ifc/9JWJiNKqzh.ALn9S8fHeYb8Rs65vw7BiLS0zSa0GIq', 'one', NULL, 2, 0, 0, '2018-08-03 09:43:30', NULL, NULL),
|
||||||
|
(11, 'two@eg.com', '$2y$10$RPeeXSuBQ21TZG1VhYy4bu5CAFE7vxyu5hnTIL.9anwzKRHQQDkCi', 'two', '1234567899', 2, 0, 0, '2018-08-03 09:46:07', NULL, NULL),
|
||||||
|
(12, 'venba@gmail.com', '$2y$10$qS6DdmwCQua337tptViJDe7xjs3cbnhkxepYr0A.24wwjKBK4mqlS', 'suren', '5689421342', 2, 0, 0, '2018-08-03 09:48:48', NULL, NULL),
|
||||||
|
(13, 'suri@gmail.com', '$2y$10$t96SdsTZsUd/kFFbhfTGVuBNbQeMODRYcFDx3I4HnqIPMWE0M/djq', 'suri', '568923417', 2, 0, 0, '2018-08-03 13:14:41', NULL, NULL),
|
||||||
|
(14, 'hari@gmail.com', '$2y$10$3WUbZ58HeGF/XSj/VAkyWuar2gQfhlb2RncCqpGImCkMkfM7/VaSu', 'hari', '568923410', 2, 0, 0, '2018-08-03 13:28:07', NULL, NULL),
|
||||||
|
(15, 'saravana@gmail.com', '$2y$10$tMzh.t7ptNZhUpKAHR5.kumhdmhnArAiIS9L8CwpFJK2mmsRm9ZKu', 'saravana', '7894561230', 0, 0, 0, '2018-08-07 07:48:21', NULL, NULL),
|
||||||
|
(16, 'raj@gmail.com', '$2y$10$mFJ/EeQgctZkCU485n4qTeevaijBeySpRlq/AKGMZYvqzd8s295Ru', 'raj', '2147483647', 2, 0, 0, '2018-08-07 07:50:51', NULL, NULL),
|
||||||
|
(17, 'suri123@gmail.com', '$2y$10$OlIfpTILTHsi3Kpj5twTY.Rv.lj2zKc4wi8W45LmIHoA7WlYDRGUS', 'suri', '5689234170', 2, 0, 0, '2018-08-10 08:08:21', NULL, NULL);
|
||||||
|
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Table structure for table `Tab_VisaTypeMaster`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE `Tab_VisaTypeMaster` (
|
||||||
|
`VisaCode` int(4) NOT NULL,
|
||||||
|
`VisaName` varchar(80) NOT NULL,
|
||||||
|
`VisaDescription` varchar(300) NOT NULL,
|
||||||
|
`IsActive` tinyint(2) NOT NULL DEFAULT '1'
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Dumping data for table `Tab_VisaTypeMaster`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `Tab_VisaTypeMaster` (`VisaCode`, `VisaName`, `VisaDescription`, `IsActive`) VALUES
|
||||||
|
(1, 'fgdhgfdsdf', 'dsmnbdfjngb', 1),
|
||||||
|
(2, 'snkvnsnkdn', 'nds vds', 1),
|
||||||
|
(3, 'msdnkvskdv', 'nmv ndsvksd', 0),
|
||||||
|
(4, 'vndmvmsd', 'vmsdn', 1),
|
||||||
|
(5, 'vistor', 'nil', 1),
|
||||||
|
(6, 'visa 3', 'sdfa', 0),
|
||||||
|
(7, 'UK visa', 'uk', 1),
|
||||||
|
(8, 'qwertyu', 'qwertyu', 0);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for dumped tables
|
||||||
|
--
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `ci_sessions`
|
||||||
|
--
|
||||||
|
ALTER TABLE `ci_sessions`
|
||||||
|
ADD PRIMARY KEY (`session_id`),
|
||||||
|
ADD KEY `last_activity_idx` (`last_activity`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `Tab_CityMaster`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_CityMaster`
|
||||||
|
ADD PRIMARY KEY (`CityCode`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `Tab_CountryMaster`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_CountryMaster`
|
||||||
|
ADD PRIMARY KEY (`CountryCode`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `Tab_Documents`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_Documents`
|
||||||
|
ADD PRIMARY KEY (`DocumentCode`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `Tab_LastLogin`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_LastLogin`
|
||||||
|
ADD PRIMARY KEY (`id`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `Tab_Register`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_Register`
|
||||||
|
ADD PRIMARY KEY (`RegNo`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `Tab_ResetPassword`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_ResetPassword`
|
||||||
|
ADD PRIMARY KEY (`id`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `Tab_Roles`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_Roles`
|
||||||
|
ADD PRIMARY KEY (`roleId`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `Tab_Users`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_Users`
|
||||||
|
ADD PRIMARY KEY (`userId`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `Tab_VisaTypeMaster`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_VisaTypeMaster`
|
||||||
|
ADD PRIMARY KEY (`VisaCode`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for dumped tables
|
||||||
|
--
|
||||||
|
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `Tab_CityMaster`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_CityMaster`
|
||||||
|
MODIFY `CityCode` int(4) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `Tab_CountryMaster`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_CountryMaster`
|
||||||
|
MODIFY `CountryCode` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `Tab_Documents`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_Documents`
|
||||||
|
MODIFY `DocumentCode` int(4) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `Tab_LastLogin`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_LastLogin`
|
||||||
|
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=53;
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `Tab_Register`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_Register`
|
||||||
|
MODIFY `RegNo` int(4) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `Tab_ResetPassword`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_ResetPassword`
|
||||||
|
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `Tab_Roles`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_Roles`
|
||||||
|
MODIFY `roleId` tinyint(4) NOT NULL AUTO_INCREMENT COMMENT 'role id', AUTO_INCREMENT=4;
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `Tab_Users`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_Users`
|
||||||
|
MODIFY `userId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
|
||||||
|
--
|
||||||
|
-- AUTO_INCREMENT for table `Tab_VisaTypeMaster`
|
||||||
|
--
|
||||||
|
ALTER TABLE `Tab_VisaTypeMaster`
|
||||||
|
MODIFY `VisaCode` int(4) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
|
||||||
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||||
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||||
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
281
Visa_DB.sql
281
Visa_DB.sql
@ -1,281 +0,0 @@
|
|||||||
-- phpMyAdmin SQL Dump
|
|
||||||
-- version 4.5.2
|
|
||||||
-- http://www.phpmyadmin.net
|
|
||||||
--
|
|
||||||
-- Host: localhost
|
|
||||||
-- Generation Time: Jul 31, 2018 at 05:58 AM
|
|
||||||
-- Server version: 10.1.13-MariaDB
|
|
||||||
-- PHP Version: 5.6.20
|
|
||||||
|
|
||||||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
|
||||||
SET time_zone = "+00:00";
|
|
||||||
|
|
||||||
|
|
||||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
||||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
||||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
||||||
/*!40101 SET NAMES utf8mb4 */;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Database: `Visa_DB`
|
|
||||||
--
|
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `ci_sessions`
|
|
||||||
--
|
|
||||||
|
|
||||||
CREATE TABLE `ci_sessions` (
|
|
||||||
`session_id` varchar(40) NOT NULL DEFAULT '0',
|
|
||||||
`ip_address` varchar(45) NOT NULL DEFAULT '0',
|
|
||||||
`user_agent` varchar(120) NOT NULL,
|
|
||||||
`last_activity` int(10) UNSIGNED NOT NULL DEFAULT '0',
|
|
||||||
`user_data` text NOT NULL
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `Tab_CityMaster`
|
|
||||||
--
|
|
||||||
|
|
||||||
CREATE TABLE `Tab_CityMaster` (
|
|
||||||
`CityCode` int(4) NOT NULL,
|
|
||||||
`CityName` varchar(80) NOT NULL,
|
|
||||||
`CityDescription` varchar(300) NOT NULL,
|
|
||||||
`IsActive` tinyint(2) NOT NULL DEFAULT '1'
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `Tab_CountryMaster`
|
|
||||||
--
|
|
||||||
|
|
||||||
CREATE TABLE `Tab_CountryMaster` (
|
|
||||||
`CountryCode` int(3) NOT NULL,
|
|
||||||
`CountryName` varchar(80) NOT NULL,
|
|
||||||
`CapitalCity` varchar(80) NOT NULL,
|
|
||||||
`CountryDescription` varchar(300) NOT NULL,
|
|
||||||
`IsActive` tinyint(2) NOT NULL DEFAULT '1'
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `Tab_Documents`
|
|
||||||
--
|
|
||||||
|
|
||||||
CREATE TABLE `Tab_Documents` (
|
|
||||||
`DocumentCode` int(4) NOT NULL,
|
|
||||||
`DocumentName` varchar(80) NOT NULL,
|
|
||||||
`Document` varchar(300) NOT NULL,
|
|
||||||
`DocumentDescription` varchar(300) NOT NULL,
|
|
||||||
`IsActive` tinyint(2) NOT NULL DEFAULT '1'
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `Tab_ResetPassword`
|
|
||||||
--
|
|
||||||
|
|
||||||
CREATE TABLE `Tab_ResetPassword` (
|
|
||||||
`id` bigint(20) NOT NULL,
|
|
||||||
`email` varchar(128) NOT NULL,
|
|
||||||
`activation_id` varchar(32) NOT NULL,
|
|
||||||
`agent` varchar(512) NOT NULL,
|
|
||||||
`client_ip` varchar(32) NOT NULL,
|
|
||||||
`isDeleted` tinyint(4) NOT NULL DEFAULT '0',
|
|
||||||
`createdBy` bigint(20) NOT NULL DEFAULT '1',
|
|
||||||
`createdDtm` datetime NOT NULL,
|
|
||||||
`updatedBy` bigint(20) DEFAULT NULL,
|
|
||||||
`updatedDtm` datetime DEFAULT NULL
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `Tab_Roles`
|
|
||||||
--
|
|
||||||
|
|
||||||
CREATE TABLE `Tab_Roles` (
|
|
||||||
`roleId` tinyint(4) NOT NULL COMMENT 'role id',
|
|
||||||
`role` varchar(50) NOT NULL COMMENT 'role text'
|
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Dumping data for table `Tab_Roles`
|
|
||||||
--
|
|
||||||
|
|
||||||
INSERT INTO `Tab_Roles` (`roleId`, `role`) VALUES
|
|
||||||
(1, 'System Administrator'),
|
|
||||||
(2, 'Manager'),
|
|
||||||
(3, 'Employee');
|
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `Tab_Users`
|
|
||||||
--
|
|
||||||
|
|
||||||
CREATE TABLE `Tab_Users` (
|
|
||||||
`userId` int(11) NOT NULL,
|
|
||||||
`email` varchar(128) NOT NULL COMMENT 'login email',
|
|
||||||
`password` varchar(128) NOT NULL COMMENT 'hashed login password',
|
|
||||||
`name` varchar(128) DEFAULT NULL COMMENT 'full name of user',
|
|
||||||
`mobile` varchar(20) DEFAULT NULL,
|
|
||||||
`roleId` tinyint(4) NOT NULL,
|
|
||||||
`isDeleted` tinyint(4) NOT NULL DEFAULT '0',
|
|
||||||
`createdBy` int(11) NOT NULL,
|
|
||||||
`createdDtm` datetime NOT NULL,
|
|
||||||
`updatedBy` int(11) DEFAULT NULL,
|
|
||||||
`updatedDtm` datetime DEFAULT NULL
|
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Dumping data for table `Tab_Users`
|
|
||||||
--
|
|
||||||
|
|
||||||
INSERT INTO `Tab_Users` (`userId`, `email`, `password`, `name`, `mobile`, `roleId`, `isDeleted`, `createdBy`, `createdDtm`, `updatedBy`, `updatedDtm`) VALUES
|
|
||||||
(1, 'admin@Visa.com', '$2y$10$Z.JwBMjSgKrWOYPK3Gs/wOb.zEL3816sChRNWr2F4cujf9VDVXOae', 'System Administrator', '9890098900', 1, 0, 0, '2015-07-01 18:56:49', 1, '2018-07-30 12:21:25'),
|
|
||||||
(2, 'manager@Visa.com', '$2y$10$q3/bzbhAviWTh9O9XymWr.awSwSJE45cSQJ8RbGbNAAEJ1p2w5Ksa', 'Manager', '9890098900', 2, 0, 1, '2016-12-09 17:49:56', 1, '2018-01-12 07:22:11'),
|
|
||||||
(3, 'employee@Visa.com', '$2y$10$q3/bzbhAviWTh9O9XymWr.awSwSJE45cSQJ8RbGbNAAEJ1p2w5Ksa', 'Employee', '9890098900', 3, 0, 1, '2016-12-09 17:50:22', 3, '2018-01-04 07:58:28');
|
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `Tab_VisaTypeMaster`
|
|
||||||
--
|
|
||||||
|
|
||||||
CREATE TABLE `Tab_VisaTypeMaster` (
|
|
||||||
`VisaCode` int(4) NOT NULL,
|
|
||||||
`VisaName` varchar(80) NOT NULL,
|
|
||||||
`VisaDescription` varchar(300) NOT NULL,
|
|
||||||
`IsActive` tinyint(2) NOT NULL DEFAULT '1'
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `Tab_LastLogin`
|
|
||||||
--
|
|
||||||
|
|
||||||
CREATE TABLE `Tab_LastLogin` (
|
|
||||||
`id` bigint(20) NOT NULL,
|
|
||||||
`userId` bigint(20) NOT NULL,
|
|
||||||
`sessionData` varchar(2048) NOT NULL,
|
|
||||||
`machineIp` varchar(1024) NOT NULL,
|
|
||||||
`userAgent` varchar(128) NOT NULL,
|
|
||||||
`agentString` varchar(1024) NOT NULL,
|
|
||||||
`platform` varchar(128) NOT NULL,
|
|
||||||
`createdDtm` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Indexes for dumped tables
|
|
||||||
--
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Indexes for table `ci_sessions`
|
|
||||||
--
|
|
||||||
ALTER TABLE `ci_sessions`
|
|
||||||
ADD PRIMARY KEY (`session_id`),
|
|
||||||
ADD KEY `last_activity_idx` (`last_activity`);
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Indexes for table `Tab_CityMaster`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_CityMaster`
|
|
||||||
ADD PRIMARY KEY (`CityCode`);
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Indexes for table `Tab_CountryMaster`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_CountryMaster`
|
|
||||||
ADD PRIMARY KEY (`CountryCode`);
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Indexes for table `Tab_Documents`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_Documents`
|
|
||||||
ADD PRIMARY KEY (`DocumentCode`);
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Indexes for table `Tab_ResetPassword`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_ResetPassword`
|
|
||||||
ADD PRIMARY KEY (`id`);
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Indexes for table `Tab_Roles`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_Roles`
|
|
||||||
ADD PRIMARY KEY (`roleId`);
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Indexes for table `Tab_Users`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_Users`
|
|
||||||
ADD PRIMARY KEY (`userId`);
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Indexes for table `Tab_VisaTypeMaster`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_VisaTypeMaster`
|
|
||||||
ADD PRIMARY KEY (`VisaCode`);
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Indexes for table `Tab_LastLogin`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_LastLogin`
|
|
||||||
ADD PRIMARY KEY (`id`);
|
|
||||||
|
|
||||||
--
|
|
||||||
-- AUTO_INCREMENT for dumped tables
|
|
||||||
--
|
|
||||||
|
|
||||||
--
|
|
||||||
-- AUTO_INCREMENT for table `Tab_CityMaster`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_CityMaster`
|
|
||||||
MODIFY `CityCode` int(4) NOT NULL AUTO_INCREMENT;
|
|
||||||
--
|
|
||||||
-- AUTO_INCREMENT for table `Tab_CountryMaster`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_CountryMaster`
|
|
||||||
MODIFY `CountryCode` int(3) NOT NULL AUTO_INCREMENT;
|
|
||||||
--
|
|
||||||
-- AUTO_INCREMENT for table `Tab_Documents`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_Documents`
|
|
||||||
MODIFY `DocumentCode` int(4) NOT NULL AUTO_INCREMENT;
|
|
||||||
--
|
|
||||||
-- AUTO_INCREMENT for table `Tab_ResetPassword`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_ResetPassword`
|
|
||||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
|
||||||
--
|
|
||||||
-- AUTO_INCREMENT for table `Tab_Roles`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_Roles`
|
|
||||||
MODIFY `roleId` tinyint(4) NOT NULL AUTO_INCREMENT COMMENT 'role id', AUTO_INCREMENT=4;
|
|
||||||
--
|
|
||||||
-- AUTO_INCREMENT for table `Tab_Users`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_Users`
|
|
||||||
MODIFY `userId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
|
|
||||||
--
|
|
||||||
-- AUTO_INCREMENT for table `Tab_VisaTypeMaster`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_VisaTypeMaster`
|
|
||||||
MODIFY `VisaCode` int(4) NOT NULL AUTO_INCREMENT;
|
|
||||||
--
|
|
||||||
-- AUTO_INCREMENT for table `Tab_LastLogin`
|
|
||||||
--
|
|
||||||
ALTER TABLE `Tab_LastLogin`
|
|
||||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
|
||||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
||||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
||||||
@ -59,20 +59,24 @@ $route['Routes'] = 'Dashboard_Controller/index';
|
|||||||
$route['Dashboard'] = 'Dashboard_Controller/Dashboard';
|
$route['Dashboard'] = 'Dashboard_Controller/Dashboard';
|
||||||
|
|
||||||
$route['country_master'] = 'Dashboard_Controller/country_master';
|
$route['country_master'] = 'Dashboard_Controller/country_master';
|
||||||
$route['SaveAll_country_master'] = 'Dashboard_Controller/SaveAll_country_master';
|
$route['Add_country_master'] = 'Dashboard_Controller/Add_country_master';
|
||||||
$route['GetAll_country_master'] = 'Dashboard_Controller/GetAll_country_master';
|
$route['Update_country_master'] = 'Dashboard_Controller/Update_country_master';
|
||||||
|
$route['Get_country_master'] = 'Dashboard_Controller/Get_country_master';
|
||||||
|
|
||||||
$route['city_master'] = 'Dashboard_Controller/city_master';
|
$route['city_master'] = 'Dashboard_Controller/city_master';
|
||||||
$route['SaveAll_city_master'] = 'Dashboard_Controller/SaveAll_city_master';
|
$route['Add_city_master'] = 'Dashboard_Controller/Add_city_master';
|
||||||
|
$route['Update_city_master'] = 'Dashboard_Controller/Update_city_master';
|
||||||
$route['GetAll_city_master'] = 'Dashboard_Controller/GetAll_city_master';
|
$route['GetAll_city_master'] = 'Dashboard_Controller/GetAll_city_master';
|
||||||
|
|
||||||
|
|
||||||
$route['visa_type_master'] = 'Dashboard_Controller/visa_type_master';
|
$route['visa_type_master'] = 'Dashboard_Controller/visa_type_master';
|
||||||
$route['SaveAll_visa_type_master'] = 'Dashboard_Controller/SaveAll_visa_type_master';
|
$route['Add_visa_type_master'] = 'Dashboard_Controller/Add_visa_type_master';
|
||||||
|
$route['Update_visa_type_master'] = 'Dashboard_Controller/Update_visa_type_master';
|
||||||
$route['GetAll_visa_type'] = 'Dashboard_Controller/GetAll_visa_type_master';
|
$route['GetAll_visa_type'] = 'Dashboard_Controller/GetAll_visa_type_master';
|
||||||
|
|
||||||
$route['document_master'] = 'Dashboard_Controller/document_master';
|
$route['document_master'] = 'Dashboard_Controller/document_master';
|
||||||
$route['SaveAll_document_master'] = 'Dashboard_Controller/SaveAll_document_master';
|
$route['Add_document_master'] = 'Dashboard_Controller/Add_document_master';
|
||||||
|
$route['Update_document_master'] = 'Dashboard_Controller/Update_document_master';
|
||||||
$route['GetAll_document_master'] = 'Dashboard_Controller/GetAll_document_master';
|
$route['GetAll_document_master'] = 'Dashboard_Controller/GetAll_document_master';
|
||||||
|
|
||||||
$route['country_visa_details'] = 'Dashboard_Controller/country_visa_details';
|
$route['country_visa_details'] = 'Dashboard_Controller/country_visa_details';
|
||||||
|
|||||||
@ -32,7 +32,8 @@ class Dashboard_Controller extends BaseController
|
|||||||
function Dashboard()
|
function Dashboard()
|
||||||
{
|
{
|
||||||
$this->global['pageTitle'] = 'Visa : Dashboard';
|
$this->global['pageTitle'] = 'Visa : Dashboard';
|
||||||
$this->loadViews('Dashboard', $this->global);
|
$data['usercount']= $this->Dashboard_Model->usercount();
|
||||||
|
$this->loadViews('Dashboard', $this->global,$data,NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -45,11 +46,9 @@ class Dashboard_Controller extends BaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* To Store Country Master Values
|
* To Store/Insert Country Master Values
|
||||||
*/
|
*/
|
||||||
function SaveAll_country_master(){
|
function Add_country_master(){
|
||||||
|
|
||||||
$CountryCode = $this->input->post('HideCountryCode'); // value getting from hidden field
|
|
||||||
|
|
||||||
$CountryMasterDatas =
|
$CountryMasterDatas =
|
||||||
array( 'CountryName'=>$this->input->post('CountryName'),
|
array( 'CountryName'=>$this->input->post('CountryName'),
|
||||||
@ -58,31 +57,41 @@ class Dashboard_Controller extends BaseController
|
|||||||
'IsActive'=>$this->input->post('IsActive') != '' ? 1 : 0);
|
'IsActive'=>$this->input->post('IsActive') != '' ? 1 : 0);
|
||||||
|
|
||||||
|
|
||||||
if($CountryCode == ''){
|
|
||||||
|
|
||||||
$Added = $this->Dashboard_Model->Add_CountryMaster($CountryMasterDatas);
|
$Added = $this->Dashboard_Model->Add_CountryMaster($CountryMasterDatas);
|
||||||
|
|
||||||
echo $Added != "" ? "<script>alert('Created Successfully ! Our Country Code:$Added');window.location.href='country_master';</script>"
|
echo $Added != "" ? "<script>alert('Created Successfully ! Our Country Code:$Added');window.location.href='country_master';</script>"
|
||||||
: "<script>alert('Sorry Not Created ! Try Again'); window.location.href='country_master';</script>";
|
: "<script>alert('Sorry Not Created ! Try Again'); window.location.href='country_master';</script>";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else{
|
|
||||||
|
/**
|
||||||
|
* To Update Country Master Values
|
||||||
|
*/
|
||||||
|
function Update_country_master(){
|
||||||
|
|
||||||
|
$CountryCode = $this->input->post('HideCountryCode'); // value getting from hidden field
|
||||||
|
|
||||||
|
$CountryMasterDatas =
|
||||||
|
array( 'CountryName'=>$this->input->post('EditCountryName'),
|
||||||
|
'CapitalCity'=>$this->input->post('EditCapitalCity'),
|
||||||
|
'CountryDescription'=>$this->input->post('EditEditor'),
|
||||||
|
'IsActive'=>$this->input->post('EditIsActive') != '' ? 1 : 0);
|
||||||
|
|
||||||
$Edited = $this->Dashboard_Model->Update_CountryMaster($CountryMasterDatas, $CountryCode);
|
$Edited = $this->Dashboard_Model->Update_CountryMaster($CountryMasterDatas, $CountryCode);
|
||||||
|
|
||||||
echo $Edited == True ? "<script>alert('Successfully Updated $CountryCode Details! ');window.location.href='country_master';</script>"
|
echo $Edited == True ? "<script>alert('Successfully Updated $CountryCode Details! ');window.location.href='country_master';</script>"
|
||||||
: "<script>alert('Sorry Not Updated ! Try Again'); window.location.href='country_master';</script>";
|
: "<script>alert('Sorry Not Updated ! Try Again'); window.location.href='country_master';</script>";
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* View - country_master
|
* View - country_master
|
||||||
* Get an argument From Ajax Call - 'arg' is COUNTRYCODE
|
* Get an argument From Ajax Call - 'arg' is COUNTRYCODE
|
||||||
* Return Datas to View Through JSON_encode
|
* Return Datas to View Through JSON_encode
|
||||||
*/
|
*/
|
||||||
function GetAll_country_master() {
|
function Get_country_master() {
|
||||||
|
|
||||||
$CountryCode = $this->input->post('arg');
|
$CountryCode = $this->input->post('arg');
|
||||||
|
|
||||||
@ -104,34 +113,42 @@ class Dashboard_Controller extends BaseController
|
|||||||
/**
|
/**
|
||||||
* To Store City Master Values
|
* To Store City Master Values
|
||||||
*/
|
*/
|
||||||
function SaveAll_city_master(){
|
function Add_city_master(){
|
||||||
$CityCode = $this->input->post('HideCityCode'); // value getting from hidden field
|
|
||||||
|
|
||||||
$CityMasterDatas =
|
$CityMasterDatas =
|
||||||
array( 'CityName'=>$this->input->post('CityName'),
|
array( 'CityName'=>$this->input->post('CityName'),
|
||||||
'CityDescription'=>$this->input->post('CityDescription'),
|
'CityDescription'=>$this->input->post('CityDescription'),
|
||||||
'IsActive'=>$this->input->post('IsActive') != '' ? 1 : 0);
|
'IsActive'=>$this->input->post('IsActive') != '' ? 1 : 0);
|
||||||
|
|
||||||
|
|
||||||
if($CityCode == ''){
|
|
||||||
$Added = $this->Dashboard_Model->Add_CityMaster($CityMasterDatas);
|
$Added = $this->Dashboard_Model->Add_CityMaster($CityMasterDatas);
|
||||||
|
|
||||||
echo $Added != "" ? "<script>alert('Created Successfully ! City Code:$Added');window.location.href='city_master';</script>"
|
echo $Added != "" ? "<script>alert('Created Successfully ! City Code:$Added');window.location.href='city_master';</script>"
|
||||||
: "<script>alert('Sorry Not Created ! Try Again '); window.location.href='city_master';</script>";
|
: "<script>alert('Sorry Not Created ! Try Again '); window.location.href='city_master';</script>";
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
$Edited = $this->Dashboard_Model->Update_CityMaster($CityMasterDatas, $CityCode);
|
|
||||||
|
|
||||||
echo $Edited == True ? "<script>alert('Successfully Updated!');window.location.href='city_master';</script>"
|
|
||||||
: "<script>alert('Sorry Not Updated ! Try Again'); window.location.href='city_master';</script>";
|
|
||||||
|
|
||||||
}
|
/**
|
||||||
|
* To Update City Master Values
|
||||||
|
*/
|
||||||
|
function Update_city_master(){
|
||||||
|
|
||||||
|
$CityCode = $this->input->post('HideCityCode'); // value getting from hidden field
|
||||||
|
|
||||||
|
$CityMasterDatas =
|
||||||
|
array( 'CityName'=>$this->input->post('EditCityName'),
|
||||||
|
'CityDescription'=>$this->input->post('EditCityDescription'),
|
||||||
|
'IsActive'=>$this->input->post('EditIsActive') != '' ? 1 : 0);
|
||||||
|
|
||||||
|
|
||||||
|
$Edited = $this->Dashboard_Model->Update_CityMaster($CityMasterDatas, $CityCode);
|
||||||
|
|
||||||
|
echo $Edited == True ? "<script>alert('Successfully Updated!');window.location.href='city_master';</script>"
|
||||||
|
: "<script>alert('Sorry Not Updated ! Try Again'); window.location.href='city_master';</script>";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* View - city_master
|
* View - city_master
|
||||||
* Get an argument From Ajax Call - 'citycode' is CITYCODE
|
* Get an argument From Ajax Call - 'citycode' is CITYCODE
|
||||||
@ -159,15 +176,13 @@ class Dashboard_Controller extends BaseController
|
|||||||
/**
|
/**
|
||||||
* To Store Visa Type Master Values
|
* To Store Visa Type Master Values
|
||||||
*/
|
*/
|
||||||
function SaveAll_visa_type_master(){
|
function Add_visa_type_master(){
|
||||||
|
|
||||||
$VisaCode = $this->input->post('HideVisaCode'); // value getting from hidden field
|
$VisaTypeMasterDatas =
|
||||||
$VisaTypeMasterDatas =
|
|
||||||
array( 'VisaName'=>$this->input->post('VisaName'),
|
array( 'VisaName'=>$this->input->post('VisaName'),
|
||||||
'VisaDescription'=>$this->input->post('VisaDescription'),
|
'VisaDescription'=>$this->input->post('VisaDescription'),
|
||||||
'IsActive'=>$this->input->post('IsActive') != '' ? 1 : 0);
|
'IsActive'=>$this->input->post('IsActive') != '' ? 1 : 0);
|
||||||
|
|
||||||
if($VisaCode == ''){
|
|
||||||
|
|
||||||
$Added = $this->Dashboard_Model->Add_VisaType($VisaTypeMasterDatas);
|
$Added = $this->Dashboard_Model->Add_VisaType($VisaTypeMasterDatas);
|
||||||
|
|
||||||
@ -175,14 +190,25 @@ class Dashboard_Controller extends BaseController
|
|||||||
: "<script>alert('Sorry Not Created ! Try Again'); window.location.href='visa_type_master';</script>";
|
: "<script>alert('Sorry Not Created ! Try Again'); window.location.href='visa_type_master';</script>";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else{
|
/**
|
||||||
$Edited = $this->Dashboard_Model->Update_VisaType($VisaTypeMasterDatas,$VisaCode);
|
* To Update Visa Type Master Values
|
||||||
|
*/
|
||||||
|
function Update_visa_type_master(){
|
||||||
|
|
||||||
|
$VisaCode = $this->input->post('HideVisaCode'); // value getting from hidden field
|
||||||
|
|
||||||
|
$VisaTypeMasterDatas =
|
||||||
|
array( 'VisaName'=>$this->input->post('EditVisaName'),
|
||||||
|
'VisaDescription'=>$this->input->post('EditVisaDescription'),
|
||||||
|
'IsActive'=>$this->input->post('EditIsActive') != '' ? 1 : 0);
|
||||||
|
|
||||||
|
$Edited = $this->Dashboard_Model->Update_VisaType($VisaTypeMasterDatas,$VisaCode);
|
||||||
|
|
||||||
echo $Edited == True ? "<script>alert('Successfully Updated ! ');window.location.href='visa_type_master';</script>"
|
echo $Edited == True ? "<script>alert('Successfully Updated ! ');window.location.href='visa_type_master';</script>"
|
||||||
: "<script>alert('Sorry Not Updated ! Try Again'); window.location.href='visa_type_master';</script>";
|
: "<script>alert('Sorry Not Updated ! Try Again'); window.location.href='visa_type_master';</script>";
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -211,35 +237,58 @@ class Dashboard_Controller extends BaseController
|
|||||||
$this->loadViews('document_upload', $this->global,$data , NULL);
|
$this->loadViews('document_upload', $this->global,$data , NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* To Store Visa's File & Documents Datas
|
* To Store Visa's File & Documents Datas
|
||||||
*/
|
*/
|
||||||
function SaveAll_document_master(){
|
function Add_document_master(){
|
||||||
|
|
||||||
$DocNo = $this->input->post('HideDocumentCode'); // value getting from hidden field
|
|
||||||
$Doc = $this->input->post('HideDocument'); // value getting from hidden field
|
|
||||||
|
|
||||||
$DocumentMasterDatas =
|
$DocumentMasterDatas =
|
||||||
array( 'DocumentName'=>$this->input->post('DocumentName'),
|
array( 'DocumentName'=>$this->input->post('DocumentName'),
|
||||||
'Document'=>$Doc == '' ? $this->uploadFile() : $Doc ,
|
'Document'=> $this->uploadFile(),
|
||||||
'DocumentDescription'=>$this->input->post('Description'),
|
'DocumentDescription'=>$this->input->post('Description'),
|
||||||
'IsActive'=>$this->input->post('IsActive') != '' ? 1 : 0);
|
'IsActive'=>$this->input->post('IsActive') != '' ? 1 : 0);
|
||||||
|
|
||||||
if($DocNo == ''){
|
|
||||||
|
|
||||||
$Added = $this->Dashboard_Model->Add_Document($DocumentMasterDatas);
|
$Added = $this->Dashboard_Model->Add_Document($DocumentMasterDatas);
|
||||||
|
|
||||||
echo $Added != "" ? "<script>alert('Created Successfully ! Document NO :$Added'); window.location.href='document_master';</script>"
|
echo $Added != "" ? "<script>alert('Created Successfully ! Document NO :$Added'); window.location.href='document_master';</script>"
|
||||||
: "<script>alert('Sorry Not Created ! Try Again '); window.location.href='document_master';</script>";
|
: "<script>alert('Sorry Not Created ! Try Again '); window.location.href='document_master';</script>";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* To Store Visa's File & Documents Datas
|
||||||
|
*/
|
||||||
|
function Update_document_master(){
|
||||||
|
|
||||||
|
$DocNo = $this->input->post('HideDocumentCode'); // value getting from hidden field
|
||||||
|
$Doc = $this->input->post('HideDocument'); // value getting from hidden field
|
||||||
|
|
||||||
|
if(!empty($_FILES['DocumentFile']['name'])){
|
||||||
|
//echo 'I Have File., So Upload me';
|
||||||
|
$Docname = $this->uploadFile();
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
//echo 'I Have Empty File and Replace me as old file ';
|
||||||
|
$Docname = $Doc;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//die();
|
||||||
|
$DocumentMasterDatas =
|
||||||
|
array( 'DocumentName'=>$this->input->post('EditDocumentName'),
|
||||||
|
'Document'=>$Docname,
|
||||||
|
'DocumentDescription'=>$this->input->post('EditDescription'),
|
||||||
|
'IsActive'=>$this->input->post('EditIsActive') != '' ? 1 : 0);
|
||||||
|
|
||||||
|
|
||||||
$Edited = $this->Dashboard_Model->Update_Document($DocumentMasterDatas,$DocNo);
|
$Edited = $this->Dashboard_Model->Update_Document($DocumentMasterDatas,$DocNo);
|
||||||
|
|
||||||
echo $Edited == True ? "<script>alert('Successfully Updated ! ');window.location.href='document_master';</script>"
|
echo $Edited == True ? "<script>alert('Successfully Updated ! ');window.location.href='document_master';</script>"
|
||||||
: "<script>alert('Sorry Not Updated ! Try Again'); window.location.href='document_master';</script>";
|
: "<script>alert('Sorry Not Updated ! Try Again'); window.location.href='document_master';</script>";
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -259,10 +308,14 @@ class Dashboard_Controller extends BaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* To upload IGR files
|
* To upload files
|
||||||
*/
|
*/
|
||||||
function uploadFile()
|
|
||||||
{
|
function uploadFile()
|
||||||
|
{
|
||||||
|
$picture = '';
|
||||||
|
if(!empty($_FILES['DocumentFile']['name']))
|
||||||
|
{
|
||||||
$config['upload_path'] = 'assets/dist/img/Uploads';
|
$config['upload_path'] = 'assets/dist/img/Uploads';
|
||||||
$config['allowed_types'] = 'png|jpg|jpeg|pdf|docx';
|
$config['allowed_types'] = 'png|jpg|jpeg|pdf|docx';
|
||||||
$config['file_name'] = $_FILES['DocumentFile']['name'];
|
$config['file_name'] = $_FILES['DocumentFile']['name'];
|
||||||
@ -270,23 +323,23 @@ class Dashboard_Controller extends BaseController
|
|||||||
//Load upload library and initialize configuration
|
//Load upload library and initialize configuration
|
||||||
$this->load->library('upload',$config);
|
$this->load->library('upload',$config);
|
||||||
$this->upload->initialize($config);
|
$this->upload->initialize($config);
|
||||||
|
if($this->upload->do_upload('DocumentFile'))
|
||||||
|
{
|
||||||
if($this->upload->do_upload('DocumentFile'))
|
$uploadData = $this->upload->data();
|
||||||
{
|
$picture = $uploadData['file_name'];
|
||||||
$uploadData = $this->upload->data();
|
}
|
||||||
$uploadfilename = $uploadData['file_name'];
|
else
|
||||||
return $uploadfilename;
|
{
|
||||||
}
|
$error = array('error' => $this->upload->display_errors());
|
||||||
else
|
$picture = '';
|
||||||
{
|
}
|
||||||
$error = array('error' => $this->upload->display_errors());
|
}
|
||||||
$uploadfilename = '';
|
else
|
||||||
return 0;
|
{
|
||||||
}
|
$picture = '';
|
||||||
|
}
|
||||||
|
return $picture ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -164,6 +164,10 @@ class Dashboard_Model extends CI_Model{
|
|||||||
$DocumentMasterdatas = $query->result();
|
$DocumentMasterdatas = $query->result();
|
||||||
return $DocumentMasterdatas;
|
return $DocumentMasterdatas;
|
||||||
}
|
}
|
||||||
|
/**To Get user count from Tab_Register table to display dashboard **/
|
||||||
|
function usercount(){
|
||||||
|
return $this->db->count_all_results('Tab_Register');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,100 @@
|
|||||||
<div class="content-wrapper">
|
<style>
|
||||||
|
|
||||||
|
.info-box-icon{
|
||||||
|
margin-left: 17px;
|
||||||
|
/*background: linear-gradient(60deg,#ec407a,#d81b60);*/
|
||||||
|
box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4);
|
||||||
|
display: inline-block;
|
||||||
|
height: 80px;
|
||||||
|
width: 80px;
|
||||||
|
font-size: 36px;
|
||||||
|
border-radius: 3px;
|
||||||
|
margin-top: -25px;
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
||||||
|
.info-box-content{
|
||||||
|
text-align:right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bg-red{
|
||||||
|
background: #dc2265 !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Content Wrapper. Contains page content -->
|
||||||
|
<div class="content-wrapper" style="background-color: #eee;">
|
||||||
|
<!-- Content Header (Page header) -->
|
||||||
|
<section class="content-header">
|
||||||
|
</section>
|
||||||
|
<!-- Main content -->
|
||||||
|
<section class="content" style="margin-top: 20px;">
|
||||||
|
<!-- Info boxes -->
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||||
|
<div class="info-box">
|
||||||
|
<span class="info-box-icon bg-aqua" style="box-shadow:0 4px 20px 0 rgba(0, 192, 239, 0.55), 0 7px 10px -5px rgba(0, 192, 239, 0.32);"><i class="ion ion-ios-people-outline"></i></span>
|
||||||
|
|
||||||
|
<div class="info-box-content">
|
||||||
|
<span class="info-box-text">Users</span>
|
||||||
|
<span class="info-box-number"><?php echo $usercount; ?></span>
|
||||||
|
</div>
|
||||||
|
<!-- /.info-box-content -->
|
||||||
|
</div>
|
||||||
|
<!-- /.info-box -->
|
||||||
|
</div>
|
||||||
|
<!-- /.col -->
|
||||||
|
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||||
|
<div class="info-box">
|
||||||
|
<span class="info-box-icon bg-red" style="box-shadow:0 4px 20px 0 rgba(220, 34, 101, 0.47), 0 7px 10px -5px rgba(220, 34, 101, 0.35);"><i class="fa fa-globe"></i></span>
|
||||||
|
|
||||||
|
<div class="info-box-content">
|
||||||
|
<span class="info-box-text">Countries</span>
|
||||||
|
<span class="info-box-number">195</span>
|
||||||
|
</div>
|
||||||
|
<!-- /.info-box-content -->
|
||||||
|
</div>
|
||||||
|
<!-- /.info-box -->
|
||||||
|
</div>
|
||||||
|
<!-- /.col -->
|
||||||
|
|
||||||
|
<!-- fix for small devices only -->
|
||||||
|
<div class="clearfix visible-sm-block"></div>
|
||||||
|
|
||||||
|
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||||
|
<div class="info-box">
|
||||||
|
<span class="info-box-icon bg-green" style="box-shadow:0 4px 20px 0 rgba(0, 166, 90, 0.45), 0 7px 10px -5px rgba(0, 166, 90, 0.38);"><i class="ion ion-ios-cart-outline"></i></span>
|
||||||
|
|
||||||
|
<div class="info-box-content">
|
||||||
|
<span class="info-box-text">Sales</span>
|
||||||
|
<span class="info-box-number">760</span>
|
||||||
|
</div>
|
||||||
|
<!-- /.info-box-content -->
|
||||||
|
</div>
|
||||||
|
<!-- /.info-box -->
|
||||||
|
</div>
|
||||||
|
<!-- /.col -->
|
||||||
|
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||||
|
<div class="info-box">
|
||||||
|
<span class="info-box-icon bg-yellow" style="box-shadow:0 4px 20px 0 rgba(243, 156, 18, 0.62), 0 7px 10px -5px rgba(243, 156, 18, 0.41);"><i class="ion ion-ios-people-outline"></i></span>
|
||||||
|
|
||||||
|
<div class="info-box-content">
|
||||||
|
<span class="info-box-text">New Members</span>
|
||||||
|
<span class="info-box-number">2,000</span>
|
||||||
|
</div>
|
||||||
|
<!-- /.info-box-content -->
|
||||||
|
</div>
|
||||||
|
<!-- /.info-box -->
|
||||||
|
</div>
|
||||||
|
<!-- /.col -->
|
||||||
|
</div>
|
||||||
|
<!-- /.row -->
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<!-- /.content -->
|
||||||
|
</div>
|
||||||
|
<!-- /.content-wrapper -->
|
||||||
|
|
||||||
|
<!-- jQuery 3 -->
|
||||||
|
<script src="<?php echo base_url(); ?>assets/bower_components/jquery/dist/jquery.min.js"></script>
|
||||||
|
|
||||||
</div>
|
|
||||||
@ -27,7 +27,6 @@
|
|||||||
}
|
}
|
||||||
.slide-up + label {
|
.slide-up + label {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 400;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
transform: translateX(0);
|
transform: translateX(0);
|
||||||
@ -105,7 +104,21 @@ span:nth-child(3) .slide-up:active {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.btn-success.focus, .btn-success:focus{
|
||||||
|
background-color: #dd2366;
|
||||||
|
border-color: #dd2366;
|
||||||
|
box-shadow:0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4);
|
||||||
|
}
|
||||||
|
.btn-success:hover, .btn-success:active, .btn-success.hover {
|
||||||
|
background-color: rgba(219, 34, 101, 0.64);
|
||||||
|
border-color: #dd2366;
|
||||||
|
box-shadow:0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4);
|
||||||
|
}
|
||||||
|
.btn-success {
|
||||||
|
background-color: #dd2366;
|
||||||
|
border-color: #dd2366;
|
||||||
|
box-shadow:0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.btn-primary:hover, .btn-primary:active, .btn-primary.hover{
|
.btn-primary:hover, .btn-primary:active, .btn-primary.hover{
|
||||||
@ -182,16 +195,17 @@ span:nth-child(3) .slide-up:active {
|
|||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
.nav-tabs-custom>.nav-tabs>li.active{
|
.nav-tabs-custom>.nav-tabs>li.active{
|
||||||
border-top-color:#dc2265 !important;
|
border-top-color:#dc2265 !important;
|
||||||
}
|
}
|
||||||
.box-solid{
|
.box-solid{
|
||||||
box-shadow: 0 3px 4px 0 rgba(0,0,0,0.14),
|
box-shadow: 0 3px 4px 0 rgba(0,0,0,0.14),
|
||||||
0 3px 3px -2px rgba(0,0,0,0.12),
|
0 3px 3px -2px rgba(0,0,0,0.12),
|
||||||
0 1px 8px 0 rgba(0,0,0,0.2);
|
0 1px 8px 0 rgba(0,0,0,0.2);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
<!-- Content Wrapper. Contains page content -->
|
<!-- Content Wrapper. Contains page content -->
|
||||||
<div class="content-wrapper" style="background-color: #eee;">
|
<div class="content-wrapper" style="background-color: #eee;">
|
||||||
<!-- Content Header (Page header) -->
|
<!-- Content Header (Page header) -->
|
||||||
@ -204,22 +218,19 @@ span:nth-child(3) .slide-up:active {
|
|||||||
<div class="col-md-offset-1 col-md-10">
|
<div class="col-md-offset-1 col-md-10">
|
||||||
<div class="box box-solid" style="padding: 20px;">
|
<div class="box box-solid" style="padding: 20px;">
|
||||||
|
|
||||||
|
<div class="box-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h3 class="box-title-box"><i class="fa fa-map-signs" style="padding-right:5px;"></i>City Master</h3>
|
<h3 class="box-title-box"><i class="fa fa-map-signs" style="padding-right:5px;"></i>City Master</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-offset-9 col-md-3">
|
||||||
<!-- Custom Tabs -->
|
<button type="button" class="btn btn-block btn-success btn-sm" data-toggle="modal" data-target="#AddCity">Add City</button>
|
||||||
<div class="nav-tabs-custom">
|
</div>
|
||||||
<ul class="nav nav-tabs">
|
</div>
|
||||||
<li class="active" id="viewcity"><a href="#viewcitytab" data-toggle="tab">View City</a></li>
|
<br>
|
||||||
<li id="addcity"><a href="#addeditcitytab" data-toggle="tab">Add/Edit City</a></li>
|
<div class="row">
|
||||||
</ul>
|
<div class="col-md-12">
|
||||||
<div class="tab-content">
|
<table id="example2" class="table table-bordered table-hover">
|
||||||
<div class="tab-pane active" id="viewcitytab">
|
|
||||||
<h3 style="text-align:center;">View City</h3>
|
|
||||||
<table id="example2" class="table table-bordered table-hover">
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>S.no</th>
|
<th>S.no</th>
|
||||||
@ -251,13 +262,22 @@ span:nth-child(3) .slide-up:active {
|
|||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- /.modal starts-->
|
||||||
|
<div class="modal fade" id="AddCity">
|
||||||
|
<div class="modal-dialog" style="top: 40px;width: 70%;">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span></button>
|
||||||
|
<h4 class="modal-title box-title-box">Add Country</h4>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.tab-pane -->
|
<!-- form start -->
|
||||||
<div class="tab-pane" id="addeditcitytab">
|
<form role="form" action="<?php echo base_url() ?>Add_city_master" method="post" style="padding:40px;">
|
||||||
<h3 style="text-align:center;">Add/Edit City</h3>
|
|
||||||
<!-- form start -->
|
<div class="modal-body">
|
||||||
<form role="form" action="<?php echo base_url() ?>SaveAll_city_master" method="post" style="padding:40px;">
|
<div class="row">
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-5 designinput">
|
<div class="col-md-5 designinput">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input class="slide-up" id="CityName" name="CityName" type="text" placeholder="Enter city name" /><label for="City Name">City Name</label>
|
<input class="slide-up" id="CityName" name="CityName" type="text" placeholder="Enter city name" /><label for="City Name">City Name</label>
|
||||||
@ -282,23 +302,77 @@ span:nth-child(3) .slide-up:active {
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<input id="hidecitycode" name="HideCityCode" type="hidden" readonly />
|
</div>
|
||||||
<div class="col-md-offset-6 col-md-4">
|
</div>
|
||||||
<button type="submit" class="btn btn-primary">Submit</button>
|
<div class="modal-footer">
|
||||||
|
<button type="submit" class="btn btn-primary">Submit</button>
|
||||||
<div class="or-button">Or</div>
|
<div class="or-button">Or</div>
|
||||||
<button type="reset" class="btn btn-primary12">Reset</button>
|
<button type="reset" class="btn btn-primary12">Reset</button>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
<!-- form End -->
|
||||||
<!-- /.tab-pane -->
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.tab-content -->
|
<!-- /.modal-content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- nav-tabs-custom -->
|
<!-- /.modal-dialog -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.col -->
|
<!-- /.modal -->
|
||||||
|
<!-- /.modal starts-->
|
||||||
|
<div class="modal fade" id="EditCity">
|
||||||
|
<div class="modal-dialog" style="top: 40px;width: 70%;">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span></button>
|
||||||
|
<h4 class="modal-title box-title-box">Edit Country</h4>
|
||||||
|
</div>
|
||||||
|
<!-- form start -->
|
||||||
|
<form role="form" action="<?php echo base_url() ?>Update_city_master" method="post" style="padding:40px;">
|
||||||
|
|
||||||
|
<div class="modal-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-5 designinput">
|
||||||
|
<div class="form-group">
|
||||||
|
<input class="slide-up" id="EditCityName" name="EditCityName" type="text" placeholder="Enter city name" /><label for="City Name">City Name</label>
|
||||||
|
|
||||||
|
<!--<label for="exampleInputcountryname">Country Name</label>
|
||||||
|
<input type="text" class="form-control" id="exampleInputcountryname" placeholder="Enter country">-->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<label for="Description">Description</label>
|
||||||
|
<textarea class="form-control" rows="3" id="EditCityDescription" name="EditCityDescription" placeholder="Enter ..." data-gramm="true" data-txt_gramm_id="d620fc04-2898-2668-7729-ac0c777081d4" data-gramm_id="d620fc04-2898-2668-7729-ac0c777081d4" spellcheck="false" data-gramm_editor="true" style="z-index: auto; position: relative; line-height: 20px; font-size: 14px; transition: none; background: transparent !important;"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="padding-top:15px;">
|
||||||
|
<div class="col-md-2">
|
||||||
|
<div class="form-group">
|
||||||
|
<label>Active/Deactive
|
||||||
|
<input type="checkbox" class="flat-red" name="EditIsActive" id="EditIsActive" checked>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<input readonly id="hidecitycode" name="HideCityCode" type="hidden" />
|
||||||
|
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="submit" class="btn btn-primary">Submit</button>
|
||||||
|
<div class="or-button">Or</div>
|
||||||
|
<button type="reset" class="btn btn-primary12">Reset</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<!-- form End -->
|
||||||
|
</div>
|
||||||
|
<!-- /.modal-content -->
|
||||||
|
</div>
|
||||||
|
<!-- /.modal-dialog -->
|
||||||
|
</div>
|
||||||
|
<!-- /.modal -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.box-body -->
|
<!-- /.box-body -->
|
||||||
@ -313,9 +387,9 @@ span:nth-child(3) .slide-up:active {
|
|||||||
<!-- /.content -->
|
<!-- /.content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.content-wrapper -->
|
<!-- /.content-wrapper -->
|
||||||
<!-- jQuery 3 -->
|
|
||||||
<script src="<?php echo base_url(); ?>assets/bower_components/jquery/dist/jquery.min.js"></script>
|
|
||||||
|
|
||||||
|
<!-- jQuery 3 -->
|
||||||
|
<script src="<?php echo base_url(); ?>assets/bower_components/jquery/dist/jquery.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
$('#example1').DataTable()
|
$('#example1').DataTable()
|
||||||
@ -333,10 +407,13 @@ span:nth-child(3) .slide-up:active {
|
|||||||
radioClass : 'iradio_flat-green'
|
radioClass : 'iradio_flat-green'
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
function ToEditCityDetails(arg){
|
|
||||||
|
|
||||||
$('#viewcity,#viewcitytab').removeClass("active");
|
</script>
|
||||||
$('#addcity,#addeditcitytab').addClass("active");
|
|
||||||
|
<script>
|
||||||
|
function ToEditCityDetails(arg){
|
||||||
|
|
||||||
|
$('#EditCity').modal('show');
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
data:{citycode:arg},
|
data:{citycode:arg},
|
||||||
@ -348,8 +425,8 @@ span:nth-child(3) .slide-up:active {
|
|||||||
$.each(JSON.parse(data), function (i, item) {
|
$.each(JSON.parse(data), function (i, item) {
|
||||||
|
|
||||||
$('#hidecitycode').val(item.CityCode);
|
$('#hidecitycode').val(item.CityCode);
|
||||||
$('#CityName').val(item.CityName);
|
$('#EditCityName').val(item.CityName);
|
||||||
$('#CityDescription').val(item.CityDescription);
|
$('#EditCityDescription').val(item.CityDescription);
|
||||||
if(item.IsActive == 0){
|
if(item.IsActive == 0){
|
||||||
|
|
||||||
$('.icheckbox_flat-green').attr("aria-checked", false);
|
$('.icheckbox_flat-green').attr("aria-checked", false);
|
||||||
@ -365,4 +442,5 @@ span:nth-child(3) .slide-up:active {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -104,7 +104,21 @@ span:nth-child(3) .slide-up:active {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.btn-success.focus, .btn-success:focus{
|
||||||
|
background-color: #dd2366;
|
||||||
|
border-color: #dd2366;
|
||||||
|
box-shadow:0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4);
|
||||||
|
}
|
||||||
|
.btn-success:hover, .btn-success:active, .btn-success.hover {
|
||||||
|
background-color: rgba(219, 34, 101, 0.64);
|
||||||
|
border-color: #dd2366;
|
||||||
|
box-shadow:0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4);
|
||||||
|
}
|
||||||
|
.btn-success {
|
||||||
|
background-color: #dd2366;
|
||||||
|
border-color: #dd2366;
|
||||||
|
box-shadow:0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.btn-primary:hover, .btn-primary:active, .btn-primary.hover{
|
.btn-primary:hover, .btn-primary:active, .btn-primary.hover{
|
||||||
@ -208,20 +222,15 @@ span:nth-child(3) .slide-up:active {
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<h3 class="box-title-box"><i class="fa fa-flag" style="padding-right:5px;"></i>Country Master</h3>
|
<h3 class="box-title-box"><i class="fa fa-flag" style="padding-right:5px;"></i>Country Master</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-offset-9 col-md-3">
|
||||||
<!-- Custom Tabs -->
|
<button type="button" class="btn btn-block btn-success btn-sm" data-toggle="modal" data-target="#AddCountry">Add Country</button>
|
||||||
<div class="nav-tabs-custom">
|
</div>
|
||||||
<ul class="nav nav-tabs">
|
</div>
|
||||||
<li class="active" id="ViewCountryli"><a href="#ViewCountryTab" data-toggle="tab" >View Country Details</a></li>
|
<br>
|
||||||
<li id="AddEditCountryli"><a href="#AddEditCountryTab" data-toggle="tab" >Add/Edit Country Details</a></li>
|
<div class="row">
|
||||||
</ul>
|
<div class="col-md-12">
|
||||||
<div class="tab-content">
|
<table id="example2" class="table table-bordered table-hover">
|
||||||
<!-- /.tab-pane -->
|
|
||||||
<div class="tab-pane active" id="ViewCountryTab">
|
|
||||||
<h3 style="text-align:center;">View Country Master</h3>
|
|
||||||
<table id="example2" class="table table-bordered table-hover">
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>S.no</th>
|
<th>S.no</th>
|
||||||
@ -241,6 +250,7 @@ span:nth-child(3) .slide-up:active {
|
|||||||
<td><?php echo $gc->CapitalCity;?></td>
|
<td><?php echo $gc->CapitalCity;?></td>
|
||||||
<td style="text-align:center;"><?php echo $gc->IsActive == 1 ? '<span class="label label-success">Active</span>' : '<span class="label label-danger">Deactive</span>' ?></td>
|
<td style="text-align:center;"><?php echo $gc->IsActive == 1 ? '<span class="label label-success">Active</span>' : '<span class="label label-danger">Deactive</span>' ?></td>
|
||||||
<td style="text-align:center;"><span onclick="ToEditCountryDetails(<?php echo $gc->CountryCode; ?>)"><i class="fa fa-edit" data-toggle="tooltip" data-original-title="Click here to view/Edit <?php echo $gc->CountryCode ?> Details" style="color: #dc2265;"></i></a>
|
<td style="text-align:center;"><span onclick="ToEditCountryDetails(<?php echo $gc->CountryCode; ?>)"><i class="fa fa-edit" data-toggle="tooltip" data-original-title="Click here to view/Edit <?php echo $gc->CountryCode ?> Details" style="color: #dc2265;"></i></a>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php }
|
<?php }
|
||||||
@ -257,14 +267,22 @@ span:nth-child(3) .slide-up:active {
|
|||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- /.modal starts-->
|
||||||
|
<div class="modal fade" id="AddCountry">
|
||||||
|
<div class="modal-dialog" style="top: 40px;width: 70%;">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span></button>
|
||||||
|
<h4 class="modal-title box-title-box">Add Country</h4>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.tab-pane -->
|
<!-- form start -->
|
||||||
<div class="tab-pane" id="AddEditCountryTab">
|
<form role="form" action="<?php echo base_url() ?>Add_country_master" method="post" style="padding:40px;">
|
||||||
<h3 style="text-align:center;">Add/Edit Country Master</h3>
|
|
||||||
<!-- form start -->
|
<div class="modal-body">
|
||||||
<form role="form" action="<?php echo base_url() ?>SaveAll_country_master" method="post" style="padding:40px;">
|
<div class="row">
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-5 designinput">
|
<div class="col-md-5 designinput">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input class="slide-up" id="countryname" name="CountryName" type="text" placeholder="Enter country name" /><label for="CountryName">Country Name</label>
|
<input class="slide-up" id="countryname" name="CountryName" type="text" placeholder="Enter country name" /><label for="CountryName">Country Name</label>
|
||||||
@ -285,8 +303,7 @@ span:nth-child(3) .slide-up:active {
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<label for="Description">Description</label>
|
<label for="Description">Description</label>
|
||||||
<textarea id="editor1" name="Editor" rows="10" cols="120">
|
<textarea id="editor1" name="Editor" rows="3" cols="20">
|
||||||
|
|
||||||
</textarea>
|
</textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -298,23 +315,85 @@ span:nth-child(3) .slide-up:active {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<input id="hidecountrycode" name="HideCountryCode" type="hidden" readonly />
|
|
||||||
<div class="col-md-offset-6 col-md-4">
|
</div>
|
||||||
<button type="submit" class="btn btn-primary">Submit</button>
|
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="submit" class="btn btn-primary">Submit</button>
|
||||||
<div class="or-button">Or</div>
|
<div class="or-button">Or</div>
|
||||||
<button type="reset" class="btn btn-primary12">Reset</button>
|
<button type="reset" class="btn btn-primary12">Reset</button>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
<!-- form End -->
|
||||||
|
</div>
|
||||||
|
<!-- /.modal-content -->
|
||||||
|
</div>
|
||||||
|
<!-- /.modal-dialog -->
|
||||||
|
</div>
|
||||||
|
<!-- /.modal -->
|
||||||
|
<!-- /.modal starts-->
|
||||||
|
<div class="modal fade" id="EditCountry">
|
||||||
|
<div class="modal-dialog" style="top: 40px;width: 70%;">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span></button>
|
||||||
|
<h4 class="modal-title box-title-box">Edit Country</h4>
|
||||||
|
</div>
|
||||||
|
<!-- form start -->
|
||||||
|
<form role="form" action="<?php echo base_url() ?>Update_country_master" method="post" style="padding:40px;">
|
||||||
|
|
||||||
|
<div class="modal-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-5 designinput">
|
||||||
|
<div class="form-group">
|
||||||
|
<input class="slide-up" id="EditCountryName" name="EditCountryName" type="text" placeholder="Enter country name" /><label for="CountryName">Country Name</label>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-5 designinput">
|
||||||
|
<div class="form-group">
|
||||||
|
<input class="slide-up" id="EditCapitalCity" name="EditCapitalCity" type="text" placeholder="Enter country capital" /><label for="capitalcity">Country Capital</label>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<label for="Description">Description</label>
|
||||||
|
<textarea id="EditEditor" name="EditEditor" rows="3" cols="20">
|
||||||
|
</textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row" style="padding-top:15px;">
|
||||||
|
<div class="col-md-2">
|
||||||
|
<div class="form-group">
|
||||||
|
<label>Active/Deactive</label>
|
||||||
|
<input type="checkbox" class="flat-red mycheck" id="EditIsActive" name="EditIsActive" checked>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<input id="hidecountrycode" name="HideCountryCode" type="hidden" readonly />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="submit" class="btn btn-primary">Submit</button>
|
||||||
|
<div class="or-button">Or</div>
|
||||||
|
<button type="reset" class="btn btn-primary12">Reset</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<!-- form End -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.tab-content -->
|
<!-- /.modal-content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- nav-tabs-custom -->
|
<!-- /.modal-dialog -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.col -->
|
<!-- /.modal -->
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.box-body -->
|
<!-- /.box-body -->
|
||||||
@ -343,16 +422,6 @@ span:nth-child(3) .slide-up:active {
|
|||||||
'info' : true,
|
'info' : true,
|
||||||
'autoWidth' : false
|
'autoWidth' : false
|
||||||
})
|
})
|
||||||
});
|
|
||||||
|
|
||||||
</script>
|
|
||||||
<script>
|
|
||||||
$(function () {
|
|
||||||
// Replace the <textarea id="editor"> with a CKEditor
|
|
||||||
// instance, using default configuration.
|
|
||||||
CKEDITOR.replace('editor1')
|
|
||||||
//bootstrap WYSIHTML5 - text editor
|
|
||||||
$('.textarea').wysihtml5()
|
|
||||||
|
|
||||||
|
|
||||||
//Flat red color scheme for iCheck
|
//Flat red color scheme for iCheck
|
||||||
@ -361,26 +430,39 @@ span:nth-child(3) .slide-up:active {
|
|||||||
radioClass : 'iradio_flat-green'
|
radioClass : 'iradio_flat-green'
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<script>
|
||||||
|
$(function () {
|
||||||
|
// Replace the <textarea id="editor"> with a CKEditor
|
||||||
|
// instance, using default configuration.
|
||||||
|
CKEDITOR.replace('editor1');
|
||||||
|
CKEDITOR.replace('EditEditor');
|
||||||
|
//bootstrap WYSIHTML5 - text editor
|
||||||
|
$('.textarea').wysihtml5()
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
function ToEditCountryDetails(arg){
|
function ToEditCountryDetails(arg){
|
||||||
|
|
||||||
$('#ViewCountryli,#ViewCountryTab').removeClass("active");
|
$('#EditCountry').modal('show');
|
||||||
$('#AddEditCountryli,#AddEditCountryTab').addClass("active");
|
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
data:{arg:arg},
|
data:{arg:arg},
|
||||||
type:"POST",
|
type:"POST",
|
||||||
url:"<?php echo base_url();?>GetAll_country_master",
|
url:"<?php echo base_url();?>Get_country_master",
|
||||||
success:function(data) {
|
success:function(data) {
|
||||||
//alert(data);
|
|
||||||
|
|
||||||
$.each(JSON.parse(data), function (i, item) {
|
$.each(JSON.parse(data), function (i, item) {
|
||||||
|
|
||||||
$('#hidecountrycode').val(item.CountryCode);
|
$('#hidecountrycode').val(item.CountryCode);
|
||||||
$('#countryname').val(item.CountryName);
|
$('#EditCountryName').val(item.CountryName);
|
||||||
$('#capitalcity').val(item.CapitalCity);
|
$('#EditCapitalCity').val(item.CapitalCity);
|
||||||
//$('#editor1').val(item.CountryDescription);
|
|
||||||
var editordata = item.CountryDescription
|
var editordata = item.CountryDescription
|
||||||
CKEDITOR.instances['editor1'].setData(editordata);
|
CKEDITOR.instances['EditEditor'].setData(editordata);
|
||||||
if(item.IsActive == 0){
|
if(item.IsActive == 0){
|
||||||
|
|
||||||
$('.icheckbox_flat-green').attr("aria-checked", false);
|
$('.icheckbox_flat-green').attr("aria-checked", false);
|
||||||
@ -395,6 +477,8 @@ span:nth-child(3) .slide-up:active {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -27,7 +27,6 @@
|
|||||||
}
|
}
|
||||||
.slide-up + label {
|
.slide-up + label {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 400;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
transform: translateX(0);
|
transform: translateX(0);
|
||||||
@ -101,6 +100,27 @@ span:nth-child(3) .slide-up:active {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.btn-success.focus, .btn-success:focus{
|
||||||
|
background-color: #dd2366;
|
||||||
|
border-color: #dd2366;
|
||||||
|
box-shadow:0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4);
|
||||||
|
}
|
||||||
|
.btn-success:hover, .btn-success:active, .btn-success.hover {
|
||||||
|
background-color: rgba(219, 34, 101, 0.64);
|
||||||
|
border-color: #dd2366;
|
||||||
|
box-shadow:0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4);
|
||||||
|
}
|
||||||
|
.btn-success {
|
||||||
|
background-color: #dd2366;
|
||||||
|
border-color: #dd2366;
|
||||||
|
box-shadow:0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.btn-primary:hover, .btn-primary:active, .btn-primary.hover{
|
.btn-primary:hover, .btn-primary:active, .btn-primary.hover{
|
||||||
background-color: #087322;
|
background-color: #087322;
|
||||||
}
|
}
|
||||||
@ -185,6 +205,7 @@ span:nth-child(3) .slide-up:active {
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
<!-- Content Wrapper. Contains page content -->
|
<!-- Content Wrapper. Contains page content -->
|
||||||
<div class="content-wrapper" style="background-color: #eee;">
|
<div class="content-wrapper" style="background-color: #eee;">
|
||||||
<!-- Content Header (Page header) -->
|
<!-- Content Header (Page header) -->
|
||||||
@ -201,19 +222,15 @@ span:nth-child(3) .slide-up:active {
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<h3 class="box-title-box"><i class="fa fa-file" style="padding-right:5px;"></i>Document Master</h3>
|
<h3 class="box-title-box"><i class="fa fa-file" style="padding-right:5px;"></i>Document Master</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-offset-9 col-md-3">
|
||||||
<!-- Custom Tabs -->
|
<button type="button" class="btn btn-block btn-success btn-sm" data-toggle="modal" data-target="#AddDocument">Add Document</button>
|
||||||
<div class="nav-tabs-custom">
|
</div>
|
||||||
<ul class="nav nav-tabs">
|
</div>
|
||||||
<li class="active" id="ViewDocumentli"><a href="#ViewDocumentTab" data-toggle="tab">View Document</a></li>
|
<br>
|
||||||
<li id="AddEditDocumentli"><a href="#AddEditDocumentTab" data-toggle="tab">Add/Edit Document</a></li>
|
<div class="row">
|
||||||
</ul>
|
<div class="col-md-12">
|
||||||
<div class="tab-content">
|
<table id="example2" class="table table-bordered table-hover">
|
||||||
<div class="tab-pane active" id="ViewDocumentTab">
|
|
||||||
<h3 style="text-align:center;">View Document</h3>
|
|
||||||
<table id="example2" class="table table-bordered table-hover">
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>S.no</th>
|
<th>S.no</th>
|
||||||
@ -244,63 +261,123 @@ span:nth-child(3) .slide-up:active {
|
|||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- /.modal starts-->
|
||||||
|
<div class="modal fade" id="AddDocument">
|
||||||
|
<div class="modal-dialog" style="top: 40px;width: 70%;">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span></button>
|
||||||
|
<h4 class="modal-title box-title-box">Add Document</h4>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.tab-pane -->
|
|
||||||
<div class="tab-pane" id="AddEditDocumentTab">
|
|
||||||
<h3 style="text-align:center;">Add/Edit Document</h3>
|
|
||||||
<!-- form start -->
|
<!-- form start -->
|
||||||
<form role="form" action="<?php echo base_url() ?>SaveAll_document_master" method="post" style="padding:40px;" enctype="multipart/form-data">
|
<form role="form" action="<?php echo base_url() ?>Add_document_master" method="post" style="padding:40px;" enctype="multipart/form-data">
|
||||||
<div class="row">
|
|
||||||
|
<div class="modal-body">
|
||||||
|
<div class="row">
|
||||||
<div class="col-md-5 designinput">
|
<div class="col-md-5 designinput">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input class="slide-up" id="documentname" name="DocumentName" type="text" placeholder="Enter Document name" /><label for="card">Document Name</label>
|
<input class="slide-up" id="DocumentName" name="DocumentName" type="text" placeholder="Enter Document name" /><label for="Document Name">Document Name</label>
|
||||||
|
|
||||||
<!--<label for="exampleInputcountryname">Country Name</label>
|
|
||||||
<input type="text" class="form-control" id="exampleInputcountryname" placeholder="Enter country">-->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="DocumentFile">Document Upload</label>
|
<label for="DocumentFile">Document Upload</label>
|
||||||
|
<input type="file" id="DocumentFile" name="DocumentFile" accept=".JPG,.PNG,.PDF" />
|
||||||
<input type="file" id="documentfile" name="DocumentFile" accept=".JPG,.PNG,.PDF" />
|
|
||||||
|
|
||||||
<!--<label for="exampleInputcountryname">Country Name</label>
|
|
||||||
<input type="text" class="form-control" id="exampleInputcountryname" placeholder="Enter country">-->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<label for="Description">Description</label>
|
<label for="Description">Description</label>
|
||||||
<textarea class="form-control" rows="3" name="Description" id="docdescription" placeholder="Enter ..." data-gramm="true" data-txt_gramm_id="d620fc04-2898-2668-7729-ac0c777081d4" data-gramm_id="d620fc04-2898-2668-7729-ac0c777081d4" spellcheck="false" data-gramm_editor="true" style="z-index: auto; position: relative; line-height: 20px; font-size: 14px; transition: none; background: transparent !important;"></textarea>
|
<textarea class="form-control" rows="3" id="Description" name="Description" placeholder="Enter ..." data-gramm="true" data-txt_gramm_id="d620fc04-2898-2668-7729-ac0c777081d4" data-gramm_id="d620fc04-2898-2668-7729-ac0c777081d4" spellcheck="false" data-gramm_editor="true" style="z-index: auto; position: relative; line-height: 20px; font-size: 14px; transition: none; background: transparent !important;"></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row" style="padding-top:15px;">
|
<div class="row" style="padding-top:15px;">
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Active/Deactive
|
<label>Active/Deactive
|
||||||
<input type="checkbox" class="flat-red" name="IsActive" id="isactive" checked>
|
<input type="checkbox" class="flat-red" name="IsActive" id="IsActive" checked>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<input id="hidedocumentcode" name="HideDocumentCode" type="hidden" readonly />
|
</div>
|
||||||
<input id="hidedocument" name="HideDocument" type="hidden" readonly />
|
</div>
|
||||||
<div class="col-md-offset-6 col-md-4">
|
<div class="modal-footer">
|
||||||
<button type="submit" class="btn btn-primary">Submit</button>
|
<button type="submit" class="btn btn-primary">Submit</button>
|
||||||
<div class="or-button">Or</div>
|
<div class="or-button">Or</div>
|
||||||
<button type="reset" class="btn btn-primary12">Reset</button>
|
<button type="reset" class="btn btn-primary12">Reset</button>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
<!-- form End -->
|
||||||
<!-- /.tab-pane -->
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.tab-content -->
|
<!-- /.modal-content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- nav-tabs-custom -->
|
<!-- /.modal-dialog -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.col -->
|
<!-- /.modal -->
|
||||||
|
<!-- /.modal starts-->
|
||||||
|
<div class="modal fade" id="EditDocument">
|
||||||
|
<div class="modal-dialog" style="top: 40px;width: 70%;">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span></button>
|
||||||
|
<h4 class="modal-title box-title-box">Edit Document</h4>
|
||||||
|
</div>
|
||||||
|
<!-- form start -->
|
||||||
|
<form role="form" action="<?php echo base_url() ?>Update_document_master" method="post" style="padding:40px;" enctype="multipart/form-data">
|
||||||
|
|
||||||
|
<div class="modal-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-5 designinput">
|
||||||
|
<div class="form-group">
|
||||||
|
<input class="slide-up" id="EditDocumentName" name="EditDocumentName" type="text" placeholder="Enter Document Name" /><label for="Document Name">Document Name</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-5">
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="DocumentFile">Document Upload</label>
|
||||||
|
<input type="file" id="EditDocumentFile" name="DocumentFile" accept=".JPG,.PNG,.PDF" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<label for="Description">Description</label>
|
||||||
|
<textarea class="form-control" rows="3" id="EditDescription" name="EditDescription" placeholder="Enter ..." data-gramm="true" data-txt_gramm_id="d620fc04-2898-2668-7729-ac0c777081d4" data-gramm_id="d620fc04-2898-2668-7729-ac0c777081d4" spellcheck="false" data-gramm_editor="true" style="z-index: auto; position: relative; line-height: 20px; font-size: 14px; transition: none; background: transparent !important;"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="padding-top:15px;">
|
||||||
|
<div class="col-md-2">
|
||||||
|
<div class="form-group">
|
||||||
|
<label>Active/Deactive
|
||||||
|
<input type="checkbox" class="flat-red" name="EditIsActive" id="EditIsActive" checked>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<input id="hidedocumentcode" name="HideDocumentCode" type="hidden" readonly />
|
||||||
|
<input id="hidedocument" name="HideDocument" type="hidden" readonly />
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="submit" class="btn btn-primary">Submit</button>
|
||||||
|
<div class="or-button">Or</div>
|
||||||
|
<button type="reset" class="btn btn-primary12">Reset</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<!-- form End -->
|
||||||
|
</div>
|
||||||
|
<!-- /.modal-content -->
|
||||||
|
</div>
|
||||||
|
<!-- /.modal-dialog -->
|
||||||
|
</div>
|
||||||
|
<!-- /.modal -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.box-body -->
|
<!-- /.box-body -->
|
||||||
@ -316,9 +393,8 @@ span:nth-child(3) .slide-up:active {
|
|||||||
</div>
|
</div>
|
||||||
<!-- /.content-wrapper -->
|
<!-- /.content-wrapper -->
|
||||||
|
|
||||||
<!-- jQuery 3 -->
|
<!-- jQuery 3 -->
|
||||||
<script src="<?php echo base_url(); ?>assets/bower_components/jquery/dist/jquery.min.js"></script>
|
<script src="<?php echo base_url(); ?>assets/bower_components/jquery/dist/jquery.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
$('#example1').DataTable()
|
$('#example1').DataTable()
|
||||||
@ -336,10 +412,13 @@ span:nth-child(3) .slide-up:active {
|
|||||||
radioClass : 'iradio_flat-green'
|
radioClass : 'iradio_flat-green'
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
function ToEditDocumentDetails(arg){
|
|
||||||
|
|
||||||
$('#ViewDocumentli,#ViewDocumentTab').removeClass("active");
|
</script>
|
||||||
$('#AddEditDocumentli,#AddEditDocumentTab').addClass("active");
|
|
||||||
|
<script>
|
||||||
|
function ToEditDocumentDetails(arg){
|
||||||
|
|
||||||
|
$('#EditDocument').modal('show');
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
data:{arg:arg},
|
data:{arg:arg},
|
||||||
@ -351,8 +430,8 @@ span:nth-child(3) .slide-up:active {
|
|||||||
$.each(JSON.parse(data), function (i, item) {
|
$.each(JSON.parse(data), function (i, item) {
|
||||||
|
|
||||||
$('#hidedocumentcode').val(item.DocumentCode);
|
$('#hidedocumentcode').val(item.DocumentCode);
|
||||||
$('#documentname').val(item.DocumentName);
|
$('#EditDocumentName').val(item.DocumentName);
|
||||||
$('#docdescription').val(item.DocumentDescription);
|
$('#EditDescription').val(item.DocumentDescription);
|
||||||
|
|
||||||
|
|
||||||
if(item.IsActive == 0){
|
if(item.IsActive == 0){
|
||||||
@ -367,9 +446,10 @@ span:nth-child(3) .slide-up:active {
|
|||||||
|
|
||||||
}
|
}
|
||||||
$('#hidedocument').val(item.Document);
|
$('#hidedocument').val(item.Document);
|
||||||
$('#documentfile').val(item.Document);
|
$('#EditDocumentFile').val(item.Document);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
@ -64,7 +64,7 @@
|
|||||||
<!-- Google Font -->
|
<!-- Google Font -->
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
|
||||||
</head>
|
</head>
|
||||||
<body class="hold-transition login-page" style="background-image: url(assets/dist/img/loginbg.jpg);
|
<body class="hold-transition login-page" style="background-image: url(assets/dist/img/loginbgimg.jpg);
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: top center;margin-top:150px;">
|
background-position: top center;margin-top:150px;">
|
||||||
<div class="login-box">
|
<div class="login-box">
|
||||||
|
|||||||
0
application/views/profile.php
Normal file → Executable file
0
application/views/profile.php
Normal file → Executable file
@ -62,7 +62,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body class="hold-transition login-page" style="background-image: url(assets/dist/img/loginbg.jpg);
|
<body class="hold-transition login-page" style="background-image: url(assets/dist/img/registerbgimg.jpg);
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: top center;margin-top:150px;">
|
background-position: top center;margin-top:150px;">
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
.designinput {
|
.designinput {
|
||||||
@ -26,7 +27,6 @@
|
|||||||
}
|
}
|
||||||
.slide-up + label {
|
.slide-up + label {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 400;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
transform: translateX(0);
|
transform: translateX(0);
|
||||||
@ -104,7 +104,21 @@ span:nth-child(3) .slide-up:active {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.btn-success.focus, .btn-success:focus{
|
||||||
|
background-color: #dd2366;
|
||||||
|
border-color: #dd2366;
|
||||||
|
box-shadow:0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4);
|
||||||
|
}
|
||||||
|
.btn-success:hover, .btn-success:active, .btn-success.hover {
|
||||||
|
background-color: rgba(219, 34, 101, 0.64);
|
||||||
|
border-color: #dd2366;
|
||||||
|
box-shadow:0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4);
|
||||||
|
}
|
||||||
|
.btn-success {
|
||||||
|
background-color: #dd2366;
|
||||||
|
border-color: #dd2366;
|
||||||
|
box-shadow:0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.btn-primary:hover, .btn-primary:active, .btn-primary.hover{
|
.btn-primary:hover, .btn-primary:active, .btn-primary.hover{
|
||||||
@ -191,6 +205,7 @@ span:nth-child(3) .slide-up:active {
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
<!-- Content Wrapper. Contains page content -->
|
<!-- Content Wrapper. Contains page content -->
|
||||||
<div class="content-wrapper" style="background-color: #eee;">
|
<div class="content-wrapper" style="background-color: #eee;">
|
||||||
<!-- Content Header (Page header) -->
|
<!-- Content Header (Page header) -->
|
||||||
@ -208,17 +223,14 @@ span:nth-child(3) .slide-up:active {
|
|||||||
<h3 class="box-title-box"><i class="fa fa-cc-visa" style="padding-right:5px;"></i>Visa Type Master</h3>
|
<h3 class="box-title-box"><i class="fa fa-cc-visa" style="padding-right:5px;"></i>Visa Type Master</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-offset-9 col-md-3">
|
||||||
<!-- Custom Tabs -->
|
<button type="button" class="btn btn-block btn-success btn-sm" data-toggle="modal" data-target="#AddVisa">Add Visa</button>
|
||||||
<div class="nav-tabs-custom">
|
</div>
|
||||||
<ul class="nav nav-tabs">
|
</div>
|
||||||
<li class="active" id="ViewVisali"><a href="#ViewVisaTab" data-toggle="tab" >View Visa Type</a></li>
|
<br>
|
||||||
<li id="AddEditVisali"><a href="#AddEditVisaTab" data-toggle="tab" >Add/Edit Visa Type</a></li>
|
<div class="row">
|
||||||
</ul>
|
<div class="col-md-12">
|
||||||
<div class="tab-content">
|
<table id="example2" class="table table-bordered table-hover">
|
||||||
<div class="tab-pane active" id="ViewVisaTab">
|
|
||||||
<h3 style="text-align:center;">View Visa Type</h3>
|
|
||||||
<table id="example2" class="table table-bordered table-hover">
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>S.no</th>
|
<th>S.no</th>
|
||||||
@ -249,53 +261,111 @@ span:nth-child(3) .slide-up:active {
|
|||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- /.modal starts-->
|
||||||
|
<div class="modal fade" id="AddVisa">
|
||||||
|
<div class="modal-dialog" style="top: 40px;width: 70%;">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span></button>
|
||||||
|
<h4 class="modal-title box-title-box">Add Visa</h4>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.tab-pane -->
|
<!-- form start -->
|
||||||
<div class="tab-pane" id="AddEditVisaTab">
|
<form role="form" action="<?php echo base_url() ?>Add_visa_type_master" method="post" style="padding:40px;">
|
||||||
<h3 style="text-align:center;">Add/Edit Visa Type</h3>
|
|
||||||
<!-- form start -->
|
<div class="modal-body">
|
||||||
<form role="form" action="<?php echo base_url() ?>SaveAll_visa_type_master" method="post" style="padding:40px;">
|
<div class="row">
|
||||||
|
<div class="col-md-5 designinput">
|
||||||
|
<div class="form-group">
|
||||||
|
<input class="slide-up" id="VisaName" name="VisaName" type="text" placeholder="Enter visa name" /><label for="Visa Name">Visa Name</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<label for="Description">Description</label>
|
||||||
|
<textarea class="form-control" rows="3" id="VisaDescription" name="VisaDescription" placeholder="Enter ..." data-gramm="true" data-txt_gramm_id="d620fc04-2898-2668-7729-ac0c777081d4" data-gramm_id="d620fc04-2898-2668-7729-ac0c777081d4" spellcheck="false" data-gramm_editor="true" style="z-index: auto; position: relative; line-height: 20px; font-size: 14px; transition: none; background: transparent !important;"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="padding-top:15px;">
|
||||||
|
<div class="col-md-2">
|
||||||
|
<div class="form-group">
|
||||||
|
<label>Active/Deactive
|
||||||
|
<input type="checkbox" class="flat-red" name="IsActive" id="IsActive" checked>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="submit" class="btn btn-primary">Submit</button>
|
||||||
|
<div class="or-button">Or</div>
|
||||||
|
<button type="reset" class="btn btn-primary12">Reset</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<!-- form End -->
|
||||||
|
</div>
|
||||||
|
<!-- /.modal-content -->
|
||||||
|
</div>
|
||||||
|
<!-- /.modal-dialog -->
|
||||||
|
</div>
|
||||||
|
<!-- /.modal -->
|
||||||
|
<!-- /.modal starts-->
|
||||||
|
<div class="modal fade" id="EditVisa">
|
||||||
|
<div class="modal-dialog" style="top: 40px;width: 70%;">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span></button>
|
||||||
|
<h4 class="modal-title box-title-box">Edit Visa</h4>
|
||||||
|
</div>
|
||||||
|
<!-- form start -->
|
||||||
|
<form role="form" action="<?php echo base_url() ?>Update_visa_type_master" method="post" style="padding:40px;">
|
||||||
|
|
||||||
|
<div class="modal-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-5 designinput">
|
<div class="col-md-5 designinput">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input class="slide-up" id="visaname" name="VisaName" type="text" placeholder="Enter visa name" /><label for="card">Visa Name</label>
|
<input class="slide-up" id="EditVisaName" name="EditVisaName" type="text" placeholder="Enter Visa name" /><label for="Visa Name">Visa Name</label>
|
||||||
|
|
||||||
<!--<label for="exampleInputcountryname">Country Name</label>
|
|
||||||
<input type="text" class="form-control" id="exampleInputcountryname" placeholder="Enter country">-->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<label for="Description">Description</label>
|
<label for="Description">Description</label>
|
||||||
<textarea class="form-control" rows="3" id="visadescription" name="VisaDescription" placeholder="Enter ..." data-gramm="true" data-txt_gramm_id="d620fc04-2898-2668-7729-ac0c777081d4" data-gramm_id="d620fc04-2898-2668-7729-ac0c777081d4" spellcheck="false" data-gramm_editor="true" style="z-index: auto; position: relative; line-height: 20px; font-size: 14px; transition: none; background: transparent !important;"></textarea>
|
<textarea class="form-control" rows="3" id="EditVisaDescription" name="EditVisaDescription" placeholder="Enter ..." data-gramm="true" data-txt_gramm_id="d620fc04-2898-2668-7729-ac0c777081d4" data-gramm_id="d620fc04-2898-2668-7729-ac0c777081d4" spellcheck="false" data-gramm_editor="true" style="z-index: auto; position: relative; line-height: 20px; font-size: 14px; transition: none; background: transparent !important;"></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row" style="padding-top:15px;">
|
<div class="row" style="padding-top:15px;">
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Active/Deactive
|
<label>Active/Deactive
|
||||||
<input type="checkbox" class="flat-red" id="isactive" name="IsActive" checked>
|
<input type="checkbox" class="flat-red" name="EditIsActive" id="EditIsActive" checked>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<input id="hidevisacode" name="HideVisaCode" type="hidden" readonly />
|
</div>
|
||||||
<div class="col-md-offset-6 col-md-4">
|
</div>
|
||||||
<button type="submit" class="btn btn-primary">Submit</button>
|
|
||||||
|
<input id="hidevisacode" name="HideVisaCode" type="hidden" readonly/>
|
||||||
|
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="submit" class="btn btn-primary">Submit</button>
|
||||||
<div class="or-button">Or</div>
|
<div class="or-button">Or</div>
|
||||||
<button type="reset" class="btn btn-primary12">Reset</button>
|
<button type="reset" class="btn btn-primary12">Reset</button>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
<!-- form End -->
|
||||||
<!-- /.tab-pane -->
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.tab-content -->
|
<!-- /.modal-content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- nav-tabs-custom -->
|
<!-- /.modal-dialog -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.col -->
|
<!-- /.modal -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.box-body -->
|
<!-- /.box-body -->
|
||||||
@ -310,8 +380,9 @@ span:nth-child(3) .slide-up:active {
|
|||||||
<!-- /.content -->
|
<!-- /.content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.content-wrapper -->
|
<!-- /.content-wrapper -->
|
||||||
<script src="<?php echo base_url(); ?>assets/bower_components/jquery/dist/jquery.min.js"></script>
|
|
||||||
|
|
||||||
|
<!-- jQuery 3 -->
|
||||||
|
<script src="<?php echo base_url(); ?>assets/bower_components/jquery/dist/jquery.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
$('#example1').DataTable()
|
$('#example1').DataTable()
|
||||||
@ -330,10 +401,12 @@ span:nth-child(3) .slide-up:active {
|
|||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script>
|
||||||
function ToEditVisaType(arg){
|
function ToEditVisaType(arg){
|
||||||
|
|
||||||
$('#ViewVisali,#ViewVisaTab').removeClass("active");
|
$('#EditVisa').modal('show');
|
||||||
$('#AddEditVisali,#AddEditVisaTab').addClass("active");
|
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
data:{arg:arg},
|
data:{arg:arg},
|
||||||
@ -345,9 +418,8 @@ span:nth-child(3) .slide-up:active {
|
|||||||
$.each(JSON.parse(data), function (i, item) {
|
$.each(JSON.parse(data), function (i, item) {
|
||||||
|
|
||||||
$('#hidevisacode').val(item.VisaCode);
|
$('#hidevisacode').val(item.VisaCode);
|
||||||
$('#visaname').val(item.VisaName);
|
$('#EditVisaName').val(item.VisaName);
|
||||||
$('#visadescription').val(item.VisaDescription);
|
$('#EditVisaDescription').val(item.VisaDescription);
|
||||||
|
|
||||||
if(item.IsActive == 0){
|
if(item.IsActive == 0){
|
||||||
|
|
||||||
$('.icheckbox_flat-green').attr("aria-checked", false);
|
$('.icheckbox_flat-green').attr("aria-checked", false);
|
||||||
|
|||||||
2
assets/dist/css/AdminLTE.min.css
vendored
2
assets/dist/css/AdminLTE.min.css
vendored
File diff suppressed because one or more lines are too long
BIN
assets/dist/img/Uploads/docerror.png
vendored
Normal file
BIN
assets/dist/img/Uploads/docerror.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 186 KiB |
BIN
assets/dist/img/Uploads/icon-online-training-128.png
vendored
Normal file
BIN
assets/dist/img/Uploads/icon-online-training-128.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
BIN
assets/dist/img/Uploads/imageedit_1_3095006469.png
vendored
Normal file
BIN
assets/dist/img/Uploads/imageedit_1_3095006469.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
BIN
assets/dist/img/Uploads/w3validator.png
vendored
Normal file
BIN
assets/dist/img/Uploads/w3validator.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 258 KiB |
BIN
assets/dist/img/loginbgimg.jpg
vendored
Normal file
BIN
assets/dist/img/loginbgimg.jpg
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.8 MiB |
BIN
assets/dist/img/registerbgimg.jpg
vendored
Normal file
BIN
assets/dist/img/registerbgimg.jpg
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 542 KiB |
Loading…
Reference in New Issue
Block a user