PDA

Ver la Versión Completa : como cargar el titulo


mendieta
04-01-2005, 14:36:11
Hola tengo un scripts de juegos en admin los añado pero tiene un problema que el titulo <title>ANIMACION FLASH </title> todas las paginas son iguales y eso al buscadores no les gusta como podría sacar el titulo de la misma pagina de la que carga les dejo php MUCHAS GRACIAS esque no hay manera

<html>
<head>
<title>ANIMACION FLASH </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description" content="Dibujos Animados en flash. ANIMACION, hetai, aztec">
<style type="text/css">
<!--
input { font-family: Verdana; font-size: 10px; color: #ffffff; background-color: #5F90C0; border: #ffffff; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}
select { font-family: verdana; font-size: 10px; color: #ffffff; background-color: #5F90C0; border: #ffffff; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}
-->
</style>
<STYLE TYPE-"type/css">
<!--
A:link { COLOR: 000000; TEXT-DECORATION: none; font-weight: bold}
A:visited { COLOR: 000000; TEXT-DECORATION: none; font-weight:}
A:active { COLOR: 000000; TEXT-DECORATION: none; font-weight:}
a:hover { COLOR: 000000; TEXT-DECORATION: underline; font-weight:}
p, td {font-family: verdana; font-size: 7pt; line-height:10pt;}
big {font-family: verdana; font-size: 8pt; line-height:10pt;}

-->
</STYLE>

</head>


<body bgcolor=#999999 background="vti.gif" leftmargin=0 topmargin=0>
<br>
<table bgcolor=ffffff align=center width=750 cellspacing=0 cellpadding=0 border=0>
<tr>
<td background="fondotit.gif"><img src="logo.gif" width="750" height="120" alt="animaciones flash, flash animaciones, cartoon, cartoons, paraguay, webcartoons, webtoon, webtoons, flash cartoon, flash cartoons, flash animations, flash animation, animation, animaciones, dibujitos, animaciones flash,flash animaciones"></td>
</tr>
<tr>
<td background="fondotit.gif">
<?php
include("conexio.php");

$sql = "SELECT * FROM anim WHERE id LIKE '$id'";
$resp = mysql_query($sql);
if ($row = mysql_fetch_array($resp)) {
echo "
<table align=center width=400 cellspacing=0 cellpadding=0 border=0>
<tr><td><table border=1 bordercolor=c0c0c0><tr><td>
<embed src='".$row["urljuego"]."' width=500 height=400>
</tr></table>
<br><br>
<h1>".$row["titulo"]."</h1></b> <--de aqui tengo que sacar el titulo<title>
".$row["descripcion"]."</h2>
</td></tr></table>
<br><br>
<center>";
$sql = "SELECT * FROM anim WHERE id LIKE '$id'";
$resp = mysql_query($sql);
if ($row = mysql_fetch_array($resp)) {
$hits = $row[hits];
$hits2 = $row[hits]+1;
$nombre = $row[titulo];
$urlimagen = $row[urlimagen];
$urljuego = $row[urljuego];
$descripcion = $row[descripcion];
echo "Visto $hits veces";

$sqla = "UPDATE anim SET hits = '$hits2' WHERE id = '$id' AND titulo = '$nombre' AND urlimagen = '$urlimagen' AND urljuego = '$urljuego' AND descripcion = '$descripcion' AND hits = '$hits' LIMIT 1 ;";
mysql_query($sqla);
} else {
echo "<center><br><br>ERROR: No existe una juego para esta id<br><br>";
}
}

?></center></center></TD>
<TD width="98" bgColor=#E5EFFA><TD width=152 bgColor=#E5EFFA height=22><div align="center"><iframe width=150 height=600 src="loquejuegos1.htm" marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>
</div>
</TR>
<TR>
<TD width=152 bgColor=#E5EFFA height=24><div align="center"><iframe width=200 height=300 src="recomendar.php" marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>
</div>
</TD>
</TR>
</TABLE>
<br>
<div align="center">
<center>
</center>
</div>
<DIV align=center>
<CENTER>
<TABLE id=AutoNumber3 style="BORDER-COLLAPSE: collapse" borderColor=#839fbc
cellSpacing=0 cellPadding=3 width="752" border=1>
<TBODY>
</center>
<table width="888">
<TR>
<TD width="880" background=fondo_menu.gif height="22">
<P align=center class="Estilo1 Estilo2"><FONT face=Verdana>Webs
Amigas</FONT></P></TD>
</TR>
<TR>
<TD width="880" bgColor=#e0e7f1>
<P align=center><br>
<a href="" target="_blank"><img src="" alt="JUEGOS GRATIS" width="88" height="31" border="0"></a><br>
<br>
</P></TD></TR>



<script language="JavaScript">
<!--
/* MjM'S JAVA CODENAME = FLASH
© Copyright 1996
*/
var yourwords = " Juegos Online y Animaciones Gratis";
var speed = 100;
var control = 1;
function flash()
{
if (control == 1)
{
window.status=yourwords;
control=0;
}
else
{
window.status="";
control=1;
}
setTimeout("flash();",speed);
}
// -->
</script>
<td width="880">