-- phpMyAdmin SQL Dump
-- version 4.4.15.10
-- https://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: May 10, 2024 at 06:13 PM
-- Server version: 10.3.39-MariaDB-cll-lve
-- 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 utf8mb4 */;
--
-- Database: `air115_reklama`
--
-- --------------------------------------------------------
--
-- Table structure for table `ip_perehod`
--
CREATE TABLE IF NOT EXISTS `ip_perehod` (
`ip` varchar(255) NOT NULL,
`id_rek` int(11) NOT NULL,
`date_now` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- --------------------------------------------------------
--
-- Table structure for table `reklama`
--
CREATE TABLE IF NOT EXISTS `reklama` (
`id` int(11) unsigned NOT NULL,
`url` varchar(255) NOT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`color` varchar(255) NOT NULL DEFAULT '',
`bold` varchar(255) NOT NULL DEFAULT '',
`italic` varchar(255) NOT NULL DEFAULT '',
`count` varchar(255) NOT NULL DEFAULT '0',
`aktivna_do` varchar(100) NOT NULL,
`activ` int(1) unsigned NOT NULL DEFAULT 0
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- --------------------------------------------------------
--
-- Table structure for table `settings`
--
CREATE TABLE IF NOT EXISTS `settings` (
`id` int(1) unsigned NOT NULL,
`title` varchar(255) NOT NULL DEFAULT 'Рекламная сеть',
`password` varchar(255) NOT NULL,
`cena_day` varchar(10) NOT NULL DEFAULT '1',
`cena_color` varchar(10) NOT NULL DEFAULT '0.20',
`cena_bold` varchar(10) NOT NULL DEFAULT '0.20',
`cena_italic` varchar(10) NOT NULL DEFAULT '0.20',
`count_click` varchar(255) DEFAULT '0',
`countvisrekl` int(4) unsigned NOT NULL DEFAULT 8
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `settings`
--
INSERT INTO `settings` (`id`, `title`, `password`, `cena_day`, `cena_color`, `cena_bold`, `cena_italic`, `count_click`, `countvisrekl`) VALUES
(1, 'Рекламная сеть', '$2y$10$4A5ui0XGzf4g520fiVGeNenuOsQjQIy6FYVazNfhIRqsyIg0xvG2S', '1', '0.2', '0.2', '0.2', '50', 8);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `reklama`
--
ALTER TABLE `reklama`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `settings`
--
ALTER TABLE `settings`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `reklama`
--
ALTER TABLE `reklama`
MODIFY `id` int(11) unsigned NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=16;
--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
MODIFY `id` int(1) unsigned NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
/*!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 */;