home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Incas
/
Incas.iso
/
Kimera
/
karisma
/
kimera
/
republicadominicana
/
contenido.php
< prev
next >
Wrap
PHP Script
|
2005-02-09
|
2KB
|
83 lines
<?php
session_start();
require("FuncionesHistoria.php");
$topico=$_GET['topico'];
$indice=$_GET['indice'];
$Mensaje=$_GET['Mensaje'];
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!-- hide
function openWin3(imagen) {
myWin= open("", "displayWindow",
"width=500,height=400,status=no,toolbar=no,menubar=no,scrollbars=yes");
// open document for further output
myWin.document.open();
//create document
myWin.document.write('<html><head><title>');
myWin.document.write('</title></head><body>');
myWin.document.write('<img src="'+imagen+'"');
myWin.document.write('</body></html>');
// close the document - (not the window!)
myWin.document.close();
}
function openVideo(Video)
{
OpenWindow=window.open("", "newwin", "height=240,width=320,toolbar=no,scrollbars=yes,menubar=no");
OpenWindow.document.write("<HTML>")
OpenWindow.document.write("<TITLE>My Embedded Video</TITLE>")
OpenWindow.document.write("<BODY BGCOLOR=000000>")
OpenWindow.document.write("<EMBED SRC="+Video+" AUTOSTART=true></EMBED>")
OpenWindow.document.write("</HTML>")
OpenWindow.document.close()
self.name="main"
}
function openSonido(Sonido)
{
OpenWindow=window.open("", "newwin", "height=240,width=320,toolbar=no,scrollbars=yes,menubar=no");
OpenWindow.document.write("<HTML>")
OpenWindow.document.write("<TITLE>My Embedded Video</TITLE>")
OpenWindow.document.write("<BODY BGCOLOR=000000>")
OpenWindow.document.write("<EMBED SRC="+Sonido+" AUTOSTART=true></EMBED>")
OpenWindow.document.write("</HTML>")
OpenWindow.document.close()
self.name="main"
}
function openHiperTexto(Ruta)
{
OpenWindow=window.open(Ruta, "newwin", "height=500,width=400,toolbar=no,scrollbars=yes,menubar=no");
self.name="main"
}
// -->
</script>
</head>
<body>
<div align="justify"><font size="2" face="Arial, Helvetica, sans-serif">
<?php
if ($topico!="")
{
ObtieneDatosTopico($texto,$titulo,$topico,$indice,"SI");
echo(nl2br($texto));
}
if ($Mensaje!="")
{
echo('<script language="JavaScript" type="text/JavaScript">');
echo('alert("'.$Mensaje.'")');
echo('</script>');
};
?>
</font></div>
</body>
</html>