<tr> <td class="padLeft" width="130"><?php echo $lang["expire"]; ?> :</td> <td> <div> <?php echo OS_IsUserGameAdmin($ProfileData[0]["user_level"]); ?> <?php echo OS_ShowUserRole($ProfileData[0]["user_level"]); ?> </div> <div><?php echo OS_ExpireDateRemain($ProfileData[0]["user_level_expire"]); ?> </div> <div><?php echo $ProfileData[0]["role_expire_date"]; ?> </div> </td> </tr> <?php } $ProfileData[0]["hide_stats"] = 1; if ($ProfileData[0]["hide_stats"]) { ?> <tr>
$expired = ""; $col = '1A56AD'; } ?> <div style="color:#<?php echo $col; ?> ;"><i><?php echo date(OS_DATE_FORMAT, strtotime($row["expiredate"])); ?> </i></div> <?php echo $expired; ?> <?php echo OS_ExpireDateRemain($row["expiredate"]); ?> <?php } else { ?> <span class="perm_ban">PERMANENT</span><?php } ?> </td> </tr> <?php } if (isset($GeoIP) and $GeoIP == 1) { geoip_close($GeoIPDatabase); } ?>
function OS_Mod_DisplayUserLevel($level = "", $expire = "") { if ($level >= 1) { OS_IsUserGameAdmin($level); echo "<b>" . OS_ShowUserRole($level) . "</b>"; if ($expire != '0000-00-00 00:00:00') { global $lang; ?> - <?php echo OS_ExpireDateRemain($expire); ?> (<?php echo date(OS_DATE_FORMAT, strtotime($expire)); ?> ) <?php } else { ?> (Never Expire)<?php } } }
' }">×</a></span> <div style="background-color: #EAF3FF"><?php echo $data["reason"]; ?> </div> </td> <td><?php echo $data["ip"]; ?> </td> <?php if (isset($_GET["search_type"]) and $_GET["search_type"] <= 1) { ?> <td><?php if (date(strtotime($data["expiredate"])) > 1990) { echo OS_ExpireDateRemain($data["expiredate"]); } else { ?> <span class="perm_ban">Permanent</span><?php } ?> </td> <?php } ?> <td> <?php echo $data["gamename"]; ?> </td> <td><?php
<td><?php echo $User["bandate"]; ?> </td> </tr> <tr> <td width="100"><b><?php echo $lang["expires"]; ?> :</b> </td> <td> <?php echo OS_ban_expired($User["expiredate"], "", ""); ?> <div><?php echo OS_ExpireDateRemain($User["expiredate"]); ?> </div> </td> </tr> </table> <?php } ?> <?php if ($User["hide"] == 0) { ?> <div class="padTop">
if (is_logged() and isset($_SESSION["level"]) and $_SESSION["level"] >= 9) { ?> <a style="float: right; font-size:11px; padding-right: 5px;" href="<?php echo OS_HOME; ?> adm/?bans&edit=<?php echo $Ban["id"]; ?> ">Edit</a> <?php } ?> </td> <td width="200" class="ban_reason"> <div><?php echo OS_ExpireDateRemain($Ban["expiredate"]); ?> </div> <div><?php echo OS_is_ban_perm($Ban["expiredate"], $lang["permanent_ban"]); ?> </div> <div><?php echo OS_ban_expired($Ban["expiredate"], "", ""); ?> </div> </td> <td width="180" class="font12"> <b><?php echo $Ban["gamename"]; ?>