From 47418d066281f1bc265280b02a1ded9727d2a92a Mon Sep 17 00:00:00 2001 From: kaway404 <32229419+kaway404@users.noreply.github.com> Date: Fri, 8 Dec 2017 18:31:46 -0200 Subject: [PATCH] Arrumado php --- dashboard.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dashboard.php b/dashboard.php index f1a39dc..adce17b 100644 --- a/dashboard.php +++ b/dashboard.php @@ -1,10 +1,11 @@ + + - + <?php @@ -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{?>