-- phpMyAdmin SQL Dump
-- version 5.2.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Mar 19, 2025 at 02:52 PM
-- Server version: 10.11.11-MariaDB
-- PHP Version: 8.3.16

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: `tsharein_elondbb`
--

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

--
-- Table structure for table `dmethod`
--

CREATE TABLE `dmethod` (
  `id` int(11) NOT NULL,
  `btc` varchar(255) NOT NULL,
  `eth` varchar(255) NOT NULL,
  `ltc` varchar(255) NOT NULL,
  `usdt` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `dmethod`
--

INSERT INTO `dmethod` (`id`, `btc`, `eth`, `ltc`, `usdt`) VALUES
(1, 'bc1q5n7kkd6hmzsdrpvgl4223ewfhvaru5c5wunj62', '0x3B96a6E179030d10379d3105Ad2dC0C3573835Af', '0x3B96a6E179030d10379d3105Ad2dC0C3573835Af', '0x3B96a6E179030d10379d3105Ad2dC0C3573835Af');

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

--
-- Table structure for table `invest_plan`
--

CREATE TABLE `invest_plan` (
  `id` int(11) NOT NULL,
  `invest_user_id` varchar(255) DEFAULT NULL,
  `planName` varchar(255) DEFAULT NULL,
  `roi` int(255) DEFAULT NULL,
  `amount` int(255) DEFAULT NULL,
  `profit` int(255) DEFAULT NULL,
  `status` varchar(255) DEFAULT NULL,
  `start_date` varchar(255) DEFAULT NULL,
  `end_date` varchar(255) DEFAULT NULL,
  `start` varchar(255) DEFAULT NULL,
  `due` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `kyc`
--

CREATE TABLE `kyc` (
  `kyc_id` int(11) NOT NULL,
  `kyc_user_id` varchar(200) DEFAULT NULL,
  `fullName` varchar(255) DEFAULT NULL,
  `dob` varchar(255) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `id_type` varchar(255) DEFAULT NULL,
  `gov_id_file` varchar(255) DEFAULT NULL,
  `proof_address_file` varchar(255) DEFAULT NULL,
  `status` varchar(300) DEFAULT 'pending' COMMENT 'pending, active',
  `date_created` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `kyc`
--

INSERT INTO `kyc` (`kyc_id`, `kyc_user_id`, `fullName`, `dob`, `address`, `phone`, `id_type`, `gov_id_file`, `proof_address_file`, `status`, `date_created`) VALUES
(4, 'u06162', 'Mark Donalds', '2024-10-12', 'Ghana. Madina station/market', '+12563456671', 'International Passport', 'Kizzy Brown ID.jpg', 'Kizzy Brown ID.jpg', 'approve', '2024-10-12 05:42:09');

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

--
-- Table structure for table `packages`
--

CREATE TABLE `packages` (
  `package_id` int(11) NOT NULL,
  `package_name` varchar(200) DEFAULT NULL,
  `package_min` varchar(200) DEFAULT NULL,
  `package_max` varchar(200) DEFAULT NULL,
  `return_Percent` varchar(200) DEFAULT NULL,
  `referral` varchar(255) DEFAULT NULL,
  `gift_bonus` varchar(255) DEFAULT NULL,
  `duration` varchar(255) NOT NULL,
  `insurance` varchar(255) NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'active',
  `recommend` varchar(11) NOT NULL DEFAULT 'no',
  `other_features` varchar(11) NOT NULL DEFAULT 'yes'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `packages`
--

INSERT INTO `packages` (`package_id`, `package_name`, `package_min`, `package_max`, `return_Percent`, `referral`, `gift_bonus`, `duration`, `insurance`, `status`, `recommend`, `other_features`) VALUES
(5, 'Basic', '1000', '9999', '65', '5', '500', '1', '1', 'active', 'no', 'no'),
(6, 'Standard ', '10000', '99999', '160', '10', '700', '1', '70', 'active', 'yes', 'yes'),
(7, 'Platinum ', '100000', '499999', '245', '12', '1000', '1', '80', 'active', 'no', 'yes'),
(8, 'Diamond ', '500000', '99999999', '300', '15', '1500', '1', '95', 'active', 'no', 'yes');

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

--
-- Table structure for table `settings`
--

CREATE TABLE `settings` (
  `id` int(11) NOT NULL,
  `website_name` varchar(250) DEFAULT NULL,
  `website_url` varchar(250) DEFAULT NULL,
  `website_email` varchar(250) DEFAULT NULL,
  `admin_mail` varchar(250) DEFAULT NULL,
  `website_phone` varchar(255) DEFAULT NULL,
  `company_address` varchar(255) DEFAULT NULL,
  `live_chat` longtext DEFAULT NULL,
  `withdrawal_pin` varchar(300) DEFAULT NULL,
  `logo_img` varchar(300) DEFAULT NULL,
  `favicon` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` (`id`, `website_name`, `website_url`, `website_email`, `admin_mail`, `website_phone`, `company_address`, `live_chat`, `withdrawal_pin`, `logo_img`, `favicon`) VALUES
(1, 'Tesla Share Invest', 'https://www.tshareinvest.org/dashboard/main.php', 'info@tshareinvest.org', 'info@tshareinvest.org', NULL, '1 Tesla Road, Austin, Texas 78725,\r\nUnited State of America.', '<script src=\"//code.tidio.co/0vaobjbp39hjiw39fzxu3khdy8oa1ewk.js\"></script>', '1234', 'logo.png', 'favicon.png');

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

--
-- Table structure for table `transaction`
--

CREATE TABLE `transaction` (
  `transaction_id` int(11) NOT NULL,
  `trans_ref` varchar(255) DEFAULT NULL,
  `transaction_user_id` varchar(200) DEFAULT NULL,
  `transaction_type` varchar(200) DEFAULT NULL,
  `transaction_status` varchar(200) DEFAULT NULL,
  `t_mode` varchar(300) DEFAULT NULL,
  `asset` varchar(255) DEFAULT NULL,
  `transaction_amount` varchar(200) DEFAULT NULL,
  `wallet_address` varchar(300) DEFAULT '**********************',
  `proof_upload` varchar(255) DEFAULT NULL,
  `transaction_date` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `transaction`
--

INSERT INTO `transaction` (`transaction_id`, `trans_ref`, `transaction_user_id`, `transaction_type`, `transaction_status`, `t_mode`, `asset`, `transaction_amount`, `wallet_address`, `proof_upload`, `transaction_date`) VALUES
(1, '964212', 'u06162', 'Withdrawal Pin', 'cancel', 'BTC', NULL, '1000', 'btc-wallet1', 'payment.jpeg', '2024-10-12 08:26:24'),
(2, '819732', 'u06162', 'upgrade', 'success', 'ETH', NULL, '1000', 'eth-wallet1', 'payment.jpeg', '2024-10-12 08:27:16'),
(3, '862709', 'u06162', 'deposit', 'success', 'LTC', NULL, '1000', 'ltc-wallet1', 'payment.jpeg', '2024-10-12 08:27:41'),
(4, '240557', 'u06162', 'upgrade', 'cancel', 'USDT', NULL, '1000', 'usdt-wallet1', 'payment.jpeg', '2024-10-13 07:03:01'),
(5, '353382', 'u06010', 'withdrawal', 'success', 'Profit withdrawal', NULL, '500', '****************', NULL, '2025-03-16 10:07:53'),
(6, '540484', 'u06010', 'Withdrawal Pin', 'success', 'BTC', NULL, '1000', 'bc1q5n7kkd6hmzsdrpvgl4223ewfhvaru5c5wunj62', '30 days.png', '2025-03-16 05:02:54'),
(7, '471016', 'u87196', 'deposit', 'success', 'Profit Topup', NULL, '500', '****************', NULL, '2025-03-17 01:22:46'),
(8, '396156', 'u87196', 'deposit', 'success', 'Profit Topup', NULL, '1500', '****************', NULL, '2025-03-17 01:23:44'),
(9, '774209', 'u87196', 'upgrade', 'success', 'BTC', NULL, '2000', 'bc1q5n7kkd6hmzsdrpvgl4223ewfhvaru5c5wunj62', 'IMG_9192.jpeg', '2025-03-17 01:48:16'),
(10, '796091', 'u87196', 'Withdrawal Pin', 'success', 'BTC', NULL, '4000', 'bc1q5n7kkd6hmzsdrpvgl4223ewfhvaru5c5wunj62', 'image.jpg', '2025-03-17 02:10:38'),
(11, '423429', '', 'deposit', 'pending', 'ETH', NULL, '1000', '0x3B96a6E179030d10379d3105Ad2dC0C3573835Af', 'categorySMB0.png', '2025-03-17 01:05:13'),
(12, '277311', '', 'deposit', 'pending', 'ETH', NULL, '1000', '0x3B96a6E179030d10379d3105Ad2dC0C3573835Af', 'logo_dark_EGU.png', '2025-03-17 01:05:47'),
(13, '456810', '', 'Withdrawal Pin', 'success', 'BTC', NULL, '1000', 'bc1q5n7kkd6hmzsdrpvgl4223ewfhvaru5c5wunj62', 'logo_light_6Q3.png', '2025-03-17 01:09:13'),
(14, '332526', '', 'upgrade', 'cancel', 'LTC', NULL, '1000', '0x3B96a6E179030d10379d3105Ad2dC0C3573835Af', 'categorySMB0.png', '2025-03-17 01:17:57'),
(16, '616826', 'u71509', 'upgrade', 'success', 'ETH', NULL, '100', '0x3B96a6E179030d10379d3105Ad2dC0C3573835Af', 'categorySMB0.png', '2025-03-17 05:10:08'),
(17, '958976', 'u71509', 'Withdrawal Pin', 'success', 'LTC', NULL, '10000', '0x3B96a6E179030d10379d3105Ad2dC0C3573835Af', 'categorySMB0.png', '2025-03-17 05:14:41'),
(18, '493305', 'u71509', 'Profit withdrawal', 'pending', 'Profit withdrawal', NULL, '353', '**********************', NULL, '2025-03-17 17:57:56'),
(19, '230600', 'u71509', 'Profit withdrawal', 'pending', 'Profit withdrawal', NULL, '123', '**********************', NULL, '2025-03-17 17:58:37'),
(20, '573784', 'u46142', 'deposit', 'success', 'Profit Topup', NULL, '500', '****************', NULL, '2025-03-18 07:06:11'),
(21, '856011', 'u46142', 'upgrade', 'success', 'BTC', NULL, '1000', 'bc1q5n7kkd6hmzsdrpvgl4223ewfhvaru5c5wunj62', 'E06FB52B-E40D-43CC-9CF3-001BF5170690.jpeg', '2025-03-18 07:29:41'),
(22, '416923', 'u46142', 'Withdrawal Pin', 'success', 'BTC', NULL, '750', 'bc1q5n7kkd6hmzsdrpvgl4223ewfhvaru5c5wunj62', '854FE952-6FEE-4E0C-BCC6-36DF79A2778A.jpeg', '2025-03-18 07:49:45'),
(23, '451974', 'u46142', 'Profit withdrawal', 'pending', 'Profit withdrawal', NULL, '10500', '**********************', NULL, '2025-03-18 08:07:43');

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

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

CREATE TABLE `users` (
  `id` int(11) NOT NULL,
  `user_id` varchar(250) DEFAULT NULL,
  `role` varchar(200) DEFAULT NULL,
  `full_name` varchar(250) DEFAULT NULL,
  `username` varchar(255) DEFAULT NULL,
  `balance` varchar(250) DEFAULT '0',
  `bonus` varchar(255) NOT NULL DEFAULT '0',
  `profit` varchar(255) NOT NULL DEFAULT '0',
  `btc` varchar(255) NOT NULL DEFAULT '0',
  `eth` varchar(255) NOT NULL DEFAULT '0',
  `usdt` varchar(255) NOT NULL DEFAULT '0',
  `ltc` varchar(255) NOT NULL DEFAULT '0',
  `refferal` varchar(255) DEFAULT NULL,
  `email` varchar(250) DEFAULT NULL,
  `country` varchar(255) DEFAULT 'Select Country',
  `phone` varchar(255) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `city` varchar(255) DEFAULT NULL,
  `zip` varchar(255) DEFAULT NULL,
  `currency` varchar(255) NOT NULL DEFAULT '$',
  `password` varchar(250) DEFAULT NULL,
  `image` varchar(255) NOT NULL DEFAULT 'default.png',
  `status` varchar(250) DEFAULT 'active',
  `reg_date` varchar(255) DEFAULT NULL,
  `kyc_status` varchar(300) DEFAULT '0',
  `acct_level` varchar(255) NOT NULL DEFAULT 'Basic',
  `upgrade` varchar(255) NOT NULL DEFAULT '0',
  `Withdrawal_Pin` varchar(255) NOT NULL DEFAULT '019384'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

INSERT INTO `users` (`id`, `user_id`, `role`, `full_name`, `username`, `balance`, `bonus`, `profit`, `btc`, `eth`, `usdt`, `ltc`, `refferal`, `email`, `country`, `phone`, `address`, `city`, `zip`, `currency`, `password`, `image`, `status`, `reg_date`, `kyc_status`, `acct_level`, `upgrade`, `Withdrawal_Pin`) VALUES
(1, 'xcode', 'admin', 'Super Admin', 'admin', '0', '0', '-10976', '0', '0', '0', '0', NULL, 'admin@tshareinvest.org', 'Algeria', NULL, NULL, NULL, NULL, '$', 'Yesorno21$', 'default.png', 'active', '2024-02-21 14:29:09', '1', 'Basic', '0', '019384'),
(9, 'u46142', NULL, 'Benjamin Odigie', 'Benjamin336', '0', '100', '0', '0.888', '0.8172', '0.9273', '0.827', NULL, 'togetpaid43@gmail.com', 'United States of America', '08051954680', '', 'Texas', '2097', 'USD', 'Yesorno19$', 'default.png', 'active', '2025-03-18', '0', 'upgraded', '1', '019384'),
(10, 'u93628', NULL, 'Michelle Winkler', 'Michelle328', '0', '0', '0', '0', '0', '0', '0', NULL, 'haggness58@gmail.com', 'Select Country', '3186585770', NULL, NULL, NULL, 'USD', 'Talenman1', 'default.png', 'active', '2025-03-19', '0', 'Basic', '0', '019384');

--
-- Indexes for dumped tables
--

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

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

--
-- Indexes for table `kyc`
--
ALTER TABLE `kyc`
  ADD PRIMARY KEY (`kyc_id`);

--
-- Indexes for table `packages`
--
ALTER TABLE `packages`
  ADD PRIMARY KEY (`package_id`);

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

--
-- Indexes for table `transaction`
--
ALTER TABLE `transaction`
  ADD PRIMARY KEY (`transaction_id`);

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

--
-- AUTO_INCREMENT for dumped tables
--

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

--
-- AUTO_INCREMENT for table `invest_plan`
--
ALTER TABLE `invest_plan`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `kyc`
--
ALTER TABLE `kyc`
  MODIFY `kyc_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `packages`
--
ALTER TABLE `packages`
  MODIFY `package_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

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

--
-- AUTO_INCREMENT for table `transaction`
--
ALTER TABLE `transaction`
  MODIFY `transaction_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
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 */;
