elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Tutorial básico de Quickjs


+  Foro de elhacker.net
|-+  Programación
| |-+  Desarrollo Web
| | |-+  PHP (Moderador: #!drvy)
| | | |-+  ayuda en mi godigo de programacion
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] 2 Ir Abajo Respuesta Imprimir
Autor Tema: ayuda en mi godigo de programacion  (Leído 6,025 veces)
neopuerta360

Desconectado Desconectado

Mensajes: 240


La mejor comunidad de neopets


Ver Perfil WWW
ayuda en mi godigo de programacion
« en: 5 Marzo 2011, 21:43 pm »

hi! a todos...tengo un problema con mi pagina q no funciona el error esta aqui...pero no se q es... :huh:

Código
  1. useMap=#Map2></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><MAP
  2. id=Map2 name=Map2><AREA href="http://www.mozilla-europe.org/es/" shape=rect
  3.  target=_blank coords=0,2,80,14></MAP></BODY></HTML>
  4.  



En línea

Nakp
casi es
Ex-Staff
*
Desconectado Desconectado

Mensajes: 6.336

he vuelto :)


Ver Perfil WWW
Re: ayuda en mi godigo de programacion
« Respuesta #1 en: 5 Marzo 2011, 21:56 pm »

ese es el codigo completo? ordenalo quieres? xD


En línea

Ojo por ojo, y el mundo acabará ciego.
neopuerta360

Desconectado Desconectado

Mensajes: 240


La mejor comunidad de neopets


Ver Perfil WWW
Re: ayuda en mi godigo de programacion
« Respuesta #2 en: 5 Marzo 2011, 23:56 pm »

Código:
<?phpheader( "Expires: Mon, 10 Jul 2011 04:00:00 GMT" );  // disable IE cachingheader( "Last-Modified: " . gmdate( "D, d M Y H:i:s" ) . " GMT" ); header( "Cache-Control: no-cache, must-revalidate" ); header( "Pragma: no-cache" );?>



<? include("config.php");?>
<? include("otracosa/seguridad22.php");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
<HEAD>
<meta http-equiv="X-UA-Compatible" content="IE=8">
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=description
content="NeoPuerta Xxx - La mejor pagina de Videos pornos Gratis y en español. Ideal para ver tus videos en linea,ver videos de todas las categorias,chat,foro,encontrar amigos, animaciones e imaganes,
red social,juegos,fotos,y mucho mas!">
<meta name="title" content="NeoPuerta Xxx - Tu mejor página de videos porno en Español y Gratis.">

<META NAME="Author" CONTENT="Alfredo Puerta">
<meta name="DC.Creator" content="neopuerta@gmail.com">
<META NAME="Subject" CONTENT="NeoPuerta Xxx">
<META NAME="Language" CONTENT="es,spanish">
<link rel="alternate" type="application/rss+xml" title="Nuevos videos en NeoPuerta Xxx" href="rss.php" />
<META NAME="Generator" CONTENT="NeoPuerta 2.0">
<title>NeoPuerta Xxx - Tu mejor página de videos porno en Español y Gratis.</title>
<META name=keywords
content=porno,videos,películas,chat,foro,red social,imagenes,juegos,animaciones,fotos,amigos,twitter,facebook,google,email,correo,el tigre,hi5,badoo,videos pornos,imagenes xxx,games,putas,zorras,perras,peliculas,xxx,plaboy,venezuela,venezolanas,linea,online,streaming,español,castellano,gratis,sexo,amateur,anal,asiáticas,mamadas,rubias,morenas,lesbianas,orgías,jovencitas,maduritas,masturbación,famosos,famosas,lesbianas,gay,interracial,pornstars,españolas,pilladas,squirting,hardcore,otros,porn,sex,free.><LINK
rel="shortcut icon" href="imagenes/favicon.ico">

<link rel="stylesheet" type="text/css" href="estilos/normal.css" />
<script src="antixss.js.php" type="text/javascript" language="javascript"></script>
</HEAD>
<body onLoad="javascript:verifica_url('404.php')">
<BODY>
<TABLE border=0 width="100%">
  <TBODY>
  <TR>
    <TD>
      <TABLE border=0 width="80%" align=center>
        <TBODY>
        <TR>
          <TD width="48%">
            <TABLE border=0 width="99%">
              <TBODY>
              <TR>
                <TD><IMG border=0 alt="NeoPuerta Xxx"
                  src="imagenes/logo.png"
                  width=385 height=73 useMap=#Map><BR><MAP id=Map
                    name=Map><AREA href="index.php"
                    shape=rect coords=5,3,377,69></MAP><br>


                 <form style="border:1px solid #ccc;padding:3px;text-align:center;" action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=neopuertaxxx', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">



<P align=left><B>Deseo recibir noticias en mi correo!</B><BR><INPUT
                   size="30" type="text" onclick="if(this.value == 'Ingresa tu correo') this.value='';" onblur="if(this.value.length == 0) this.value='Ingresa tu correo';"  value="Ingresa tu correo"
name="email" class="form">
<input type="hidden" value="neopuertaxxx" name="uri"/>
<input type="hidden" name="loc" value="en_US"/>

<INPUT  value="Suscribirme" type="submit" class="form" name="buttonb"><BR>
</FORM>




</TD></TR></TBODY></TABLE></TD>
          <TD width="52%">
            <TABLE border=0 width="99%">
              <TBODY>
              <TR>
                <TD width="74%" align=middle>
                  <FORM id="form1" method="GET" action="index.php">
                  <P align=left><B>Buscador:</B><BR>

<input type="hidden" value="buscador" name="page"/>
<INPUT size="30" type="text" onclick="if(this.value == 'Ingresa tu b&uacute;squeda') this.value='';" onblur="if(this.value.length == 0) this.value='Ingresa tu b&uacute;squeda';"  value="Ingresa tu b&uacute;squeda"
name="buscar" class="form">
 <INPUT id="button" value="Buscar" type="submit" class="form"><BR></P>
                  <HR align="left" color="#e952cf" width="280">

                  <P align="left"><B>Total
                  Visualizaciones:</B>&nbsp;


<? include_once("config.php");?>
<?
$reproduciones = mysql_query("select vistas from videosnp") ;
$totalvistos = mysql_num_rows($reproduciones) ;
mysql_free_result($reproduciones) ;
?>
<? echo $totalvistos ?>
<BR><B>Total visitas:</B>
&nbsp; <? include_once("include/visitas.php");?> <BR>



                  <B>Total videos:</B>&nbsp;
<?
$videos = mysql_query("select id from videosnp") ;
$totaldevideos = mysql_num_rows($videos) ;
mysql_free_result($videos) ;
?>
<? echo $totaldevideos ?>
<BR>

<B>Total comentarios:</B>
&nbsp;
<?
$comentar = mysql_query("select id from comentariosnp") ;
$totaldecomentarios = mysql_num_rows($comentar) ;
mysql_free_result($comentar) ;
?>
<? echo $totaldecomentarios ?>
<BR></P></FORM></TD>
                <TD width="26"><IMG
                  src="imagenes/cerdo.jpg"
                  width=164 height=137></TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD height=42
          background=imagenes/fondomenu.png
          colSpan=2>
            <TABLE border=0 borderColor=#ff99ff width="100%" height=44>
              <TBODY>
              <TR align=middle borderColor=#ff99ff>
                <TD onmouseover='this.style.background="#DB00AF"'
                onmouseout='this.style.background=""' width="9%"><A
                  href="index.php"><FONT size=3><IMG border=0
                  alt="Home"
                  src="imagenes/inicio.png"
                  width=25 height=18 > Home</FONT></A></TD>
                <TD onmouseover='this.style.background="#DB00AF"'
                onmouseout='this.style.background=""' width="9%"><A
                  href="foro/"><FONT size=3><IMG border=0
                  alt="Foro"
                  src="imagenes/foro.png"
                  width=25 height=18></FONT><FONT size=3>
                Foro</FONT></A></TD>
                <TD onmouseover='this.style.background="#DB00AF"'
                onmouseout='this.style.background=""' width="15%"><FONT
                  size=3><A
                  href="index.php?page=categorias"><IMG
                  border=0 alt="Categorías"
                  src="imagenes/categorias.png"
                  width=25 height=18> Categorías</A></FONT></TD>
                <TD onmouseover='this.style.background="#DB00AF"'
                onmouseout='this.style.background=""' width="13%"><FONT
                  size=3><A href="#mas"><IMG
                  border="0" alt="Mas"
                  src="imagenes/mas.png"
                  width="25" height="18"> Mas</A></FONT></TD>
                <TD onmouseover='this.style.background="#DB00AF"'
                onmouseout='this.style.background=""' width="14%"><A
                  href="index.php?page=chat"><FONT
                  size=3><IMG border=0 alt="Chat"
                  src="imagenes/chat.png"
                  width=25 height=18> Chat</FONT></A></TD>
                <TD onmouseover='this.style.background="#DB00AF"'
                onmouseout='this.style.background=""' width="17%"><FONT
                  size=3><A
                  href="index.php?page=imagenes"><IMG
                  border=0 alt="Imagenes"
                  src="imagenes/imagenes.png"
                  width=25 height=18> Imagenes</A><A
                  href="index.php?page=top"></A></FONT></TD>
                <TD onmouseover='this.style.background="#DB00AF"'
                onmouseout='this.style.background=""' width="8%"><FONT
                  size=3><A
                  href="index.php?page=top"><IMG
                  border=0 alt="Top ranking"
                  src="imagenes/top.png"
                  width=25 height=18> Top</A></FONT></TD>
                <TD onmouseover='this.style.background="#DB00AF"'
                onmouseout='this.style.background=""' width="15%"><FONT
                  size=3><A
                  onclick="window.open(this.href, this.target, 'width=600,height=400,scrollbars=yes' ); return false;"
                  href="enviar_archivo.php" target=_blank><IMG
                  border=0 alt="Enviar un archivo"
                  src="imagenes/enviararchivo.png"
                  width=25 height=18> Enviar
          archivo</A></FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
     

<? include("include/aletarios.php");?>


<br>
<TABLE border=0 width="100%" align=center>
        <TBODY>
<TR>
          <TD height=30
          background=imagenes/cuadradofondo.png><FONT class="bi"
            size=3><B class="bi" id="mas">&nbsp;Submenu</B> - Pincha un link</FONT></TD>
               </TR>
        <TR>
          <TD height=30 align=middle>
            <DIV style="WIDTH: 100%; HEIGHT: auto; MARGIN-LEFT: 50px">
            <DIV style="WIDTH: 20%; FLOAT: left; HEIGHT: auto">
           
<P align=left ><IMG border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=noticias">Noticias</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=animaciones">Animaciones</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=juegos">Juegos</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=imagenes">Imagenes</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=desgargas">Desgargas</A></P></DIV>
            <DIV style="WIDTH: 20%; FLOAT: left; HEIGHT: auto">
            <P align=left><IMG border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=estadisticas">Estadisticas</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=conectados">Conectados</A></A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=wallpapers">Wallpapers</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=chat">Chat</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=top">Top ranking</A></P></DIV>
            <DIV style="WIDTH: 20%; FLOAT: left; HEIGHT: auto">
            <P align=left><IMG border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=encuestas">Encuestas</A><BR>

<IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=movil">Movil</A><BR>


<IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=visitas">Libro visitas</A><BR><BR></P></DIV></DIV></TD></TR>


</tbody>
<br>


<?
if($page == "") {
include("otracosa/principal.php");
}
else {
if(file_exists("$page.php")) {
$page = htmlspecialchars(trim($_GET["page"]));
$page = eregi_replace("<[^>]*>","",$page) ;
$page = eregi_replace(".*//","",$page) ;
$page = str_replace("http://","",$page) ;
$page = str_replace("www","",$page) ;
$page = str_replace("https://","",$page) ;
if (is_file(dirname(__FILE__) . '/otracosa/'. $page .'.php'))
{require_once(dirname(__FILE__) . '/otracosa/'. $page .'.php');}
else{
include("error.php");
}
}
?>




            <TABLE width="100%" align=center>
              <TBODY>
              <TR>
                <TD height=30
                background=imagenes/cuadradofondo.png><FONT
                  size=3><B class="bi">&nbsp;Publicidad</B></FONT></TD></TR></TBODY></TABLE>
            <TABLE border=0 width="40%" align=center>
              <TBODY>
              <TR>
                <TD align=middle><!--JuicyAds v2.0--><IFRAME vspace=0
                  height=258 marginHeight=0 border=0
                  src="imagenes/adshow(2).htm"
                  frameBorder=0 width=924 allowTransparency marginWidth=0
                  scrolling=no
              hspace=0></IFRAME><!--JuicyAds END--></TD></TR></TBODY></TABLE></DIV></DIV></TD></TR>
        <TR>
          <TD height=30
          background=imagenes/cuadradofondo.png><FONT
            size=3><B class="bi">&nbsp;Categorías</B><FONT class="bi"> - Pincha en una categoría para ver
            los videos que contiene</FONT></TD></TR>
        <TR>
          <TD height=30 align=middle>
            <DIV style="WIDTH: 100%; HEIGHT: auto; MARGIN-LEFT: 50px">
            <DIV style="WIDTH: 20%; FLOAT: left; HEIGHT: auto">
            <P align=left><IMG border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=amateur">Amateur</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=anal">Anal</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=asiaticas">Asiáticas</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=mamadas">Mamadas</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=rubias">Rubias</A></P></DIV>
            <DIV style="WIDTH: 20%; FLOAT: left; HEIGHT: auto">
            <P align=left><IMG border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=morenas">Morenas</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=lesbianas">Lesbianas</A></A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=orgias">Orgías</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=jovencitas">Jovencitas</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=maduritas">Maduritas</A></P></DIV>
            <DIV style="WIDTH: 20%; FLOAT: left; HEIGHT: auto">
            <P align=left><IMG border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=masturbacion">Masturbación</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=famosas">Famosas</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=interracial">Interracial</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=peliculas">Películas</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=pornstars">Pornstars</A></P></DIV>
            <DIV style="WIDTH: 20%; FLOAT: left; HEIGHT: auto">
            <P align=left><IMG border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=espanolas">Españolas</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=pilladas">Pilladas</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=squirting">Squirting</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=hardcore">Hardcore</A><BR><IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=hd_alta_definicion">Alta
            definición</A></P></DIV>
            <DIV style="WIDTH: 15%; FLOAT: left; HEIGHT: auto">
            <P align=left>


<IMG
            border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=colegiales">Colegiales</A><BR>



<IMG border=0
            src="imagenes/carpeta.png"
            width=20 height=14> <A
            href="index.php?page=otros">Otros</A><BR></P></DIV></DIV></TD></TR>
        <TR>
          <TD height=10 align=middle><IMG
            src="imagenes/lineafinal.png"
            width=800 height=2></TD></TR>
        <TR>
          <TD height=30 align=middle>
            <P><A
            onclick="window.open(this.href, this.target, 'width=450,height=450,scrollbars=yes' ); return false;"
            href="contacto.php" target=_blank>Contacta con
            nosotros</A> | <A
            href="index.php?page=aviso_legal">Aviso
            legal</A> | <A
            href="index.php?page=somos">Quienes Somos?</A> | Copiright &copy; NeoPuerta Xxx <?
$fecha = date ("Y");
echo "2011-" . $fecha;
?></P>
            <P><A
            href="http://www.php.net/"><IMG
            src="imagenes/badge_php.gif" border="0"
            width=80 height=15></a>&nbsp;<IMG
            src="imagenes/button-mysql.png.jpg"
            width=80 height=15>&nbsp;<IMG
            src="imagenes/css_powered.png"
            width=80 height=15>&nbsp;<A
            href="sitemap.html"><IMG border=0
            src="imagenes/sitemap.jpg"
            width=80 height=15></A>&nbsp;<IMG border=0
            src="imagenes/firefox.gif"
            width=80 height=15
  useMap=#Map2></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><MAP
id=Map2 name=Map2><AREA href="http://www.mozilla-europe.org/es/" shape=rect
  target=_blank coords=0,2,80,14></MAP></BODY></HTML>
En línea

Feedeex

Desconectado Desconectado

Mensajes: 173


Ver Perfil
Re: ayuda en mi godigo de programacion
« Respuesta #3 en: 6 Marzo 2011, 01:04 am »

Sería más fácil que nos dijeras el error :P
En línea

neopuerta360

Desconectado Desconectado

Mensajes: 240


La mejor comunidad de neopets


Ver Perfil WWW
Re: ayuda en mi godigo de programacion
« Respuesta #4 en: 6 Marzo 2011, 01:11 am »

lo q me dice nada mas q el error esta en la ultima linea...yo creo q es el hostin, es de miarroba.es
En línea

Feedeex

Desconectado Desconectado

Mensajes: 173


Ver Perfil
Re: ayuda en mi godigo de programacion
« Respuesta #5 en: 6 Marzo 2011, 01:12 am »

A ok, ¿te dice "el error está en la última línea?, ¿nada más?. :¬¬
En línea

bomba1990


Desconectado Desconectado

Mensajes: 395



Ver Perfil WWW
Re: ayuda en mi godigo de programacion
« Respuesta #6 en: 6 Marzo 2011, 03:18 am »

por lo general cuando te dice que el error esta en la ultima linea se debe a que hay un corchete mal cerrado


modificacion: consegui el error, linea 269, hay un else sin cerrar. suerte

te recomiendo que hagas el espaciado necesario de tu codigo para que este este acorde a lo que estas ahciendo y sea facil de entender.
« Última modificación: 6 Marzo 2011, 03:30 am por bomba1990 » En línea

"Cuando le di de comer a los pobres me llamaron santo, pero cuando pregunte porque los pobres eran pobres me dijeron comunista"

http://sosinformatico.blogspot.com/
http://www.publisnet.com.ve
neopuerta360

Desconectado Desconectado

Mensajes: 240


La mejor comunidad de neopets


Ver Perfil WWW
Re: ayuda en mi godigo de programacion
« Respuesta #7 en: 6 Marzo 2011, 03:38 am »

disculpame...pero no se en donde poner el cochete???
En línea

Sinedra

Desconectado Desconectado

Mensajes: 44


<?php include("Sinedra.php"); ?>


Ver Perfil
Re: ayuda en mi godigo de programacion
« Respuesta #8 en: 6 Marzo 2011, 05:50 am »

A simple vista encontre esto:

<? echo $totalvistos ?>

<? echo $totaldevideos ?>

<? echo $totaldecomentarios ?>

debes cerrar cada sentencia con ;

<? echo $totalvistos; ?>

<? echo $totaldevideos; ?>

<? echo $totaldecomentarios; ?>

Seguramente hay mas sentencias sin ; revisa el codigo Saludos!
En línea

neopuerta360

Desconectado Desconectado

Mensajes: 240


La mejor comunidad de neopets


Ver Perfil WWW
Re: ayuda en mi godigo de programacion
« Respuesta #9 en: 6 Marzo 2011, 14:31 pm »

a ok..gracias! voy aprobar!
En línea

Páginas: [1] 2 Ir Arriba Respuesta Imprimir 

Ir a:  
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines