echo ' style="color: #00CC00;" title="' . $_SESSION['user'] . ' is a moderator."'; } echo '>' . $_SESSION['user'] . '</a></b>'; echo '<br />'; echo '<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td>'; echo '<form name="addMessage" action="index.php" method="post">'; echo '<textarea cols="24" rows="8" class="message" name="shoutMessage" maxlength="200" onkeyup="return ismaxlength(this)" wrap="soft"></textarea>'; echo '</form>'; echo '</td><td width="8"></td><td valign="middle">'; shadow(); echo '<input type="image" id="sendMessage" src="images/check.gif" class="shown" onclick="document.getElementById(\'sendMessage\').className=\'hidden\'; document.addMessage.submit();">'; endShadow(); echo '<br /><br />'; shadow(); echo '<input type="image" src="images/cancel.gif" onclick="document.getElementById(\'addMessage\').className = \'shown\';document.getElementById(\'messageBox\').className = \'hidden\';">'; endShadow(); echo '</td></tr></table>'; echo '<br />'; echo '</div>'; echo '</form>'; for ($i = count($shout) - $cInfo - 1; $i >= 0; $i -= $cInfo) { $max--; if ($max < 0) { break; } echo '<b><a href="analyze.php?u=' . $shout[$i] . '"'; if (rights($shout[$i]) == 'admin') { echo ' style="color: #CC0000;" title="' . $shout[$i] . ' is an administrator."'; } elseif (rights($shout[$i]) == 'moderator') { echo ' style="color: #00CC00;" title="' . $shout[$i] . ' is a moderator."'; }
function groupFoot($color = "243454", $bg = "FFFFFF", $transparent = "no") { if (empty($color)) { $color = "243454"; } if (empty($bg)) { $bg = "FFFFFF"; } if (empty($transparent)) { $transparent = "no"; } echo '</td></tr></table></td><td width="8"'; if ($transparent == "no") { echo ' background="group.php?id=mr&color=' . $color . '&bg=' . $bg . '">'; } elseif ($transparent == "yes") { echo ' background="images/shadowbg.png">'; } elseif ($transparent == "light") { echo ' background="images/lshadowbg.png">'; } elseif ($transparent == "dark") { echo ' background="images/dshadowbg.png">'; } echo '</td></tr>'; if ($transparent == "no") { echo '<tr><td colspan="3" height="1" background="group.php?id=bm&color=' . $color . '"></td></tr>'; } echo '</table>'; endShadow(); }