????

Your IP : 18.220.110.45


Current Path : /home2/morganrand/backup.morganrand.com/centerpiece_party_favor_designer/cp/
Upload File :
Current File : /home2/morganrand/backup.morganrand.com/centerpiece_party_favor_designer/cp/demo.sql

-- phpMyAdmin SQL Dump
-- version 4.0.4
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Dec 15, 2015 at 06:31 PM
-- Server version: 5.6.12-log
-- PHP Version: 5.4.16

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 utf8 */;

--
-- Database: `demo`
--
CREATE DATABASE IF NOT EXISTS `demo` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `demo`;

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

--
-- Table structure for table `admin`
--

CREATE TABLE IF NOT EXISTS `admin` (
  `admin_id` int(11) NOT NULL AUTO_INCREMENT,
  `first_name` varchar(100) NOT NULL,
  `last_name` varchar(100) NOT NULL,
  `email` varchar(100) NOT NULL,
  `username` varchar(200) NOT NULL,
  `password` varchar(100) NOT NULL,
  `last_login` datetime NOT NULL,
  `on_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_active` varchar(1) NOT NULL DEFAULT 'y',
  `is_del` varchar(1) NOT NULL DEFAULT 'n',
  PRIMARY KEY (`admin_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `admin`
--

INSERT INTO `admin` (`admin_id`, `first_name`, `last_name`, `email`, `username`, `password`, `last_login`, `on_created`, `is_active`, `is_del`) VALUES
(1, 'Akash', 'Italiya', 'iskybhai@gmail.com', 'admin', '202cb962ac59075b964b07152d234b70', '2015-12-15 04:09:09', '2015-12-02 15:23:59', 'y', 'n');

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

--
-- Table structure for table `city`
--

CREATE TABLE IF NOT EXISTS `city` (
  `city_id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(200) NOT NULL,
  `country_id` int(11) NOT NULL,
  PRIMARY KEY (`city_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;

--
-- Dumping data for table `city`
--

INSERT INTO `city` (`city_id`, `name`, `country_id`) VALUES
(1, 'Surat', 1),
(2, 'Mumbai', 1),
(3, 'Baroda', 1),
(4, 'Karachi', 2),
(5, 'Alhabad', 2),
(6, 'Muzzafar', 2);

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

--
-- Table structure for table `comment`
--

CREATE TABLE IF NOT EXISTS `comment` (
  `cmnt_id` int(11) NOT NULL AUTO_INCREMENT,
  `cmnt_text` text NOT NULL,
  `on_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `c_id` int(11) NOT NULL,
  PRIMARY KEY (`cmnt_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=21 ;

--
-- Dumping data for table `comment`
--

INSERT INTO `comment` (`cmnt_id`, `cmnt_text`, `on_created`, `c_id`) VALUES
(18, 'it is my first comment......', '2015-12-10 17:03:55', 8),
(20, 'sdadadasdasd', '2015-12-12 10:37:19', 8);

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

--
-- Table structure for table `contact_detail`
--

CREATE TABLE IF NOT EXISTS `contact_detail` (
  `c_id` int(11) NOT NULL AUTO_INCREMENT,
  `reg_no` varchar(200) NOT NULL,
  `first_name` varchar(100) NOT NULL,
  `last_name` varchar(100) NOT NULL,
  `gender` varchar(10) NOT NULL,
  `age` varchar(10) NOT NULL,
  `height` varchar(10) NOT NULL,
  `weight` varchar(10) NOT NULL,
  `email1` varchar(200) NOT NULL,
  `email2` varchar(200) NOT NULL,
  `mob1` varchar(15) NOT NULL,
  `isd1` varchar(15) NOT NULL,
  `chat1` text NOT NULL,
  `mob2` varchar(15) NOT NULL,
  `isd2` varchar(15) NOT NULL,
  `chat2` text NOT NULL,
  `username` varchar(200) NOT NULL,
  `password` varchar(100) NOT NULL,
  `add` varchar(512) NOT NULL,
  `city` varchar(25) NOT NULL,
  `country` varchar(25) NOT NULL,
  `zip` int(11) NOT NULL,
  `linkedin` varchar(250) NOT NULL,
  `facebook` varchar(250) NOT NULL,
  `job` varchar(250) NOT NULL,
  `org` varchar(250) NOT NULL,
  `birthday` date NOT NULL,
  `anniversary` date NOT NULL,
  `ref_by` varchar(250) NOT NULL,
  `rec_manager` varchar(250) NOT NULL,
  `last_result` varchar(250) NOT NULL,
  `last_login` datetime NOT NULL,
  `on_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_active` varchar(1) NOT NULL DEFAULT 'y',
  `is_del` varchar(1) NOT NULL DEFAULT 'n',
  PRIMARY KEY (`c_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ;

--
-- Dumping data for table `contact_detail`
--

INSERT INTO `contact_detail` (`c_id`, `reg_no`, `first_name`, `last_name`, `gender`, `age`, `height`, `weight`, `email1`, `email2`, `mob1`, `isd1`, `chat1`, `mob2`, `isd2`, `chat2`, `username`, `password`, `add`, `city`, `country`, `zip`, `linkedin`, `facebook`, `job`, `org`, `birthday`, `anniversary`, `ref_by`, `rec_manager`, `last_result`, `last_login`, `on_created`, `is_active`, `is_del`) VALUES
(8, 'rg-8-2015', 'user', 'one', 'male', '26', '160', '74', 'user@one.com', 'asd2@F.com', '1112221122', '1', 'whatsApp,Hike', '121212121212', '1', 'whatsApp,Hike', 'userone', '202cb962ac59075b964b07152d234b70', 'add sdfsd sdfsd', 'Surat', 'USA', 32432, 'https://linkedin.com', 'https://facebook.com', 'Web Developer', 'Gocodex', '1989-10-18', '2015-09-30', 'ref_1', 'rec_manager_1', 'last_result_1', '2015-12-15 06:24:22', '2015-12-04 22:28:35', 'y', 'n'),
(9, 'rg-9-2015', 'jaydip', 'patel', '', '', '', '', 'jaydipbadodariya@gmail.com', '', '', '', '', '', '', '', 'jaydipbadodariya3jD', '827ccb0eea8a706c4c34a16891f84e7b', '', '', '', 0, '', '', '', '', '0000-00-00', '0000-00-00', '', '', '', '2015-12-11 12:01:41', '2015-12-10 16:46:52', 'y', 'n'),
(10, 'rg-10-2015', 'staff1', 'test', '', '', '', '', 'test@gmail.com', '', '', '', '', '', '', '', 'testYMV', '827ccb0eea8a706c4c34a16891f84e7b', '', '', '', 0, '', '', '', '', '0000-00-00', '0000-00-00', '', '', '', '0000-00-00 00:00:00', '2015-12-15 11:03:07', 'y', 'n');

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

--
-- Table structure for table `country`
--

CREATE TABLE IF NOT EXISTS `country` (
  `country_id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(200) NOT NULL,
  `isd` int(11) NOT NULL,
  PRIMARY KEY (`country_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `country`
--

INSERT INTO `country` (`country_id`, `name`, `isd`) VALUES
(1, 'India', 91),
(2, 'Pakistan', 92),
(3, 'USA', 1);

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

--
-- Table structure for table `email_template`
--

CREATE TABLE IF NOT EXISTS `email_template` (
  `template_id` int(11) NOT NULL AUTO_INCREMENT,
  `email_name` varchar(500) NOT NULL,
  `email_subject` varchar(500) NOT NULL,
  `email_body` text NOT NULL,
  `on_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_active` varchar(1) NOT NULL DEFAULT 'y',
  `is_del` varchar(1) NOT NULL DEFAULT 'n',
  PRIMARY KEY (`template_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `email_template`
--

INSERT INTO `email_template` (`template_id`, `email_name`, `email_subject`, `email_body`, `on_created`, `is_active`, `is_del`) VALUES
(1, 'test1', 'test subject', 'email text', '2015-12-14 12:31:47', 'y', 'n'),
(2, 'test2', 'test subject2', 'test body 2 test body 2 test body 2 test body 2 test body 2', '2015-12-14 12:32:39', 'y', 'y'),
(3, 'Passport enquiry', 'Please Fill up passport details', 'Please fill up passport details in your profile so we can send you flight details.\r\n\r\nThanks.', '2015-12-15 05:46:43', 'y', 'n');

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

--
-- Table structure for table `enquiry`
--

CREATE TABLE IF NOT EXISTS `enquiry` (
  `enq_id` int(11) NOT NULL AUTO_INCREMENT,
  `c_id` int(11) NOT NULL,
  `template_id` int(11) NOT NULL,
  `procedure` varchar(200) NOT NULL,
  `que` text NOT NULL,
  `enq_date` datetime NOT NULL,
  `enq_tag` text NOT NULL,
  `speciality` varchar(200) NOT NULL,
  `on_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_active` int(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`enq_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `enquiry`
--

INSERT INTO `enquiry` (`enq_id`, `c_id`, `template_id`, `procedure`, `que`, `enq_date`, `enq_tag`, `speciality`, `on_created`, `is_active`) VALUES
(3, 8, 3, 'operation', 'it is my first question', '2015-11-30 00:00:00', 'not defined', 'Dr. Paresh Patel', '2015-12-15 10:31:15', 0),
(4, 8, 0, 'surgery', 'another another 1212 1314', '2015-11-28 11:58:59', 'not yet 1212 1314', 'Dr. Rathod', '2015-12-15 10:10:02', 0);

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

--
-- Table structure for table `faq_contact`
--

CREATE TABLE IF NOT EXISTS `faq_contact` (
  `f_id` int(11) NOT NULL AUTO_INCREMENT,
  `contact_id` int(11) NOT NULL,
  `faq_master_id` int(11) NOT NULL,
  `answer` text NOT NULL,
  `on_created` varchar(50) NOT NULL,
  PRIMARY KEY (`f_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `faq_contact`
--

INSERT INTO `faq_contact` (`f_id`, `contact_id`, `faq_master_id`, `answer`, `on_created`) VALUES
(1, 8, 3, 'aaaaaaaaaaaa', '2015-12-12 11:56:25'),
(3, 8, 1, 'dddddddddddddddddddddddddddddd', '2015-12-12 12:12:02');

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

--
-- Table structure for table `faq_master`
--

CREATE TABLE IF NOT EXISTS `faq_master` (
  `fm_id` int(11) NOT NULL AUTO_INCREMENT,
  `question` text NOT NULL,
  `on_created` varchar(50) NOT NULL,
  `is_active` char(1) NOT NULL DEFAULT 'y',
  `is_del` char(1) NOT NULL DEFAULT 'n',
  PRIMARY KEY (`fm_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `faq_master`
--

INSERT INTO `faq_master` (`fm_id`, `question`, `on_created`, `is_active`, `is_del`) VALUES
(1, 'first faq list', '2015-12-12 08:06:05', 'y', 'n'),
(2, 'second faq asdasdasda', '2015-12-12 08:06:05', 'y', 'y'),
(3, 'asdasdasdasda', '2015-12-12 08:07:34', 'y', 'n');

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

--
-- Table structure for table `procedure_detail`
--

CREATE TABLE IF NOT EXISTS `procedure_detail` (
  `procedure_id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(250) NOT NULL,
  `days` int(11) NOT NULL,
  `speciality_id` int(11) NOT NULL,
  PRIMARY KEY (`procedure_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;

--
-- Dumping data for table `procedure_detail`
--

INSERT INTO `procedure_detail` (`procedure_id`, `name`, `days`, `speciality_id`) VALUES
(1, 'operation', 2, 1),
(2, 'surgery', 3, 1),
(5, 'Killer Theme Options 12121', 3, 2),
(6, 'new procedure', 32, 1);

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

--
-- Table structure for table `speciality`
--

CREATE TABLE IF NOT EXISTS `speciality` (
  `speciality_id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(250) NOT NULL,
  PRIMARY KEY (`speciality_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `speciality`
--

INSERT INTO `speciality` (`speciality_id`, `name`) VALUES
(1, 'Dr. Paresh Patel'),
(2, 'Dr. Rathod');

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

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

CREATE TABLE IF NOT EXISTS `staff` (
  `staff_id` int(11) NOT NULL AUTO_INCREMENT,
  `first_name` varchar(100) NOT NULL,
  `last_name` varchar(100) NOT NULL,
  `email` varchar(100) NOT NULL,
  `username` varchar(200) NOT NULL,
  `password` varchar(100) NOT NULL,
  `last_login` datetime NOT NULL,
  `on_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `is_active` varchar(1) NOT NULL DEFAULT 'y',
  `is_del` varchar(1) NOT NULL DEFAULT 'n',
  PRIMARY KEY (`staff_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

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

INSERT INTO `staff` (`staff_id`, `first_name`, `last_name`, `email`, `username`, `password`, `last_login`, `on_created`, `is_active`, `is_del`) VALUES
(1, 'staff12', 'test', 'teststaff@gmail.com', 'staff', '202cb962ac59075b964b07152d234b70', '2015-12-15 06:25:07', '2015-12-15 11:09:10', 'y', 'n'),
(2, 'test', 'test12', 'test12@gmail.com', 'test12SbY', '827ccb0eea8a706c4c34a16891f84e7b', '2015-12-15 12:17:56', '2015-12-15 11:15:34', 'y', 'n'),
(3, 'test13', 'test', 'test13@gmail.com', 'test13slp', '827ccb0eea8a706c4c34a16891f84e7b', '2015-12-15 01:01:50', '2015-12-15 11:22:20', 'n', 'n'),
(4, 'mayur', 'kalathiya', 'mayurkalathiya1212@gmail.com', 'mayurkalathiya1212usW', '7c4f121343fafb211b980337ce70af22', '2015-12-15 13:57:54', '2015-12-15 12:57:54', 'y', 'n');

/*!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 */;