-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Jun 19, 2024 at 08:31 PM
-- Server version: 5.7.44-48
-- PHP Version: 7.4.33

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

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

--
-- Table structure for table `db_bonus`
--

CREATE TABLE IF NOT EXISTS `db_bonus` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL DEFAULT '0',
  `login` varchar(80) NOT NULL,
  `sum` float(10,2) NOT NULL,
  `add` int(11) NOT NULL DEFAULT '0',
  `del` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `uid` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `db_conf`
--

CREATE TABLE IF NOT EXISTS `db_conf` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `coint` int(11) NOT NULL,
  `bounty` int(11) NOT NULL,
  `p_sell` int(11) NOT NULL,
  `p_swap` int(11) NOT NULL,
  `min_s` float(10,2) NOT NULL,
  `acc_pay` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `db_conf`
--

INSERT INTO `db_conf` (`id`, `coint`, `bounty`, `p_sell`, `p_swap`, `min_s`, `acc_pay`) VALUES
(1, 1, 100, 100, 1, 0.10, 20);

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

--
-- Table structure for table `db_history`
--

CREATE TABLE IF NOT EXISTS `db_history` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL DEFAULT '0',
  `login` varchar(80) NOT NULL,
  `sum` float(10,2) NOT NULL,
  `add` int(11) NOT NULL DEFAULT '0',
  `type` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `uid` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `db_insert`
--

CREATE TABLE IF NOT EXISTS `db_insert` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL,
  `login` varchar(85) NOT NULL DEFAULT '',
  `sum` float(10,2) NOT NULL,
  `sum_x` float(10,2) NOT NULL DEFAULT '0.00',
  `sys` varchar(20) NOT NULL,
  `type` int(1) NOT NULL DEFAULT '1',
  `status` int(11) NOT NULL,
  `role` int(11) NOT NULL DEFAULT '1',
  `add` int(11) NOT NULL DEFAULT '0',
  `end` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `db_loto_wins`
--

CREATE TABLE IF NOT EXISTS `db_loto_wins` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL,
  `login` varchar(30) NOT NULL,
  `num_bill` int(11) NOT NULL DEFAULT '0',
  `sum` decimal(10,2) NOT NULL,
  `add` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `db_news`
--

CREATE TABLE IF NOT EXISTS `db_news` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(100) NOT NULL,
  `text` text NOT NULL,
  `cat` int(11) NOT NULL DEFAULT '0',
  `count` int(11) NOT NULL DEFAULT '0',
  `add` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `db_payout`
--

CREATE TABLE IF NOT EXISTS `db_payout` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL,
  `login` varchar(80) NOT NULL,
  `sum` double NOT NULL DEFAULT '0',
  `status` int(11) NOT NULL DEFAULT '0',
  `sys` int(11) NOT NULL,
  `psys` int(11) NOT NULL DEFAULT '0',
  `add` int(11) NOT NULL DEFAULT '0',
  `del` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `uid` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `db_paysystem`
--

CREATE TABLE IF NOT EXISTS `db_paysystem` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(20) NOT NULL,
  `name` varchar(20) NOT NULL,
  `currency` varchar(20) NOT NULL,
  `mindep` decimal(10,6) NOT NULL DEFAULT '0.000000',
  `pairs` decimal(50,6) NOT NULL DEFAULT '0.000000',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `db_paysystem`
--

INSERT INTO `db_paysystem` (`id`, `title`, `name`, `currency`, `mindep`, `pairs`) VALUES
(1, 'TRON', 'TRON', 'TRX', 10.000000, 1.000000),
(2, 'DOGECOIN', 'DogeCoin', 'DOGE', 10.000000, 0.624658),
(3, 'LITECOIN', 'LiteCoin', 'LTC', 0.500000, 511.893088),
(4, 'DASHCOIN', 'Dash', 'DASH', 1.000000, 220.837877),
(5, 'BITCOIN', 'Bitcoin', 'BTC', 0.001000, 375131.950577),
(6, 'BITCOIN CASH', 'BitcoinCash', 'BCH', 0.100000, 1938.507530),
(7, 'TETHER (TRC-20)', 'TRON_TRC20', 'USDT', 10.000000, 7.283173),
(8, 'ETHEREUM', 'Ethereum', 'ETH', 0.100000, 21749.909308),
(9, 'BinanceCoin', 'BinanceCoin', 'BNB', 0.100000, 2781.898330);

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

--
-- Table structure for table `db_percent`
--

CREATE TABLE IF NOT EXISTS `db_percent` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `type` int(11) NOT NULL,
  `sum_a` float(10,2) NOT NULL,
  `sum_b` float(10,2) NOT NULL,
  `sum_x` decimal(10,2) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `db_percent`
--

INSERT INTO `db_percent` (`id`, `type`, `sum_a`, `sum_b`, `sum_x`) VALUES
(1, 1, 0.00, 99.99, 0.00),
(2, 1, 100.00, 499.99, 0.10),
(3, 1, 500.00, 999.99, 0.15),
(4, 1, 1000.00, 4999.99, 0.20),
(5, 1, 5000.00, 99999.00, 0.30);

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

--
-- Table structure for table `db_reviews`
--

CREATE TABLE IF NOT EXISTS `db_reviews` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `login` varchar(90) NOT NULL DEFAULT '0',
  `uid` int(11) NOT NULL,
  `text` text NOT NULL,
  `adm_text` text NOT NULL,
  `img` int(11) NOT NULL DEFAULT '0',
  `reward` int(11) NOT NULL DEFAULT '0',
  `hide` int(11) NOT NULL DEFAULT '0',
  `date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `db_stats`
--

CREATE TABLE IF NOT EXISTS `db_stats` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `users` int(11) NOT NULL DEFAULT '0',
  `inserts` float(10,2) NOT NULL DEFAULT '0.00',
  `payments` float(10,2) NOT NULL DEFAULT '0.00',
  `views` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12001 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `db_stats`
--

INSERT INTO `db_stats` (`id`, `users`, `inserts`, `payments`, `views`) VALUES
(1, 0, 0.00, 0.00, 0);

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

--
-- Table structure for table `db_store`
--

CREATE TABLE IF NOT EXISTS `db_store` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL,
  `title` varchar(20) NOT NULL,
  `tarif` int(11) NOT NULL,
  `hashpower` int(11) NOT NULL DEFAULT '0',
  `speed` decimal(10,6) NOT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `add` int(11) NOT NULL,
  `end` int(11) NOT NULL,
  `last` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `uid` (`uid`),
  KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `db_surf`
--

CREATE TABLE IF NOT EXISTS `db_surf` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL,
  `title` varchar(70) NOT NULL,
  `url` varchar(255) NOT NULL,
  `country` varchar(555) NOT NULL DEFAULT 'XX|',
  `crev` int(11) NOT NULL DEFAULT '0',
  `price_click` float(10,6) NOT NULL,
  `per_click` float(10,6) NOT NULL,
  `views` int(11) NOT NULL DEFAULT '0',
  `balance` float(10,6) NOT NULL DEFAULT '0.000000',
  `timer` int(11) NOT NULL DEFAULT '10',
  `reply` int(11) NOT NULL DEFAULT '24',
  `wind` int(11) NOT NULL DEFAULT '0',
  `vip` int(11) NOT NULL DEFAULT '0',
  `date_add` int(11) NOT NULL,
  `status` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `db_surf_config`
--

CREATE TABLE IF NOT EXISTS `db_surf_config` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `timer` int(11) NOT NULL,
  `price_click` float(10,6) NOT NULL,
  `per_click` float(10,6) NOT NULL,
  `timer_pay` float(10,6) NOT NULL,
  `wind` float(10,6) NOT NULL,
  `vip` float(10,6) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `db_surf_config`
--

INSERT INTO `db_surf_config` (`id`, `timer`, `price_click`, `per_click`, `timer_pay`, `wind`, `vip`) VALUES
(1, 10, 0.010000, 0.035000, 0.005000, 0.000000, 0.005000);

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

--
-- Table structure for table `db_surf_views`
--

CREATE TABLE IF NOT EXISTS `db_surf_views` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL,
  `link` int(11) NOT NULL,
  `time_end` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `uid` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `db_tarif`
--

CREATE TABLE IF NOT EXISTS `db_tarif` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(20) NOT NULL,
  `img` int(11) NOT NULL,
  `speed` decimal(10,6) NOT NULL,
  `profit_speed` decimal(10,6) NOT NULL DEFAULT '0.000000',
  `price` int(11) NOT NULL,
  `period` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `db_tarif`
--

INSERT INTO `db_tarif` (`id`, `title`, `img`, `speed`, `profit_speed`, `price`, `period`) VALUES
(1, 'Tron - 1', 1, 5.000000, 1.500000, 5, 30);

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

--
-- Table structure for table `db_uips`
--

CREATE TABLE IF NOT EXISTS `db_uips` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ip` varchar(125) NOT NULL DEFAULT '',
  `ip2` varchar(125) NOT NULL DEFAULT '',
  `country` varchar(2) NOT NULL DEFAULT '0',
  `count` int(11) NOT NULL DEFAULT '0',
  `time` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `db_uips`
--

INSERT INTO `db_uips` (`id`, `ip`, `ip2`, `country`, `count`, `time`) VALUES
(1, '41.96.189.33', '41.96.189.33', '0', 0, 1718817999);

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

--
-- Table structure for table `db_users`
--

CREATE TABLE IF NOT EXISTS `db_users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `login` varchar(90) NOT NULL DEFAULT '0',
  `reg` int(11) NOT NULL DEFAULT '0',
  `auth` int(11) NOT NULL DEFAULT '0',
  `ban` int(11) NOT NULL DEFAULT '0',
  `money_b` float(50,6) NOT NULL DEFAULT '0.000000',
  `money_p` float(50,6) NOT NULL DEFAULT '0.000000',
  `sum_in` float(50,2) NOT NULL DEFAULT '0.00',
  `sum_out` float(50,2) NOT NULL DEFAULT '0.00',
  `surf_view` int(11) NOT NULL DEFAULT '0',
  `surf_earn` float(10,6) NOT NULL DEFAULT '0.000000',
  `earn_bonus` float(10,2) NOT NULL DEFAULT '0.00',
  `speed` decimal(50,6) NOT NULL DEFAULT '0.000000',
  `bank` decimal(50,4) NOT NULL DEFAULT '0.0000',
  `bankin` float(10,4) NOT NULL DEFAULT '0.0000',
  `bankout` float(10,4) NOT NULL DEFAULT '0.0000',
  `last` int(11) NOT NULL DEFAULT '0',
  `refsite` varchar(255) NOT NULL DEFAULT '0',
  `referer` varchar(80) NOT NULL DEFAULT '0',
  `rid` int(11) NOT NULL DEFAULT '0',
  `refs` int(11) NOT NULL DEFAULT '0',
  `income` float(10,6) NOT NULL DEFAULT '0.000000',
  `ref_views` int(11) NOT NULL DEFAULT '0',
  `ref_to` float(10,6) NOT NULL DEFAULT '0.000000',
  `ref_ok` int(11) NOT NULL DEFAULT '0',
  `freebet` int(11) NOT NULL DEFAULT '0',
  `role` int(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `rid` (`rid`),
  KEY `ref_to` (`ref_to`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

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