<?
@ob_start();
@session_start();
error_reporting(E_WARNING | E_PARSE | E_ERROR);
set_time_limit(0);
$_SESSION["ajaxL"] = "active";
/*
@ ARQUIVOS REQUERIDOS;
*/
require_once("modules/settings.php");
require_once("modules/classes/url.class.php");
require_once("modules/classes/mysql.class.php");
require_once("modules/classes/mssql.class.php");
require_once("modules/classes/captcha.class.php");
require_once("modules/classes/functions.class.php");
require_once("modules/classes/time.class.php");
require_once("modules/classes/mumail.class.php");
require_once("modules/classes/painel.class.php");
require_once("modules/classes/logoGuild.class.php");
require_once("modules/classes/paginator.class.php");
require_once("modules/classes/bbcodes.class.php");
$conexao = new conexao();
$funcoes = new funcoes();
$time = new nwTime();
$time->start();
$version = "1.3.0 Finish Edition";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="pt-br">
<head>
<!-- Meta Tags -->
<meta name="Keywords" content="mu, muonline, mu online, trds, new web, mu <? echo constant("server_versao"); ?>" />
<meta name="Robots" content="index, follow" />
<meta name="Author" content="Trds" />
<meta name="Reply-To" content="trds1994@hotmail.com" />
<meta name="Expires" content="never" />
<meta http-equiv="Content-Language" content="pt" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><? echo constant("server_name"); ?></title>
<!-- Css Style -->
<style>
@import url("modules/css/Trds.css"); // -- Cascading Style Sheet
</style>
<link rel="stylesheet" href="modules/css/lightbox.css" type="text/css" media="screen" />
<!-- Javascripts Includes -->
<script type="text/javascript" src="modules/javascript/scripts.js"></script>
<script type="text/javascript" src="modules/javascript/ajax.js"></script>
<script type="text/javascript" src="modules/javascript/bbcodes.js"></script>
<script type="text/javascript" src="modules/javascript/browser.js"></script>
<script type="text/javascript" src="modules/javascript/prototype.js"></script>
<script type="text/javascript" src="modules/javascript/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="modules/javascript/lightbox.js"></script>
<!--[if lt IE 7]>
<script type="text/javascript" src="modules/javascript/ie7.js"></script>
<![endif]-->
<script language="javascript" type="text/javascript">
function clickIE()
{
if (document.all)
{
return false;
}
}
function clickNS(e)
{
if (document.layers || document.getElementById && !document.all)
{
if (e.which == 2 || e.which == 3)
{
return false
}
}
}
if (document.layers)
{
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = clickNS;
}
else
{
document.onmouseup = clickNS;
document.oncontextmenu = clickIE;
}
document.oncontextmenu = new Function("return false");
</script>
<?
/* SISTEMA DE QUERY STRING */
$url = new url();
$url->GetString = $_GET["mu"];
$url->WritePage();
$f = linkforum;
$ex = explode("|", $funcoes->Recorde());
?>
</head>
<body>
<noscript>
<div class="noscript">
<p><strong style="font-size: 22px;">Erro</strong></p>
<div style="border-bottom: 1px solid #333333; list-style: none;"></div>
<p>O navegador que você está usando não dá suporte a JavaScript ou talvez esteja desativado.</p>
</div>
</noscript>
<div id="meio">
<div id="banner">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" name="banner-flash" width="932" height="260" align="middle" id="banner-flash">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="images/banner.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<embed src="images/banner.swf" quality="high" bgcolor="#000000" width="932" height="260" name="banner-flash" align="middle" allowscriptaccess="sameDomain" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
<div class="menu_top">
<ul class="menu">
<li><a href="javascript: void(0);" onClick="load_wt('?mu=inicio', 'conteudo', 'GET'); load_wt('?mu=painel', 'painel', 'GET'); load_wt('?mu=enquetes&opcao=view', 'enquete', 'GET');">Home</a></li>
<li><a href="javascript: void(0);" onClick="load_wt('?mu=op_painel&opcoes=true', 'conteudo', 'GET');">Painel de Controle</a></li>
<li><a href="javascript: void(0);" onClick="load_wt('?mu=termos', 'conteudo', 'GET');">Cadastro</a></li>
<li><a href="javascript: void(0);" onClick="load_wt('?mu=down', 'conteudo', 'GET');">Downloads</a></li>
<li><a href="javascript: void(0);" onClick="load_wt('?mu=rankings', 'conteudo', 'GET');">Rankings</a></li>
<li><a href="javascript: void(0);" onClick="load_wt('?mu=vips-golds', 'conteudo', 'GET');">Vips <? echo mresets == true ? " e Golds" : NULL; ?></a></li>
<li><a href="javascript: void(0);" onClick="load_wt('?mu=faq', 'conteudo', 'GET');">Ajuda Online<? echo fnoticias == false ? "" : NULL; ?></a></li>
<li><a href="javascript: void(0);" onClick="load_wt('?mu=pcos', 'conteudo', 'GET');">Lan Houses</a></li>
<li><a href="javascript: void(0);" onClick="load_wt('?mu=contato', 'conteudo', 'GET');">Contato</a></li>
<li><a href="<? echo constant("linkshop"); ?>" target="_blank">Shop</a></li>
<? echo fnoticias == true ? "<li><a href="{$f}" target="_blank">Fórum</a></li>" : NULL; ?>
</ul>
</div>
<div id="center">
<div id="menu_left">
<div id="box_menu_top">
<h2><strong><img src="images/painel.png" /></strong></h2>
</div>
<div id="box_menu_center">
<div id="painel">
<script type="text/javascript">load_wt('?mu=painel', 'painel', 'GET');</script>
</div>
</div>
<div id="box_menu_bottom"></div>
<div id="box_menu_top">
<h2><strong><img src="images/info.png" width="150" height="23" /></strong></h2>
</div>
<div id="box_menu_center">
<li><img src="images/flecha.png" width="8" height="8" /> Nome : <strong><? echo constant("server_name"); ?></strong></li>
<li><img src="images/flecha.png" width="8" height="8" /> Versão : <strong><? echo constant("server_versao"); ?></strong></li>
<li><img src="images/flecha.png" width="8" height="8" /> Experiência : <strong><? echo constant("server_xp"); ?></strong></li>
<li><img src="images/flecha.png" width="8" height="8" /> Drop : <strong><? echo constant("server_drop"); ?></strong></li>
<li><img src="images/flecha.png" width="8" height="8" /> Bug Bless : <strong><? echo server_bug_bless == true ? "ON" : "OFF"; ?></strong></li>
<li><img src="images/flecha.png" width="8" height="8" /> Contas : <strong><? echo number_format($funcoes->infos_querys("MEMB_INFO", false, false, false), 0, NULL, "."); ?></strong></li>
<li><img src="images/flecha.png" width="8" height="8" /> Contas Banidas : <strong><? echo number_format($funcoes->infos_querys("MEMB_INFO", true, "bloc_code", 1), 0, NULL, "."); ?></strong></li>
<li><img src="images/flecha.png" width="8" height="8" /> Personagens : <strong><? echo number_format($funcoes->infos_querys("Character", false, false, false), 0, NULL, "."); ?></strong></li>
<li><img src="images/flecha.png" width="8" height="8" /> Personagens banidos : <strong><a href="javascript: void(0);" onClick="load_wt('?mu=charsBanidos', 'conteudo', 'GET');"><? echo number_format($funcoes->infos_querys("Character", true, "ctlcode", 1), 0, NULL, "."); ?></a></strong></li>
<li><img src="images/flecha.png" width="8" height="8" /> Guilds : <strong><? echo number_format($funcoes->infos_querys("Guild", false, false, false), 0, NULL, "."); ?></strong></li>
<li><img src="images/flecha.png" width="8" height="8" /> Recorde Online : <strong><a href="javascript: void(0);" onClick="alert('No dia <? echo date("d/m/Y, H:i:s", $ex[1]); ?> o nosso servidor teve o recorde de <? echo $ex[0]; ?> usuário(s) online(s).');"><? echo $ex[0]; ?></a></strong></li>
<li><img src="images/flecha.png" width="8" height="8" /> Reset Free : <strong>350</strong></li>
<li><img src="images/flecha.png" width="8" height="8" /> Status Máximo : <strong>65.000</strong></li>
</div>
<div id="box_menu_bottom"></div>
<div id="box_menu_top">
<h2><strong><img src="images/enquete.png" width="150" height="23" /></strong></h2>
</div>
<div id="box_menu_center">
<div id="enquete"><script type="text/javascript">load_wt('?mu=enquetes&opcao=view', 'enquete', 'GET');</script></div>
</div>
<div id="box_menu_bottom"></div>
<div id="box_menu_top">
<h2><strong><img src="images/servidor.png" width="150" height="23" /></strong></h2>
</div>
<div id="box_menu_center">
<div id="onlineRefresh" style="display: none;"></div>
<?
for ($x = 0; $x < count($servers); $x )
{
$porcentagem = ceil($funcoes->query_servers(true, $servers[$x][2]) * 100 / $servers[$x][3]);
?>
<li><img src="images/flecha.png" width="8" height="8" /> <? echo $servers[$x][0]." : "; ?>
<?
$fp = @fsockopen($servers[$x][1], $servers[$x][2], $errno, $errstr, 1);
if($fp >= 1){
echo '<font color=06FF00><b>Online</b></font>';}
else{ echo '<font color=FF0000><b>Offline</b></font>'; }
?>
<div class="online_barra_total" id="onlineBarra<? echo $servers[$x][2]; ?>">
<div class="online_barra" style="width: <? echo $porcentagem; ?>%"></div>
</div></li>
<? } ?>
<br />
<li><img src="images/flecha.png" width="8" height="8" /> Total On: <a href="javascript: void(0);" onClick="load_wt('?mu=onlineusers&opcao=Total', 'conteudo', 'GET');"><strong id="totalOnline"><? echo $funcoes->query_servers(false, false); ?></strong></a> <a href="javascript: void(0);" onClick="load_wt('?mu=pegadados&opcao=ajaxServers&ajaxTipo=servidores', 'onlineRefresh', 'GET');"><img src="images/icones/refresh.png" width="10" height="10" border="0"></a></li>
</div>
<div id="box_menu_bottom"></div>
<div id="box_menu_top">
<h2><strong><img src="images/buscar.png" width="150" height="23" /></strong></h2>
</div>
<div id="box_menu_center">
<form name="form_char" id="form_char" method="post">
<li><input name="name" type="text" id="name" size="10" maxlength="10" /> <input type="button" class="botao" value="Buscar" onClick="load_wt('?mu=search', 'conteudo', 'POST', BuscaElementosForm('form_char'));"></li>
<li><a href="javascript: void(0);" onClick="Abrir('searchAdvenced');">» Busca Avançada</a></li>
<li id="searchAdvenced" style="display: none;">
<input name="op" type="radio" value="execChars" checked="checked" class="radio" /> Char<br />
<input name="op" type="radio" value="execGuilds" class="radio" class="radio" /> Guild<br /><br />
<input name="tipo" type="radio" value="1" checked="checked" class="radio" /> Igual á<br />
<input name="tipo" type="radio" value="2" class="radio" /> Começa com<br />
<input name="tipo" type="radio" value="3" class="radio" /> Termina com<br />
<input name="tipo" type="radio" value="4" class="radio" /> Contém</li>
</form>
</div>
<div id="box_menu_bottom"></div>
<div id="box_menu_top">
<h2><strong><img src="images/equipe.png" width="150" height="23" /></strong></h2>
</div>
<div id="box_menu_center">
<?php
$querys = $conexao->query("select name,accountid from character where ctlcode>=8");
if ($conexao->num($querys) < 1)
{
echo "O servidor não possui nenhum Game Master";
}
for ($b = 0; $b < $conexao->num($querys); $b )
{
$exibir = $conexao->fetch($querys);
?>
<li><img src="images/flecha.png" width="8" height="8" /> <a href="javascript: void(0);" onclick="load_wt('?mu=cinfo&charname=<? echo $exibir[0]; ?>', 'conteudo', 'GET');"><? echo $exibir[0]; ?></a> - <? echo $funcoes->status_char($exibir[1]); ?></li>
<? } ?>
</div>
<div id="box_menu_bottom"></div>
</div>
<div id="conteudo"><?
if ($_GET["go"] == "alterar_mail")
{
$email = $_GET["email"];
$login = $_GET["login"];
$uid = $_GET["uid"];
echo "<script type="text/javascript">load_wt('?mu=op_painel&opcao=alterar_mail&email={$email}&login={$login}&uid={$uid}', 'conteudo', 'GET');</script>";
}
if ($_GET["go"] == "screenshot")
{
$screen = $_GET["ScreenID"];
echo "<script type="text/javascript">load_wt('?mu=ssview&id={$screen}', 'conteudo', 'GET');</script>";
}
else
{
echo "<script type="text/javascript">load_wt('?mu=inicio', 'conteudo', 'GET');</script>";
}
?></div>
</div>
<div id="footer">
<div class="texto-rodape left"> <font color="#CCCCCC">Powered By <font color="#99FF00"><strong>TRDS</strong></font> -
Design e Ajustes By
: <strong><font color="#FFCC00">VINIH</font></strong><br />
© <strong><? echo date("Y"); ?></strong> - <strong><a href="<? echo $_SERVER["PHP_SELF"]; ?>" target="_blank"><? echo constant("server_name"); ?></a> -
</strong>Todos os Direitos Reservados.</font></div>
<div class="texto-rodape right"><font color="#CCCCCC">
Melhor Visualizado com <a href="http://www.baixaki.com.br/download/mozilla-firefox.htm" target="_blank">Mozila Firefox</a><br />
Página Gerada em : <strong><? echo $time->result(); ?></strong> Segundos
</font> </div>
</div>
</div>
</body>
</html>