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

 

 


Tema destacado: Introducción a Git (Primera Parte)


  Mostrar Mensajes
Páginas: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ... 25
1  Programación / Desarrollo Web / Re: problema con buscador de google... en: 29 Septiembre 2011, 01:15 am
ok...gracias!

Viste mi pagina q te parecio??? :huh:
2  Programación / Desarrollo Web / problema con buscador de google... en: 28 Septiembre 2011, 19:44 pm
Hola a todos...El problema q tengo es el siguente:

-Google no me quiere indexar mi pagina en su buscador y no se cual es el problema....Acomode mis tag e incluso elimine unos....Ademas puse un robots.txt y un sitemap, rss...Y todavia no me a indexado...ayudenme :huh: :huh:

Mi pagina es leyendasnp.tk
3  Programación / PHP / Re: errores en php! pagina web en: 10 Junio 2011, 22:15 pm
ok gracias a todos....voy revisar a ver si me funciona bien y despues le digo.
4  Programación / PHP / Re: errores en php! pagina web en: 8 Junio 2011, 22:38 pm
el error persiste...me dice que esta en la ultima linea!
5  Programación / PHP / errores en php! pagina web en: 8 Junio 2011, 00:19 am
hola a todos, como estan? Bueno escribo este post x q tengo una pagina y no me quiere funcionar...Me salen unos errores, esperon que me ayuden!!! aqui esta el codigo de mi pagina completo:

index.php
Código
  1. <?php
  2. if (!file_exists('configxxx.php'))
  3. {
  4. # aun no se instalado
  5. header("Location: ./instalar/");
  6. die();
  7. }
  8. @include_once "configxxx.php";
  9. /* Conseguir Metatags */
  10. $query2 = mysql_query("SELECT * FROM `".$fijo."_configuraciones` WHERE titulo = 'titulon2' LIMIT 1");
  11. $title = mysql_fetch_array($query2);
  12. $titulo = $title['valor'];
  13. unset($query2,$title);
  14. $query = mysql_query("SELECT * FROM `".$fijo."_configuraciones` WHERE titulo = 'descripcion' LIMIT 1");
  15. $description = mysql_fetch_array($query);
  16. $descripcion = $description['valor'];
  17. unset($query,$description );
  18. $query1 = mysql_query("SELECT * FROM `".$fijo."_configuraciones` WHERE titulo = 'tags' LIMIT 1");
  19. $keywords = mysql_fetch_array($query1);
  20. $tag = $keywords['valor'];
  21. unset($query1,$keywords );
  22. ?>
  23. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  24. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
  25. <head>
  26. <meta http-equiv="Pragma" content="no-cache" />
  27. <META HTTP-EQUIV="Content-Language" CONTENT="es">
  28. <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />
  29. <meta name="description" content="<? echo $descripcion; ?>">
  30. <meta name="title" content="<?php echo .$titulo.; ?>">
  31. <meta name="author" CONTENT="info@neopuertaxxx.com">
  32. <meta name="robots" content="index,follow" />
  33. <meta name="Subject" CONTENT="NeoPuertaXxx.com">
  34. <meta name="Language" CONTENT="espanish">
  35. <link rel="alternate" type="application/rss+xml" title="Nuevos videos en NeoPuertaXxx.com" href="./rss/rss.php" />
  36. <METa name="keywords" content="<? echo .$tag.; ?>">
  37. <META NAME="revisit-after" CONTENT="2 days">
  38. <META NAME="distribution" CONTENT="Global">
  39. <META NAME="Copyright" CONTENT="Copyright 2011 NeoPuertaXxx.com, Inc">
  40. <meta name="rating" content="General" />
  41. <meta name="classification" content="*" />
  42. <meta name="locality" content="Anzoategui, El Tigre, Venezuela">
  43. <LINK rel="shortcut icon" href="favicon.ico">
  44. <link rel='StyleSheet' href='./estilo/Default.css'
  45. title="Default" media='all' />
  46. <link rel="stylesheet" type="text/css" href="./estilo/Css.css" title="Css" />
  47. <script type='text/javascript' language='javascript' src='./js/jquery.js'></script>
  48. <script type='text/javascript' language='javascript' src='./js/img.js'></script>
  49. <script type='text/javascript' language='javascript' src='./js/js.js'></script>
  50. <title><?php echo .$titulo.; ?></title>
  51. </head>
  52. <body>
  53. <a href="./">
  54. <img align="center" src=".\imagenes\logo.png" width="610" height="125" alt="NeoPuertaXxx.com" border="0" />
  55. </a>
  56. <?
  57. @include_once "./estilo/menu.html";
  58. ?>
  59. <table border="0" cellspacing="4" width="838">
  60. <tr valign="top">
  61. <td>
  62. <?
  63. @include_once "./include/menu.php";
  64. ?>
  65. <td valign="top">
  66.  
  67. <table cellpadding="5" style="border: #DB00aF 2px solid;" width="658px">
  68.  
  69. <tr valign="top">
  70.  
  71. <td style="background-color:white" height="2800px">
  72. <?
  73. if($page == "") :
  74. @include_once("configxxx.php");
  75. @include_once("./include/principal.php");
  76. else :
  77. if(file_exists("$page.php")) :
  78. $page = htmlspecialchars(trim($_GET["page"]));
  79. $page = eregi_replace("<[^>]*>","",$page) ;
  80. $page = eregi_replace(".*//","",$page) ;
  81. $page = str_replace("http://","",$page) ;
  82. $page = str_replace("www","",$page) ;
  83. $page = str_replace("https://","",$page) ;
  84. if (is_file(dirname(__FILE__) . '/module/'. $page .'.php'))
  85. :
  86. require_once(dirname(__FILE__) . '/module/'. $page .'.php');
  87. else:
  88. echo "<script>location='error404.php'</script>" ;
  89. endif;
  90. ?>
  91. </td>
  92. </tr>
  93. </table>
  94. <br />
  95. <center>
  96. <?php
  97. @include_once "configxxx.php";
  98. /* Conseguir Copyright */
  99. $sql = mysql_query("SELECT * FROM `".$fijo."_configuraciones` WHERE titulo = 'copyright' LIMIT 1");
  100. $Copy = mysql_fetch_array($sql);
  101. $copyright = $Copy['valor'];
  102. unset($sql,$Copy);
  103. echo .$copyright. ;
  104. ?>
  105. </center>
  106. </body>
  107. </html>
  108.  
  109.  

video.php

Código
  1. <?php
  2. @include_once "configxxx.php";
  3. /* Conseguir Metatags */
  4. $query2 = mysql_query("SELECT * FROM `".$fijo."_configuraciones` WHERE titulo = 'titulon' LIMIT 1");
  5. $title = mysql_fetch_array($query2);
  6. $titulo = $title['valor'];
  7. unset($query2,$title);
  8. $query1 = mysql_query("SELECT * FROM `".$fijo."_configuraciones` WHERE titulo = 'tags' LIMIT 1");
  9. $keywords = mysql_fetch_array($query1);
  10. $tag = $keywords['valor'];
  11. unset($query1,$keywords );
  12. mysql_query("update `".$fijo."_configuraciones` set valor=valor+1 where titulo='vistas'") ;
  13. $id = $_GET['id'];
  14. mysql_query("update `".$fijo."_video` set lectura=lectura+1 where id=.$id.") ;
  15. $query2 = mysql_query("SELECT * FROM `".$fijo."_video` WHERE id = .$id. LIMIT 1");
  16. $Nombrevideo = mysql_fetch_array($query2);
  17. $nombre = ucfirst($Nombrevideo['titulo']);
  18. unset($query2,$Nombrevideo );
  19. $imagesql = mysql_query("SELECT * FROM `".$fijo."_video` WHERE id = .$id. LIMIT 1");
  20. $Image = mysql_fetch_array($imagesql);
  21. $imagen = $Image['imagen'];
  22. unset($imagesql,$Image );
  23. ?>
  24. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  25. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
  26. <head>
  27. <meta http-equiv="Pragma" content="no-cache" />
  28. <META HTTP-EQUIV="Content-Language" CONTENT="es">
  29. <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />
  30. <meta name="description" content="Aqui les traigo un video de <? echo .$nombre. ; ?>, que seguro que no vas a dejar de ver...">
  31. <meta name="title" content="<?php echo .$titulo. ; ?> - <?php echo .$nombre. ; ?>">
  32. <meta name="author" CONTENT="info@neopuertaxxx.com">
  33. <meta name="robots" content="index,nofollow" />
  34. <meta name="Subject" CONTENT="NeoPuertaXxx.com">
  35. <meta name="Language" CONTENT="espanish">
  36. <link rel="alternate" type="application/rss+xml" title="Nuevos videos en NeoPuertaXxx.com" href="./rss/rss.php" />
  37. <METa name="keywords" content="<? echo .$tag. ; ?>">
  38. <META NAME="revisit-after" CONTENT="2 days">
  39. <META NAME="distribution" CONTENT="Global">
  40. <META NAME="Copyright" CONTENT="Copyright 2011 NeoPuertaXxx.com, Inc">
  41. <meta name="rating" content="General" />
  42. <meta name="classification" content="*" />
  43. <link rel="image_src" href="<? echo .$imagen. ; ?>" />
  44. <meta name="locality" content="Anzoategui, El Tigre, Venezuela">
  45. <LINK rel="shortcut icon" href="favicon.ico">
  46. <link rel='StyleSheet' href='./estilo/Default.css'
  47. title="Default" media='all' />
  48. <link rel="stylesheet" type="text/css" href="./estilo/Css.css" title="Css" />
  49. <script type='text/javascript' language='javascript' src='./js/jquery.js'></script>
  50. <script type='text/javascript' language='javascript' src='./js/img.js'></script>
  51. <script type='text/javascript' language='javascript' src='./js/js.js'></script>
  52. <title><?php echo .$titulo. ; ?> - <?php echo .$nombre. ; ?></title>
  53. <script type='text/javascript'>
  54. function ValidateComent(form) {
  55. if (form.autor.value=="") {
  56. alert('Debes ingresar un Nombre') ;
  57. return false;
  58. }
  59. if (form.email.value=="") {
  60. alert('Debes de ingresar tu E-Mail') ;
  61. return false;
  62. }
  63.  
  64.  
  65. if (form.mensaje.value=="") {
  66. alert('Por favor introduce tu Comentario') ;
  67. return false;
  68.      }
  69. if (form.mensaje.value.length > 260) {
  70. alert('Tu Comentario supera los 260 caractéres.') ;
  71. return false;
  72. }
  73.  
  74. }
  75. </script>
  76. </head>
  77. <body>
  78. <a href="./">
  79. <img align="center" src="./imagenes/logo.png" width="610" height="125" alt="NeoPuertaXxx.com" border="0" />
  80. </a>
  81. <?
  82. @include_once "./estilo/menu.html";
  83. ?>
  84. <table border="0" cellspacing="4" width="838">
  85. <tr valign="top">
  86. <td>
  87. <?
  88. @include_once "./include/menu.php";
  89. ?>
  90. <td valign="top">
  91.  
  92. <table cellpadding="5" style="border: #DB00aF 2px solid;" width="658px">
  93.  
  94. <tr valign="top">
  95.  
  96. <td style="background-color:white" height="2800px">
  97.  
  98. <?php
  99. @include_once "configxxx.php";
  100. $Nom = mysql_query("SELECT * FROM `".$fijo."_video` WHERE id = '$id' LIMIT 1");
  101. $Nombrevideo = mysql_fetch_array($Nom);
  102. $nombre = ucfirst($Nombrevideo['titulo']);
  103. unset($Nom,$Nombrevideo );
  104. ?>
  105. <h1 align="center"><? echo .$nombre. ; ?> - Video</h1>
  106. <br>
  107. <center>
  108. <a  href="http://www.youtube.com" target="_blank">
  109. <IMG border="0" src="youtube.gif" width="475" height="80"></a></center><br>
  110.  
  111. <table align="right">
  112. <?php
  113. $mysql1 = mysql_query("SELECT * FROM `".$fijo."_configuraciones` WHERE titulo = 'redes' LIMIT 1");
  114. $Red = mysql_fetch_array($mysql1);
  115. $redes = $Red['valor'];
  116. unset($mysql1,$Red );
  117. echo .$redes.;
  118. ?>
  119. </table>
  120. <br><br>
  121.  
  122. <?php
  123. $id = $_GET['id'];
  124. $query2 = mysql_query("SELECT * FROM `".$fijo."_video` WHERE id = '$id' limit 1");
  125. $a = 0;
  126.       while ($VIDEO = mysql_fetch_array($query2)) :
  127. $a++;
  128. echo"<p align='center'>
  129. .$VIDEO['video']. </p> <p align='center'>
  130. <a href='#error' onClick='window.open('error.php?erroneo=.$id.','popup','width=600,height=400,scrollbars=yes')" onmouseout="window.status='''
  131. onmouseover='window.status='Este video no funciona';return true'>
  132. ¿El video no funciona? <b>Reportar error.</b></a><p />
  133. <br>
  134. <p align='center'><b>Duracion:</b>
  135. .$VIDEO['duracion']. Minutos | <b>Reproduciones:</b> .$VIDEO['lectura'].  |  <b>Categor&iacute;a:</b>
  136. .$VIDEO['categoria'].  | <b>Subcategor&iacute;a:</b> .$VIDEO['subcategoria'].  |  <b>Votos:</b> .$VIDEO['voto'].
  137. </p>";
  138. ?>
  139. <p align='center'>
  140. <iframe
  141. src='http://www.facebook.com/plugins/like.php?href=video.php?id=
  142. <? echo .$id. ; ?>'
  143. scrolling='no' frameborder='0'
  144. style='border:none; width:370px; height:26px'></iframe>
  145. <p />
  146. <?php
  147. if ($a == 0) :
  148. echo "<b>No se encontro video</b>";
  149. endif;
  150. @include_once "configxxx.php";
  151. $id = htmlentities( $_GET['id'] );
  152. $resp = mysql_query("SELECT videoid FROM `".$fijo."_comentarios` WHERE videoid = '$id' ");
  153. $totalcomentarios = mysql_num_rows($resp) ;
  154. echo " <b>Total Comentarios:<b /> .$totalcomentarios.<br><br> ";
  155. $resultComen = mysql_query("SELECT * FROM `".$fijo."_comentarios` WHERE videoid = '$id' order by id desc  limit 8");
  156. $b = 0;
  157. while ($rowComen = mysql_fetch_array($resultComen)) :
  158. $b++;
  159. ?>
  160. <table cellpadding="4" cellspacing="1" align="center" class="tabla">
  161. <tr>
  162. <td class="filatitulo">
  163. <?php
  164. $autor = ucfirst(utf8_decode($rowComen['autor'])) ;
  165. echo .$autor. ;
  166. ?>
  167. </td>
  168. </tr>
  169. <tr>
  170. <td class="filacentro">
  171. <?php
  172. $comentario = preg_replace("/(?<!<a href=\")((http|ftp)+(s)?:\/\/[^<>\s]+)/i","<a href=\"\\0\" target=\"_blank\" rel=\"nofollow\">\\0</a>",$comentario) ;
  173. $comentario = ucfirst(utf8_decode($rowComen['comentario'])) ;
  174. echo .$comentario. ;
  175. ?>
  176. </td>
  177. </tr>
  178. <tr>
  179. <td class="filaabajo">
  180. Fecha :
  181. <? echo .$rowComen['fecha']. ; ?>
  182. </td>
  183. </tr>
  184. </table>
  185. <br>
  186. <?php
  187. if ($b == 0) :
  188. echo "<b>No hay Comentarios</b>";
  189. endif;
  190. ?>
  191. <table style="border: 2px dashed rgb(255, 0, 255);" align="center" width="45%">
  192.    <tbody>
  193.        <tr>
  194.            <td class="snote">
  195. <p align="center">
  196. <form action="./form/EnviarComentario.php"  name="form"  method="post"  onsubmit='return ValidateComent(form)'>
  197. <p align="center">
  198. <b><label for="autor"><font color="red">*</font>Nombre</ label><b />
  199. <br />
  200. <input type="text" name="autor" id="autor" class="form"  title="Ingresa tu Nombre o Nick"  size="30" /><br />
  201. <b><label for="email"><font color="red">*</font>E-Mail</label><b />
  202. <br />
  203. <input type="text" name="email" id="email" class="form" title="Ingresa tu Email"  size="30" />
  204. <br />
  205. <b><label for="mensaje">
  206. <?
  207. @include_once "./include/editor.html";
  208. ?>
  209. <br />
  210. <textarea name="mensaje" id="mensaje" cols="30" rows="8" class="form"  title="Ingresa tu Comentario"></textarea><br />
  211. <p align="center">
  212. <input type="submit" class="form" value="Enviar" title="Enviar Comentario"  name="submit" />
  213. </form>
  214. </p>
  215. </td></tr></tbody></table>
  216. <br><br>
  217. <h1 align="light">Videos Relacionados<h1 /><br>
  218.  
  219. <?
  220. @include_once "configxxx.php";
  221. $id = htmlentities($_GET['id'];)
  222.  
  223. $sql3 = mysql_query("SELECT * FROM `".$fijo."_video` WHERE id = .$id.  LIMIT 1");
  224. $relacionados1 = mysql_fetch_array($sql3);
  225. $relacionados = $relacionados1['titulo'];
  226. unset($sql3,$relacionados1 );
  227. $sql2 = mysql_query("SELECT * FROM `".$fijo."_video` WHERE  titulo LIKE '%".$relaciondos."%' ORDER BY RAND() limit 4");
  228.       $d = 0;
  229.   while ($row = mysql_fetch_array($sql2)) :
  230. $d++;
  231. ?>
  232. <DIV style="FLOAT: left; MARGIN-RIGHT: 5px" id="videos">
  233.                        <DIV id="videos1">
  234.                        <DIV id="img"><A
  235.                        href="video.php?id=<? echo .$row['id'].; ?>">
  236.                  <IMG id="<? echo .$row['id'].; ?> "
  237.                        src="<? echo .$row['imagen'].; ?>"  title="<?
  238. $titulo = ucfirst(utf8_decode($row['titulo']));
  239. echo .$titulo.;
  240. ?>" width="180" height="135" border="0"></A>
  241.                   </DIV>
  242.                        <DIV id="nombrevideo">
  243.                        <TABLE width="180" height="40">
  244.                          <TBODY>
  245.                          <TR>
  246.                            <TD align=middle><B>
  247.                         <A  href="video.php?id=<? echo .$row['id'].; ?>">
  248.       <? echo .$row['titulo'].; ?></A>
  249.          </B></TD></TD></TR></TBODY></TABLE></DIV>
  250.                        <DIV id="dur">
  251.                        <TABLE width="180" height="30">
  252.                          <TBODY>
  253.                          <TR>
  254.            <TD height="30" align="middle"><FONT size="-2"><? echo .$titulo.; ?> Minutos </FONT></TD></TD></TR></TBODY></TABLE></DIV></DIV></DIV>
  255. <?php
  256.  if ($d == 0) :
  257. echo"<b>No hay videos relacionados</b>";
  258. endif;
  259. ?>
  260.  
  261. </td>
  262. </tr>
  263. </table>
  264. <br />
  265. <center>
  266. <?php
  267. @include_once "configxxx.php";
  268. /* Conseguir Copyright */
  269. $query2 = mysql_query("SELECT * FROM `".$fijo."_configuraciones` WHERE titulo = 'copyright' LIMIT 1");
  270. $Copy = mysql_fetch_array($query2);
  271. $copyright = $Copy['valor'];
  272. unset($query2,$Copy);
  273. echo .$copyright. ;
  274. ?>
  275. </center>
  276. </body>
  277. </html>
  278.  
  279.  

él error que me sale es este:

Parse error: syntax error, unexpected $end
6  Programación / Programación General / wintermute engine en: 20 Mayo 2011, 02:09 am
hola a todos....Tengo una pregunta, esta pregunta es muy estúpida jajaja es para saber que lenguaje usa wintermute engine para hacer los juegos.... :D ;-)
7  Programación / Desarrollo Web / Re: Como crear webs en: 3 Mayo 2011, 03:44 am
Si hay que aprender mas....
8  Programación / Java / Re: Aplicacion en Java en: 2 Mayo 2011, 23:16 pm
A ok gracias....Castiblanco, bueno pero lo puedes hacer aunquesea para algunos,como un nokia, motorola, sony ericsson,etc.!
9  Programación / Desarrollo Web / Re: Como crear webs en: 2 Mayo 2011, 23:08 pm
De nada!
10  Programación / Desarrollo Web / Re: Reproductor para mi web .. . !! en: 2 Mayo 2011, 23:05 pm
MEN PERO HAY SALE TODO....EN LO QUE TE ENVIE.
Páginas: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ... 25
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines