Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: No me funciona el boton Log Out  (Visto 3323 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline yeltsin4493 Posteado: October 22, 2019, 11:05:11 PM | Modificado: October 23, 2019, 12:11:23 AM by yeltsin4493

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 67
  • Gracias recibida: 9
  • pe
hola comunidad, tengo un problema, la web me funciona 100%, pero al momento de darle al boton Log Out, no me funciona.
es un mucore 1.0.8 dejo la foto de la web, alguien me podria ayudar en este problema ?


Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?php /* date_default_timezone_set('Asia/Ho_Chi_Minh'); */ ?>
<?php require_once('engine/slider_config.php');
      require ('engine/statistics_config.php');?>
<?=build_header_seo(); ?>
<title><?=build_header_title(); ?></title>
<link rel="alternate" href="<?=$core['config']['website_url']?>" hreflang="en" />
<link rel="shortcut icon" href="template/<?=$core['config']['template'] ?>/favicon.ico" type="image/x-icon">
<meta property="og:image" content="<?=$core['config']['website_url']?>/<?=$core['config']['template'] ?>/images/logo.png"/>
<link type="text/css" rel="stylesheet" href="template/<?=$core['config']['template'] ?>/style.css" />
<script src="js/jquery-1.10.1.min.js"></script>

<script src="js/jquery.js"></script>
<script src="js/core_global.js"></script>
<script type="text/javascript" src="template/<?=$core['config']['template'] ?>/js/Main.min.js"></script>
<!--
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<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>


<script src="template/<?=$core['config']['template'] ?>/js/jquery.nivo.slider.js"></script>
<link rel="stylesheet" href="template/<?=$core['config']['template'] ?>/images/slider/nivo-slider.css" type="text/css" />
-->
<script>
var lang=new Array("Opens in","Open, starts in","Starts in","Hurry, lefts only");
</script>

<?php
if($_GET['page_id'] == 'guides')
{
?>
<script type="text/javascript">
function disableselect(e) {
    return false;
}

function reEnable() {
    return true;
}

document.onselectstart = new Function("return false");

if (window.sidebar) {
    document.onmousedown = disableselect;
    document.onclick = reEnable;
}
</script>
<?php } ?>

<script type="text/javascript">
function worldClock(zone, region) {
    var dst = 0
    var time = new Date()
    var gmtMS = time.getTime() + (time.getTimezoneOffset() * 60000)
    var gmtTime = new Date(gmtMS)
    var day = gmtTime.getDate()
    var month = gmtTime.getMonth()
    var year = gmtTime.getYear()
    if (year < 1000) {
        year += 1900
    }
    var monthArray = new Array("January", "February", "March", "April", "May", "June", "July", "August",
        "September", "October", "November", "December")
    var monthDays = new Array("31", "28", "31", "30", "31", "30", "31", "31", "30", "31", "30", "31")
    if (year % 4 == 0) {
        monthDays = new Array("31", "29", "31", "30", "31", "30", "31", "31", "30", "31", "30", "31")
    }
    if (year % 100 == 0 && year % 400 != 0) {
        monthDays = new Array("31", "28", "31", "30", "31", "30", "31", "31", "30", "31", "30", "31")
    }

    var hr = gmtTime.getHours() + zone
    var min = gmtTime.getMinutes()
    var sec = gmtTime.getSeconds()

    if (hr >= 24) {
        hr = hr - 24
        day -= -1
    }
    if (hr < 0) {
        hr -= -24
        day -= 1
    }
    if (hr < 10) {
        hr = " " + hr
    }
    if (min < 10) {
        min = "0" + min
    }
    if (sec < 10) {
        sec = "0" + sec
    }
    if (day <= 0) {
        if (month == 0) {
            month = 11
            year -= 1
        } else {
            month = month - 1
        }
        day = monthDays[month]
    }
    if (day > monthDays[month]) {
        day = 1
        if (month == 11) {
            month = 0
            year -= -1
        } else {
            month -= -1
        }
    }

    if (region == "Europe") {
        var startDST = new Date()
        var endDST = new Date()
        startDST.setMonth(2)
        startDST.setHours(1)
        startDST.setDate(31)
        var dayDST = startDST.getDay()
        startDST.setDate(31 - dayDST)
        endDST.setMonth(9)
        endDST.setHours(0)
        endDST.setDate(31)
        dayDST = endDST.getDay()
        endDST.setDate(31 - dayDST)
        var currentTime = new Date()
        currentTime.setMonth(month)
        currentTime.setYear(year)
        currentTime.setDate(day)
        currentTime.setHours(hr)
        if (currentTime >= startDST && currentTime < endDST) {
            dst = 1
        }
    }


    if (dst == 1) {
        hr -= -1
        if (hr >= 24) {
            hr = hr - 24
            day -= -1
        }
        if (hr < 24) {
            hr = " " + hr
        }
        if (day > monthDays[month]) {
            day = 1
            if (month == 12) {
                month = 0
                year -= -1
            } else {
                month -= -1
            }
        }
        return +hr + ":" + min + ":" + sec + "&nbsp;&nbsp;&nbsp;" + day + "/" + monthArray[month] + "/" + year + ""
    } else {
        return +hr + ":" + min + ":" + sec + "&nbsp;&nbsp;&nbsp;" + day + "/" + monthArray[month] + "/" + year + ""
    }
}


function worldClockZone() {
    document.getElementById("Athens").innerHTML = worldClock(2, "Europe")
    setTimeout("worldClockZone()", 1)
}
window.onload = worldClockZone;
</script>
<script type="text/javascript">
$(document).ready(function() {

    $('.guideaccButton').click(function() {

        $('.guideaccButton').removeClass('on');

         $('.guideaccContent').slideUp('normal');

        if($(this).next().is(':hidden') == true) {

            $(this).addClass('on');

            $(this).next().slideDown('normal');
         }

     });

});
</script>

<script type="text/javascript">
function show_status() {
$('.server_status').slideDown('normal');
$('.flagWrap li.first').addClass('on');
$('.flagWrap').addClass('on');
$('.flagWrap li.status').hide();
}
function hide_status() {
$('.server_status').slideUp('normal');
$('.flagWrap li.first').removeClass('on');
$('.flagWrap').removeClass('on');
$('.flagWrap li.status').show();
}
</script>

</head>
<body>
<?php

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"><b>Warning: The website is currently turned off!</b></div>';
    }

}


function CheckGS($ip,$port)
{
    if(!@fsockopen($ip,$port,$err,$err_str,0.1))
    {
        return false;
    }
    else
    {
        return true;
    }
}

?>
<header>
    <div class="g_Line_left"></div>
    <div class="g_Line_right"></div>
    <section>
    <article>
<center>
      <ul class="Wrapflag">
        <?php
          if($core['language_switch'] == '1')
          {
              foreach ($languages as $language_id =>  $language_data)
              {
                  echo '<li><img  src="template/'.$core['config']['template'].'/images/flags/'.$language_data[2].'">  <a href="'.ROOT_INDEX.'?change_language='.$language_id.'">'.$language_data[0].'</a></li>';
              }
          }
        ?></ul></center>
        <ul class="flagWrap" onMouseOver="show_status()" onMouseOut="hide_status()">
        <li class="first">&nbsp;&nbsp;&nbsp; <font color="#00ff00">#</font> <b>Server Status</b></li>
        <li class="status">
        <?php
          if(CheckGS("127.0.0.1",55901))
          {
              $gs = '<font color="#00ff00"><b>Online</b></font>';
            echo $gs;
          }
          else
          {
              $gs = '<font color="#e4151d"><b>Offline</b></font>';
            echo $gs;
          }
        ?>
        </li>
      </ul>
    </article>

    <?php

    $acc1 = "SELECT count(memb___id) from MEMB_INFO";
    $acc = $core_db->getAll($acc1)[0];
    $char1 = "SELECT count(Name) from Character";
    $char = $core_db->getAll($char1)[0];
    $guild1 = "SELECT count(G_Name) from Guild";
    $guild = $core_db->getAll($guild1)[0];
    $on1 = "SELECT count(memb___id) from MEMB_STAT where ConnectStat = '1'";
    $on = $core_db->getAll($on1)[0];

    ?>

    <div class="server_status">
      <table width="100%">
        <tr>
          <td>Connect Server</td>
          <td align="right">
          <?php
            if(CheckGS("127.0.0.1",44405))
            {
                echo '<font color="#00ff00"><b>Online</b></font>';
            }
            else
            {
                echo '<font color="#e4151d"><b>Offline</b></font>';
            }
          ?>
          </td>
        </tr>
        <tr>
          <td>Game Server</td>
          <td align="right">
          <?php
            echo $gs;
          ?>
          </td>
        </tr>
        <tr>
          <td>Siege Server</td>
          <td align="right">
          <?php
            if(CheckGS("127.0.0.1",55919))
            {
                echo '<font color="#00ff00"><b>Online</b></font>';
            }
            else
            {
                echo '<font color="#e4151d"><b>Offline</b></font>';
            }
          ?>
          </td>
        </tr>
        <tr>
          <td colspan="2"><img src="template/<?=$core['config']['template'];?>/images/sub_nav_bg_top.gif" width="200px"></td>
        </tr>
        <tr>
          <td>Total Players</td>
          <td align="right"><?=$acc[0];?></td>
        </tr>
        <tr>
          <td>Total Characters</td>
          <td align="right"><?=$char[0];?></td>
        </tr>
        <tr>
          <td>Total Guilds</td>
          <td align="right"><?=$guild[0];?></td>
        </tr>
        <tr>
          <td>Online Players</td>
          <td align="right"><?=$on[0];?></td>
        </tr>
      </table>
    </div>
  </section>
</header>
<div id="siteVisualWrap">
    <div id="siteVisualConts">
        <div class="G_ContsWrap">
            <div class="visualSpace"></div>
            <nav id="GameNavi">
        <ul id="GameMenuSkip">
<menu>
                    <?php
                      $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>';

                                echo '<a  href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.$li[3].'"  class="depth01"><span class="onLeft"></span><span class="onCent">'.str_replace($menu_links_title,$menu_links_translated,$li[2]).'<span class="onRight"></span></a></li>';
                              }
                            }
                            break;
                          case '1':
                            switch ($li[11]){
                              case '1': $target = "_blank"; break;
                              case '0': $target = "_self"; break;
                            }

                            echo '<li>';

                            echo '<a  href="'.$li[10].'"  target="'.$target.'"  class="depth01"><span class="onLeft"></span><span class="onCent">'.str_replace($menu_links_title,$menu_links_translated,$li[2]).'<span class="onRight"></span></a></li>  ';

                          break;
                        }
                      }
                    ?>
                  </menu>
        </ul>
            </nav>
            <div id="contentStart">
        <section id="gContsBodyWrap">

        <?php /* if($_GET['page_id'] != 'guides') { ?>

          <div id="sliderWrap">

            <div style="float:left; width: 630px; height: 147px;">
              <div class="slider-wrapper theme-default">
                <div id="slider" class="nivoSlider">
                  <img src="template/<?=$core['config']['template'] ?>/images/slider/slider_1.jpg"  alt="" />
                  <img src="template/<?=$core['config']['template'] ?>/images/slider/slider_2.jpg"  alt="" />
                </div>
                <script>
                $(window).load(function() {
                $('#slider').nivoSlider();
                });
                </script>
              </div>
            </div>

            <?php

            $csData = mssql_fetch_array(mssql_query("SELECT TOP 1 OWNER_GUILD FROM MuCastle_Data"));
            $gData = mssql_fetch_array(mssql_query("SELECT TOP 1 G_Mark FROM Guild WHERE G_Name = '".$csData[0]."'"));

            // Castle Siege banner config
            $cs_battle_day = 7;
              $cs_battle_time = "18:00:00";
              $cs_battle_duration = 120;

            $offset = null;

            $weekDays = array("", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday");
              $battleDay = $weekDays[$cs_battle_day];
              $today = date("l");
              $battleTime = $cs_battle_time;
              $battleDate = strtotime("next $battleDay $battleTime");
              $timeOffset = $battleDate - time();
              if($today == $battleDay) {
                  $currentTime = strtotime(date("H:i:s"));
                  $battleTimeToday = strtotime($battleTime);
                  $timeOffsetToday = $battleTimeToday - time();
                  if($battleTimeToday > $currentTime) {
                      $offset = $timeOffsetToday;
                  } else {
                      $timeOffsetToday = $timeOffsetToday*(-1);
                      if(($cs_battle_duration*60) > $timeOffsetToday) {
                          // CS BATTLE IN PROGRESS
                  $offset = null;
                      } else {
                          // CS BATTLE IS ON NEXT DATE
                          $offset = $timeOffset;
                      }
                  }
              } else {
                  // CS BATTLE IS ON NEXT DATE
                  $offset = $timeOffset;
              }

            $input_seconds = $offset;
            $csTime = null;

            if($input_seconds >= 1) {
              $days_module = $input_seconds % 86400;
              $days = ($input_seconds-$days_module)/86400;
              $hours_module = $days_module % 3600;
                  $hours = ($days_module-$hours_module)/3600;
                  $minutes_module = $hours_module % 60;
                  $minutes = ($hours_module-$minutes_module)/60;
                  $seconds = $minutes_module;
                  $csTime = array($days,$hours,$minutes,$seconds);
              }

            ?>

            <div style="float:left; margin-top: 15px; margin-right: 15px; margin-left: 15px; width: 285px; height: 133px;">
              <div style="float:left; text-align:left; width: 60px;">
                          <div style="background: #1d1c1a;width:60px;">
                  <img src="get.php?aL=<?=urlencode(bin2hex($gData[0]))?>" width="60" height="60" alt="sign" style="vertical-align:middle;">
                </div>
                      </div>
              <div style="float:left; margin-left: 10px; text-align:left; width: 100px;">
                <div class="siege_info" style="margin-top: 0px;">Castle Owner</div>
                <div class="siege_guild" style="margin-top: 15px;">
                  <span><a href="index.php?page_id=guild_members&gname=<?=$csData[0]?>"><?=$csData[0]?></a></span>
                </div>
              </div>
              <div style="text-align:left; margin-top: 66px;">
                            <div class="siege_info">Castle Siege Battle Starts In</div>
                            <div class="siege_guild" style="margin-top: 10px;"> <?=$csTime[0]?><span>d</span>  <?=$csTime[1]?><span>h</span> <?=$csTime[2]?><span>m</span> <?=$csTime[3]?><span>s</span></div>
                        </div>
            </div>

          </div>

          <?php } */ ?>

          <ul class="location">
            <li>
              <?php echo $core['config']['websitetitle']?>&nbsp;<span>&gt;</span></b>
              <?php
                $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 ''.htmlspecialchars(str_replace($modules_text_tile,$modules_text_translate,$give_me_out[3])).'';
                          }
                        }
                      }
                    }
                  }
                }
              ?>
            </li>
          </ul>
          <section class="gContsViewWrap">

             <?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])){
                                        #&gt;
                                        $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($menu_links_title,$menu_links_translated,$secondary_l);
$title_p =  '<a  href="'.$core['config']['website_url'].'">'.$core['config']['websitetitle'].'</a>  &gt; <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>  &gt; <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>  &gt; <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>';}
                                    }


          }

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.png" width="16" height="16"></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="0"  align="left" style="background-image:url(template/'.$core['config']['template'].'/ssimages/inner_line.jpg); height: 0px;"></td>
                      </tr>

                      ';
        if($core['ANNOUNCEMENT']['AUTHOR'] == '1'){
            echo '<tr>
            <td colspan="2" align="right"><b>'.$core['config']['admin_nick'].'</b> (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 '<div class="tmp_m_content">

                    <div class="tmp_page_content">';
                    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> </div>';
                }
            }
        }
    }
}
}
?>
          </section>
          <section class="gContsInfoWrap">
            <div class="gContsInfoBg">

              <?php

                if($_GET['page_id'] == 'guides')
                {
                  if(isset($_GET['guide']))
                  {
                    include('inc/guides_menu.php');
                  }
                }
                else
                {

                  if($user_login == '1')
                  {
                    echo '
                    <h2 class="title" id="h1Title">Control Panel</h2>
                    <img src="template/'.$core['config']['template'].'/images/sub_nav_bg_top.gif">
                    <div class="menuSubWrap">
                      <menu>

                    <ul>';

                    $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)
                        {
                          if($tr[7] != '1')
                          {
                            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 '
                        </ul>
                      </menu>
                      <div style="width:260px; height:37px; padding-left:20px; padding-top: 6px;">
                        <button class="small_button" style="float:left;"><a href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.USER_CMS_PAGE.'&'.USER_GET_PAGE.'='.ACCOUNTSETTINGS_CMS_USER.'">'.link_account_settings.'</a>
                        <button class="small_button" style="float:right;"><a  href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'=logout">'.link_log_out.'</a>
                      </div>
                    </div>
                    <div class="space20"></div>

                    ';
                  }
                  else
                  {
                    echo '
                      <h2 class="title" id="h1Title">Login</h2>
                      <div class="box_bottom"></div>
                      <form method="post" action="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.LOGIN_CMS_PAGE.'" name="uss_login_form">
                            <div align="left" style="width: 280px; margin-top: 10px; margin-bottom: 10px;">
                              <div style="margin-top: 20px;"></div>
                              <div style="float:left; width: 100px; font-size: 12px; line-height: 20px;">User ID:</div>
                              <div style="float:left; width: 180px;"><input type="text" value="" name="uss_id" class="field" style="width: 177px;" maxlength="10"></div>
                              <div style="clear:both;"></div>
                              <div style="margin-top: 10px;"></div>
                              <div style="float:left; width: 100px; font-size: 12px; line-height: 20px;">Password:</div>
                              <div style="float:left; width: 180px;"><input type="password" value="" name="uss_password" class="field" style="width: 177px;" maxlength="12"></div>
                              <input type="hidden" name="process_login">
                              <div style="clear:both;"></div>
                        </div>
                            <div style="clear:both;"></div>
                            <div align="right" style="margin-top: 12px; width: 284px;">
                              <div style="float:left;"><a href="index.php?page_id=lost_password">&raquo; '.link_lost_password.'</a></div>
                              <div style="float:right;">
                                <input type="submit" class="small_button" value="Login">
                              </div>
                          <div style="float:left;"><a href="index.php?page_id=register">&raquo; '.link_sign_up.'</a></div>
                              <div style="clear:both;"></div>
                            </div>
                      </form>
                    ';
                  }
                ?>


                <!--<h2 class="title" id="h1Title">Menu</h2>
                <img src="template/<?=$core['config']['template'];?>/images/sub_nav_bg_top.gif">
                <div class="menuSubWrap">
                  <menu>
                    <?php
                      $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>';

                                echo '<a  href="'.ROOT_INDEX.'?'.LOAD_GET_PAGE.'='.$li[3].'" style="text-decoration: none">'.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>';

                            echo '<a  href="'.$li[10].'"  target="'.$target.'" style="text-decoration: none">'.str_replace($menu_links_title,$menu_links_translated,$li[2]).'</a></li>  ';

                          break;
                        }
                      }
                    ?>
                  </menu>
                </div>-->
                <div class="space20"></div>
                <article class="gSubInfoBox">
                  <h2>Rankings<a href="index.php?page_id=rankings" class="more">&raquo; More</a></h2>
                  <article class="mainRankBox" id="MainRankingtap1" style="display: block;">
                    <h3>
                      <div onclick="ranking.tab('castle');return false;" style="cursor: pointer;"><strong>Characters</strong></div>
                      <div style="cursor: pointer;" onclick="ranking.tab('crywolf');return false;"><span>Guilds</span></div>
                    </h3>
                    <ul id="Ranktab1">
                      <?php
                      $query = "SELECT TOP 5 Name,cLevel,RESETS,Grand_Resets from Character where CtlCode < '8' order by Grand_Resets desc, RESETS desc, cLevel desc";
                      $rank_char = $core_db->getAll($query);
                      for($i=0;$i < count($rank_char);++$i)
                      {
                        $row = $rank_char[$i];
                        $rank = $i+1;
                        echo'
                        <li>
                          <div style="float:left; padding-right:20px;"> '.$rank.' </div>
                          <div style="float:left"><strong>
                             '.$row[0].'
                          </strong></div>
                         <div style="float:right">'.$row[1].' [<b><font color="orange"> '.$row[2].' </font></b>] [<b><font color="gold"> '.$row[3].' </font></b>]</div>
                        </li>';
                      } ?>
                    </ul>
                  </article>
                  <article class="mainRankBox" id="MainRankingtap2" style="display:none;">
                    <h3>
                      <div style="cursor: pointer;" onclick="ranking.tab('castle');return false;"><span>Characters</span></div>
                      <div style="cursor: pointer;" onclick="ranking.tab('crywolf');return false;"><strong>Guilds</strong></div>
                    </h3>
                    <ul id="Ranktab1">
                      <?php
                      $query = "SELECT TOP 5 G_Name,G_Master,G_Score,G_Mark from Guild where G_Name != 'ADMINS' order by G_Score desc";
                      $rank_guild = $core_db->getAll($query);
                      for($i=0;$i < count($rank_guild);++$i)
                      {
                        $row = $rank_guild[$i];
                        $rank = $i+1;
                        echo'
                        <li>
                          <div style="float:left; padding-right:20px;"> '.$rank.' </div>
                          <div style="float:left"><strong>
                             '.$row[0].'
                          </strong></div>
                         <div style="float:right">[<b><font color="orange"> '.$row[1].' </font></b>] [<b><font color="gold"> '.$row[2].' </font></b>] <img src="get.php?aL='.urlencode(bin2hex($row[3])).'" width="20" height="20" alt="sign" style="vertical-align:middle;"></div>
                        </li>';
                      } ?>
                    </ul>
                  </article>
                </article>
                <div class="space20"></div>


<?/*
                <h2 class="title" id="h1Title">Events Schedule</h2>
                <img src="template/<?=$core['config']['template'];?>/images/sub_nav_bg_top.gif">
                <div class="menuSubWrap">
                  <div style="width:280px; padding: 10px 10px 10px 10px;">
                    <dl id="events">
                      <script type="text/javascript" src="template/<?=$core['config']['template'] ?>/js/time.js"></script>
                      <script type="text/javascript">MuEvents.init('00:00:00');</script>
                    </dl>
                  </div>
                </div>
                <img src="template/<?=$core['config']['template'];?>/images/sub_nav_bg_bottom.gif">
                <div class="space20"></div>
*/?>
                <h2 class="title" id="h1Title">Facebook</h2>
                <img src="template/<?=$core['config']['template'];?>/images/sub_nav_bg_top.gif">
                <div class="menuSubWrap">
                  <div style="width:280px; padding: 10px 10px 10px 10px;">
                    <div class="fb-page" data-href="https://www.facebook.com/MuOnlineDeveloper" data-hide-cover="false" data-show-facepile="true" data-show-posts="false">
                      <div class="fb-xfbml-parse-ignore">
                        <blockquote cite="https://www.facebook.com/MuOnlineDeveloper"><a href="https://www.facebook.com/MuOnlineDeveloper">MuOnline</a></blockquote>
                      </div>
                    </div>
                    <div id="fb-root"></div>
                    <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/en_US/sdk.js#xfbml=1&version=v2.3&appId=238975489621813";
                        fjs.parentNode.insertBefore(js, fjs);
                      }(document, 'script', 'facebook-jssdk'));
                    </script>
                  </div>
                </div>
                <img src="template/<?=$core['config']['template'];?>/images/sub_nav_bg_bottom.gif">
                <div class="space20"></div>

                <?php } ?>
              </div>
            </section>
          </section>
            </div>
            <article class="gLogo"><a href="index.php"><img src="template/<?=$core['config']['template'] ?>/images/space.gif" width="260" height="70" alt="MU Online"></a></article>
            <article id="gStarter"><a href="index.php?page_id=downloads" title="DOWNLOAD" onFocus="this.blur();"></a></article>
            <!--<article id="gGST_Wrap">
                <div class="gGST_BoxOn" id="gstYourTime">
                    <span>Verzia</span><span>eX702</span>
                </div>
                <div class="gGST_BoxOff">
                    <span>Online Hour</span><span>137</span>
                </div>
            </article>-->
        </div>
    </div>
</div>

<footer>

    <article class="f_copyright">
          <div class="server_time">Your Time:&nbsp;<time id="tLocalTime"></time>
        <script type="text/javascript">
        var myVar = setInterval(function() { myTimer() }, 1);
        function myTimer() {
            var dt = new Date();
            var day = dt.getDate();
            var month = dt.getMonth() + 1;
            if (day < 12) { day = "0" + day}
            if (month < 12) { month = "0" + month }
            var t = dt.toLocaleTimeString() + "&nbsp;&nbsp;&nbsp;" + day + "/" + month + "/" + dt.getFullYear();
            document.getElementById("tLocalTime").innerHTML = t;
        }
        </script><br/>Server Time: <time id="Athens"></time>
      </div>
        <!--<div><img src="template/<?=$core['config']['template'] ?>/images/f_logo.gif" alt="Webzen"></div>-->
        <small>
      Copyright &copy; <?=date('Y');?> MuOnline. All Rights Reserved.<br>
      MU Online is a registered trademark of Webzen, Inc.<br>
      Template & modules by <a href="http://forum.ragezone.com/members/1333359135.html" target="_blank">jacubb</a>, Edit by <a href="http://forum.ragezone.com/members/2000128811.html" target="_blank">Trong</a>,
      Fixed by <a href="https://tsonetworks.com" target="_blank">Kevin Fernandez - TSONetworks</a>.
        </small>
    </article>
</footer>
</body>
</html>



Offline takumi12 #1 Posteado: October 22, 2019, 11:08:49 PM

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • Php Coder
  • +11 puntos por ventas
  • *
  • *
  • Rank: Puto amo
  • Posts: 1.310
  • Gracias recibida: 39644
  • mx
deberías cargar el archivo index.php, para verificar el problema en el código


Las offset no se crea, ni se destruye, solo se transforma

Offline yeltsin4493 #2 Posteado: October 22, 2019, 11:12:32 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 67
  • Gracias recibida: 9
  • pe
deberías cargar el archivo index.php, para verificar el problema en el código

vale, ahora subo la foto de la index.php


Offline takumi12 #3 Posteado: October 22, 2019, 11:25:00 PM

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • Php Coder
  • +11 puntos por ventas
  • *
  • *
  • Rank: Puto amo
  • Posts: 1.310
  • Gracias recibida: 39644
  • mx
deberías cargar el archivo index.php, para verificar el problema en el código

vale, ahora subo la foto de la index.php

que locuras haces amigo, sube el archivo index.php pero de la template, se encuenta ubicado en la carpeta template/webzen/index.php


Las offset no se crea, ni se destruye, solo se transforma

Offline yeltsin4493 #4 Posteado: October 22, 2019, 11:29:02 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 67
  • Gracias recibida: 9
  • pe
deberías cargar el archivo index.php, para verificar el problema en el código

vale, ahora subo la foto de la index.php

que locuras haces amigo, sube el archivo index.php pero de la template, se encuenta ubicado en la carpeta template/webzen/index.php

jajaja , ahora si amigo =)


Offline takumi12 #5 Posteado: October 22, 2019, 11:36:01 PM | Modificado: October 23, 2019, 12:09:56 AM by takumi12

  • MAESTRO

  • US. DE HONOR

  • LEYENDA

  • Php Coder
  • +11 puntos por ventas
  • *
  • *
  • Rank: Puto amo
  • Posts: 1.310
  • Gracias recibida: 39644
  • mx
modificado....
tema solucionado, esta usando mucore para PHP7 y la versión de php en su computador es 5.2 varias funciones pierden efecto por no ser compatibles


Las offset no se crea, ni se destruye, solo se transforma

Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
547 Views
Last post November 15, 2018, 06:43:51 PM
by dutrus
1 Replies
1044 Views
Last post May 14, 2019, 09:24:39 PM
by Maxic1987
0 Replies
360 Views
Last post August 09, 2020, 10:36:59 PM
by hikaru333
2 Replies
560 Views
Last post November 22, 2020, 04:21:49 PM
by ezek
2 Replies
695 Views
Last post March 21, 2021, 11:38:25 PM
by Darkco