Skip to content

Commit

Permalink
Arrumado watch e remover animes
Browse files Browse the repository at this point in the history
  • Loading branch information
kaway404 committed Dec 1, 2017
1 parent 7a348cd commit f0644fb
Show file tree
Hide file tree
Showing 27 changed files with 690 additions and 151 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
31 changes: 23 additions & 8 deletions account.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Netflix
</title>
<meta charset="UTF-8">
<link rel="shortcut icon" href="https://assets.nflxext.com/us/ffe/siteui/common/icons/nficon2016.ico"/>
<link rel="shortcut icon" href="/static/ico/default.ico"/>
</head>
<html>
<style>
Expand Down Expand Up @@ -48,7 +48,7 @@
}

.login-b{
color: #e50914;
color: #5e09e5;
background-color: transparent;
line-height: normal;
margin: 18px 3% 0;
Expand Down Expand Up @@ -82,11 +82,26 @@
</a>
<?php } ?>
</div>

<?php
require 'static/php/system/database.php';
require 'static/php/system/config.php';
?>
<?php
$resultsearchs = DBRead( 'back', "WHERE id ORDER BY rand() DESC LIMIT 1" );
if (!$resultsearchs)
echo '';
else
foreach ($resultsearchs as $resultsearch):
?>
<Style>
.body-a{
background-image: url(/static/backgronds/<?php echo $resultsearch['img'];?>);
}
</style>
<?php endforeach;?>

<style>
.body-a{
background-image: url(/static/back2.jpg);
width: 100%;
height: 100%;
background-size: cover;
Expand Down Expand Up @@ -246,7 +261,7 @@
box-shadow: 0 1px 1px rgba(0,0,0,.25);
color: #fff;
width: 30vw;
background: #e50914;
background: #5e09e5;
font-size: 1.5vw;
}
</style>
Expand Down Expand Up @@ -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;
}
</style>
Expand Down Expand Up @@ -362,7 +377,7 @@ function(data){
}

.tens a{
color: red;
color: #5e09e5;
text-decoration: none;
}

Expand Down Expand Up @@ -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;
}
</style>
Expand Down
43 changes: 43 additions & 0 deletions action.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php
require 'static/php/system/database.php';
require 'static/php/system/config.php';
?>
<?php
include('db.php');
$check = mysql_query("SELECT * FROM neko_post order by id desc");
if(isset($_POST['content']))
{
$content=mysql_real_escape_string($_POST['content']);
$ip=mysql_real_escape_string($_SERVER['REMOTE_ADDR']);
$iduser = DBEscape( strip_tags(trim($_COOKIE['iduser']) ) );
$num1 = rand(15, 50);
$num2 = rand(121235321, 20);
$antispam5 = $num1 * $num2;
$antispam = DBEscape(strip_tags(trim(sha1($antispam5))));
$time = date('Y-m-d H:i:s');
$tipo = 1;
$idperfil = DBEscape( strip_tags(trim($_COOKIE['usuario']) ) );
$idvideo=mysql_real_escape_string($_POST['ids']);


mysql_query("SET NAMES 'utf8'");
mysql_query('SET character_set_connection=utf8');
mysql_query('SET character_set_client=utf8');
mysql_query('SET character_set_results=utf8');
mysql_query("insert into netflix_comment(texto,iduser,idprofile,episodio) values ('$content','$iduser','$idperfil','$idvideo')");
$fetch= mysql_query("SELECT texto FROM netflix_comment order by id desc");
$row=mysql_fetch_array($fetch);
}
$idperfil2 = DBEscape( strip_tags(trim($_COOKIE['usuario']) ) );
$user = DBRead('people', "WHERE id = '{$idperfil2}' LIMIT 1 ");
$user = $user[0];
?>

<div class="comentario1">

<div class="people<?php echo $user['foto']; ?> avatar"></div>
<p class="peoplep"><?php echo $user['nome']; ?> - Comentou</p>
<div style="width: 100%; height: 0.1vw; background: #000; position: absolute; top: 4.4vw;"></div>
<p class="todos"><?php echo $row['texto']; ?></p>

</div>
42 changes: 28 additions & 14 deletions admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
?>
<head>
<title><?php if($user['admin'] == 1){ echo 'Administrator CPANEL'; } else{ echo '404 not found';}?></title>
<link rel="shortcut icon" href="https://assets.nflxext.com/us/ffe/siteui/common/icons/nficon2016.ico"/>
<link rel="shortcut icon" href="/static/ico/default.ico"/>
</head>
<?php
if($user['admin'] == 1){
Expand Down Expand Up @@ -151,11 +151,6 @@
</li>
</a>

<a href="admin.php?action=configw&iduser=<?php echo $user['idcry'] ?>">
<li class="opa <?php if($_GET['action'] == configw){ echo "ativo"; }else{ echo ''; } ?>">
Configuração do site
</li>
</a>

<p style="bottom: 0.5vw; position: absolute;left: 2vw; font-size: 1.2vw;">Site criado por <a style="color: red;" href="https://facebook.com/imxandeco"> Alexandre </a></p>

Expand Down Expand Up @@ -215,7 +210,7 @@

<?php } else if($_GET['action'] == filme){ ?>
<h1 style="color: #fff; font-size: 1.9vw; text-align: center; position: relative; top: 1vw;">
Filmes/Séries/Animes do site
Animes do site
</h1>

<style>
Expand All @@ -232,7 +227,7 @@
}
</style>
<center>
<a href="admin.php?action=adicionarf"><button class="adds">Adicionar filme/Série/Anime</button></a>
<a href="admin.php?action=adicionarf"><button class="adds">Adicionar Anime</button></a>
<a href="admin.php?action=adicionarep"><button class="adds">Adicionar episodio</button></a>


Expand All @@ -243,11 +238,32 @@
else
foreach ($peoples as $people):
?>
<li class="baka" style="margin-top: 0.5vw; top: 3vw;">
<p> <?php echo $people['name'];?></p>
<li class="baka" id="baka<?php echo $people['id']; ?>" style="margin-top: 0.5vw; top: 3vw;">
<p> <?php echo $people['name'];?>
<a style="color: blue;float: right; position: relative; right: 2vw;" id="deletar<?Php echo $people['id']; ?>">Deletar</a>
</p>
</li>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>

<script>
$(document).ready(function() {
$("#deletar<?Php echo $people['id']; ?>").click(function() {
var idPost = <?php echo $people['id']; ?>;
$.post("/batata.php?id=<?php echo $people['id']; ?>", {id: idPost},
function(data){
$("#resposta").html(data);
}
, "html");
$("#baka<?php echo $people['id']; ?>").fadeOut(600);
return false;
});
});
</script>
<?php endforeach; ?>




</center>
<?php } else if($_GET['action'] == configw){?>
<h1 style="color: #fff; font-size: 1.9vw; text-align: center; position: relative; top: 1vw;">
Expand Down Expand Up @@ -372,13 +388,11 @@
}
</style>
<h1 style="color: #fff; font-size: 1.9vw; text-align: center; position: relative; top: 1vw;">
Adicionando filme/Série/Anime
Adicionando Anime
</h1>
<center>
<form method="post">
<select name="banidolist" id="tipo" class="baka-input">
<option value="1">Filme</option>
<option value="2">Série</option>
<option value="3">Anime</option>
</select>
<input class="baka-input" type="text" id="names" placeholder="Nome" value=""/>
Expand Down Expand Up @@ -554,7 +568,7 @@ function(data){
<?php } else{?>

<h1 style="color: #fff; font-size: 1.9vw; text-align: center; position: relative; top: 1vw;">
Clone Neflix feito por Alexandre Silva
Wooby Administrator
</h1>
<center>
<img style="width: 10vw; width: 10vw; position: relative; top: 2vw; border-radius: 50%;" src="https://scontent.ffln4-1.fna.fbcdn.net/v/t1.0-9/23722498_304421860043610_2487643949019415175_n.jpg?oh=fe2e350ef8d58f90edeb1a1641c59ff0&oe=5A8DF606"/>
Expand Down
17 changes: 17 additions & 0 deletions batata.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php
require 'static/php/system/database.php';
require 'static/php/system/config.php';
?>
<?php
if(isset($_COOKIE['iduser']) and (isset($_COOKIE['inisession']))){
$iduser = DBEscape( strip_tags(trim($_COOKIE['iduser']) ) );
$user = DBRead('user', "WHERE id = '{$iduser}' LIMIT 1 ");
$user = $user[0];

if($user['admin'] == 1){
$batata = $_GET['id'];
DBDelete( 'series', "id = '{$batata}' " );
echo 'sucesso';
}
}
?>
2 changes: 1 addition & 1 deletion configurando.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
$foto = 4;
}
else if($totaldeperfil == 4){
$foto = 2;
$foto = 5;
}
else{
$foto = 1;
Expand Down
Loading

0 comments on commit f0644fb

Please sign in to comment.