Advertisement:

Author Topic: Costa - Responde Ae D:  (Read 1319 times)

Offline Jean Prado

  • Jr. Member
  • **
  • Posts: 307
  • Gender: Male
Costa - Responde Ae D:
« on: November 08, 2009, 04:10:18 PM »
Aew, como faço pra esconder algo de um visitante em PHP?
É com
    if ($context['user']['is_guest']) ?


Offline Costa

  • SMF Hero
  • ******
  • Posts: 3,045
  • Gender: Male
  • Do NOT feed the trolls...
Re: Costa - Responde Ae D:
« Reply #1 on: November 08, 2009, 05:08:39 PM »
yep

Code: [Select]
if (!$context['member']['is_guest'])
{

conteúdo a esconder dos visitantes

}
« Last Edit: November 13, 2009, 06:03:18 PM by Costa »
Hugo "Costa" Fernandes
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

Offline Jean Prado

  • Jr. Member
  • **
  • Posts: 307
  • Gender: Male
Re: Costa - Responde Ae D:
« Reply #2 on: November 08, 2009, 06:28:11 PM »
vlw véi :D

-EDIT-

não funcionou ... :o
« Last Edit: November 08, 2009, 06:32:37 PM by Piteel™ »