| Server IP : 14.225.204.176 / Your IP : 216.73.216.252 Web Server : nginx/1.24.0 System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 User : root ( 0) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/php/mmobot/ |
Upload File : |
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 19, 2020 at 04:40 AM
-- Server version: 10.1.38-MariaDB
-- PHP Version: 7.1.26
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
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: `tuyen_smm_install`
--
-- --------------------------------------------------------
--
-- Table structure for table `api_providers`
--
DROP TABLE IF EXISTS `api_providers`;
CREATE TABLE `api_providers` (
`id` int(10) UNSIGNED NOT NULL,
`ids` text COLLATE utf8mb4_unicode_ci,
`uid` int(11) DEFAULT NULL,
`name` text COLLATE utf8mb4_unicode_ci,
`url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`key` text COLLATE utf8mb4_unicode_ci,
`balance` decimal(15,5) DEFAULT NULL,
`currency_code` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` text COLLATE utf8mb4_unicode_ci,
`status` int(1) NOT NULL DEFAULT '1',
`created` datetime DEFAULT NULL,
`changed` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `api_providers`
--
INSERT INTO `api_providers` (`id`, `ids`, `uid`, `name`, `url`, `key`, `balance`, `currency_code`, `description`, `status`, `created`, `changed`) VALUES
(1, '6c08835fc25dd0add2f1f6be7c828578', 1, 'HQ Smartpanel', 'https://hqsmartpanel.com/api/v1', 'JIyPCexcfKPOjsSGlcjHYV4n5yRsVgCE', NULL, NULL, 'HQ MMOBot - Services - The Best SMM Panel - Social Media Services for Resellers\r\n', 1, '2019-04-09 11:36:34', '2019-04-10 10:41:29');
-- --------------------------------------------------------
--
-- Table structure for table `categories`
--
DROP TABLE IF EXISTS `categories`;
CREATE TABLE `categories` (
`id` int(11) NOT NULL,
`ids` text,
`uid` int(11) DEFAULT NULL,
`name` text,
`desc` text,
`image` text,
`sort` int(11) DEFAULT NULL,
`status` int(1) DEFAULT '1',
`created` datetime DEFAULT NULL,
`changed` datetime DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `faqs`
--
DROP TABLE IF EXISTS `faqs`;
CREATE TABLE `faqs` (
`id` int(11) NOT NULL,
`ids` text,
`uid` int(11) DEFAULT NULL,
`question` text,
`answer` longtext,
`sort` int(11) DEFAULT NULL,
`status` int(1) DEFAULT '1',
`created` datetime DEFAULT NULL,
`changed` datetime DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `general_custom_page`
--
DROP TABLE IF EXISTS `general_custom_page`;
CREATE TABLE `general_custom_page` (
`id` int(11) NOT NULL,
`ids` text,
`pid` int(1) DEFAULT '1',
`position` int(1) DEFAULT '0',
`name` text,
`slug` text,
`image` text,
`description` longtext,
`content` longtext,
`status` int(1) DEFAULT '1',
`changed` datetime DEFAULT NULL,
`created` datetime DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `general_file_manager`
--
DROP TABLE IF EXISTS `general_file_manager`;
CREATE TABLE `general_file_manager` (
`id` int(11) NOT NULL,
`ids` text CHARACTER SET utf8mb4,
`uid` int(11) DEFAULT NULL,
`file_name` text CHARACTER SET utf8mb4,
`file_type` text CHARACTER SET utf8mb4,
`file_ext` text CHARACTER SET utf8mb4,
`file_size` text CHARACTER SET utf8mb4,
`is_image` text CHARACTER SET utf8mb4,
`image_width` int(11) DEFAULT NULL,
`image_height` int(11) DEFAULT NULL,
`created` datetime DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `general_lang`
--
DROP TABLE IF EXISTS `general_lang`;
CREATE TABLE `general_lang` (
`id` int(11) NOT NULL,
`ids` varchar(100) DEFAULT NULL,
`lang_code` varchar(10) DEFAULT NULL,
`slug` text,
`value` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `general_lang_list`
--
DROP TABLE IF EXISTS `general_lang_list`;
CREATE TABLE `general_lang_list` (
`id` int(11) NOT NULL,
`ids` varchar(225) DEFAULT NULL,
`code` varchar(10) DEFAULT NULL,
`country_code` varchar(225) DEFAULT NULL,
`is_default` int(11) DEFAULT NULL,
`status` int(11) DEFAULT NULL,
`created` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `general_news`
--
DROP TABLE IF EXISTS `general_news`;
CREATE TABLE `general_news` (
`id` int(10) UNSIGNED NOT NULL,
`ids` text COLLATE utf8mb4_unicode_ci,
`uid` int(11) DEFAULT NULL,
`type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` text COLLATE utf8mb4_unicode_ci,
`status` int(1) DEFAULT '1',
`created` datetime DEFAULT NULL,
`expiry` datetime DEFAULT NULL,
`changed` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `general_options`
--
DROP TABLE IF EXISTS `general_options`;
CREATE TABLE `general_options` (
`id` int(11) NOT NULL,
`name` text,
`value` longtext
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `general_purchase`
--
DROP TABLE IF EXISTS `general_purchase`;
CREATE TABLE `general_purchase` (
`id` int(11) NOT NULL,
`ids` text,
`pid` text,
`purchase_code` text,
`version` text
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `general_purchase`
--
INSERT INTO `general_purchase` (`id`, `ids`, `pid`, `purchase_code`, `version`) VALUES
(1, '8068ec7f79145fe55dea67dd63b012c3', '23595718', 'ITEM-PURCHASE-CODE', '3.2');
-- --------------------------------------------------------
--
-- Table structure for table `general_sessions`
--
DROP TABLE IF EXISTS `general_sessions`;
CREATE TABLE `general_sessions` (
`id` varchar(128) NOT NULL,
`ip_address` varchar(45) NOT NULL,
`timestamp` int(10) UNSIGNED NOT NULL DEFAULT '0',
`data` blob NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `general_subscribers`
--
DROP TABLE IF EXISTS `general_subscribers`;
CREATE TABLE `general_subscribers` (
`id` int(11) NOT NULL,
`ids` text,
`first_name` text,
`last_name` text,
`email` text,
`ip` text,
`country` varchar(255) DEFAULT NULL,
`changed` datetime DEFAULT NULL,
`created` datetime DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `general_transaction_logs`
--
DROP TABLE IF EXISTS `general_transaction_logs`;
CREATE TABLE `general_transaction_logs` (
`id` int(11) NOT NULL,
`ids` text,
`uid` int(11) DEFAULT NULL,
`type` text,
`transaction_id` text,
`amount` float DEFAULT NULL,
`status` int(1) DEFAULT '1',
`created` datetime DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `general_users`
--
DROP TABLE IF EXISTS `general_users`;
CREATE TABLE `general_users` (
`id` int(11) NOT NULL,
`ids` text,
`role` enum('admin','user') DEFAULT 'user',
`login_type` text,
`first_name` text,
`last_name` text,
`email` text,
`password` text,
`timezone` text,
`more_information` text,
`settings` longtext,
`desc` longtext,
`balance` decimal(15,4) DEFAULT '0.0000',
`custom_rate` int(11) NOT NULL DEFAULT '0',
`api_key` varchar(191) DEFAULT NULL,
`spent` varchar(225) DEFAULT NULL,
`activation_key` text,
`reset_key` text,
`history_ip` text,
`status` int(1) DEFAULT '1',
`changed` datetime DEFAULT NULL,
`created` datetime DEFAULT NULL
`referral_link` text,
`referral_code` text,
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `general_users`
--
INSERT INTO `general_users` (`id`, `ids`, `role`, `login_type`, `first_name`, `last_name`, `email`, `password`, `timezone`, `more_information`, `settings`, `desc`, `balance`, `custom_rate`, `api_key`, `spent`, `activation_key`, `reset_key`, `history_ip`, `status`, `changed`, `created`, `referral_code`, `referral_link`) VALUES
(38, 'e7ace76210625c6880498190c0af2d58', 'admin', NULL, 'admin_first_name', 'admin_last_name', 'admin_email', 'admin_password', 'admin_timezone', NULL, NULL, NULL, '0.0000', 0, NULL, NULL, 'c4a78c5172c30e669bb05d9dse48d6f5', 'c4a78c5172c30e669bb05d98f248d6f5', NULL, 1, NULL, NULL, '', '');
-- --------------------------------------------------------
--
-- Table structure for table `orders`
--
DROP TABLE IF EXISTS `orders`;
CREATE TABLE `orders` (
`id` int(10) NOT NULL,
`ids` text CHARACTER SET utf8,
`type` enum('direct','api') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'direct',
`cate_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`service_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`main_order_id` int(11) DEFAULT NULL,
`service_type` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT 'default',
`api_provider_id` int(11) DEFAULT NULL,
`api_service_id` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`api_order_id` int(11) DEFAULT '0',
`uid` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`link` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`quantity` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`usernames` text COLLATE utf8mb4_unicode_ci,
`username` text COLLATE utf8mb4_unicode_ci,
`hashtags` text COLLATE utf8mb4_unicode_ci,
`hashtag` text COLLATE utf8mb4_unicode_ci,
`media` text COLLATE utf8mb4_unicode_ci,
`comments` text COLLATE utf8mb4_unicode_ci,
`sub_posts` int(11) DEFAULT NULL,
`sub_min` int(11) DEFAULT NULL,
`sub_max` int(11) DEFAULT NULL,
`sub_delay` int(11) DEFAULT NULL,
`sub_expiry` text COLLATE utf8mb4_unicode_ci,
`sub_response_orders` text COLLATE utf8mb4_unicode_ci,
`sub_response_posts` text COLLATE utf8mb4_unicode_ci,
`sub_status` enum('Active','Paused','Completed','Expired','Canceled') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`charge` decimal(15,4) DEFAULT NULL,
`status` enum('completed','processing','inprogress','pending','partial','refunded','canceled') COLLATE utf8mb4_unicode_ci DEFAULT 'pending',
`start_counter` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT '0',
`remains` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT '0',
`is_drip_feed` int(1) DEFAULT '0',
`runs` int(11) DEFAULT '0',
`interval` int(2) DEFAULT '0',
`dripfeed_quantity` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT '0',
`note` text COLLATE utf8mb4_unicode_ci,
`changed` datetime DEFAULT NULL,
`created` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `services`
--
DROP TABLE IF EXISTS `services`;
CREATE TABLE `services` (
`id` int(11) NOT NULL,
`ids` text,
`uid` int(11) DEFAULT NULL,
`cate_id` int(11) DEFAULT NULL,
`name` text,
`desc` text,
`price` decimal(15,4) DEFAULT NULL,
`original_price` decimal(15,4) DEFAULT NULL,
`min` int(50) DEFAULT NULL,
`max` int(50) DEFAULT NULL,
`add_type` enum('manual','api') DEFAULT 'manual',
`type` varchar(100) DEFAULT 'default',
`api_service_id` varchar(200) DEFAULT NULL,
`api_provider_id` int(11) DEFAULT NULL,
`dripfeed` int(1) DEFAULT '0',
`status` int(1) DEFAULT '1',
`changed` datetime DEFAULT NULL,
`created` datetime DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `tickets`
--
DROP TABLE IF EXISTS `tickets`;
CREATE TABLE `tickets` (
`id` int(10) UNSIGNED NOT NULL,
`ids` text COLLATE utf8mb4_unicode_ci,
`uid` int(11) DEFAULT NULL,
`description` text COLLATE utf8mb4_unicode_ci,
`subject` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` enum('new','pending','closed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'new',
`created` datetime DEFAULT NULL,
`changed` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `ticket_messages`
--
DROP TABLE IF EXISTS `ticket_messages`;
CREATE TABLE `ticket_messages` (
`id` int(10) UNSIGNED NOT NULL,
`ids` text COLLATE utf8mb4_unicode_ci,
`uid` int(11) DEFAULT NULL,
`ticket_id` int(11) DEFAULT NULL,
`message` text COLLATE utf8mb4_unicode_ci NOT NULL,
`is_read` tinyint(1) DEFAULT NULL,
`changed` datetime DEFAULT NULL,
`created` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `api_providers`
--
ALTER TABLE `api_providers`
ADD PRIMARY KEY (`id`),
ADD KEY `tickets_user_id_foreign` (`uid`);
--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `faqs`
--
ALTER TABLE `faqs`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `general_custom_page`
--
ALTER TABLE `general_custom_page`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `general_file_manager`
--
ALTER TABLE `general_file_manager`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `general_lang`
--
ALTER TABLE `general_lang`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `general_lang_list`
--
ALTER TABLE `general_lang_list`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `general_news`
--
ALTER TABLE `general_news`
ADD PRIMARY KEY (`id`),
ADD KEY `tickets_user_id_foreign` (`uid`);
--
-- Indexes for table `general_options`
--
ALTER TABLE `general_options`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `general_purchase`
--
ALTER TABLE `general_purchase`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `general_sessions`
--
ALTER TABLE `general_sessions`
ADD KEY `ci_sessions_timestamp` (`timestamp`);
--
-- Indexes for table `general_subscribers`
--
ALTER TABLE `general_subscribers`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `general_transaction_logs`
--
ALTER TABLE `general_transaction_logs`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `general_users`
--
ALTER TABLE `general_users`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `services`
--
ALTER TABLE `services`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `tickets`
--
ALTER TABLE `tickets`
ADD PRIMARY KEY (`id`),
ADD KEY `tickets_user_id_foreign` (`uid`);
--
-- Indexes for table `ticket_messages`
--
ALTER TABLE `ticket_messages`
ADD PRIMARY KEY (`id`),
ADD KEY `ticket_messages_user_id_foreign` (`uid`),
ADD KEY `ticket_messages_ticket_id_foreign` (`ticket_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `api_providers`
--
ALTER TABLE `api_providers`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `categories`
--
ALTER TABLE `categories`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29;
--
-- AUTO_INCREMENT for table `faqs`
--
ALTER TABLE `faqs`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=38;
--
-- AUTO_INCREMENT for table `general_custom_page`
--
ALTER TABLE `general_custom_page`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `general_file_manager`
--
ALTER TABLE `general_file_manager`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=316;
--
-- AUTO_INCREMENT for table `general_lang`
--
ALTER TABLE `general_lang`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `general_lang_list`
--
ALTER TABLE `general_lang_list`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `general_news`
--
ALTER TABLE `general_news`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `general_options`
--
ALTER TABLE `general_options`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=67;
--
-- AUTO_INCREMENT for table `general_purchase`
--
ALTER TABLE `general_purchase`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `general_subscribers`
--
ALTER TABLE `general_subscribers`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `general_transaction_logs`
--
ALTER TABLE `general_transaction_logs`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41;
--
-- AUTO_INCREMENT for table `general_users`
--
ALTER TABLE `general_users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=39;
--
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=389624;
--
-- AUTO_INCREMENT for table `services`
--
ALTER TABLE `services`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `tickets`
--
ALTER TABLE `tickets`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `ticket_messages`
--
ALTER TABLE `ticket_messages`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
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 */;