DROP TABLE IF EXISTS `ayar`;
CREATE TABLE `ayar` (
  `id` int(11) NOT NULL DEFAULT 1,
  `trialtime` varchar(64) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
INSERT INTO `ayar` (`id`, `trialtime`) VALUES 
	(1, 1);

DROP TABLE IF EXISTS `cpanel`;
CREATE TABLE `cpanel` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `host` varchar(750) NOT NULL,
  `username` varchar(750) NOT NULL,
  `pass` varchar(750) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
INSERT INTO `cpanel` (`id`, `host`, `username`, `pass`) VALUES 
	(1, 'https://server.example.com:208', 'user', 'pass');

DROP TABLE IF EXISTS `discord`;
CREATE TABLE `discord` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `token` varchar(750) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
INSERT INTO `discord` (`id`, `token`) VALUES 
	(1, 'tokens');

DROP TABLE IF EXISTS `ihbarlar`;
CREATE TABLE `ihbarlar` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ihbaralanadi` varchar(255) NOT NULL,
  `ilkip` varchar(255) NOT NULL,
  `sebep` varchar(255) NOT NULL DEFAULT 'Lisanssız kullanım bildirimi',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
DROP TABLE IF EXISTS `lisanslar`;
CREATE TABLE `lisanslar` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `lidata` varchar(255) DEFAULT NULL,
  `domain` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
DROP TABLE IF EXISTS `settings`;
CREATE TABLE `settings` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(750) NOT NULL,
  `description` text NOT NULL,
  `keyw` varchar(750) NOT NULL,
  `logo` varchar(750) NOT NULL,
  `favicon` varchar(750) NOT NULL,
  `eposta` varchar(750) NOT NULL,
  `phone` varchar(750) NOT NULL,
  `footer` varchar(750) NOT NULL,
  `recaptcha` varchar(750) NOT NULL,
  `recaptchasalt` varchar(750) NOT NULL,
  `qr` varchar(750) NOT NULL,
  `notes` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
INSERT INTO `settings` (`id`, `title`, `description`, `keyw`, `logo`, `favicon`, `eposta`, `phone`, `footer`, `recaptcha`, `recaptchasalt`, `qr`, `notes`) VALUES 
	(1, 'LisansSA - Gelişmiş Lisans Yazılımı', 'Lisanslama yapabilirsiniz.', 'lisans, yazilim', '514433s.phps', '150049favicon1.png', 'hello@sabamedya.com', 05424394376, '', 'key', 'salt', 'qr.png', 'Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.');

DROP TABLE IF EXISTS `sms`;
CREATE TABLE `sms` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `baslik` varchar(750) NOT NULL,
  `user` varchar(750) NOT NULL,
  `pass` varchar(750) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
INSERT INTO `sms` (`id`, `baslik`, `user`, `pass`) VALUES 
	(1, 850000000, 'netgsm', 123);

DROP TABLE IF EXISTS `smtp`;
CREATE TABLE `smtp` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `host` varchar(750) NOT NULL,
  `eposta` varchar(750) NOT NULL,
  `pass` varchar(750) NOT NULL,
  `port` varchar(750) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
INSERT INTO `smtp` (`id`, `host`, `eposta`, `pass`, `port`) VALUES 
	(1, 'hostname', 'email@example.com', 123, 587);

DROP TABLE IF EXISTS `telegram`;
CREATE TABLE `telegram` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `token` varchar(750) NOT NULL,
  `chatid` varchar(750) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
INSERT INTO `telegram` (`id`, `token`, `chatid`) VALUES 
	(1, 'tokens', 12);

DROP TABLE IF EXISTS `trials`;
CREATE TABLE `trials` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `domain` varchar(255) NOT NULL,
  `trialbaslangic` varchar(255) DEFAULT NULL,
  `trialbitis` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
DROP TABLE IF EXISTS `uye`;
CREATE TABLE `uye` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `adsoyad` varchar(255) NOT NULL,
  `telefon` varchar(750) NOT NULL,
  `eposta` varchar(255) NOT NULL,
  `sifre` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
INSERT INTO `uye` (`id`, `adsoyad`, `telefon`, `eposta`, `sifre`) VALUES 
	(1, 'Admin s', '0555 555 555', 'admin@admin.com', '21232f297a57a5a743894a0e4a801fc3');

