Ver Mensaje Individual
  #10 (permalink)  
Antiguo 15/01/2014, 08:09
santi2892009
 
Fecha de Ingreso: mayo-2012
Mensajes: 363
Antigüedad: 12 años, 10 meses
Puntos: 0
Respuesta: error de sintaxis ..?

Código HTML:
Ver original
  1. <title>The Lone Warrior</title>
  2. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  3. <script src="estilo/temas/default/templates/jquery-1.4.2.min.js" type="text/javascript"></script>
  4. <script src="estilo/temas/default/templates/menu.js" type="text/javascript"></script>
  5.  
  6.     $(document).ready(function(){
  7.         $('#commerce').click(function(){
  8.  
  9.             $('#chat_iframe').attr('src','../includes/chat/index.php?branch=login&room=comercio');
  10.         });
  11.     });
  12.  
  13.     $(document).ready(function(){
  14.         $('#initial').click(function(){
  15.  
  16.             $('#chat_iframe').attr('src','../includes/chat/index.php?branch=login&room=inicial');
  17.         });
  18.     });
  19.  
  20. function request_resources_state()
  21. {
  22.  
  23.     $.ajax({
  24.         type: "GET",
  25.         dataType:'json',
  26.         url: "../includes/funciones/request_resources_state.php",
  27.         success: function(datos){
  28.             $('#gold').html("ORO: "+datos.gold);
  29.             $('#oil').html("PETROLEO: "+datos.petroleo);
  30.             $('#diesel').html("DIESEL: "+datos.diesel);
  31.             $('#gas').html("GASOLINA: "+datos.gasolina);
  32.             $('#ammo').html("MUNICION: "+datos.municion);
  33.             $('#puntos').html("PUNTOS: "+datos.puntos);
  34.             $('#ticket').html("TICKET: "+datos.ticket);
  35.         }
  36.     });
  37. }
  38. function opencharpopup(){
  39. var popurl='index.php?ir=verpj'
  40. winpops=window.open(popurl,'','width=250,height=500,scrollbars')
  41. }
  42. function openmappopup(){
  43. var popurl='index.php?ir=mapa'
  44. winpops=window.open(popurl,'','width=501,height=501,scrollbars')
  45. }
  46.    <script type="text/javascript">
  47.       document.onkeyup = KeyCheck;      
  48.      
  49.       function KeyCheck(e)
  50.       {
  51.          var KeyID = (window.event) ? event.keyCode : e.keyCode;
  52.          
  53.          switch(KeyID)
  54.          {
  55.             case 104:
  56.                document.navi.keydir.value = "north";
  57.                document.navi.submit();
  58.                break;
  59.             case 100:
  60.                document.navi.keydir.value = "west";
  61.                document.navi.submit();
  62.                break;
  63.             case 102:
  64.                document.navi.keydir.value = "east";
  65.                document.navi.submit();
  66.                break;
  67.             case 98:
  68.                document.navi.keydir.value = "south";
  69.                document.navi.submit();
  70.                break;
  71.             case 103: // numpad 7
  72.                document.navi.keydir.value = "north_west";
  73.                document.navi.submit();
  74.                break;
  75.             case 105: // numpad 9
  76.                document.navi.keydir.value = "north_east";
  77.                document.navi.submit();
  78.                break;
  79.             case 99: // numpad 3
  80.                document.navi.keydir.value = "south_east";
  81.                document.navi.submit();
  82.                break;
  83.             case 97: // numpad 1
  84.                document.navi.keydir.value = "south_west";
  85.                document.navi.submit();
  86.                break;
  87.          }
  88.       }
  89.       setInterval('request_resources_state()',5000);
  90.    </script>
  91. <link rel="stylesheet" type="text/css" href="estilo/temas/default/templates/style2.css">
  92.  
  93. </head>
  94. <!-- Save for Web Slices (new.psd) -->
  95. <table id="Table_01" width="957" height="671" border="0" cellpadding="0" cellspacing="0" style="position:relative;margin: 0 auto;">
  96.     <tr>
  97.         <td colspan="3">
  98.             <img src="estilo/temas/{{tema}}/imagenes/login/new1_01.png" width="957" height="1" alt=""></td>
  99.     </tr>
  100.     <tr>
  101.         <td colspan="2">
  102.             <div id="header">
  103.         <div id="nav">
  104.             <ul>
  105.                 <li style=" margin-left: 13px; "><a href="index.php">HOME</a></li>
  106.                 <li style=" left: -9px;position: relative; "><a href="">MAPA</a></li>
  107.                 <li style="  left: -2.2%; position: relative; "><a href="index.php?ir=clan&accion=clan">ALIANZA</a></li>
  108.                 <li style="position: relative; left: -2.5%;"><a href="index.php?ir=ranking&accion=ranking">RANKING</a></li>
  109.                 <li style="  left: -2%; position: relative; "><a href="">TRABAJOS</a></li>
  110.                 <li style="position: relative;left: -2.5%;"><a href="">GANANCIA</a></li>
  111.                 <li style="position: relative;left: -2.5%;"><a href="index.php?ir=perfil&accion=perfil">PERFIL</a></li>
  112.                 <li style="  left: -2%; position: relative;"><a style="color:red;" href="">PREMIUM</a></li>
  113.                 <li style=" left: 1%; position: relative; "><a href="index.php?ir=salir&accion=salir">SALIR</a></li>
  114.             </ul>
  115.         </div>
  116.     </div>
  117.             </td>
  118.        
  119.         <td rowspan="5">
  120.             <img src="estilo/temas/{{tema}}/imagenes/login/new1_03.png" width="62" height="670" alt=""></td>
  121.     </tr>
  122.     <tr>
  123.         <td colspan="2">
  124.             <div id="inter-menu">
  125.                 <div id="nav-menu">
  126.             <ul>     {{topnav}}
  127.                 <li style=" margin-left: -6px; "><a id="puntos" class="boton" href="">PUNTOS</a></li>
  128.                 <li style=" margin-left: -3px; "><a id="oil" class="boton" href="">PETROLEO</a></li>
  129.                 <li style=" margin-left: -2px; "><a id="gas" class="boton" href="">GASOLINA</a></li>
  130.                 <li><a id="diesel" class="boton" href="">DIESEL</a></li>
  131.                 <li style=" margin-left: -1px; "><a id="ammo" class="boton" href="">MUNICION</a></li>
  132.                 <li><a id="gold" class="boton" href="">ORO</a></li>
  133.                 <li><a id="ticket" class="boton" href="">TICKET</a></li>
  134.                            
  135.             </ul>
  136.         </div>
  137.             </div>
  138.             </td>
  139.     </tr>
  140.     <tr>
  141.         <td rowspan="2">
  142.             <div id="apDiv2">
  143.  
  144. <div id="apDiv3"><DIV><a href='index.php?ir=mensajero'>mensajes</a></div></div>
  145. <div id="apDiv4"><DIV><input style="position: relative;left:9px;" type="text" name="textfield" id="textfield" /></div></div>
  146. <DIV> TIMERS  </DIV>
  147. <div id="accordian">
  148. <div align="left">
  149.  
  150.     <ul>
  151.         <li>
  152.             <h3><span class="icon-dashboard"></span>tablas</h3>
  153.             <ul>
  154.                 <li><a href="index.php?ir=tabla edificios">tabla edificios</a></li>
  155.                 <li><a href="index.php?ir=tabla viviendas">tabla viviendas</a></li>
  156.                 <li><a href="index.php?ir=tabla banco">tabla niveles banco</a></li>
  157.                 <li><a href="index.php?ir=tabla municion-petroleo">tabla almacen municion-petroleo</a></li>
  158.             </ul>
  159.         </li>
  160.         <!-- we will keep this LI open by default -->
  161.         <li class="active">
  162.             <h3><span class="icon-tasks"></span>informes</h3>
  163.             <ul>
  164.                 <li><a href="#">AQUI SALDRAN LOS INFORMES DE COMBATE</a></li>
  165.                
  166.             </ul>
  167.         </li>
  168.         <li>
  169.             <h3><span class="icon-calendar"></span>notas</h3>
  170.             <ul>
  171.                 <li><a href="#">AQUI TENDRIA QUE SALIR LAS NOTAS</a></li>
  172.                 <h3><span class="icon-calendar"></span>SOPORTE</h3>
  173.                 <li><a href="#">COMO SE JUEGA</a></li>
  174.                 <li><a href="#">CONTACTA CON NOSOTROS</a></li>
  175.                 <li><a href="#">FORO</a></li>
  176.             </ul>
  177.         </li>
  178.         <li>
  179.             <h3><span class="icon-heart"></span>TABLAS DE ARMAS</h3>
  180.             <ul>
  181.                 <li><a href="#">TABLA ARMAS</a></li>
  182.                 <li><a href="#">TABLA EDIFICIOS</a></li>
  183.           </ul>
  184.         </li>
  185.         <li>
  186.         <h3><span class="icon-heart"></span>LISTA DE AMIGOS</h3>
  187.             <ul>
  188.                 <li><a href="#">SE HARA UNA LISTA DE AMIGOS</a></li>
  189.           </ul>
  190.         </li>
  191. [COLOR="Red"]<?php
  192.                 $consulta = mysql_query("SELECT * FROM ex_mapa2 WHERE usuario = '$row[7]'");
  193.                 $row = mysql_fetch_assoc($consulta);
  194.                 $x = $row['x'];
  195.                 $y = $row['y'];
  196.                             echo "<li><a href='mapa2.php?x=$x&y=$y'>Mapa</a></li>";
  197.             ?>
  198.         [/COLOR]
  199.                 <!-- prefix free to deal with vendor prefixes -->
  200. </div>
  201.  
  202. </td>
  203.         <td>
  204.             <div id="apDiv21">{{content}}</div>
  205.             </td>
  206. </tr>
  207.  
  208.     <tr>
  209.         <td>
  210.             <div class="chat">
  211.                 <iframe class="chat_iframe" style='width:100%;position: relative;top:-73px' scrolling="false" frameborder="0" name="LTuser_status" id="chat_iframe" scrolling="auto" src='../includes/chat/index.php?branch=login'></iframe>
  212.                 <a id="initial" style="cursor:pointer;color:#FBECBB;position: relative; top: -141px; left: 42%;">Sala Inicial</a>
  213.                 <a id="commerce" style="cursor:pointer; color:#FBECBB; position: relative; top: -114px; left: 31%;">Sala Comercio</a>
  214.                 </div>
  215.  
  216.         </td>
  217.     </tr>
  218.     <tr>
  219.         <td colspan="2">
  220.             <img src="estilo/temas/{{tema}}/imagenes/login/new1_08.png" width="895" height="14" alt=""></td>
  221.     </tr>
  222.  
  223.  
  224.  
  225. </body>
  226. </html>