<?PHP
include("funciones.php");
$idaux = $idtitulo;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Advertising, commercial and celebrity photography in Miami – Gio Alma Inc.</title>
<style type="text/css">
<!--
body {
background-image: url(_images/backdroptile.jpg);
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style1 { font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
color: #9eacc0;
}
.style2 {
font-family: SkiaCC-Regular;
font-size: 12px;
}
.style4 {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
}
.style5 {font-family: SkiaCC-Regular; font-size: 12px; color: #666666; }
.style6 {font-size: 13px; color: #55575f; font-family: SkiaCC-Regular;}
#Layer1 {
position:absolute;
top:170px;
width:730px;
height:456px;
z-index:1;
overflow:auto;
}
#Layer2 {
position:absolute;
top:170px;
width:110px;
height:438px;
z-index:2;
overflow:auto;
}
-->
</style>
<?PHP
require_once("conectodb.php");
$Sql = mysql_db_query("gioalmac_galeria", "SELECT * FROM gioalmac_galeria.titulo ORDER BY posicion");
echo("<SCRIPT LANGUAJE='JavaScript'>\r\n");
echo("var estado= false;");
$contador=1;
while ($row = mysql_fetch_array($Sql))
{
$primera=$row['ruta'];
$segunda=$row['fotobn'];
$tercera=$row['fotoco'];
echo("imagen".$contador."=new Image();\r\n");
echo("imagen".$contador.".src = '".$primera.$segunda."';\r\n");
echo("imagenco".$contador."=new Image();\r\n");
echo("imagenco".$contador.".src = '".$primera.$tercera."';\r\n");
$contador = $contador + 1;
// imagen1,2,3...etc
// imagenco1,2,3...etc
}
$contador=1;
echo("function over(aux)\r\n");
echo(" {\r\n");
echo("if(estado == false)\r\n");
echo("{\r\n");
echo("switch (aux)\r\n");
echo("{\r\n");
$Sql = mysql_db_query("gioalmac_galeria", "SELECT * FROM gioalmac_galeria.titulo ORDER BY posicion");
while ($row = mysql_fetch_array($Sql))
{
echo("case ".$contador.":\r\n");
echo("document.foto".$contador.".src = imagen".$contador.".src;\r\n");
echo("break;\r\n");
$contador=$contador + 1;
}
echo("}\r\n");
echo("}\r\n");
echo("else\r\n");
echo("{\r\n");
echo("return;\r\n");
echo("}\r\n");
echo("}\r\n"); //end funcion
$contador=1;
echo("function out(aux)\r\n");
echo("{\r\n");
echo("if(estado == false)\r\n");
echo("{\r\n");
echo("switch (aux)\r\n");
echo("{\r\n");
$Sql = mysql_db_query("gioalmac_galeria", "SELECT * FROM gioalmac_galeria.titulo ORDER BY posicion");
while ($row = mysql_fetch_array($Sql))
{
echo("case ".$contador.":\r\n");
echo("document.foto".$contador.".src = imagenco".$contador.".src;\r\n");
echo("break;\r\n");
$contador=$contador + 1;
}
echo("}\r\n");
echo("}\r\n");
echo("else\r\n");
echo("{\r\n");
echo("return;\r\n");
echo("}\r\n");
echo("}\r\n"); //end funcion
echo("</SCRIPT>");
?>
</head>
<body>
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="145"> </td>
<td width="925" height="100"> </td>
<td width="175"> </td>
</tr>
<tr>
<td width="145"> </td>
<td height="575" align="center" valign="middle"><center>
<table width="925" height="575" border="0" align="center" cellpadding="0" cellspacing="0" background="_images/allwaystitle.jpg">
<tr>
<td height="50" align="left" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="210" height="50">
<param name="movie" value="_images/_flash/menu.swf" />
<param name="quality" value="high" />
<embed src="_images/_flash/menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="210" height="50"></embed>
</object></td>
</tr>
<tr>
<td align="right" valign="top" with="251">
<table width="925" height="485" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="20" height="428" align="left"></td>
<td width="757" align="left"><table width="743" height="475" cellpadding="0" cellspacing="0">
<tr>
<td width="735" valign="top"><div id="Layer1"> <?php detalle($idaux); ?> </div></td>
</tr>
</table></td>
<td width="8" align="left"></td>
<td width="138" align="left"><table width="120" height="464">
<tr>
<td width="110" height="435"><div id="Layer2"> <?php galeriader($idaux); ?> </div></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</center> </td>
<td width="165"> </td>
</tr>
<tr>
<td width="145"> </td>
<td height="93" align="left" valign="top"><table width="925" align="center">
<tr><br />
<td width="130"><span class="style1">GIO ALMA Photography</span></td>
<td width="145"><span class="style1">MIAMI BEACH, FLORIDA</span></td>
<td width="506"><span class="style1">Advertising Photographer l Editorial Photographer I Celebrity Photographer l Commercial Photographer</span></td>
<td width="124"><div align="right"><span class="style1">©2007 GIO ALMA INC</span></div></td>
</tr>
</table></td>
<td width="175"> </td>
</tr>
</table>
</body>
</html>