Skip to content

Commit

Permalink
Arrumado php
Browse files Browse the repository at this point in the history
  • Loading branch information
kaway404 authored Dec 8, 2017
1 parent 039352b commit 47418d0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions dashboard.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<!--Obrigado por usar nossa plataforma <3 -->
<!-- Criado por Luiz e Alexandre com todo carinho para vocês -->
<!--Obrigado por usar nossa plataforma <3 -->
<!-- Criado por Luiz e Alexandre com todo carinho para vocês -->
<?php
require 'static/php/system/database.php';
require 'static/php/system/config.php';
?>
<?php
?><?php
if(isset($_COOKIE['iduser']) and (isset($_COOKIE['inisession']))){


Expand Down Expand Up @@ -47,6 +48,7 @@


?>

<head>
<title>
<?php
Expand Down Expand Up @@ -272,14 +274,14 @@
?></div>
<div class="what center">
<?php
$peoples = DBRead( 'profiles', "WHERE id and iduser = '".$user['id']."' ORDER BY id DESC LIMIT 5" );
$peoples = DBRead( 'profiles', "WHERE iduser = '".$user['id']."' ORDER BY id DESC LIMIT 5" );
if (!$peoples)
echo '';
echo '';
else
foreach ($peoples as $people):
?>
<button style="border:none; background: transparent;" name="people">
<?Php
<?Php
if($_GET['action'] == 1){?>
<?php echo ''; ?>
<?php }else{?>
Expand Down

0 comments on commit 47418d0

Please sign in to comment.