Para mi el problema esta en el script o lo que sea del efecto del fondo de pantalla.. porque recien me tardo en cargar la pagina ( estoy bajando unas cosas) y se veia perfecta la pagina.. apenas empezo el video de fondo de pantalla se desaparecieron esas cosas.. habria que modificar ese codigo nomas no? el del script
mira hay se ve bien.. ( sin que cargue del todo la pagina.. y el fondo no se movia aun.. )
ahora que me carga el fondo o script no se que sera.. que le da movimiento.. se desaparecio.:
si subo el codigo del index puede encontrarce el problema.. oh ya es un quilombo?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<?php require ( "config/tmpConfig/_ArmusConfigs.php" ) ; ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="icon" type="image/png" href="template/<?=$core['config']['template'] ?>/images/favicon.png" />
<?=build_header_seo(); ?>
<title><?=build_header_title(); ?></title>
<meta name="author" content="MuNacionWar"/>
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script src="js/core_global.js" language="javascript" type="text/javascript"></script>
<link rel="stylesheet" href="template/<?=$core['config']['template'] ?>/css/pBar.css" type="text/css">
<link rel="stylesheet" href="template/<?=$core['config']['template'] ?>/css/style.css" type="text/css">
<link rel="stylesheet" href="template/<?=$core['config']['template'] ?>/css/xysStyle.css">
<link rel="stylesheet" href="template/<?=$core['config']['template'] ?>/css/coreStyle.css">
<script src="template/<?=$core['config']['template'] ?>/js/jquery.min.js"></script>
<link href="template/<?=$core['config']['template'] ?>/owl-carousel/owl.carousel.css" rel="stylesheet">
<script src="template/<?=$core['config']['template'] ?>/owl-carousel/owl.carousel.js"></script>
<style>#owl-demo .item{background:#111111;margin:5px;color:#FFF;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;text-align:center;}</style>
<script>
$(document).ready(function() {
var owl = $("#owl-demo");
owl.owlCarousel({
// Define custom and unlimited items depending from the width
// If this option is set, itemsDeskop, itemsDesktopSmall, itemsTablet, itemsMobile etc. are disabled
// For better preview, order the arrays by screen size, but it's not mandatory
// Don't forget to include the lowest available screen size, otherwise it will take the default one for screens lower than lowest available.
// In the example there is dimension with 0 with which cover screens between 0 and 450px
autoPlay: 2000, //Set AutoPlay to 3 seconds
//5 items between 1000px and 901px //10 items above 1000px browser width
stopOnHover : true,
navigation : false,
});
});
</script>
<script type="text/javascript">
$(function () {
$("#slider").responsiveSlides({
maxwidth: 445,
speed: 600,
auto: true, // Boolean: Animate automatically, true or false
timeout: 4500, // Integer: Time between slide transitions, in milliseconds
pager: false, // Boolean: Show pager, true or false
nav: true, // Boolean: Show navigation, true or false
random: false, // Boolean: Randomize the order of the slides, true or false
pause: true, // Boolean: Pause on hover, true or false
pauseControls: true, // Boolean: Pause when hovering controls, true or false
prevText: "Anterior ", // String: Text for the "previous" button
nextText: "/ Siguiente", // String: Text for the "next" button
});
});
</script>
<script type="text/javascript">
$(document).ready(function() {
$("#owl-demo").owlCarousel({
autoPlay: 2000,
items : 5,
items : 14,
itemsDesktop : [5000,5],
});
});
</script>
<script type="text/javascript">
var weekdaystxt=["Sunday", "Monday", "Thuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
var monthtxt=["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"]
function showLocalTime(container, servermode, offsetMinutes, displayversion){
if (!document.getElementById || !document.getElementById(container)) return
this.container=document.getElementById(container)
this.displayversion=displayversion
var servertimestring=(servermode=="server-php")? '<?php print date("F d, Y H:i:s", time())?>' : (servermode=="server-ssi")? '<!--#config timefmt="%B %d, %Y %H:%M:%S"--><!--#echo var="DATE_LOCAL" -->' : '<%= Now() %>'
this.localtime=this.serverdate=new Date(servertimestring)
this.localtime.setTime(this.serverdate.getTime()+offsetMinutes*60*1000) //add user offset to server time
this.updateTime()
this.updateContainer()
}
showLocalTime.prototype.updateTime=function(){
var thisobj=this
this.localtime.setSeconds(this.localtime.getSeconds()+1)
setTimeout(function(){thisobj.updateTime()}, 1000) //update time every second
}
showLocalTime.prototype.updateContainer=function(){
var thisobj=this
if (this.displayversion=="long")
this.container.innerHTML=this.localtime.toLocaleString()
else{
var hour=this.localtime.getHours()-1
var minutes=this.localtime.getMinutes()
var seconds=this.localtime.getSeconds()
var dayofweek=weekdaystxt[this.localtime.getDay()]
var month=monthtxt[this.localtime.getMonth()]
this.container.innerHTML=formatField(hour, 2)+":"+formatField(minutes)+":"+formatField(seconds)
}
setTimeout(function(){thisobj.updateContainer()}, 1000)
}
function formatField(num, isHour){
return (num<=9)? "0"+num : num
}
</script>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
</head>
<body>
<?php if ( ($page_check_id != register) && ($page_check_id != downloads) && ($page_check_id != rankings) ) { ?>
<video style="width: 100%; height: auto; margin-left: 0px; left: 0px;background:url(template/<?=$core['config']['template'] ?>/images/fondo<?php echo $bg; ?>.jpg);background-repeat:no-repeat;background-size:cover;" loop="loop" poster="template/<?=$core['config']['template'] ?>/images/fondo<?php echo $bg; ?>.jpg" autoplay>
<?php } ?>
<?php
if (($bgMovie == 1) && ($page_check_id != register) && ($page_check_id != downloads) && ($page_check_id != rankings) ) { ?>
<source src="template/<?=$core['config']['template'] ?>/images/fondo<?php echo $bg; ?>.mp4" type="video/mp4">
<?php } ?>
</video>
<?php if ($page_check_id == register) {?>
<video style="width: 100%; height: auto; margin-left: 0px; left: 0px;background:url(template/<?=$core['config']['template'] ?>/images/fondo3.jpg);background-repeat:no-repeat;background-size:cover;" loop="loop" poster="template/<?=$core['config']['template'] ?>/images/fondo3.jpg" autoplay>
<?php
if ($bgMovie == 1)
{
?>
<source src="template/<?=$core['config']['template'] ?>/images/fondo3.mp4" type="video/mp4">
<?php } ?>
</video>
<? } ?>
<?php if ($page_check_id == downloads) {?>
<video style="width: 100%; height: auto; margin-left: 0px; left: 0px;background:url(template/<?=$core['config']['template'] ?>/images/fondo2.jpg);background-repeat:no-repeat;background-size:cover;" loop="loop" poster="template/<?=$core['config']['template'] ?>/images/fondo2.jpg" autoplay>
<?php
if ($bgMovie == 1)
{
?>
<source src="template/<?=$core['config']['template'] ?>/images/fondo2.mp4" type="video/mp4">
<?php } ?>
</video>
<? } ?>
<?php if ($page_check_id == rankings) {?>
<video style="width: 100%; height: auto; margin-left: 0px; left: 0px;background:url(template/<?=$core['config']['template'] ?>/images/fondo4.jpg);background-repeat:no-repeat;background-size:cover;" loop="loop" poster="template/<?=$core['config']['template'] ?>/images/fondo4.jpg" autoplay>
<?php
if ($bgMovie == 1)
{
?>
<source src="template/<?=$core['config']['template'] ?>/images/fondo4.mp4" type="video/mp4">
<?php } ?>
</video>
<? } ?>
<header>
<?php if ($menuStyle==0) { ?>
<div class="header2">
<?php } ?>
<?php if ($menuStyle==1) { ?>
<div class="header">
<?php } ?>
<?php if ($menuStyle==2) { ?>
<div class="header3">
<?php } ?>
<nav class="menu">
<ul>
<?php if($smalllogoIsActive==1) {?>
<?php if ($menuStyle == 0) { ?>
<li><a href="index.php?"><img src="template/<?=$core['config']['template'] ?><?php echo $logo ?>" alt="INICIO" WIDTH="90" HEIGHT="45" BORDER="0"></a></li>
<?php } ?>
<?php if ($menuStyle==1) { ?>
<li><a href="index.php?"><img src="template/<?=$core['config']['template'] ?><?php echo $logo1 ?>" alt="INICIO" WIDTH="90" HEIGHT="45" BORDER="0"></a></li>
<?php } ?>
<?php if ($menuStyle==2) { ?>
<li><a href="index.php?"><img src="template/<?=$core['config']['template'] ?><?php echo $logo2 ?>" alt="INICIO" WIDTH="90" HEIGHT="45" BORDER="0"></a></li>
<?php } ?>
<?php } else{ ?>
<li><a href="index.php?">INICIO</a></li> <?php } ?>
<li><a href="index.php?page_id=register">CREAR CUENTA</a></li>
<li><a href="index.php?page_id=descarga">DESCARGAS</a></li>
<li><a href="index.php?page_id=rankings">RANKINGS</a></li>
<li><a href="http://munacionwar.foroactivo.com/t2-usuario-vip-y-donaciones">WEBSHOP</a></li>
<li><a href="https://www.facebook.com/Mu-Nacionwar-158262898129045/" target="_blank">FACEBOOK</a></li>
<li><a href="index.php?page_id=contact">CONTACTO</a></li>
<li><a href="http://munacionwar.foroactivo.com/" target="_blank">FORO</a></li>
</ul>
</nav>
</div>
</header>
<div class="contenedor">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<center>
<?php if ($bgMovie==1) { ?>
<?php if ($bg==5) { ?>
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1032" height="322">
<param name="movie" value="images/top_menu.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="8.0.35.0">
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="template/<?=$core['config']['template'] ?>/images/top_menu.swf" width="1032" height="322">
<!--<![endif]-->
<param name="quality" value="high">
<param name="wmode" value="transparent">
<param name="swfversion" value="8.0.35.0">
<param name="expressinstall" value="Scripts/expressInstall.swf">
<div>
<h4>El contenido de esta pagina requiere una version mas reciente de Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33"></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<?php } ?>
<?php } ?>
<?php if ($titleLogo == 1) { ?>
<img style="margin-top: <?php echo $marginLogoTrue; ?>px;" src="template/<?=$core['config']['template'] ?><?php echo $titleLogoLink ?>">
<?php } else{
?>
<div style="margin-top: <?php echo $marginLogoFalse; ?>px;"></div>
<?php } ?>
</center>
<table width="1008" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 30px; ">
<!-- Server Time -->
<?php if ($servertimeIsActive==1) {?>
<tr>
<td width="220" align="center" valign="bottom"><table width="216" height="88" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom: 10px; ">
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_servertime.png); background-repeat:repeat; "><div align="center" class="t_date" style="margin-top: 0px; "><font color="#DED394">
Server Time: <span id="timecontainer"></span>
<script type="text/javascript">
new showLocalTime("timecontainer", "server-php", 0, "short")
</script>
</font></div></td>
</tr>
</table></td>
<td> </td>
<?php } ?>
<table width="1008" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="220" valign="top">
<?
if($user_login == '1'){
echo '<table width="214" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="48" style="background-image:url(template/'.$core['config']['template'].'/images/painel.png) "><div class="m_title"></div></td>
</tr>
<tr>
<td style="background-image:url(template/'.$core['config']['template'].'/images/bg_snbmid.png); background-repeat:repeat-y; "><div>
<ul class="vip_bg">
<span>';
$m_uss_row_ = get_sort('engine/cms_data/mods_uss.cms',',');
$count_m_uss = 0;
foreach ($m_uss_row_ as $tr){
explode(",",$tr);
$count_m_uss++;
if($tr[6] == '1'){
if($tr[3] != ACCOUNTSETTINGS_CMS_USER){
echo '<li><a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.USER_CMS_PAGE.'&'.USER_GET_PAGE.'='.$tr[3].'">'.str_replace($menu_links_title,$menu_links_translated,$tr[2]).'</a></li>';
}
}
}
echo ' </span>
</ul>
<ul class="vip_bg">
<span><li>
<a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.USER_CMS_PAGE.'&'.USER_GET_PAGE.'='.ACCOUNTSETTINGS_CMS_USER.'">'.link_account_settings.'</a></li>
<li> <a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'=logout">'.link_log_out.'</a></li>
</span></ul></li>
</td>
</tr>
<tr>
<td style="background-image:url(template/'.$core['config']['template'].'/images/bg_snbbtm.png); background-repeat:no-repeat; height:27px; "> </td>
</tr>
</table>
';
}else{
echo '<table width="214" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="48" style="background-image:url(template/'.$core['config']['template'].'/images/painel.png) "><div class="m_title"></div></td>
</tr>
<tr>
<td style="background-image:url(template/'.$core['config']['template'].'/images/bg_snbmid.png); background-repeat:repeat-y; "><div>
<div align="center">
<div class="tooltipx" data-cfasync="false">
<a href="index.php?"><img src="template/'.$core['config']['template'].'/images/tooltip4.png"/></a>
<span>
<img class="callout" src="template/'.$core['config']['template'].'/images/callout.gif"/>
Mirá todo lo que tenemos para vos!<br/>
Un resumen rapido de lo que MuNacionwar te ofrece!<br/>
No te olvides de visitar nuestro FACEBOOK que está en el Menú superior para aprovechar el juego al 100%
</span>
</div>
<div class="tooltipx" data-cfasync="false">
<img src="template/'.$core['config']['template'].'/images/tooltip.png"/>
<span>
<img class="callout" src="template/'.$core['config']['template'].'/images/callout.gif"/>
<img src="template/'.$core['config']['template'].'/images/tooltip2.png" style="float:right;"/>
Ingresá con tu Cuenta!<br/>
Y Mirá todo el Panel de Usuario que Tenemos para vos!<br/>
Podrás Resetiar tus puntos, cambiar tus datos y mucho más!<br/>
Colocá tu Usuario y Contraseña aca abajo y luego apreta el boton LOGIN
</span>
</div>
<div class="tooltipx" data-cfasync="false">
<a href="index.php?page_id=downloads"><img src="template/'.$core['config']['template'].'/images/tooltip3.png"/></a>
<span>
<img class="callout" src="template/'.$core['config']['template'].'/images/callout.gif"/>
Empezá a Descargar Nacionwar!<br/>
Si ya tenes tu cuenta, ahora necesitas bajar el juego!
</span>
</div>
<br/>
<form method="post" action="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.LOGIN_CMS_PAGE.'" name="uss_login_form">
<table width="150" height="27" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="114"><span style="height: 25px; padding-left: 2px; ">
<input id="userName" type="text" name="uss_id" class="boton1" value="ID Usuario" size="20" maxlength="10" OnClick="this.value=\'\'"/>
<span style="height: 25px; padding-left: 2px;">
<input name="uss_password" id="userPwd" type="password" class="boton2" value="PASSWORD" size="20" maxlength="12" OnClick="this.value=\'\'"/><input type="hidden" name="process_login"></td>
</span></span></td>
<td width="35"><span style="height: 25px; padding-left: 2px;">
<input type="hidden" name="process_login2"/>
</span></td>
</tr>
</table><p></p>
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="64">
<br/><input value="." type="image" id="buttonlogin" width="52" height="36" onclick="uss_login_form.submit();">
</td><td width="100"><center>
<div class="tooltipx" data-cfasync="false">
<br/> <a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.LOSTPASSWORD_CMS_PAGE.'">Perdiste tu cuenta?</a>
<span>
<img class="callout" src="template/'.$core['config']['template'].'/images/callout.gif"/>
Recuperar tu cuenta es muy facil<br/>
Haz clic en el enlace y luego deberás proporcionar algunos datos!
</span>
</div>
</center></td>
</tr>
</table>
</form>
</div>
</td>
</tr>
<tr>
<td style="background-image:url(template/'.$core['config']['template'].'/images/bg_snbbtm.png); background-repeat:no-repeat; height:27px; "> </td>
</tr>
</table>';
}
?>
<?php
mssql_connect($core['db_host'],$core['db_user'],$core['db_password']);
mssql_select_db($core['db_name']);
if($core['config']['on_off'] == '0' || $core['debug'] == '1'){
if(isset($_SESSION['admin_login_auth'])){
echo '<div align="center" style="color: red; background-color: white; padding:2px">Warning: The website is currently turned off!</div>';
}
}
function CheckGS($ip,$port)
{
if(!@fsockopen($ip,$port,$err,$err_str,0.1))
{
return false;
}
else
{
return true;
}
}
?>
<?php
$acc1 = mssql_query("SELECT count(memb___id) from MEMB_INFO");
$acc = mssql_fetch_row($acc1);
$char1 = mssql_query("SELECT count(Name) from Character");
$char = mssql_fetch_row($char1);
$guild1 = mssql_query("SELECT count(G_Name) from Guild");
$guild = mssql_fetch_row($guild1);
$_on = mssql_query("SELECT count(memb___id) from MEMB_STAT where ConnectStat = '1'");
$on = mssql_fetch_row($_on);
$_on1 = mssql_query("SELECT count(memb___id) from MEMB_STAT where ConnectStat = '1' and ServerName = '".$ServerName1."'");
$on1 = mssql_fetch_row($_on1);
$_on2 = mssql_query("SELECT count(memb___id) from MEMB_STAT where ConnectStat = '1' and ServerName = '".$ServerName2."'");
$on2 = mssql_fetch_row($_on2);
$_on3 = mssql_query("SELECT count(memb___id) from MEMB_STAT where ConnectStat = '1' and ServerName = '".$ServerName3."'");
$on3 = mssql_fetch_row($_on3);
?>
<?php if ($servidorIsActive==1) {?>
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td height="48" style="background-image:url(template/<?=$core['config']['template'] ?>/images/servidor.png) "><div class="m_title"></div></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbmid.png); background-repeat:repeat-y; "><table border="0" cellpadding="0" cellspacing="0" width="200">
<tbody>
<tr>
<td height="100%" valign="top" width="200"><div id='sidebar'>
<div class='left-box'>
<div class='main_bg'>
<span>
<li>Estado:
<font color=#08ff08><span style="color:#08ff08; text-shadow: #08ff08 1px 1px 10px;background: transparent">
<?php
if(CheckGS($serverIP,$serverPORT))
{
echo '<font color="#00ff00">Online</font>';
}
else
{
echo '<font style="text-shadow: #FF0808 1px 1px 10px" color="#e4151d">Offline</font>';
}
?>
</font></li>
<?php if ($pBarActive == 1) {?>
<img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1">
<?php if ($pBar1 == 1) { ?>
<li><?php echo $pBar1Name ?>
<div class="progress progress-striped active" style="width: 114px; margin-right: 25px;">
<div class="progress-bar progress-bar-success" role="progressbar" arial-valuenow=<?= round ($on1[0]*100/$pBar1max); ?> aria-valuemin="0" aria-valuemax="100" style="width: <?= round ($on1[0]*100/$pBar1max); ?>%">
<strong style="color:#000;font-size:10px;"><?= round ($on1[0]*100/$pBar1max); ?>%</strong>
</div>
</div><li>
<?php } ?>
<?php if ($pBar2 == 1) { ?>
<li><?php echo $pBar2Name ?>
<div class="progress progress-striped active" style="width: 114px; margin-right: 25px;">
<div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow=<?= round ($on2[0]*100/$pBar2max); ?> aria-valuemin="0" aria-valuemax="100" style="width: <?= round ($on2[0]*100/$pBar2max); ?>%">
<?= round ($on2[0]*100/$pBar2max); ?>%
</div>
</div></li>
<?php } ?>
<?php if ($pBar3 == 1) { ?>
<li><?php echo $pBar3Name ?>
<div class="progress progress-striped active" style="width: 114px; margin-right: 25px;">
<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow=<?= round ($on3[0]*100/$pBar3max); ?> aria-valuemin="0" aria-valuemax="100" style="width: <?= round ($on3[0]*100/$pBar3max); ?>%">
<?= round ($on3[0]*100/$pBar3max); ?>%
</div></div></li>
<?php } ?>
<?php if ($pBar4 == 1) { ?>
<li><?php echo $pBar4Name ?>
<div class="progress progress-striped active" style="width: 114px; margin-right: 25px;">
<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow=<?= round ($on4[0]*100/$pBar4max); ?> aria-valuemin="0" aria-valuemax="100" style="width: <?= round ($on4[0]*100/$pBar4max); ?>%">
<?= round ($on4[0]*100/$pBar4max); ?>%
</div></div></li>
<?php } ?>
<img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1">
</br>
<?php } ?>
<li> <li><span>TOTAL ONLINE: </span><span style="color:#F0FF00; text-shadow: #DEFF00 1px 1px 10px;"><?=$on[0];?></li></li>
<li> <li><span>Boletin Especial: </span><span class="nfh" style="color:#F0FF00; text-shadow: #DEFF00 1px 1px 10px;"><a href="https://i62.servimg.com/u/f62/18/38/98/63/boleti10.jpg" target="_blank">Clic Aqui</a></li></li>
</span>
</div>
</div></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbbtm.png); background-repeat:no-repeat; height:27px; "> </td>
</tr>
</table>
<?php } ?>
<?php if ($configIsActive==1) {
?>
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td height="48" style="background-image:url(template/<?=$core['config']['template'] ?>/images/config.png) "><div class="m_title"></div></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbmid.png); background-repeat:repeat-y; "><div class='main_bg'>
<span>
<li><a href="index.php?"><?php echo $svName ?></a></li><img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1"></li>
<li>Versión: <?php echo $ver ?></li><img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1"></li>
<li>Experiencia: <?php echo $exp ?></li><img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1"></li>
<li>Dropeo: <?php echo $drop ?></li><img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1"></li>
<li>Bug Bless: <?php echo $bugzen ?></li><img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1"></li>
<li>Reset Lvl: <?php echo $rrlvl ?></li><img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1"></li>
<li>Reset Vip Lvl: <?php echo $rrlvlv ?></li><img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1"></li>
<li>Max Stats: <?php echo $maxstats ?></li><img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1"></li>
</span>
</div></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbbtm.png); background-repeat:no-repeat; height:27px; "> </td>
</tr>
</table>
<?php } ?>
<?php if ($infoIsActive==1) {?>
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td height="48" style="background-image:url(template/<?=$core['config']['template'] ?>/images/info.png) "><div class="m_title"></div></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbmid.png); background-repeat:repeat-y; "><ul class="snb_1dep">
<div class='main_bg'>
<span>
<img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1">
<li>Total de Cuentas: <?=$acc[0];?></li><img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1"></li>
<li>Total de Chars: <?=$char[0];?></li><img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1"></li>
<li>Total de Guilds: <?=$guild[0];?></li><img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1"></li>
</span>
</div>
</td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbbtm.png); background-repeat:no-repeat; height:27px; "> </td>
</tr>
</table>
<?php } ?>
<?php if ($commandIsActive==1) {
?>
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td height="48" style="background-image:url(template/<?=$core['config']['template'] ?>/images/Equipe.png) "><div class="m_title"></div></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbmid.png); background-repeat:repeat-y; ">
<div class='main_bg'>
<div>
<p>Más Usados:</p>
<p>/post
<p>/reset
<p>/add
<p>/attack
<p>/store pcp
<p>/offstore
</div>
</div></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbbtm.png); background-repeat:no-repeat; height:27px; "> </td>
</tr>
</table>
<?php } ?>
<!-- Visitantes -->
<?php if ($visitantesIsActive) {?>
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td height="48" style="background-image:url(template/<?=$core['config']['template'] ?>/images/visitante.png); "> </td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbmid.png) "><table width="160" class="blanco" align="center">
<tr><script type="text/javascript" src="//rc.revolvermaps.com/0/0/1.js?i=2l4ew3bo6r7&s=200&m=6&v=true&r=false&b=000000&n=false&c=ff0000" async="async"></script></tr>
</table></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbbtm.png); height:27px; "></td>
</tr>
</table>
<?php } ?>
<td valign="top">
<?php if ($page_check_id != downloads) {?>
<?php
if(CMS_NAVBAR == '1'){
if(isset($_GET[LOAD_GET_PAGE])){
$l_load = file("engine/cms_data/pag_d.cms");
foreach ($l_load as $l_name){
$l_name = explode(",",$l_name);
if($l_name[3] == $page_check_id){
$primary_l = $l_name[2];
break;
}
}
}
if(isset($_GET[USER_GET_PAGE])){
$ti2_td = xss_clean(safe_input($_GET[USER_GET_PAGE],"_"));
$l2_load = file("engine/cms_data/mods_uss.cms");
foreach ($l2_load as $l2_name){
$l2_name = explode(",",$l2_name);
if($l2_name[3] == $ti2_td){
$secondary_l = $l2_name[2];
break;
}
}
}
if(!isset($_GET[LOAD_GET_PAGE])){
#>
$title_p = '<a href="'.$core['config']['website_url'].'">'.$core['config']['websitetitle'].'</a>';
}elseif (isset($_GET[LOAD_GET_PAGE])){
if(isset($_GET[USER_GET_PAGE])){
$usercp_module_title = str_replace($modules_text_tile,$modules_text_translate,$secondary_l);
$title_p = '<a href="'.$core['config']['website_url'].'">'.$core['config']['websitetitle'].'</a> > <a href="'.$core['config']['website_url'].'/'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.$l_name[3].'">'.str_replace($menu_links_title,$menu_links_translated,$primary_l).'</a> > <a href="'.$core['config']['website_url'].'/'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.$l_name[3].'&panel='.$l2_name[3].'">'.$usercp_module_title.'</a>';
}else{
$title_p = '<a href="'.$core['config']['website_url'].'">'.$core['config']['websitetitle'].'</a> > <a href="'.$core['config']['website_url'].'/'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.$l_name[3].'">'.str_replace($menu_links_title,$menu_links_translated,$primary_l).'</a>';
}
}
/* echo '
<div class="where_nav">
<table cellpadding="0" cellspacing="0" border="0" >
<tr>
<td align="left"><img src="template/'.$core['config']['template'].'/images/arrow.gif" border="0"></td>
<td> </td>
<td width="100%" align="left">'.$title_p.'</td>
</table>
</div>'; */
}
if($page_check_id != ANNOUNCEMENTS_CMS_PAGE){
require('engine/announcement_config.php');
if($core['ANNOUNCEMENT']['ACTIVE'] == '1'){
$ann_file = array_reverse(file('engine/variables_mods/announcements.tDB'));
$count_ann = '0';
foreach ($ann_file as $ann){
$ann = explode(",",$ann);
if($ann[3] > time()){
$ann_found = '1';
$ann_title = $ann[1];
$ann_date = $ann[2];
$ann_id = $ann[0];
; break;
}
}
}
if($ann_found == '1'){
echo '
<div class="tmp_m_content">
<div class="tmp_right_title">'.text_announcement.'</div>
<div class="tmp_page_content">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td rowspan="3" align="left" width="60"><img src="template/'.$core['config']['template'].'/images/announcement.gif" width="38" height="38"></td>
<td align="left" style="padding-top: 2px; padding-bottom: 2px;"><a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.ANNOUNCEMENTS_CMS_PAGE.'#announcement-'.$ann_id.'">'.$ann_title.'</a></td>
<td align="right" class="ann_date">'.date('F j, Y | H:i',$ann_date).'</td>
</tr>
<tr>
<td colspan="2" align="left" style="background-image:url(template/'.$core['config']['template'].'/images/inner_line.jpg); height: 2px;"></td>
</tr>
';
if($core['ANNOUNCEMENT']['AUTHOR'] == '1'){
echo '<tr>
<td colspan="2" align="right">'.$core['config']['admin_nick'].' (Administrator)</td>
</tr>';
}
echo '</table></div>
</div>
';
}
}
$load_pages = file('engine/cms_data/pag_d.cms');
foreach ($load_pages as $pages_loaded){
$pages_loaded = explode(",",$pages_loaded);
if($pages_loaded[3] == $page_check_id){
$p_loaded_array = preg_split( "/\ /", $pages_loaded[5]);
$p_l = '1';
break;
}
}
if($p_l == '1'){
$load_mods = file('engine/cms_data/mods.cms');
foreach ($load_mods as $mods_loaded){
$mods_loaded = explode(",",$mods_loaded);
if(in_array($mods_loaded[0],$p_loaded_array)){
$_c_id_m[] = $mods_loaded[0];
}else {
$_c_id_m[] = 'NULL';
}
}
$co=0;
foreach ($p_loaded_array as $give){
#echo $give;
if(in_array($give,$_c_id_m)){
foreach ($load_mods as $give_me_out){
$give_me_out = explode(",",$give_me_out);
if($give_me_out[0] == $give){
if($give_me_out[4] == '1'){
if($_GET[LOAD_GET_PAGE] == USER_CMS_PAGE && isset($_GET[USER_GET_PAGE])){
$construct_title = $secondary_l;
}else{
$construct_title = $give_me_out[3];
}
echo '<h1 class="topModule">'.htmlspecialchars(str_replace($modules_text_tile,$modules_text_translate,$give_me_out[3])).'</h1>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="tdbgSubRight">
</td>
</tr>
<tr>
<td class="tdbgSub">
<div class="notice_bg" style="width:500px; ">';
if($give_me_out[1] == '1'){
if(is_file("pages_modules/".$give_me_out[2]."")){
include('pages_modules/'.$give_me_out[2].'');
}else{
echo 'Unable to load module file, reason: not found.';
}
}elseif ($give_me_out[1] == '0'){
if(is_file('engine/cms_data/cms_co/'.$give_me_out[0].'_cms.cms')){
include('engine/cms_data/cms_co/'.$give_me_out[0].'_cms.cms');
}else{
echo 'Unable to load module content, reason: not found.';
}
}
echo '</div>
<tr>
<td class="tdbgSubBottom">
</tr>
</table>
</br>
';
}
}
}
}
}
}
?>
<?php } ?>
<?php if ($page_check_id == HOME_CMS_PAGE) {?>
<?php include "fama.php" ?>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="tdbgSubRight"></td>
</tr>
<tr>
<td class="tdbgSub">
<div class="notice_bg" style="width:500px;">
<div class="fb-page" data-href="https://www.facebook.com/Mu-Nacionwar-158262898129045/" data-width="500" data-height="90" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false"><blockquote cite="https://www.facebook.com/s9pirata/" class="fb-xfbml-parse-ignore"><a style="font-size: 10px;" href="https://www.facebook.com/s9pirata/">Mu Nacionwar S4 Ep7</a></blockquote></div>
</div>
<tr>
<td class="tdbgSubBottom">
</tr>
</table>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
</tr>
<tr>
<td>
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td height="48" style="background-image:url(<?echo tmpDir ?>/images/Wins.png); "> </td>
</tr>
<tr>
<td style="background-image:url(<?echo tmpDir ?>/images/bg_snbmid.png) ">
<table width="95%" height="119" border="0" cellpadding="0" cellspacing="0" class="gen_table">
<tr>
<td height="69" align="center" valign="top" class="n_back">
<div id="RankDisplay">
<table width="200" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td width="36" height="30" align="center" valign="middle">Puesto:</td>
<td width="60" height="30" align="center" valign="middle">Nick:</td>
<td width="60" height="30" align="center" valign="middle">Puntos:</td>
</tr>
<tr>
<?
$duelWQuery=mssql_query("select TOP 5 * from MuOnline.dbo.".$duelTable." order by ".$duelWinColumn." desc");
while($row=mssql_fetch_assoc($duelWQuery)){
$_nickname=$row[$nameColumn];
$_dWin=$row[$duelWinColumn];
$rankMedalDuW++;
$rankTitleDuW++;
switch ($rankMedalDuW) {
case 1:
$_rankMedalDuW = "oro.png";
break;
case 2:
$_rankMedalDuW = "plata.png";
break;
case 3:
$_rankMedalDuW = "bronce.png";
break;
case 4:
$_rankMedalDuW = "4";
break;
}
switch ($rankTitleDuW) {
case 1:
$_rankTitleDuW = "Primer puesto ORO";
break;
case 2:
$_rankTitleDuW = "Segundo puesto PLATA";
break;
case 3:
$_rankTitleDuW = "Tercer puesto BRONCE";
break;
}
?>
<? if ($rankMedalDuW<=3) {?>
<td width="36" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<img src="template/<?=$core['config']['template']?>/images/<?=$_rankMedalDuW;?>" title="<?=$_rankTitleDuW;?>">
</td>
<? } else { ?>
<td width="36" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_rankMedalDuW++;?>
</td>
<? } ?>
<td width="60" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_nickname;?></td>
<td width="60" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_dWin;?></td></tr>
<?
}
?>
</table></div></td>
</tr>
<tr>
<td class="n_foot"> </td>
</tr>
</table>
<center>
<img src="<?echo tmpDir ?>/images/Bord_menu.gif" width="156" height="1"></li>
</center></td>
</tr>
<tr>
<td style="background-image:url(<?echo tmpDir ?>/images/bg_snbbtm.png); height:27px; "></td>
</tr>
</table>
<td>
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td height="48" style="background-image:url(<?echo tmpDir ?>/images/Los.png); "> </td>
</tr>
<tr>
<td style="background-image:url(<?echo tmpDir ?>/images/bg_snbmid.png) ">
<table width="95%" height="119" border="0" cellpadding="0" cellspacing="0" class="gen_table">
<tr>
<td height="69" align="center" valign="top" class="n_back">
<div id="RankDisplay">
<table width="200" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td width="36" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">Puesto:</td>
<td width="60" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">Nick:</td>
<td width="60" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">Puntos:</td>
</tr>
<?
$duelLQuery=mssql_query("select TOP 5 * from MuOnline.dbo.".$duelTable." order by ".$duelLosColumn." desc");
while($row=mssql_fetch_assoc($duelLQuery)){
$_nickname=$row[$nameColumn];
$_dLos=$row[$duelLosColumn];
$rankMedalDuL++;
$rankTitleDuL++;
switch ($rankMedalDuL) {
case 1:
$_rankMedalDuL = "oro.png";
break;
case 2:
$_rankMedalDuL = "plata.png";
break;
case 3:
$_rankMedalDuL = "bronce.png";
break;
case 4:
$_rankMedalDuL = "4";
break;
}
switch ($rankTitleDuL) {
case 1:
$_rankTitleDuL = "Primer puesto ORO";
break;
case 2:
$_rankTitleDuL = "Segundo puesto PLATA";
break;
case 3:
$_rankTitleDuL = "Tercer puesto BRONCE";
break;
}
?>
<? if ($rankMedalDuL<=3) {?>
<td width="36" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<img src="template/<?=$core['config']['template']?>/images/<?=$_rankMedalDuL;?>" title="<?=$_rankTitleDuL;?>">
</td>
<? } else { ?>
<td width="36" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_rankMedalDuL++;?>
</td>
<? } ?>
<td width="60" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_nickname;?></td>
<td width="60" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_dLos;?></td></tr>
<?
}
?>
</table></div></td>
</tr>
<tr>
<td class="n_foot"> </td>
</tr>
</table>
<center>
<img src="<?echo tmpDir ?>/images/Bord_menu.gif" width="156" height="1"></li>
</center></td>
</tr>
<tr>
<td style="background-image:url(<?echo tmpDir ?>/images/bg_snbbtm.png); height:27px; "></td>
</tr>
</table>
<tr>
<td></td>
</tr>
</table>
<p></p>
</br>
</br>
<h1 class="topModule">Castle Siege</h1>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td style="background-image:url(<?echo tmpDir ?>/images/bg_sub_right.png); background-repeat:no-repeat; height:35px; ">
</td>
</tr>
<tr>
<td style="background-image:url(<?echo tmpDir ?>/images/bg_sub.png); background-repeat:repeat-y; ">
<div><center>
<div class="contentBox">
<?php
$csData = mssql_fetch_array(mssql_query("SELECT TOP 1 OWNER_GUILD FROM MuCastle_DATA"));
$csData = $csData[0];
$csOwner = mssql_fetch_array(mssql_query("SELECT TOP 1 G_Master FROM Guild WHERE G_Name = '".$csData."'"));
$csReg=mssql_query("select REG_SIEGE_GUILD from MuCastle_REG_SIEGE");
$guildsQuery2=mssql_query("select TOP 1 G_Mark from Guild WHERE G_Name = '".$csData."' ");
$row=mssql_fetch_assoc($guildsQuery2);
$guildLogo=$row[$gMarkColumn];
$logo=urlencode(bin2hex($guildLogo));
?>
<div style="background: url(<?echo tmpDir ?>/images/CastleSiege.png) no-repeat center center; height: 175px; width: 505px ">
<div style="position:relative; top:29px; left: 23px; width: 0px;">
<ul class="clear">
<div style="text-align:center; padding:10px;" id="img-cs">
<img src="template/<?=$core['config']['template']?>/config/logo.php?decode=<?=$logo;?>" alt="Logo del Guild" height="75" width="75"/>
</div></ul>
</div>
<div class="style2" style="position:relative; top:-2px; left:-45px; width: 230px; color: #FFFFFF;">Master: <span style="font: bold 13px Arial,sans-serif;
color: #D1F003; text-shadow: 1px 1px 1px #000"><?=$csOwner[0]?></span></div>
<div class="style2" style="position:relative; top:-67px; left:-46px; width: 200px; color: #FFFFFF;">Dueño: <span style="font: bold 13px Arial,sans-serif;
color: #D1F003; text-shadow: 1px 1px 1px #000"><?=$csData?></span></div>
<div class="style2" style="position:relative; top:-118px; left:178px; width: 230px; color: #FFFFFF;">Registrados</div>
<div style="position:relative; top:-118px; left:180px; color: #CCCCCC;" class="global" >
<?php
while($row=mssql_fetch_assoc($csReg)){
$_csReg=$row['REG_SIEGE_GUILD'];
?>
<div ><?=$_csReg;?></div>
<?php } ?>
</div>
<table class="Estilo36" width="129">
</table>
</div>
</div>
</div>
</center></div>
<tr>
<td style="background-image:url(<?echo tmpDir ?>/images/bg_sub_bottom.png); background-repeat:no-repeat; height:68px; "></td>
</tr>
</table>
<?php } ?>
<?php if ($page_check_id == downloads) {?>
<h1 class="topModule">Descargas</h1>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_sub_right.png); background-repeat:no-repeat; height:35px; ">
</td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_sub.png); background-repeat:repeat-y; "><div class="legend" style="margin-bottom: 15px;">
<p></p>
<div class='news_bg'>
<div class='news_f'>
</div>
</div>
<p></p>
<div style="margin-bottom: 8px; margin-top: 10px;">
<?php include('descargas.php'); ?>
</div>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_sub_bottom.png); background-repeat:no-repeat; height:68px; "></td>
</tr>
</table>
<p></p>
<h1 class="topModule">Utilitarios</h1>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td style="background-image:url(<? echo tmpDir ?>/images/bg_sub_right.png); background-repeat:no-repeat; height:35px; ">
</td>
</tr>
<tr>
<td style="background-image:url(<? echo tmpDir ?>/images/bg_sub.png); background-repeat:repeat-y; ">
<table align='center' border='0' width='89%'>
<?php include('utilitarios.php'); ?>
</table>
<tr>
<td style="background-image:url(<? echo tmpDir ?>/images/bg_sub_bottom.png); background-repeat:no-repeat; height:68px; "></td>
</tr>
</table>
<p></p>
<h1 class="topModule">Requerimientos</h1>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td style="background-image:url(<? echo tmpDir ?>/images/bg_sub_right.png); background-repeat:no-repeat; height:35px; ">
</td>
</tr>
<tr>
<td style="background-image:url(<? echo tmpDir ?>/images/bg_sub.png); background-repeat:repeat-y; "><div style="margin-bottom: 8px; margin-top: 10px; color: #FFF;">
<table align='center' border='0' width='89%'>
<?php include('requerimientos.php'); ?>
</table>
</div>
<tr>
<td style="background-image:url(<? echo tmpDir ?>/images/bg_sub_bottom.png); background-repeat:no-repeat; height:68px; "></td>
</tr>
</table>
</td>
<?php } ?>
<td width="220" valign="top"><div align="center">
<?php if ($menuIsActive==1) {?>
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td height="48" style="background-image:url(template/<?=$core['config']['template'] ?>/images/menu_right.png); "> </td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbmid.png) "><table width="160" class="blanco" align="center">
<tr>
<ul class="vip_bg">
<span>
<?
$m_row_ = get_sort('engine/cms_data/pag_d.cms',',');
# echo $test[1][2][3];
foreach ($m_row_ as $li){
# explode(",",$li);
switch ($li[7]){
case '0':
if($li[8] == '1'){
if($li[6] != '0'){
echo '<li><a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.$li[3].'">'.str_replace($menu_links_title,$menu_links_translated,$li[2]).'</a></li>';
}
}
break;
case '1':
switch ($li[11]){
case '1': $target = "_blank"; break;
case '0': $target = "_self"; break;
}
echo '<li><a href="'.$li[10].'" target="'.$target.'">'.str_replace($menu_links_title,$menu_links_translated,$li[2]).'</a></li> ';
break;
}
}
?>
</span>
</ul>
</tr>
</table></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbbtm.png); height:27px; "></td>
</tr>
</table>
<?php } ?>
<?php if ($rankresetsIsActive==1) {?>
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td height="48" style="background-image:url(template/<?=$core['config']['template'] ?>/images/rank_resets.png) "><div class="m_title"></div></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbmid.png); background-repeat:repeat-y; "><ul class="snb_1dep">
<table width="95%" height="119" border="0" cellpadding="0" cellspacing="0" class="gen_table">
<tr>
<td height="69" align="center" valign="top" class="n_back">
<div id="RankDisplay">
<table width="200" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<tr>
<td width="36" height="30" align="center" valign="middle">Puesto:</td>
<td width="60" height="30" align="center" valign="middle">Nick:</td>
<td width="60" height="30" align="center" valign="middle">Resets:</td>
</tr>
<tr>
<?
$resetsQuery=mssql_query("select TOP 5 * from MuOnline.dbo.".$resetTable." Where ctlcode !='32' and ctlcode !='8' order by ".$resetColumn." desc, ".$levelColumn." desc");
while($row=mssql_fetch_assoc($resetsQuery)){
$_nickname=$row[$nameColumn];
$_level=$row[$levelColumn];
$_resets=$row[$resetColumn];
$rankMedalR++;
$rankTitleR++;
switch ($rankMedalR) {
case 1:
$_rankMedalR = "oro.png";
break;
case 2:
$_rankMedalR = "plata.png";
break;
case 3:
$_rankMedalR = "bronce.png";
break;
case 4:
$_rankMedalR = "4";
break;
}
switch ($rankTitleR) {
case 1:
$_rankTitleR = "Primer puesto ORO";
break;
case 2:
$_rankTitleR = "Segundo puesto PLATA";
break;
case 3:
$_rankTitleR = "Tercer puesto BRONCE";
break;
}
?>
<?php if ($rankMedalR<=3) {?>
<td width="36" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<img src="template/<?=$core['config']['template']?>/images/<?=$_rankMedalR;?>" title="<?=$_rankTitleR;?>">
</td>
<?php } else { ?>
<td width="36" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_rankMedalR++;?>
</td>
<?php } ?>
<td width="60" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_nickname;?></td>
<td width="60" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_resets;?></td></tr>
<?
}
?>
</table></div></td>
</tr>
<tr>
<td class="n_foot"> </td>
</tr>
</table>
<center>
<img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1">
</center>
</div>
</div>
</td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbbtm.png); background-repeat:no-repeat; height:27px; "> </td>
</tr>
</table>
<?php } ?>
<?php if ($rankguildsIsActive==1) {?>
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td height="48" style="background-image:url(template/<?=$core['config']['template'] ?>/images/rank_guilds.png) "><div class="m_title"></div></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbmid.png); background-repeat:repeat-y; "><ul class="snb_1dep">
<table width="95%" height="119" border="0" cellpadding="0" cellspacing="0" class="gen_table">
<tr>
<td height="69" align="center" valign="top" class="n_back">
<div id="RankDisplay">
<table width="200" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<tr>
<td width="36" height="30" align="center" valign="middle">Puesto:</td>
<td width="60" height="30" align="center" valign="middle">Nick:</td>
<td width="60" height="30" align="center" valign="middle">Score:</td>
<td width="60" height="30" align="center" valign="middle">Logo:</td>
</tr>
<tr>
<?
$guildsQuery=mssql_query("select TOP 5 * from MuOnline.dbo.".$guildTable." order by ".$gScoreColumn." desc");
while($row=mssql_fetch_assoc($guildsQuery)){
$_guildName=$row[$gNameColumn];
$_guildScore=$row[$gScoreColumn];
$guildLogo=$row[$gMarkColumn];
$logo=urlencode(bin2hex($guildLogo));
$rankMedalG++;
$rankTitleG++;
switch ($rankMedalG) {
case 1:
$_rankMedalG = "oro.png";
break;
case 2:
$_rankMedalG = "plata.png";
break;
case 3:
$_rankMedalG = "bronce.png";
break;
case 4:
$_rankMedalG = "4";
break;
}
switch ($rankTitleG) {
case 1:
$_rankTitleG = "Primer puesto ORO";
break;
case 2:
$_rankTitleG = "Segundo puesto PLATA";
break;
case 3:
$_rankTitleG = "Tercer puesto BRONCE";
break;
}
?>
<?php if ($rankMedalG<=3) {?>
<td width="36" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<img src="template/<?=$core['config']['template']?>/images/<?=$_rankMedalG;?>" title="<?=$_rankTitleG;?>">
</td>
<?php } else { ?>
<td width="36" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_rankMedalG++;?>
</td>
<?php } ?>
<td width="60" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_guildName;?></td>
<td width="60" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_guildScore;?></td>
<td width="60" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<img src="template/<?=$core['config']['template']?>/config/logo.php?decode=<?=$logo;?>" alt="" width="16" height="16" style="border: 1px solid #2a2a2a; background-color:#000000;" align="absmiddle"></td>
</tr>
<?
}
?>
</table></div></td>
</tr>
<tr>
<td class="n_foot"> </td>
</tr>
</table>
<center>
<img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1">
</center>
</div>
</div>
</td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbbtm.png); background-repeat:no-repeat; height:27px; "> </td>
</tr>
</table>
<?php } ?>
<?php if ($rankingpkIsActive==1) {?>
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td height="48" style="background-image:url(template/<?=$core['config']['template'] ?>/images/rank_pk.png) "><div class="m_title"></div></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbmid.png); background-repeat:repeat-y; "><ul class="snb_1dep">
<table width="95%" height="119" border="0" cellpadding="0" cellspacing="0" class="gen_table">
<tr>
<td height="69" align="center" valign="top" class="n_back">
<div id="RankDisplay">
<table width="200" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<tr>
<td width="36" height="30" align="center" valign="middle">Puesto:</td>
<td width="60" height="30" align="center" valign="middle">Nick:</td>
<td width="60" height="30" align="center" valign="middle">Kills:</td>
</tr>
<tr>
<?
$pkQuery=mssql_query("select TOP 5 * from MuOnline.dbo.".$pkTable." Where ctlcode !='32' and ctlcode !='8' order by ".$pkCount." desc");
while($row=mssql_fetch_assoc($pkQuery)){
$_nickname=$row[$pkName];
$_pkCount=$row[$pkCount];
$rankMedalPK++;
$rankTitlePK++;
switch ($rankMedalPK) {
case 1:
$_rankMedalPK= "oro.png";
break;
case 2:
$_rankMedalPK= "plata.png";
break;
case 3:
$_rankMedalPK= "bronce.png";
break;
case 4:
$_rankMedalPK= "4";
break;
}
switch ($rankTitlePK) {
case 1:
$_rankTitlePK= "Primer puesto ORO";
break;
case 2:
$_rankTitlePK= "Segundo puesto PLATA";
break;
case 3:
$_rankTitlePK= "Tercer puesto BRONCE";
break;
}
?>
<?php if ($rankMedalPK<=3) {?>
<td width="36" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<img src="template/<?=$core['config']['template']?>/images/<?=$_rankMedalPK;?>" title="<?=$_rankTitlePK;?>">
</td>
<?php } else { ?>
<td width="36" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_rankMedalPK++;?>
</td>
<?php } ?>
<td width="60" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_nickname;?></td>
<td width="60" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_pkCount;?></td></tr>
<?
}
?>
</table></div></td>
</tr>
<tr>
<td class="n_foot"> </td>
</tr>
</table>
<center>
<img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1">
</center>
</div>
</div>
</td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbbtm.png); background-repeat:no-repeat; height:27px; "> </td>
</tr>
</table>
<?php } ?>
<!-- Top Online -->
<table width="214" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top: 10px; ">
<tr>
<td height="48" style="background-image:url(template/<?=$core['config']['template'] ?>/images/toponline.png) "><div class="m_title"></div></td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbmid.png); background-repeat:repeat-y; "><ul class="snb_1dep">
<table width="95%" height="119" border="0" cellpadding="0" cellspacing="0" class="gen_table">
<tr>
<td height="69" align="center" valign="top" class="n_back">
<div id="RankDisplay">
<table width="200" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<tr>
<td width="36" height="30" align="center" valign="middle">Puesto:</td>
<td width="60" height="30" align="center" valign="middle">Nick:</td>
<td width="60" height="30" align="center" valign="middle">Horas Online:</td>
</tr>
<tr>
<?
$thQuery=mssql_query("select TOP 5 * from MuOnline.dbo.MEMB_STAT, AccountCharacter where memb___id = Id order by OnlineHours desc");
while($row=mssql_fetch_assoc($thQuery)){
$_LastOnlineName=$row['GameIDC'];
$_timeOnline=$row['OnlineHours'];
$rankMedalTH++;
$rankTitleTH++;
switch ($rankMedalTH) {
case 1:
$_rankMedalTH= "oro.png";
break;
case 2:
$_rankMedalTH= "plata.png";
break;
case 3:
$_rankMedalTH= "bronce.png";
break;
case 4:
$_rankMedalTH= "4";
break;
}
switch ($rankTitleTH) {
case 1:
$_rankTitleTH= "Primer puesto ORO";
break;
case 2:
$_rankTitleTH= "Segundo puesto PLATA";
break;
case 3:
$_rankTitleTH= "Tercer puesto BRONCE";
break;
}
?>
<?php if ($rankMedalTH<=3) {?>
<td width="36" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<img src="template/<?=$core['config']['template']?>/images/<?=$_rankMedalTH;?>" title="<?=$_rankTitleTH;?>">
</td>
<?php } else { ?>
<td width="36" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_rankMedalTH++;?>
</td>
<?php } ?>
<td width="60" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_LastOnlineName;?></td>
<td width="60" height="30" align="center" valign="middle" style="border-bottom:#222222 solid 1px;">
<?=$_timeOnline;?></td></tr>
<?
}
?>
</table></div></td>
</tr>
<tr>
<td class="n_foot"> </td>
</tr>
</table>
<center>
<img src="template/<?=$core['config']['template'] ?>/images/Bord_menu.gif" width="156" height="1">
</center>
</div>
</div>
</td>
</tr>
<tr>
<td style="background-image:url(template/<?=$core['config']['template'] ?>/images/bg_snbbtm.png); background-repeat:no-repeat; height:27px; "> </td>
</tr>
</table>
</tr>
</table>
<div class='footer'>
<table width="400" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<center>
<span class="Footer">
Credits NACIONWAR
<?php echo $Footer ?>
</span>
</center>
</td>
</table>
</div>
</div>
<!-- Smartsupp Live Chat script -->
<script type="text/javascript">
var _smartsupp = _smartsupp || {};
_smartsupp.key = 'e64ad3251f5b1c3d669b354b1bccc0384b131596';
window.smartsupp||(function(d) {
var s,c,o=smartsupp=function(){ o._.push(arguments)};o._=[];
s=d.getElementsByTagName('script')[0];c=d.createElement('script');
c.type='text/javascript';c.charset='utf-8';c.async=true;
c.src='https://www.smartsuppchat.com/loader.js?';s.parentNode.insertBefore(c,s);
})(document);
</script>
<div class="slide_likebox"> <div style="color: rgb(255, 255, 255); padding: 8px 5px 0pt 50px;"><span><div class='likeboxwrap'><iframe src="https://www.facebook.com/plugins/page.php?href=https://www.facebook.com/Mu-Nacionwar-158262898129045/" width="450" height="720" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe></div></span></div></div> <style type="text/css"> .slide_likebox { float:right; width:288px; height:345px; background: url(https://lh6.googleusercontent.com/-VW_GzzYnZJ0/TkiZQFcBc2I/AAAAAAAABmg/fa9_qWV8Cu4/fb_bg.png) no-repeat !important; display:block; right:-250px; padding:0; position:fixed; top: 130px; z-index:1002; border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px; } div.likeboxwrap { margin-top:2px; margin-left:-5px; width:238px; height:325px; background-color:#fff; overflow:hidden; border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px; } div.likeboxwrap iframe {margin:-1px} </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> <script type="text/javascript">
jQuery.noConflict();
jQuery(function (){
jQuery(".slide_likebox").hover(function(){
jQuery(".slide_likebox").stop(true, false).animate({right:"0"},"medium");
},function(){
jQuery(".slide_likebox").stop(true, false).animate({right:"-250"},"medium");
},500);
return false;
});
</script>
</body>
</html>