Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($mybb->user['usergroup'] == 4 or $mybb->user['usergroup'] == 9 or $mybb->user['usergroup'] == 20 or $mybb->user['usergroup'] == 19)
- { $show = "<a href=\"myleagues_matchgate.php?logsmid={$gates['mid']}\"><i class=\"fas fa-bug\"></i> LOGS</a> "; } else { $show = " "; }
- $content .= "<td class=\"{$class}\" align=\"left\"><a href=\"myleagues.php&action=matchgate?mid={$gates['mid']}\"><i class=\"fas fa-play-circle\"></i> PLAY</a> {$show}</td>\n";
- $content .= "</tr>\n";
- a przy dostępie do "PLAY" by móc wejść na roomik ligowy
- if (($mybb->user['teamid'] != $match['hometeam']) and ($mybb->user['teamid'] != $match['awayteam']) and ($mybb->user['usergroup'] != 4) and ($mybb->user['usergroup'] != 9) and ($mybb->user['usergroup'] != 11) and ($mybb->user['usergroup'] != 14)
- and ($mybb->user['usergroup'] != 18) and ($mybb->user['usergroup'] != 19) ) {
- error_no_permission(); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement