$messageTOserver = "#multi #lightgreen GB: #green " . $LANCHECKUSER_004 . " #lightgreen " . $nameOfBanned . " #green " . $LANCHECKUSER_005 . " #lightgreen \"" . $steamId . "\" #green !!!";
 $namesToKick = $badNameQueries->getKickNames();
 // Loop through the names to kick to see if the word exists in the user's name
 foreach ($namesToKick as $nameToKick) {
     if (strpos(strtolower($nameOfBanned), $nameToKick->getBadName()) !== false) {
         kickUser($steamId, $serverId, $LANCHECKUSER_001 . $nameToKick->getBadName() . $LANCHECKUSER_002, $messageTOserver);
         $kickedByName = true;
         break;
         // Break out of the loop
     }
 }
 $kickedByBan = false;
 // No point checking if they were kicked by name
 if (!$kickedByName) {
     // Determine if this user is IP banned, if so kick them
     if ($banQueries->isIpBanned($ipOfBanned)) {
         kickUser($steamId, $serverId, eregi_replace("gb_time", $LANCHECKUSER_003, $config->banMessage), $messageTOserver);
         $kickedByBan = true;
     }
     // Check to see if the user does exist in the ban list (if active)
     if ($banQueries->doesUserExist($steamId)) {
         $now = time();
         // Get the time now in seconds
         $bannedUser = $banQueries->getBannedUserBySteamId($steamId);
         $length = new Length();
         $length->setLength($bannedUser->getLength());
         $length->setTimeScale($bannedUser->getTimeScale());
         $lengthInSec = $length->getLengthInSeconds();
         $reasonQueries = new ReasonQueries();
         $menssageTOplayer = eregi_replace("gb_reason", $reasonQueries->getReason($bannedUser->getReasonId()), eregi_replace("gb_time", $length->getReadable(), $config->banMessage));
         // Pending bans are banned for X days
          <td class="rowColor1"><?php 
        echo $bannedUser->getSteamId();
        ?>
</td>
        </tr>
        <tr>
          <td class="rowColor2" width="1%" nowrap><?php 
        echo $LANUPDATEBAN_003;
        ?>
</td>
          <td class="rowColor2"><?php 
        echo $bannedUser->getIp();
        ?>
          <?php 
        if ($bannedUser->getIp() != "") {
            if ($banQueries->isIpBanned($bannedUser->getIp())) {
                ?>
<span class="error">&nbsp; &lt;&lt; <?php 
                echo $LANUPDATEBAN_004;
                ?>
 &gt;&gt; </span><?php 
            } else {
                // Only admins, ban mangers, and full power admins can IP ban
                // Members are not allowed to IP ban
                if ($admin || $banManager || $fullPower) {
                    ?>
<input type="button" value="<?php 
                    echo $LANUPDATEBAN_031;
                    ?>
" onclick="confirmIpBan()"><?php 
                }