Ver Mensaje Individual
  #3 (permalink)  
Antiguo 07/06/2004, 13:37
Duilio
 
Fecha de Ingreso: marzo-2004
Mensajes: 9
Antigüedad: 20 años, 1 mes
Puntos: 0
El codigo de galeria.php es el siguiente:

<?php require_once('../Connections/portalcomic.php'); ?>
<?php require_once('../Connections/portalcomic_imagen.php'); ?>
<?php require_once('../Connections/portalcomic_imagen.php'); ?>
<?php require_once('../Connections/portalcomic_imagen.php'); ?>
<?php require_once('../Connections/portalcomic.php'); ?>
<?php
mysql_select_db($database_portalcomic, $portalcomic);
$query_listadonombres = "SELECT * FROM artista ORDER BY apellido ASC";
$listadonombres = mysql_query($query_listadonombres, $portalcomic) or die(mysql_error());
$row_listadonombres = mysql_fetch_assoc($listadonombres);
$totalRows_listadonombres = mysql_num_rows($listadonombres);

$colname_imageneschicas = "1";
if (isset($HTTP_GET_VARS['id_artista'])) {
$colname_imageneschicas = (get_magic_quotes_gpc()) ? $HTTP_GET_VARS['id_artista'] : addslashes($HTTP_GET_VARS['id_artista']);
}
mysql_select_db($database_portalcomic_imagen, $portalcomic_imagen);
$query_imageneschicas = sprintf("SELECT * FROM thumbnails WHERE ID_artista = %s", $colname_imageneschicas);
$imageneschicas = mysql_query($query_imageneschicas, $portalcomic_imagen) or die(mysql_error());
$row_imageneschicas = mysql_fetch_assoc($imageneschicas);
$totalRows_imageneschicas = mysql_num_rows($imageneschicas);

$colname2_nombre_artista = "1";
if (isset($HTTP_GET_VARS['id_artista'])) {
$colname2_nombre_artista = (get_magic_quotes_gpc()) ? $HTTP_GET_VARS['id_artista'] : addslashes($HTTP_GET_VARS['id_artista']);
}
mysql_select_db($database_portalcomic, $portalcomic);
$query_nombre_artista = sprintf("SELECT * FROM artista WHERE artista.ID_artista=%s", $colname2_nombre_artista);
$nombre_artista = mysql_query($query_nombre_artista, $portalcomic) or die(mysql_error());
$row_nombre_artista = mysql_fetch_assoc($nombre_artista);
$totalRows_nombre_artista = mysql_num_rows($nombre_artista);

$colname3_reportaje = "1";
if (isset($HTTP_GET_VARS['id_artista'])) {
$colname3_reportaje = (get_magic_quotes_gpc()) ? $HTTP_GET_VARS['id_artista'] : addslashes($HTTP_GET_VARS['id_artista']);
}
mysql_select_db($database_portalcomic, $portalcomic);
$query_reportaje = sprintf("SELECT * FROM artista WHERE artista.ID_artista=%s", $colname3_reportaje);
$reportaje = mysql_query($query_reportaje, $portalcomic) or die(mysql_error());
$row_reportaje = mysql_fetch_assoc($reportaje);
$totalRows_reportaje = mysql_num_rows($reportaje);

$colname4_opcional = "1";
if (isset($HTTP_GET_VARS['id_thumb'])) {
$colname4_opcional = (get_magic_quotes_gpc()) ? $HTTP_GET_VARS['id_thumb'] : addslashes($HTTP_GET_VARS['id_thumb']);
}
mysql_select_db($database_portalcomic_imagen, $portalcomic_imagen);
$query_opcional = sprintf("SELECT thumbnails.opcional FROM thumbnails WHERE thumbnails.ID_thumb=%s", $colname4_opcional);
$opcional = mysql_query($query_opcional, $portalcomic_imagen) or die(mysql_error());
$row_opcional = mysql_fetch_assoc($opcional);
$totalRows_opcional = mysql_num_rows($opcional);
?>
<html>
<head>
<title>Galerias</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link href= "estilo_galeria.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--


// Centered Pop-Up Window (v1.0)
// (C) 2002 www.smileycat.com
// Free for all users, but leave in this header

var win = null;
function newWindow(mypage,myname,w,h,features) {
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
if (winl < 0) winl = 0;
if (wint < 0) wint = 0;
var settings = 'height=' + h + ',';
settings += 'width=' + w + ',';
settings += 'top=' + wint + ',';
settings += 'left=' + winl + ',';
settings += features;
win = window.open(mypage,myname,settings);
win.window.focus();
}
//-->
</script>
<style type="text/css">
<!--
.Estilo1 {font-size: 12px}
-->
</style>
</head>

<body bgcolor="#003300" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="galeria_gif/fondo_galeria.gif">
<table width="600" border="0" cellspacing="0" cellpadding="0" height="213">
<tr align="left" valign="top">
<td width="594">&nbsp;</td>
</tr>
</table>
<table width="600" border="0" cellspacing="0" cellpadding="0" height="500" align="left">
<tr align="left" valign="top">
<td width="150"> <table width="148" border="0" cellspacing="0" cellpadding="5" height="287" bgcolor="05321D" bordercolor="#FF9933" align="left">
<tr>
<td align="left" valign="top" height="287" width="148"> <p class="cuerpo-negro-izq"><span class="introduccion"><font face="Arial, Helvetica, sans-serif">Artistas
consagrados y amateurs del noveno arte exhiben sus trabajos.
Cl&aacute;sicos o in&eacute;ditos, pero siempre los mejores...
M&aacute;s de 150 galer&iacute;as<br>
on-line... &iexcl;La mayor
colecci&oacute;n de artistas Argentinos de Historieta!</font></span></p>
<p class="cuerpo-negro-izq"><font face="Arial, Helvetica, sans-serif"><span class="cuerpoblanco"><em><strong>(Se
incorporan trabajos nuevos constantemente, por lo
cual te recomendamos visitar esta p&aacute;gina peri&oacute;dicamente.)<br>
Para enviarnos tus muestras y tus datos,<br>
escribir
a:</strong></em></span><span class="cuerpo-azul-izq"><em><strong><br>
</strong></em></span><span class="linkintroduccion"><em><strong><br>
<a href="mailto:%[email protected]" class="linkintroduccion">[email protected]</a></strong></em></span></font></p></td>
</tr>
</table>
<p class="unnamed1">&nbsp;</p>
</td>
<td align="center" width="446" valign="top"><table width="446" border="0" cellspacing="0" cellpadding="0">
<tr align="center" valign="middle">
<td width="210" valign="top"><table width="210" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><table width="205" border="0" cellspacing="4" cellpadding="0">
<tr align="center" valign="middle" bgcolor="#507061" class="abecedario">
<td width="220" height="20" class="abecedario"><a href="#A" class="abecedario">A</a></td>
<td width="220" height="20"><a href="#B" class="abecedario">B</a></td>
<td width="220" height="20"><a href="#C" class="abecedario">C</a></td>
<td width="220" height="20"><a href="#D" class="abecedario">D</a></td>
<td width="220" height="20"><a href="#E" class="abecedario">E</a></td>
<td width="220" height="20"><a href="#F" class="abecedario">F</a></td>
<td width="220" height="20"><a href="#G" class="abecedario">G</a></td>
</tr>
<tr align="center" valign="middle" bgcolor="#507061" class="abecedario">
<td width="220" height="20"><a href="#H" class="abecedario">H</a></td>
<td width="220" height="20"><a href="#I" class="abecedario">I</a></td>
<td width="220" height="20"><a href="#J" class="abecedario">J</a></td>
<td width="220" height="20"><a href="#K" class="abecedario">K</a></td>
<td width="220" height="20"><a href="#L" class="abecedario">L</a></td>
<td width="220" height="20"><a href="#M" class="abecedario">M</a></td>
<td width="220" height="20"><a href="#N" class="abecedario">N</a></td>
</tr>
<tr align="center" valign="middle" bgcolor="#507061" class="abecedario">
<td width="220" height="20"><a href="#Ñ" class="abecedario">&Ntilde;</a></td>
<td width="220" height="20"><a href="#O" class="abecedario">O</a></td>
<td width="220" height="20"><a href="#P" class="abecedario">P</a></td>
<td width="220" height="20"><a href="#Q" class="abecedario">Q</a></td>
<td width="220" height="20"><a href="#R" class="abecedario">R</a></td>
<td width="220" height="20"><a href="#S" class="abecedario">S</a></td>
<td width="220" height="20"><a href="#T" class="abecedario">T</a></td>
</tr>
<tr align="center" valign="middle" bgcolor="#507061" class="abecedario">
<td width="220" height="20"><a href="#U" class="abecedario">U</a></td>
<td width="220" height="20"><a href="#V" class="abecedario">V</a></td>
<td width="220" height="20"><a href="#W" class="abecedario">W</a></td>
<td width="220" height="20"><a href="#X" class="abecedario">X</a></td>
<td width="220" height="20"><a href="#Y" class="abecedario">Y</a></td>
<td width="220" height="20"><a href="#Z" class="abecedario">Z</a></td>
<td width="220" height="20">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td align="center"><?php do { ?>
<table width="200" height="10" border="0" cellpadding="0" cellspacing="2">
<tr>
<td width="200" height="10" align="center" valign="middle" bgcolor="063F24" class="nombresdibujantes"><span class="linkintroduccion"><a href="galeria.php?id_artista=<?php echo $row_listadonombres['ID_artista']; ?>" class="nombresdibujantes"><?php echo $row_listadonombres['apellido']; ?></a></span><a href="galeria.php?id_artista=<?php echo $row_listadonombres['ID_artista']; ?>" class="nombresdibujantes">

continua en otro mensaje