Exemplo n.º 1
0
				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">&nbsp;&nbsp;<?Print $text_nick;?>&nbsp;:&nbsp;</TD>
			<TD class="bg_light<?IF($ban_type != 1){Print " red";}?>">&nbsp;&nbsp;<?Print HTMLSpecialChars($ban['nick']);?>&nbsp;&nbsp;</TD>
			<TD class="bg_light b right">&nbsp;&nbsp;<?Print $text_date_start;?>&nbsp;:&nbsp;</TD>
			<TD class="bg_light">&nbsp;&nbsp;<?Print Date($VA_setup['timedate_format'], $ban['date_start']);?>&nbsp;&nbsp;</TD>
			<TD class="bg_light b right">&nbsp;&nbsp;<?Print $text_share_size;?>&nbsp;:&nbsp;</TD>
			<TD class="bg_light">&nbsp;&nbsp;<?Print RoundShare($ban['share_size'])." (".Number_Format($ban['share_size']);?> B)&nbsp;&nbsp;</TD>
		</TR><TR>
			<TD class="bg_light b right<?IF($ban_type != 2){Print " red";}?>">&nbsp;&nbsp;<?Print $text_ip;?>&nbsp;:&nbsp;</TD>
			<TD class="bg_light">&nbsp;&nbsp;<?Print HTMLSpecialChars($ban['ip']);?>&nbsp;&nbsp;</TD>
			<TD class="bg_light b right">&nbsp;&nbsp;<?Print $text_date_limit;?>&nbsp;:&nbsp;</TD>
			<TD class="bg_light">&nbsp;&nbsp;<?Print Date($VA_setup['timedate_format'], $ban['date_limit']);?>&nbsp;&nbsp;</TD>
			<TD class="bg_light" colspan=2>
		</TR><TR>
			<TD class="bg_light b top right">&nbsp;&nbsp;<?Print $text_reason;?>&nbsp;:&nbsp;</TD>
			<TD class="bg_light top" colspan=5>&nbsp;&nbsp;<?Print nl2br(HTMLSpecialChars($ban['reason']));?>&nbsp;&nbsp;</TD>
		</TR>
<?		}?>
	</TABLE>
	<BR>
<?	}
$result->Free_Result();
Exemplo n.º 2
0
		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>
			&lt;&lt;&lt;&nbsp;&nbsp;<?Print $text_no_results;?>&nbsp;&nbsp;&gt;&gt;&gt;
			<BR><BR>
		</TD>
Exemplo n.º 3
0
?>
	<TR>
		<TD class="bg_light b">&nbsp;&nbsp;<?Print $text_version;?>&nbsp;&nbsp;</TD>
		<TD class="bg_light right">&nbsp;&nbsp;<?Print $DB_hub->server_info;?>&nbsp;&nbsp;</TD>
		<TD class="bg_light" colspan=5>&nbsp;</TD>
	</TR><TR>
		<TD class="bg_light b">&nbsp;&nbsp;<?Print $text_received;?>&nbsp;&nbsp;</TD>
		<TD class="bg_light right">&nbsp;&nbsp;<?Print RoundShare($mysql_stat['Bytes_received']);?>&nbsp;&nbsp;</TD>
		<TD class="bg_light right">&nbsp;&nbsp;<?Print RoundShare($mysql_stat['Bytes_received'] / $mysql_stat['Uptime']);?>/s&nbsp;&nbsp;</TD>
		<TD class="bg_light right" colspan=2>&nbsp;&nbsp;<?Print RoundShare($mysql_stat['Bytes_received'] / Array_Sum($queries))."/".$text_query;?>&nbsp;&nbsp;</TD>
		<TD class="bg_light" colspan=2>&nbsp;</TD>
	</TR><TR>
		<TD class="bg_light b">&nbsp;&nbsp;<?Print $text_sent;?>&nbsp;&nbsp;</TD>
		<TD class="bg_light right">&nbsp;&nbsp;<?Print RoundShare($mysql_stat['Bytes_sent']);?>&nbsp;&nbsp;</TD>
		<TD class="bg_light right">&nbsp;&nbsp;<?Print RoundShare($mysql_stat['Bytes_sent'] / $mysql_stat['Uptime']);?>/s&nbsp;&nbsp;</TD>
		<TD class="bg_light right" colspan=2>&nbsp;&nbsp;<?Print RoundShare($mysql_stat['Bytes_sent'] / Array_Sum($queries))."/".$text_query;?>&nbsp;&nbsp;</TD>
		<TD class="bg_light" colspan=2>&nbsp;</TD>
	</TR><TR>
		<TD class="bg_light b">&nbsp;&nbsp;<?Print $text_queries;?>&nbsp;&nbsp;</TD>
		<TD class="bg_light right">&nbsp;&nbsp;<?Print Number_Format(Array_Sum($queries));?>&nbsp;&nbsp;</TD>
		<TD class="bg_light right">&nbsp;&nbsp;<?Print Number_Format(Array_Sum($queries) / $mysql_stat['Uptime'], 2);?>/s&nbsp;&nbsp;</TD>
		<TD class="bg_light" colspan=4>&nbsp;</TD>
	</TR><TR>
		<TD class="bg_light b">&nbsp;&nbsp;<?Print $text_uptime;?>&nbsp;&nbsp;</TD>
		<TD class="bg_light" colspan=6>
			&nbsp;&nbsp;
			<?
			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;
Exemplo n.º 4
0
			<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);?>&nbsp;
							<?Print "<FONT class=\"b\"> ".$text_min."</FONT> : ".@RoundShare(Min($min_share) * 1073741824);?>&nbsp;
							<?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>
Exemplo n.º 5
0
		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 {?>