MN Forum
Sintax! help pls - Printable Version

+- MN Forum (http://forum.mn-shop.com)
+-- Forum: Products (http://forum.mn-shop.com/forum-products.html)
+--- Forum: Ask a Question (http://forum.mn-shop.com/forum-ask-a-question.html)
+--- Thread: Sintax! help pls (/thread-sintax-help-pls.html)



Sintax! help pls - die84albe - 06-05-2013

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


RE: Sintax! help pls - Admin - 06-05-2013

Hello,

I think you're asking about that:

PHP Code:
Hidden content for guests 



RE: Sintax! help pls - die84albe - 06-05-2013

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?


RE: Sintax! help pls - Admin - 06-05-2013

(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).


RE: Sintax! help pls - die84albe - 06-05-2013

Thk! Thk! Thk!

bye!