Jump to content

Recommended Posts

Posted

<if test="$this->memberData['member_id']==xx"> <div class=mesaj"> conținut mesaj </div> </if> 

înlocuiești xx cu id utilizator.

  • Upvote 2

👨‍💻 Developer din 2015 | IPS Templates | Custom Apps | Hosting

🔗 xodo.ro – proiecte smart pentru comunități de gaming

📩 PM me pentru colaborări

  • 3 weeks later...
Posted
44 minutes ago, TAZ said:

Si daca vreau sa adaug mai multe persoane.. gen:  ==1,2,3">. Cum fac?

exact cum ai scris tu :)) 

sau

<if test="$this->memberData['member_id']==array(1, 2, 3, 4)">

 

 

  • Upvote 1

👨‍💻 Developer din 2015 | IPS Templates | Custom Apps | Hosting

🔗 xodo.ro – proiecte smart pentru comunități de gaming

📩 PM me pentru colaborări

  • 1 month later...
  • Moderators
Posted
On 12/8/2016 at 6:46 PM, Alex6ndru said:

<if test="$this->memberData['member_id']==array(1, 2, 3, 4)">

Poate

<if test="in_array($this->memberData['member_id'], array(1, 2, 3, 4))">

$this->memberData['member_id'] e un id (număr întreg), nu un array.

  • Upvote 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.