-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jun 23, 2025 at 12:44 PM
-- Server version: 10.4.32-MariaDB
-- PHP Version: 8.0.30

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
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: `sscfoods_wp362`
--

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

--
-- Table structure for table `administrator`
--

CREATE TABLE `administrator` (
  `id` int(11) NOT NULL,
  `username` varchar(100) NOT NULL,
  `password` varchar(100) NOT NULL,
  `type` varchar(100) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `administrator`
--

INSERT INTO `administrator` (`id`, `username`, `password`, `type`) VALUES
(14, 'bedre', 'bedre@1234', 'super_admin');

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

--
-- Table structure for table `ballot`
--

CREATE TABLE `ballot` (
  `id` int(11) NOT NULL,
  `ballot_name` varchar(50) NOT NULL,
  `zone` varchar(50) NOT NULL,
  `total_votes` int(11) NOT NULL,
  `candidate_type` int(11) NOT NULL,
  `total_candidates` int(11) DEFAULT NULL,
  `voting_candidates` int(11) DEFAULT NULL,
  `date` date NOT NULL,
  `sort_order` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `ballot`
--

INSERT INTO `ballot` (`id`, `ballot_name`, `zone`, `total_votes`, `candidate_type`, `total_candidates`, `voting_candidates`, `date`, `sort_order`) VALUES
(854, 'com sec', 'Coimbaore', 0, 0, NULL, NULL, '2025-06-30', NULL),
(853, 'bng sec', 'Bangalore', 3, 0, NULL, NULL, '2025-06-30', NULL),
(852, 'President ', 'All', 5, 0, NULL, NULL, '2025-06-30', NULL),
(855, 'Test', 'Ahmedabad', 0, 0, 5, 3, '2025-06-23', NULL),
(856, 'Test2', 'Dharwad', 0, 1, 10, 8, '2025-06-27', NULL),
(857, 'Test3', 'Hassan', 0, 0, NULL, NULL, '2025-06-23', NULL),
(858, 'Test 5', 'Coimbaore', 2, 1, 2, 1, '2025-06-23', NULL),
(859, 'Test 6', 'Davangere', 0, 1, 5, 4, '2025-06-24', NULL),
(860, 'Test 7', 'Tirupati', 5, 1, 8, 5, '2025-06-24', NULL);

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

--
-- Table structure for table `ballot_status`
--

CREATE TABLE `ballot_status` (
  `id` int(11) NOT NULL,
  `client_id` varchar(50) NOT NULL,
  `name` varchar(256) DEFAULT NULL,
  `ballot_name` varchar(50) NOT NULL,
  `vote` int(11) NOT NULL,
  `participant_name` varchar(256) DEFAULT NULL,
  `vote_date_time` timestamp NULL DEFAULT NULL,
  `ip_address` varbinary(500) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `ballot_status`
--

INSERT INTO `ballot_status` (`id`, `client_id`, `name`, `ballot_name`, `vote`, `participant_name`, `vote_date_time`, `ip_address`) VALUES
(26515, '9880', 'sunil', 'President ', 0, 'pres b', '2025-06-20 06:05:24', 0x34392e33372e3234392e313738),
(26514, '1234', 'omkar', 'President ', 1, 'president a', '2025-06-20 20:12:13', 0x3a3a31),
(26513, 'bedre', NULL, 'President ', 0, NULL, NULL, NULL),
(26516, 'bedre', NULL, 'bng sec', 0, NULL, NULL, NULL),
(26517, '1234', 'omkar', 'bng sec', 0, 'bng b', '2025-06-20 20:00:46', 0x3a3a31),
(26518, '9880', NULL, 'com sec', 0, NULL, NULL, NULL),
(26519, '9880', NULL, 'Test 5', 0, NULL, NULL, NULL),
(26520, '7353', 'OmkarT', 'Test 5', 0, 'test2', '2025-06-21 04:40:26', 0x3a3a31),
(26521, '7353', NULL, 'com sec', 0, NULL, NULL, NULL),
(26522, '7353', NULL, 'President ', 0, NULL, NULL, NULL),
(26523, '2025', 'test 8', 'Test 7', 1, 'test8', '2025-06-22 22:42:50', 0x3a3a31),
(26524, '2025', NULL, 'President ', 0, NULL, NULL, NULL);

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

--
-- Table structure for table `participants`
--

CREATE TABLE `participants` (
  `ballot_name` varchar(50) NOT NULL,
  `pid` int(11) NOT NULL,
  `participant_name` varchar(50) NOT NULL,
  `vote` int(11) NOT NULL,
  `img_url` varchar(200) NOT NULL,
  `place` varchar(50) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `participants`
--

INSERT INTO `participants` (`ballot_name`, `pid`, `participant_name`, `vote`, `img_url`, `place`) VALUES
('President ', 240, 'president a', 1, 'https://evoting.io/upload/VELIN_JPG.jpg', 'bangalore'),
('President ', 241, 'pres b ', 0, 'https://evoting.io/upload/download.jpeg', 'bng'),
('com sec', 242, 'com a', 0, 'https://evoting.io/upload/download1.jpeg', 'bng'),
('com sec', 243, 'com b', 0, 'https://evoting.io/upload/download2.jpeg', 'com'),
('bng sec', 244, 'bna a', 0, 'https://evoting.io/upload/download3.jpeg', 'bng'),
('bng sec', 245, 'bng b', 0, 'https://evoting.io/upload/download4.jpeg', 'bng'),
('Test 5', 246, 'test 1', 0, 'http://localhost:8080/well-known/upload/83fd395344003dde24c033cbd37ab3bb.jpg', 'test'),
('Test 5', 247, 'test2', 0, 'http://localhost:8080/well-known/upload/beeea04161d2ec670e9382b88a4ffaa2.png', 'test 2'),
('Test 7', 248, 'test 1', 1, 'http://localhost:8080/well-known/upload/7ac65c21843fd0f92287d9129891c3ce.jpg', 'test'),
('Test 7', 249, 'test2', 1, 'http://localhost:8080/well-known/upload/1f924d64107d4ced8997666c5aaade98.jpg', 'test 2'),
('Test 7', 250, 'test3', 1, 'http://localhost:8080/well-known/upload/c1452e64d717736aba47ff106ed2032a.jpg', 'test3'),
('Test 7', 251, 'test4', 0, 'http://localhost:8080/well-known/upload/3d67cdc936cd95bc56e473812ddfa02c.jpg', 'test4'),
('Test 7', 252, 'test5', 0, 'http://localhost:8080/well-known/upload/391ebbf3c91cf1f258e0c9cda4ab2013.jpg', 'test5'),
('Test 7', 253, 'test6', 1, 'http://localhost:8080/well-known/upload/d2f9596429e054692781a28bb8d2fd54.jpg', 'test6'),
('Test 7', 254, 'test7', 0, 'http://localhost:8080/well-known/upload/9ea0992c2b214c4e36c1040e4a26905c.jpg', 'test7'),
('Test 7', 255, 'test8', 1, 'http://localhost:8080/well-known/upload/3a8515964ef38cdf62bede0a01e6264f.jpg', 'test8');

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

--
-- Table structure for table `smtp`
--

CREATE TABLE `smtp` (
  `id` int(11) NOT NULL,
  `protocol` varchar(50) NOT NULL,
  `security` varchar(50) NOT NULL,
  `host` varchar(50) NOT NULL,
  `port` int(11) NOT NULL,
  `username` varchar(500) NOT NULL,
  `password` varchar(500) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `smtp`
--

INSERT INTO `smtp` (`id`, `protocol`, `security`, `host`, `port`, `username`, `password`) VALUES
(1, 'smtp', 'ssl', 'relay.mailbaby.net', 25, 'mb75919', 'esZewQWePymrRdpN3Zm6');

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

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `cid` varchar(20) NOT NULL,
  `name` varchar(256) NOT NULL,
  `email` varchar(50) NOT NULL,
  `email_count` int(11) DEFAULT NULL,
  `mobile` varchar(15) DEFAULT NULL,
  `zone` varchar(50) NOT NULL,
  `place` varchar(50) NOT NULL,
  `type` varchar(20) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`cid`, `name`, `email`, `email_count`, `mobile`, `zone`, `place`, `type`) VALUES
('bedre', 'Sunil Bedre ', 'info@bedresolutions.com', NULL, '907129074', 'Bangalore', 'Bangalore', 'super_admin'),
('1234', 'omkar', 'omkartelasang@gmail.com', 1, '7353665845', 'Bangalore', 'bangalore', 'client'),
('9880', 'sunil', 'ideasfromsunil@gmail.com', 1, '9880380396', 'Coimbaore', 'gujurath', 'client'),
('7353', 'OmkarT', 'omkartelasang+5@gmail.com', NULL, '07353665845', 'Coimbaore', 'Vijayapura', 'client'),
('2025', 'test 8', 'omkartelasang+25@gmail.com', NULL, '7353665848', 'Tirupati', 'Vijayapura', 'client');

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

--
-- Table structure for table `user_list_type`
--

CREATE TABLE `user_list_type` (
  `id` int(11) NOT NULL,
  `username` varchar(100) NOT NULL,
  `type` varchar(100) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `user_list_type`
--

INSERT INTO `user_list_type` (`id`, `username`, `type`) VALUES
(14, 'bedre', 'super_admin'),
(12811, '1234', 'client'),
(12812, '9880', 'client'),
(12813, '7353', 'client'),
(12814, '2025', 'client');

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

--
-- Table structure for table `user_list_type_new`
--

CREATE TABLE `user_list_type_new` (
  `id` int(11) NOT NULL,
  `username` varchar(100) NOT NULL,
  `type` varchar(100) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `zones`
--

CREATE TABLE `zones` (
  `id` int(11) NOT NULL,
  `zone` varchar(50) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `zones`
--

INSERT INTO `zones` (`id`, `zone`) VALUES
(60, 'All'),
(64, 'Ahmedabad'),
(65, 'Akola'),
(66, 'Amravati'),
(67, 'Bangalore'),
(68, 'Belthangady'),
(69, 'Bidar'),
(70, 'Bhubaneshwar'),
(71, 'Chennai'),
(72, 'Chidambaram'),
(73, 'Chandwad'),
(74, 'Coimbaore'),
(75, 'Davangere'),
(76, 'Delhi'),
(77, 'Dharwad'),
(78, 'Erode'),
(79, 'Goa'),
(80, 'Hassan'),
(81, 'Hubli'),
(82, 'Hyderabad'),
(83, 'Indore'),
(84, 'Karimnagar'),
(85, 'Kakinada'),
(86, 'Kanyakumari'),
(87, 'Khamgaon'),
(88, 'Madurai'),
(89, 'Mangalore'),
(90, 'Mumbai'),
(91, 'Mysore'),
(92, 'Nagpur'),
(93, 'Nashik'),
(94, 'Palghar'),
(95, 'Puducherry'),
(96, 'Rajahmundry'),
(97, 'Sangamner'),
(98, 'Thanjavur'),
(99, 'Tirupati'),
(100, 'Vijayawada'),
(101, 'Vishakapatnam'),
(102, 'Warangal'),
(103, 'south'),
(104, 'east'),
(105, 'north'),
(106, 'west');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `administrator`
--
ALTER TABLE `administrator`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `ballot`
--
ALTER TABLE `ballot`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ballot_name` (`ballot_name`);

--
-- Indexes for table `ballot_status`
--
ALTER TABLE `ballot_status`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `participants`
--
ALTER TABLE `participants`
  ADD PRIMARY KEY (`pid`);

--
-- Indexes for table `smtp`
--
ALTER TABLE `smtp`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`cid`);

--
-- Indexes for table `user_list_type`
--
ALTER TABLE `user_list_type`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `user_list_type_new`
--
ALTER TABLE `user_list_type_new`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `zones`
--
ALTER TABLE `zones`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `zone` (`zone`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `administrator`
--
ALTER TABLE `administrator`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `ballot`
--
ALTER TABLE `ballot`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=861;

--
-- AUTO_INCREMENT for table `ballot_status`
--
ALTER TABLE `ballot_status`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26525;

--
-- AUTO_INCREMENT for table `participants`
--
ALTER TABLE `participants`
  MODIFY `pid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=256;

--
-- AUTO_INCREMENT for table `smtp`
--
ALTER TABLE `smtp`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `user_list_type`
--
ALTER TABLE `user_list_type`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12815;

--
-- AUTO_INCREMENT for table `user_list_type_new`
--
ALTER TABLE `user_list_type_new`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7740;

--
-- AUTO_INCREMENT for table `zones`
--
ALTER TABLE `zones`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=107;
COMMIT;

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