How to use <if gids in .php
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #4
RE: How to use <if gids in .php
OMG, you are the saviour zinga. Thanks Smile

This made the work.

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if(in_array($GLOBALS['mybb']->user['usergroup'], array(3,4,6))) 
        {
                $ontoday=<<<HERE
                <td class="trow1"><a href="/forum/online.php?action=today" target="_blank"><img src="./images/oll.png" title="" class="statistics" style="float:left; height:38px; margin-right:5px; padding:8px; width:38px;"/></a>
<span class="smalltext">{$who_online}</span><br />$onToday</td></tr>
HERE;
        } 
        else 
        {
                $ontoday=<<<HERE
                <td class="trow1"><img src="./images/oll.png" title="" class="statistics" style="float:left; height:38px; margin-right:5px; padding:8px; width:38px;"/>
<span class="smalltext">{$who_online}</span><br />$onToday</td></tr>
HERE;
        }


Topic Solved

(This post was last modified: 10-14-2010 03:48 PM by 1master1.)
10-14-2010 03:47 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
How to use <if gids in .php - 1master1 - 10-14-2010, 07:04 AM
RE: How to use <if gids in .php - leefish - 10-14-2010, 08:00 AM
RE: How to use <if gids in .php - 1master1 - 10-14-2010 03:47 PM

 Standard Tools
Forum Jump: