MN Forum

Full Version: Sintax! help pls
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi team! i use pes pro 1.9.1

is there a sintax that make class only if the user is online?

i find
<?if(!$is_online){?> that is shown alone and anonymous users
<?if($data['admin'] == 1){?> if is logged admin
and for membrer online ?

Bye
Hello,

I think you're asking about that:

PHP Code:
Hidden content for guests 
mmm..no.
if i use
<?if($is_online){?> your conent here <?}?>
the user not logged see this,
but if I want that it appears only to logged users?
(06-05-2013, 01:51 AM)die84albe Wrote: [ -> ]Hidden content for guests

Try again, is not the same code posted by you here, if you take a look again, ! was removed (without ! is used for logged users, with ! is used for non-logged users).
Thk! Thk! Thk!

bye!