home *** CD-ROM | disk | FTP | other *** search
/ Incas / Incas.iso / Kimera / karisma / kimera / republicadominicana / contenido.php < prev    next >
PHP Script  |  2005-02-09  |  2KB  |  83 lines

  1. <?php 
  2.  session_start();
  3.  require("FuncionesHistoria.php");
  4.  
  5.  $topico=$_GET['topico'];
  6.  $indice=$_GET['indice'];
  7.  $Mensaje=$_GET['Mensaje'];
  8. ?>
  9.  
  10. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  11. <html>
  12. <head>
  13. <title>Untitled Document</title>
  14. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  15. <script language="JavaScript">
  16. <!-- hide
  17. function openWin3(imagen) {
  18. myWin= open("", "displayWindow",
  19. "width=500,height=400,status=no,toolbar=no,menubar=no,scrollbars=yes");
  20. // open document for further output
  21. myWin.document.open();
  22. //create document
  23. myWin.document.write('<html><head><title>');
  24. myWin.document.write('</title></head><body>');
  25. myWin.document.write('<img src="'+imagen+'"');
  26. myWin.document.write('</body></html>');
  27. // close the document - (not the window!)
  28. myWin.document.close();
  29. }
  30.  
  31. function openVideo(Video)
  32. OpenWindow=window.open("", "newwin", "height=240,width=320,toolbar=no,scrollbars=yes,menubar=no");
  33. OpenWindow.document.write("<HTML>")
  34. OpenWindow.document.write("<TITLE>My Embedded Video</TITLE>")
  35. OpenWindow.document.write("<BODY BGCOLOR=000000>")
  36. OpenWindow.document.write("<EMBED SRC="+Video+" AUTOSTART=true></EMBED>")
  37. OpenWindow.document.write("</HTML>")
  38. OpenWindow.document.close()
  39. self.name="main"
  40. }
  41.  
  42. function openSonido(Sonido)
  43. OpenWindow=window.open("", "newwin", "height=240,width=320,toolbar=no,scrollbars=yes,menubar=no");
  44. OpenWindow.document.write("<HTML>")
  45. OpenWindow.document.write("<TITLE>My Embedded Video</TITLE>")
  46. OpenWindow.document.write("<BODY BGCOLOR=000000>")
  47. OpenWindow.document.write("<EMBED SRC="+Sonido+" AUTOSTART=true></EMBED>")
  48. OpenWindow.document.write("</HTML>")
  49. OpenWindow.document.close()
  50. self.name="main"
  51. }
  52.  
  53. function openHiperTexto(Ruta)
  54. OpenWindow=window.open(Ruta, "newwin", "height=500,width=400,toolbar=no,scrollbars=yes,menubar=no");
  55. self.name="main"
  56. }
  57.  
  58. // -->
  59. </script>
  60. </head>
  61.  
  62. <body>
  63. <div align="justify"><font size="2" face="Arial, Helvetica, sans-serif">
  64.   <?php 
  65.     if ($topico!="")
  66.     {
  67.       ObtieneDatosTopico($texto,$titulo,$topico,$indice,"SI");
  68.       echo(nl2br($texto));
  69.     }  
  70.     if ($Mensaje!="")
  71.     {
  72.         echo('<script language="JavaScript" type="text/JavaScript">');
  73.         echo('alert("'.$Mensaje.'")');
  74.         echo('</script>');
  75.     };    
  76.   ?>
  77. </font></div>
  78. </body>
  79. </html>
  80.