diff --git a/README.md b/README.md index f1e44ed..38a7835 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Edite as seguintes linhas! Linha 3, 4, 5, 6, 10, 11, 12 , 13 -Depois edite o db.php e coloque suas conexão +Super simples ^^ E adicione a .sql na db diff --git a/account.php b/account.php index 34acfe1..089254e 100644 --- a/account.php +++ b/account.php @@ -9,7 +9,7 @@ Netflix - + + @@ -288,7 +303,7 @@ box-shadow: 0 1px 1px rgba(0,0,0,.25); color: #fff; width: 30vw; - background: #e50914; + background: #5e09e5; font-size: 1.5vw; } @@ -362,7 +377,7 @@ function(data){ } .tens a{ - color: red; + color: #5e09e5; text-decoration: none; } @@ -434,7 +449,7 @@ function(data){ box-shadow: 0 1px 1px rgba(0,0,0,.25); color: #fff; width: 30vw; - background: #e50914; + background: #5e09e5; font-size: 1.5vw; } diff --git a/action.php b/action.php new file mode 100644 index 0000000..879ca58 --- /dev/null +++ b/action.php @@ -0,0 +1,43 @@ + + + +
+ +
+

- Comentou

+
+

+ +
\ No newline at end of file diff --git a/admin.php b/admin.php index c6ed6b1..592ebc9 100644 --- a/admin.php +++ b/admin.php @@ -56,7 +56,7 @@ ?> <?php if($user['admin'] == 1){ echo 'Administrator CPANEL'; } else{ echo '404 not found';}?> - + - -
  • "> - Configuração do site -
  • -

    Site criado por Alexandre

    @@ -215,7 +210,7 @@

    - Filmes/Séries/Animes do site + Animes do site

    - + @@ -243,11 +238,32 @@ else foreach ($peoples as $people): ?> -
  • -

    +
  • +

    + Deletar +

  • + + + + + +

    @@ -372,13 +388,11 @@ }

    - Adicionando filme/Série/Anime + Adicionando Anime

    @@ -554,7 +568,7 @@ function(data){

    - Clone Neflix feito por Alexandre Silva + Wooby Administrator

    diff --git a/batata.php b/batata.php new file mode 100644 index 0000000..0fd5805 --- /dev/null +++ b/batata.php @@ -0,0 +1,17 @@ + + \ No newline at end of file diff --git a/configurando.php b/configurando.php index f44323a..683d785 100644 --- a/configurando.php +++ b/configurando.php @@ -39,7 +39,7 @@ $foto = 4; } else if($totaldeperfil == 4){ - $foto = 2; + $foto = 5; } else{ $foto = 1; diff --git a/dashboard.php b/dashboard.php index 500ac25..8cd7059 100644 --- a/dashboard.php +++ b/dashboard.php @@ -1,3 +1,5 @@ + + - + + + +
    +
    + .menu-right{ - background: #141414; + background: #000; width: 13vw; position: absolute; float: right; @@ -882,7 +914,7 @@ function(data){ } .people4{ - background-image: url(/static/avatar/user4.png); + background-image: url(/static/avatar/user5.png); } .kids{ @@ -913,13 +945,13 @@ function(data){ } .li-perfil{ - background: #141414; + background: #010101; cursor: pointer; margin-top: 0.5vw; } .li-perfil:hover{ - background: #000; + background: #515151; } @@ -1016,6 +1048,14 @@ function animacaomenupos(){ else foreach ($animels2 as $animel): ?> +
    @@ -1024,6 +1064,7 @@ function animacaomenupos(){ .apresent{ background-image: url(); + z-index: 1000; } @@ -1038,7 +1079,31 @@ function animacaomenupos(){ echo $str2; else echo substr( $str2, 0, $max2 ) . '...'?> - + + + + + + +
    @@ -1050,7 +1115,7 @@ function animacaomenupos(){ $animels52 = DBRead( 'history', "WHERE id and idpeople = '". $user['id'] ."' and perfil = '". $perfil['id'] ."'ORDER BY id ASC LIMIT 1" ); if (!$animels52) echo " -

    Que pena você não assistiu nada ainda, assista algo para aparecer aqui.

    +

    Que pena você não assistiu nada ainda, assista algo para aparecer aqui.

    "; else foreach ($animels52 as $animel5): @@ -1068,9 +1133,10 @@ function animacaomenupos(){ position: relative; height: auto; overflow: hidden; - display: flex; + display: block; -webkit-transition: all 1s; /* Safari */ transition: all 1s; + z-index: 1500; } .video{ margin-left: 0.8vw; @@ -1193,7 +1259,7 @@ function animacaomenupos(){

    Episodio

    -
    +
    @@ -1208,10 +1274,12 @@ function animacaomenupos(){
    -Em alta +Animes += 6){ +?> +
    + +
    + +
    + +
    + + + +
    + += 1 ORDER BY id DESC LIMIT 40" ); + if (!$animels2) + echo ""; +else + foreach ($animels2 as $animel): + ?> + +
    + +
    + + + + + + + + + + + +
    + + + + + + + + + + + + + + +
    +Porque você assistiu + += 6){ +?> +
    + +
    + +
    + +
    + + + +
    + + '". $batata ."' ORDER BY id ASC LIMIT 1" ); + if (!$animels2) + echo ""; +else + foreach ($animels2 as $animel): + ?> + +
    + +
    + + + + + + + + + + + +
    + + + + + + + + + + + +
    @@ -1365,12 +1750,13 @@ function animacaomenupos(){ .conteudo-info{ width: 100%; - position: relative; - height: 26vw; + position: fixed; + height: 100%; background: #000; - top: 7vw; + top: 0vw; display: none; color: #fff; + z-index: 10000000000; } .informa h1{ @@ -1405,11 +1791,11 @@ function animacaomenupos(){ } .feels:hover{ - border-bottom: 0.2vw solid red; + border-bottom: 0.2vw solid #5e09e5; } .feels-ativo{ - border-bottom: 0.2vw solid red; + border-bottom: 0.2vw solid #5e09e5; } .close{ @@ -1484,6 +1870,21 @@ function ScrollRight() { +function ScrollByLeft() { + document.getElementById("scroll5").scrollBy(1500, 0); +} +function ScrollByRight() { + document.getElementById("scroll5").scrollBy(-1500, 0); +} + +function ScrollLeft() { + document.getElementById("scroll5").scrollLeft=1500; +} +function ScrollRight() { + document.getElementById("scroll5").scrollLeft=-1500; +} + + diff --git a/db.php b/db.php index 945cd1b..8945d80 100644 --- a/db.php +++ b/db.php @@ -1,4 +1,4 @@ \ No newline at end of file +$conn = mysql_connect($hostp,$userp,$passwrdp) or die (mysql_error); +$db=mysql_select_db($dbp, $conn) or die (mysql_error); +?> diff --git a/dqs.php b/dqs.php index 5fe9258..c006f23 100644 --- a/dqs.php +++ b/dqs.php @@ -7,8 +7,7 @@ $user = DBRead('user', "WHERE id = '{$iduser}' LIMIT 1 "); $user = $user[0]; - $profile = $_GET['id']; DBDelete( 'profiles', "id = '{$profile}' and iduser = '{$user['id']}' " ); echo 'sucesso'; -} + } ?> \ No newline at end of file diff --git a/index.php b/index.php index 4ba4545..887da0c 100644 --- a/index.php +++ b/index.php @@ -2,10 +2,10 @@ if(empty($_COOKIE['iduser']) and (empty($_COOKIE['inisession']))){?> -Netflix Brasil +Wooby Brasil - + @@ -68,7 +68,7 @@ .login-b{ color: #fff; - background-color: #e50914; + background-color: #5e09e5; line-height: normal; margin: 18px 3% 0; padding: 7px 17px; @@ -108,12 +108,12 @@ .apresentation .btn-free { color: #fff; font-size: 1.2vw; - background-color: #e50914; - background-image: -webkit-gradient(linear,left top,left bottom,from(#e50914),to(#db0510)); - background-image: -webkit-linear-gradient(top,#e50914,#db0510); - background-image: -moz-linear-gradient(top,#e50914,#db0510); - background-image: -o-linear-gradient(top,#e50914,#db0510); - background-image: linear-gradient(to bottom,#e50914,#db0510); + background-color: #5e09e5; + background-image: -webkit-gradient(linear,left top,left bottom,from(#5e09e5),to(#055bdb)); + background-image: -webkit-linear-gradient(top,#5e09e5,#055bdb); + background-image: -moz-linear-gradient(top,#5e09e5,#055bdb); + background-image: -o-linear-gradient(top,#5e09e5,#055bdb); + background-image: linear-gradient(to bottom,#5e09e5,#055bdb); -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.45); -moz-box-shadow: 0 1px 0 rgba(0,0,0,.45); box-shadow: 0 1px 0 rgba(0,0,0,.45); @@ -190,7 +190,7 @@ width: 20%; height: inherit; display: inline-block; - left: 20%; + left: 40%; position: relative; margin-left: 0.5vw; top: 0; @@ -221,7 +221,7 @@ } .ativo{ - border-bottom: 0.2vw solid red; + border-bottom: 0.2vw solid #5e09e5; opacity: 1 !important; } @@ -237,19 +237,6 @@
    -
  • -
    -

    Sem compromisso -Assista onde quiser, quanto quiser

    -
    -
  • - -
  • -
    - -

    Escolha seu plano

    -
    -
  • @@ -292,12 +279,12 @@ .red-free{ color: #fff; - background-color: #e50914; - background-image: -webkit-gradient(linear,left top,left bottom,from(#e50914),to(#db0510)); - background-image: -webkit-linear-gradient(top,#e50914,#db0510); - background-image: -moz-linear-gradient(top,#e50914,#db0510); - background-image: -o-linear-gradient(top,#e50914,#db0510); - background-image: linear-gradient(to bottom,#e50914,#db0510); + background-color: #5e09e5; + background-image: -webkit-gradient(linear,left top,left bottom,from(#5e09e5),to(#055bdb)); + background-image: -webkit-linear-gradient(top,#5e09e5,#055bdb); + background-image: -moz-linear-gradient(top,#5e09e5,#055bdb); + background-image: -o-linear-gradient(top,#5e09e5,#055bdb); + background-image: linear-gradient(to bottom,#5e09e5,#055bdb); -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.45); -moz-box-shadow: 0 1px 0 rgba(0,0,0,.45); box-shadow: 0 1px 0 rgba(0,0,0,.45); @@ -333,4 +320,4 @@ include 'dashboard.php'; } ?> - \ No newline at end of file + diff --git a/netflix.sql b/netflix.sql index 042e108..1837684 100644 --- a/netflix.sql +++ b/netflix.sql @@ -3,7 +3,7 @@ -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 --- Generation Time: 29-Nov-2017 às 13:39 +-- Generation Time: 01-Dez-2017 às 14:12 -- Versão do servidor: 10.1.25-MariaDB -- PHP Version: 5.6.31 @@ -24,6 +24,53 @@ SET time_zone = "+00:00"; -- -------------------------------------------------------- +-- +-- Estrutura da tabela `netflix_back` +-- + +CREATE TABLE `netflix_back` ( + `id` int(11) NOT NULL, + `img` text NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- +-- Extraindo dados da tabela `netflix_back` +-- + +INSERT INTO `netflix_back` (`id`, `img`) VALUES +(1, '1.png'), +(2, '2.png'), +(3, '3.png'), +(4, '4.png'), +(5, '5.png'), +(6, '6.png'); + +-- -------------------------------------------------------- + +-- +-- Estrutura da tabela `netflix_comment` +-- + +CREATE TABLE `netflix_comment` ( + `id` int(11) NOT NULL, + `iduser` varchar(255) NOT NULL, + `idprofile` varchar(255) NOT NULL, + `episodio` varchar(255) NOT NULL, + `texto` text NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- +-- Extraindo dados da tabela `netflix_comment` +-- + +INSERT INTO `netflix_comment` (`id`, `iduser`, `idprofile`, `episodio`, `texto`) VALUES +(3, '1', '44', '12', 'Teste'), +(4, '10', '34', '12', 'Muito legal'), +(5, '1', '44', '', 'ue'), +(6, '1', '44', '', 'ue'); + +-- -------------------------------------------------------- + -- -- Estrutura da tabela `netflix_history` -- @@ -44,34 +91,9 @@ CREATE TABLE `netflix_history` ( -- INSERT INTO `netflix_history` (`id`, `idvideo`, `idserie`, `idpeople`, `progress`, `atualprogress`, `perfil`, `ep`) VALUES -(16, '1', '22', '1', '37.199463384576845%', '289.107203', '8', '01'), -(17, '2', '22', '1', '50.70167361598712%', '290.517109', '8', '02'), -(18, 'assets/css/style.css', '', '1', '', '', '8', ''), -(19, 'img/voltar.png', '', '1', '', '', '8', ''), -(20, 'img/play.png', '', '1', '', '', '8', ''), -(21, 'img/pause.png', '', '1', '', '', '8', ''), -(22, 'img/voltar_ativo.png', '', '1', '', '', '8', ''), -(23, 'img/v.png', '', '1', '', '', '8', ''), -(24, 'assets/js/mod_xhr.js', '', '1', '', '', '8', ''), -(25, 'img/volume.png', '', '1', '', '', '8', ''), -(26, 'img/ajuda.png', '', '1', '', '', '8', ''), -(27, 'static/videos/1.jpg', '', '1', '', '', '8', ''), -(28, 'img/baixo.png', '', '1', '', '', '8', ''), -(29, 'img/ep.png', '', '1', '', '', '8', ''), -(30, 'img/eps.png', '', '1', '', '', '8', ''), -(31, 'img/sub.png', '', '1', '', '', '8', ''), -(32, 'img/full.png', '', '1', '', '', '8', ''), -(33, 'img/mute.png', '', '1', '', '', '8', ''), -(34, 'img/desfull.png', '', '1', '', '', '8', ''), -(35, 'assets/css/assets/js/mod_xhr.js', '', '1', '', '', '8', ''), -(36, 'assets/css/assets/css/style.css', '', '1', '', '', '8', ''), -(37, 'dashboard.php', '', '1', '', '', '8', ''), -(38, '1', '22', '1', '58.48319882377424%', '436.3407', '12', '01'), -(39, '1', '22', '6', '3.952515440205509%', '2.139125', '13', '01'), -(40, '2', '22', '6', '4.653635634684006%', '1.544021', '13', '02'), -(41, '1', '22', '1', '43.977034225211156%', '255.156691', '18', '01'), -(42, '1', '22', '9', '7.168614325422235%', '330.941361', '32', '01'), -(43, '1', '22', '1', '42.59431478758155%', '293.63165', '26', '01'); +(16, '1', '22', '1', '57.899601913473596%', '399.540612', '44', '01'), +(17, '12', '26', '1', '66.33088423354437%', '945.884158', '53', '01'), +(18, '1', '22', '1', '0.06293076996989999%', '0.709073', '53', '01'); -- -------------------------------------------------------- @@ -99,13 +121,11 @@ INSERT INTO `netflix_profiles` (`id`, `idcry`, `nome`, `datec`, `iduser`, `foto` (10, 0, 'Alexandre', '2017-11-28 16:08:53', '5', '1'), (13, 0, 'Before123', '2017-11-28 16:58:20', '6', '1'), (15, 0, 'Perfil 1', '2017-11-28 17:06:02', '7', '1'), -(26, 0, 'Alexandre', '2017-11-28 21:34:26', '1', '1'), -(27, 0, 'Parasita', '2017-11-28 21:34:29', '1', '2'), -(28, 0, 'Parasita 2', '2017-11-28 21:34:33', '1', '3'), -(29, 0, 'Parasita 3', '2017-11-28 21:34:36', '1', '4'), -(30, 0, 'Parasita 4', '2017-11-28 21:34:40', '1', '2'), (31, 0, 'Bruno', '2017-11-28 21:50:44', '8', '1'), -(32, 0, 'Ericlys Syllas', '2017-11-28 21:51:23', '9', '1'); +(32, 0, 'Ericlys Syllas', '2017-11-28 21:51:23', '9', '1'), +(34, 0, 'Wooby-Admin', '2017-11-30 15:25:48', '10', '1'), +(49, 0, 'Locked', '2017-11-30 18:05:52', '11', '1'), +(53, 0, 'Alexandre', '2017-12-01 09:22:57', '1', '5'); -- -------------------------------------------------------- @@ -120,16 +140,20 @@ CREATE TABLE `netflix_series` ( `foto` text NOT NULL, `fotoback` text NOT NULL, `logo` text NOT NULL, - `tipo` varchar(255) NOT NULL + `tipo` varchar(255) NOT NULL, + `views` varchar(255) NOT NULL, + `gen1` text NOT NULL, + `gen2` text NOT NULL, + `gen3` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Extraindo dados da tabela `netflix_series` -- -INSERT INTO `netflix_series` (`id`, `name`, `desct`, `foto`, `fotoback`, `logo`, `tipo`) VALUES -(22, 'Boku no Hero Academy', 'Mundo para com o mistério monstro “disaster” que apareceu ameaçando a paz. A humanidade para combater o disaster, formaram a forças especiais “Saber”. O conglomerado privado também lançou uma organização de defesa independente Chamado “Blade”, que tenha sido envolvido em uma batalha. Noi é um estudante do ensino médio, do tipo muito comum que anseia por entrar nas forças especiais para combater o disaster. Com a aparição da misteriosa estudante transferida Motisu, Noi vai ter sua vida normal virar de cabeça pra baixo. Os jogadores realistas e virtuais, tendo a sua volta NPC’s, tanto seu pai quanto sua mãe… quando sua memória de 10 anos atrás retornou, os segredos desse mundo foram revelados.', 'http://oi57.tinypic.com/s4ma8z.jpg?w=240', 'http://lostinanime.com/wp-content/uploads/2017/04/Boku-no-Hero-Academia-2-02-30.jpg', 'https://upload.wikimedia.org/wikipedia/commons/c/cf/Boku_no_Hero_Academia_Logo.png', '3'), -(24, 'Mr Robot', 'Descrição sobre Mr Robot', 'http://is5.mzstatic.com/image/thumb/Music49/v4/35/c4/ea/35c4eac7-fef3-bacc-0525-a941187cc03e/source/1200x630bb.jpg', 'https://d1srlirzdlmpew.cloudfront.net/wp-content/uploads/sites/92/2017/10/11055507/mr-robot-safety-tips-featured.jpg', 'https://wiki.gamedetectives.net/images/f/f9/Mr-robot.png', '2'); +INSERT INTO `netflix_series` (`id`, `name`, `desct`, `foto`, `fotoback`, `logo`, `tipo`, `views`, `gen1`, `gen2`, `gen3`) VALUES +(22, 'Boku no Hero Academy', 'O que é um herói? Para Midoriya Izuku, a resposta dessa pergunta sempre foi simples: “Tudo que eu quero ser!” E quem é o maior herói? Bem, o lendário All Might (Todo Poderoso), é claro. All Might é o herói número um e também o “Símbolo da Paz” mundial. Nem mesmo em seus sonhos mais loucos Izuku poderia imaginar que logo seu caminho cruzaria o de seu herói de infância. Em Boku no Hero Academia o status é governado pelas “Individualidades”, superpoderes singulares que se desenvolvem na infância. Mas infelizmente, o viciado em heróis, Midoriya “Deku” Izuku nunca teve uma Individualidade. Isto é, até conhecer All Might, o maior herói de todos. A transformação de sonhador em herói de Izuku começa na Academia U.A., a melhor escola de treinamento de heróis do Japão. Izuku fica eufórico quando é aceito para essa academia de prestígio, especialmente quando descobre que All Might é um dos professores. Que surpresas essa academia poderosa aguarda? Izuku será capaz de acompanhar os colegas de classe de elite?', 'https://static.tumblr.com/a401d168e0ff7acf997726558e2e3725/h58van7/3a8nhof20/tumblr_static_tumblr_static_4lqsmcqwsjggcwwcs0gw4k84w_640.png', 'http://www.animalog.biz/wp-content/uploads/2017/09/maxresdefault-4-1.jpg?x26225', 'https://upload.wikimedia.org/wikipedia/commons/c/cf/Boku_no_Hero_Academia_Logo.png', '3', '', '', '', ''), +(26, 'Dungeon Ni Deai', 'Sinopse: honra, e as esperanças de romance com uma garota bonita. Nesta cidade de sonhos e desejos, novo aventureiro Sino Cranel tem o fatídico encontro com a pequena deusa Hestia.', 'https://honeysanime.com/wp-content/uploads/2017/08/DanMachi-capture-3-Sentai-560x335.png', 'https://images.alphacoders.com/638/thumb-1920-638271.jpg', 'https://img00.deviantart.net/d335/i/2015/103/c/a/logo_danmachi_by_nesmeth-d8plmp9.png', '3', '26', '', '', ''); -- -------------------------------------------------------- @@ -178,7 +202,7 @@ CREATE TABLE `netflix_user` ( -- INSERT INTO `netflix_user` (`id`, `idcry`, `email`, `password`, `datec`, `lastlogin`, `configurado`, `ip`, `banned`, `inisession`, `expirado`, `admin`) VALUES -(1, '645d900939e7702d6ce6a2ba7b109d702f7f2808', 'xande1231231@hotmail.com', 'a0b48bf6735b085374fa984535372a8025210e45', '2017-12-21', '2017-11-28 21:49:45', 1, '187.55.46.112', 0, '2017-11-20 18:22:27', '2017-12-21', 1), +(1, '645d900939e7702d6ce6a2ba7b109d702f7f2808', 'xande1231231@hotmail.com', 'a0b48bf6735b085374fa984535372a8025210e45', '2017-12-30', '2017-12-01 10:14:48', 1, '187.55.46.112', 0, '2017-11-20 18:22:27', '2017-12-31', 1), (2, '645d900939e7702d6ce6a2ba7b109d702f7f2808', 'xande1231221@hotmail.com', 'a0b48bf6735b085374fa984535372a8025210e45', '2017-11-20', '2017-11-20 18:22:27', 1, '187.55.46.112', 0, '2017-11-20 18:22:27', '2017-12-21', 0), (3, '85e3ab197e46051afabbe3d6ee48cd37c7fc7bbd', 'anelisenaiara2006@hotmail.com', 'a873d476f684dd7a02e0ff310c060f547e3b1459', '2017-11-20', '2017-11-20 21:42:29', 1, '187.55.46.112', 0, '2017-11-20 21:42:29', '2017-12-21', 0), (4, '2e6389ee3b04ed50c65c8eaface6cd6735a4b94f', 'lucas-hartmann@outlook.com.br', '6b6f8a72af25766d73210394f729cccebe52ccd6', '2017-11-28', '2017-11-28 11:26:48', 1, '177.203.93.66', 0, '2017-11-28 11:26:48', '2017-12-28', 0), @@ -186,7 +210,9 @@ INSERT INTO `netflix_user` (`id`, `idcry`, `email`, `password`, `datec`, `lastlo (6, '8e648092a0f897036304b480b3c05411cf374dfe', 'igoroliveira270@outlook.com', 'b8a5beb64307f7726bf50077e556ae0e6492f76c', '2017-11-28', '2017-11-28 16:58:14', 1, '186.244.97.116', 0, '2017-11-28 16:58:14', '2017-12-29', 0), (7, '83f92d5b8a874984ed924081cb4c06d11f924be0', 'killerfell15@gmail.com', '8a49932c7d421d1a30c1e10a60fc1e3c75ffbe00', '2017-11-28', '2017-11-28 17:04:48', 1, '201.6.132.24', 0, '2017-11-28 17:04:48', '2017-12-29', 0), (8, 'd83d83e98896a00cd2084f42ed45d14fe5c9229a', 'dejavu@cuvox.de', 'a800c766b67c2363bf72f26f78aa1a312ee3de97', '2017-11-28', '2017-11-28 21:52:35', 1, '187.126.226.230', 0, '2017-11-28 21:50:40', '2017-12-29', 0), -(9, '5b31cca7d85947da218e2b9464510b3d878b9fa0', 'ericlyssyllas@gmail.com', 'e81ea2873c1effaa2126fb89f5454f7248192a43', '2017-11-28', '2017-11-28 21:51:13', 1, '186.208.68.226', 0, '2017-11-28 21:51:13', '2017-12-29', 0); +(9, '5b31cca7d85947da218e2b9464510b3d878b9fa0', 'ericlyssyllas@gmail.com', 'e81ea2873c1effaa2126fb89f5454f7248192a43', '2017-11-28', '2017-11-28 21:51:13', 1, '186.208.68.226', 0, '2017-11-28 21:51:13', '2017-12-29', 0), +(10, '7d54455f1f39a20c253f975334260e7cc2f5437d', 'wooby.contato@gmail.com', 'e41aa374a6058fd1db65c1aec82e24014a1edc92', '2017-11-30', '2017-11-30 18:03:43', 1, '191.17.186.17', 0, '2017-11-30 15:25:37', '2017-12-31', 1), +(11, '086be694f4d2a64e50003d5e069d1070aac5fbc6', 'enzomendes25@outlook.com', 'cd02bcdbb1fe762e7cadd346c7452fe04138bb1f', '2017-11-30', '2017-11-30 18:05:47', 1, '200.159.129.64', 0, '2017-11-30 18:05:47', '2017-12-31', 0); -- -------------------------------------------------------- @@ -209,15 +235,28 @@ CREATE TABLE `netflix_videos` ( -- INSERT INTO `netflix_videos` (`id`, `idserie`, `views`, `nome`, `ep`, `desct`, `video`) VALUES -(1, '22', '293', '', '01', '', 'https://r10---sn-bg07dnez.googlevideo.com/videoplayback?requiressl=yes&id=32adc2a1b188a740&itag=18&source=blogger&app=blogger&ip=0.0.0.0&ipbits=0&expire=1513242867&sparams=expire,id,ip,ipbits,itag,mip,mm,mn,ms,mv,pl,requiressl,sc,source&signature=5D16A41167588E334D772276BF9307BBEA3AA972.530DF20D1366D067E73D43AF51FCCE9C83819043&key=cms1&cms_redirect=yes&mip=187.55.27.109&mm=30&mn=sn-bg07dnez&ms=nxu&mt=1511095286&mv=m&pl=18&sc=yes'), -(2, '22', '53', '', '02', '', 'https://r6---sn-bg07dnls.googlevideo.com/videoplayback?requiressl=yes&id=4d69e22a5953431d&itag=18&source=blogger&app=blogger&ip=0.0.0.0&ipbits=0&expire=1513247438&sparams=expire,id,ip,ipbits,itag,mip,mm,mn,ms,mv,pl,requiressl,sc,source&signature=0FE4C58EAE738DC4E117FA36C6539225D45C01F1.5C15E1E12C886BDB1653357CB31158D2E3B28716&key=cms1&cms_redirect=yes&mip=187.55.27.109&mm=30&mn=sn-bg07dnls&ms=nxu&mt=1511099873&mv=m&pl=18&sc=yes'), -(3, '22', '253', '', '03', '', 'https://r6---sn-bg07dnls.googlevideo.com/videoplayback?requiressl=yes&id=4d69e22a5953431d&itag=18&source=blogger&app=blogger&ip=0.0.0.0&ipbits=0&expire=1513247438&sparams=expire,id,ip,ipbits,itag,mip,mm,mn,ms,mv,pl,requiressl,sc,source&signature=0FE4C58EAE738DC4E117FA36C6539225D45C01F1.5C15E1E12C886BDB1653357CB31158D2E3B28716&key=cms1&cms_redirect=yes&mip=187.55.27.109&mm=30&mn=sn-bg07dnls&ms=nxu&mt=1511099873&mv=m&pl=18&sc=yes'), -(4, '24', '', '', '01', '', 'https://r6---sn-bg07dnlz.googlevideo.com/videoplayback?requiressl=yes&id=e8d16780fecc983d&itag=18&source=blogger&app=blogger&ip=0.0.0.0&ipbits=0&expire=1514106148&sparams=expire,id,ip,ipbits,itag,mip,mm,mn,ms,mv,pl,requiressl,sc,source&signature=47C3F1E1A33E150548A9767E6EB4AD53DA58ED9E.7BA42050A1C05C7B89C461B02CFE48EA7C0F04&key=cms1&cms_redirect=yes&mip=187.55.10.228&mm=30&mn=sn-bg07dnlz&ms=nxu&mt=1511958014&mv=u&pl=18&sc=yes'); +(1, '22', '343', '', '01', '', 'https://r10---sn-bg07dnez.googlevideo.com/videoplayback?requiressl=yes&id=32adc2a1b188a740&itag=18&source=blogger&app=blogger&ip=0.0.0.0&ipbits=0&expire=1513242867&sparams=expire,id,ip,ipbits,itag,mip,mm,mn,ms,mv,pl,requiressl,sc,source&signature=5D16A41167588E334D772276BF9307BBEA3AA972.530DF20D1366D067E73D43AF51FCCE9C83819043&key=cms1&cms_redirect=yes&mip=187.55.27.109&mm=30&mn=sn-bg07dnez&ms=nxu&mt=1511095286&mv=m&pl=18&sc=yes'), +(2, '22', '54', '', '02', '', 'https://r6---sn-bg07dnls.googlevideo.com/videoplayback?requiressl=yes&id=4d69e22a5953431d&itag=18&source=blogger&app=blogger&ip=0.0.0.0&ipbits=0&expire=1513247438&sparams=expire,id,ip,ipbits,itag,mip,mm,mn,ms,mv,pl,requiressl,sc,source&signature=0FE4C58EAE738DC4E117FA36C6539225D45C01F1.5C15E1E12C886BDB1653357CB31158D2E3B28716&key=cms1&cms_redirect=yes&mip=187.55.27.109&mm=30&mn=sn-bg07dnls&ms=nxu&mt=1511099873&mv=m&pl=18&sc=yes'), +(3, '22', '254', '', '03', '', 'https://r6---sn-bg07dnls.googlevideo.com/videoplayback?requiressl=yes&id=4d69e22a5953431d&itag=18&source=blogger&app=blogger&ip=0.0.0.0&ipbits=0&expire=1513247438&sparams=expire,id,ip,ipbits,itag,mip,mm,mn,ms,mv,pl,requiressl,sc,source&signature=0FE4C58EAE738DC4E117FA36C6539225D45C01F1.5C15E1E12C886BDB1653357CB31158D2E3B28716&key=cms1&cms_redirect=yes&mip=187.55.27.109&mm=30&mn=sn-bg07dnls&ms=nxu&mt=1511099873&mv=m&pl=18&sc=yes'), +(4, '24', '12', '', '01', '', 'https://r6---sn-bg07dnlz.googlevideo.com/videoplayback?requiressl=yes&id=e8d16780fecc983d&itag=18&source=blogger&app=blogger&ip=0.0.0.0&ipbits=0&expire=1514106148&sparams=expire,id,ip,ipbits,itag,mip,mm,mn,ms,mv,pl,requiressl,sc,source&signature=47C3F1E1A33E150548A9767E6EB4AD53DA58ED9E.7BA42050A1C05C7B89C461B02CFE48EA7C0F04&key=cms1&cms_redirect=yes&mip=187.55.10.228&mm=30&mn=sn-bg07dnlz&ms=nxu&mt=1511958014&mv=u&pl=18&sc=yes'), +(12, '26', '248', '', '01', '', 'http://www.blogger.com/video-play.mp4?contentId=c5c14134cf6da894&autoplay=true'); -- -- Indexes for dumped tables -- +-- +-- Indexes for table `netflix_back` +-- +ALTER TABLE `netflix_back` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `netflix_comment` +-- +ALTER TABLE `netflix_comment` + ADD PRIMARY KEY (`id`); + -- -- Indexes for table `netflix_history` -- @@ -258,21 +297,31 @@ ALTER TABLE `netflix_videos` -- AUTO_INCREMENT for dumped tables -- +-- +-- AUTO_INCREMENT for table `netflix_back` +-- +ALTER TABLE `netflix_back` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; +-- +-- AUTO_INCREMENT for table `netflix_comment` +-- +ALTER TABLE `netflix_comment` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `netflix_history` -- ALTER TABLE `netflix_history` - MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=44; + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; -- -- AUTO_INCREMENT for table `netflix_profiles` -- ALTER TABLE `netflix_profiles` - MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33; + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=54; -- -- AUTO_INCREMENT for table `netflix_series` -- ALTER TABLE `netflix_series` - MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25; + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34; -- -- AUTO_INCREMENT for table `netflix_swit_pro` -- @@ -282,12 +331,12 @@ ALTER TABLE `netflix_swit_pro` -- AUTO_INCREMENT for table `netflix_user` -- ALTER TABLE `netflix_user` - MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12; -- -- AUTO_INCREMENT for table `netflix_videos` -- ALTER TABLE `netflix_videos` - MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;COMMIT; + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; diff --git a/register.php b/register.php index 3d1ffa8..6b14e59 100644 --- a/register.php +++ b/register.php @@ -1,6 +1,6 @@ - -
    location.href="configure";'; - } - + } + + $inicio = $user['datec']; + $expirado = date('Y-m-d', strtotime('+43700 min')); + if (strtotime($inicio) >= strtotime($expirado)) { + setcookie("iduser" , ""); + setcookie("inisession" , ""); + setcookie("usuario" , ""); + header("location: /"); + } + + $viewsadd = array('views' => $anime['views'] + 1); + DBUpDate( 'series', $viewsadd, "id = '{$anime['id']}'" ); if(empty($_COOKIE['usuario'])){ echo ''; @@ -48,6 +61,9 @@ if(isset($_COOKIE['usuario'])){ ?> + + + -Netflix +Wooby - + + +