ELSEIF($row['ip'] == $ban['ip']) { $ban_type = 1; Print $text_ip_ban; } ELSE { $ban_type = 2; Print $text_nick_ban; } ?> </TD> </TR><TR> <TD class="bg_light b right"> <?Print $text_nick;?> : </TD> <TD class="bg_light<?IF($ban_type != 1){Print " red";}?>"> <?Print HTMLSpecialChars($ban['nick']);?> </TD> <TD class="bg_light b right"> <?Print $text_date_start;?> : </TD> <TD class="bg_light"> <?Print Date($VA_setup['timedate_format'], $ban['date_start']);?> </TD> <TD class="bg_light b right"> <?Print $text_share_size;?> : </TD> <TD class="bg_light"> <?Print RoundShare($ban['share_size'])." (".Number_Format($ban['share_size']);?> B) </TD> </TR><TR> <TD class="bg_light b right<?IF($ban_type != 2){Print " red";}?>"> <?Print $text_ip;?> : </TD> <TD class="bg_light"> <?Print HTMLSpecialChars($ban['ip']);?> </TD> <TD class="bg_light b right"> <?Print $text_date_limit;?> : </TD> <TD class="bg_light"> <?Print Date($VA_setup['timedate_format'], $ban['date_limit']);?> </TD> <TD class="bg_light" colspan=2> </TR><TR> <TD class="bg_light b top right"> <?Print $text_reason;?> : </TD> <TD class="bg_light top" colspan=5> <?Print nl2br(HTMLSpecialChars($ban['reason']));?> </TD> </TR> <? }?> </TABLE> <BR> <? } $result->Free_Result();
IF($row['is_drop']) $info .= $text_is_drop." : ".$text_yes."<BR>"; ELSE $info .= $text_is_drop." : ".$text_no."<BR>"; $info .= $text_reason." :<BR>".$row['reason']; ?> <TR onmouseover="JavaScript: return escape('<?Print AddSlashes($info);?>');"> <FORM action="index.php?<?Print $_SERVER['QUERY_STRING'];?>" method="post"> <INPUT name="nick" type="hidden" value="<?Print $row['nick'];?>"> <INPUT name="time" type="hidden" value="<?Print $row['time'];?>"> </FORM> <?IF($VA_setup['kicklist_nick']){?><TD class="bg_light"><?Print $row['nick'];?></TD><?}?> <?IF($VA_setup['kicklist_time']){?><TD align="right" class="bg_light"><?Print Date($VA_setup['timedate_format'], $row['time']);?></TD><?}?> <?IF($VA_setup['kicklist_ip']){?><TD class="bg_light"><?Print $row['ip'];?></TD><?}?> <?IF($VA_setup['kicklist_host']){?><TD class="bg_light"><?Print $row['host'];?></TD><?}?> <?IF($VA_setup['kicklist_share_size']){?><TD align="right" class="bg_light"><?Print RoundShare($row['share_size']);?></TD><?}?> <?IF($VA_setup['kicklist_email']){?><TD class="bg_light"><?Print $row['email'];?></TD><?}?> <?IF($VA_setup['kicklist_reason']){?><TD class="bg_light"><?Print $row['reason'];?></TD><?}?> <?IF($VA_setup['kicklist_op']){?><TD class="bg_light"><?Print $row['op'];?></TD><?}?> <?IF($VA_setup['kicklist_is_drop']){?><TD class="bg_light"><?Print $row['is_drop'];?></TD><?}?> </TR> <? } $result->Free_Result(); } ELSE {?> <TR> <TD class="b bg_light center" colspan=<?Print $colums;?>> <BR> <<< <?Print $text_no_results;?> >>> <BR><BR> </TD>
?> <TR> <TD class="bg_light b"> <?Print $text_version;?> </TD> <TD class="bg_light right"> <?Print $DB_hub->server_info;?> </TD> <TD class="bg_light" colspan=5> </TD> </TR><TR> <TD class="bg_light b"> <?Print $text_received;?> </TD> <TD class="bg_light right"> <?Print RoundShare($mysql_stat['Bytes_received']);?> </TD> <TD class="bg_light right"> <?Print RoundShare($mysql_stat['Bytes_received'] / $mysql_stat['Uptime']);?>/s </TD> <TD class="bg_light right" colspan=2> <?Print RoundShare($mysql_stat['Bytes_received'] / Array_Sum($queries))."/".$text_query;?> </TD> <TD class="bg_light" colspan=2> </TD> </TR><TR> <TD class="bg_light b"> <?Print $text_sent;?> </TD> <TD class="bg_light right"> <?Print RoundShare($mysql_stat['Bytes_sent']);?> </TD> <TD class="bg_light right"> <?Print RoundShare($mysql_stat['Bytes_sent'] / $mysql_stat['Uptime']);?>/s </TD> <TD class="bg_light right" colspan=2> <?Print RoundShare($mysql_stat['Bytes_sent'] / Array_Sum($queries))."/".$text_query;?> </TD> <TD class="bg_light" colspan=2> </TD> </TR><TR> <TD class="bg_light b"> <?Print $text_queries;?> </TD> <TD class="bg_light right"> <?Print Number_Format(Array_Sum($queries));?> </TD> <TD class="bg_light right"> <?Print Number_Format(Array_Sum($queries) / $mysql_stat['Uptime'], 2);?>/s </TD> <TD class="bg_light" colspan=4> </TD> </TR><TR> <TD class="bg_light b"> <?Print $text_uptime;?> </TD> <TD class="bg_light" colspan=6> <? Print Date("z", $mysql_stat['Uptime'])." ".$text_days.", "; Print (Date("G", $mysql_stat['Uptime']) - 1)." ".$text_hours.", "; Print Date("i", $mysql_stat['Uptime'])." ".$text_minutes.", "; Print Date("s", $mysql_stat['Uptime'])." ".$text_seconds;
<TD> <!-- ------- Share stats ------- --> <TABLE class="b1 fs9px"> </TR><TR> <TD class="h3 center b1" colspan=<?Print $days?>><?Print $text_share_stats;?></TD> </TR><TR> <TD class="bg_light" colspan=<?Print $days;?>> <?Print "<FONT class=\"b\"> ".$text_max."</FONT> : ".@RoundShare(Max($max_share) * 1073741824);?> <?Print "<FONT class=\"b\"> ".$text_min."</FONT> : ".@RoundShare(Min($min_share) * 1073741824);?> <?Print "<FONT class=\"b\"> ".$text_averange."</FONT> : ".RoundShare($total['share'] * 1073741824);?> </TD> </TR><TR> <?FOR($i = 1; $i <= $days; $i++){ $info = $text_averange." : ".RoundShare($share[$i] * 1073741824)."\n"; $info .= $text_min." : ".RoundShare($min_share[$i] * 1073741824)."\n"; $info .= $text_max." : ".RoundShare($max_share[$i] * 1073741824);?> <TD class="fs0px b1 center bottom" height=100 title="<?Print $info;?>"> <?IF($share[$i]){?><IMG src="img/bar.gif" width=8 height=<?Print @Round($share[$i] / Max($share) * 100);?>><?} ELSE{?><IMG src="img/space.gif" width=8><?}?> </TD> <?}?> </TR><TR> <?FOR($i = 1; $i <= $days; $i++){?> <TD class="fs8px bg_light center"><?Print $i;?></TD> <?}?> </TR> </TABLE> </TD><TD> <!-- ------- Search stats ------- --> <TABLE class="b1 fs9px"> </TR><TR>
ELSE {$info .= $text_date_limit." : ".$text_permanent."<BR>";} $info .= $text_date_unban." : ".Date($VA_setup['timedate_format'], $row['date_unban'])."<BR>"; $info .= $text_ban_op." : ".$row['nick_op']."<BR>"; $info .= $text_unban_op." : ".$row['unban_op']."<BR>"; $info .= $text_ban_reason." :<BR>".EregI_Replace("(\r)?\n", "<BR>", $row['reason'])."<BR>"; $info .= $text_unban_reason." :<BR>".EregI_Replace("(\r)?\n", "<BR>", $row['unban_reason']); $info = htmlspecialchars($info); ?> <TR onmouseover="JavaScript: return escape('<?Print AddSlashes($info);?>');"> <TD class="bg_light"><IMG src="img/info.gif" title="<?Print $info;?>" widht=16 height=16></TD> <?IF($VA_setup['unbanlist_ban_type']){?><TD align="right" class="bg_light"><? Print $row['ban_type'];?></TD><?}?> <?IF($VA_setup['unbanlist_ip']){?><TD class="bg_light"><?Print $row['ip']?></TD><?}?> <?IF($VA_setup['unbanlist_nick']){?><TD class="bg_light"><?Print $row['nick'];?></TD><?}?> <?IF($VA_setup['unbanlist_host']){?><TD class="bg_light"><?Print $row['host'];?></TD><?}?> <?IF($VA_setup['unbanlist_share_size']){?><TD class="bg_light"><?Print RoundShare($row['share_size']);?></TD><?}?> <?IF($VA_setup['unbanlist_email']){?><TD class="bg_light"><?Print $row['email'];?></TD><?}?> <?IF($VA_setup['unbanlist_range_fr']){?><TD align="right" class="bg_light"><? Print Get_IP_From_Range($row['range_fr']);?></TD><?}?> <?IF($VA_setup['unbanlist_range_to']){?><TD align="right" class="bg_light"><? Print Get_IP_From_Range($row['range_to']);?></TD><?}?> <?IF($VA_setup['unbanlist_date_start']){?><TD class="bg_light"><?Print Date($VA_setup['timedate_format'], $row['date_start']);?></TD><?}?> <?IF($VA_setup['unbanlist_date_limit']){?><TD class="bg_light"><?IF($row['date_limit'] > 0){Print Date($VA_setup['timedate_format'], $row['date_limit']);}ELSE{Print $text_permanent;}?></TD><?}?> <?IF($VA_setup['unbanlist_date_unban']){?><TD class="bg_light"><?Print Date($VA_setup['timedate_format'], $row['date_unban']);?></TD><?}?> <?IF($VA_setup['unbanlist_ban_op']){?><TD class="bg_light"><?Print $row['nick_op'];?></TD><?}?> <?IF($VA_setup['unbanlist_unban_op']){?><TD class="bg_light"><?Print $row['unban_op'];?></TD><?}?> <?IF($VA_setup['unbanlist_ban_reason']){?><TD class="bg_light"><?Print nl2br($row['reason']);?></TD><?}?> <?IF($VA_setup['unbanlist_unban_reason']){?><TD class="bg_light"><?Print nl2br($row['unban_reason']);?></TD><?}?> </TR> <? } $result->Free_Result(); } ELSE {?>