|
|
0){
$id = mysql_result($query, 0, "id");
$tit = mysql_result($query, 0, "titulo");
$res = mysql_result($query, 0, "resumen");
$imagen = mysql_result($query, 0, "imagen");
$format = mysql_result($query, 0, "formato");
if($format == 1){
$width = "110";
$heigth = "80";
}
if($format == 2){
$width = "80";
$heigth = "110";
}
if($format == 3){
$width = "100";
$heigth = "100";
}
}
else{
$imagen = "";
$tit = "Proximamente!";
$res = "";
$id = "";
}
?>
|
|
|
|
|
if($lineas > 0){
?>
|
|
 |
|
|
|
|
echo $res ?> |
|
|
|
|
1){
$id2 = mysql_result($query, 1, "id");
$tit2 = mysql_result($query, 1, "titulo");
$res2 = mysql_result($query, 1, "resumen");
$imagen2 = mysql_result($query, 1, "imagen");
$format2 = mysql_result($query, 1, "formato");
if($format2 == 1){
$width2 = "80";
$heigth2 = "50";
}
if($format2 == 2){
$width2 = "60";
$heigth2 = "80";
}
if($format2 == 3){
$width2 = "70";
$heigth2 = "70";
}
/*else{
$imagen2 = "proximamente.gif";
$tit2 = "Proximamente!";
$res2 = "";
}*/
?>
|
|
|
 |
|
$tit2"; ?> |
|
2){
$id3 = mysql_result($query, 2, "id");
$tit3 = mysql_result($query, 2, "titulo");
$res3 = mysql_result($query, 2, "resumen");
$imagen3 = mysql_result($query, 2, "imagen");
$format3 = mysql_result($query, 2, "formato");
if($format3 == 1){
$width3 = "80";
$heigth3 = "50";
}
if($format3 == 2){
$width3 = "60";
$heigth3 = "80";
}
if($format3 == 3){
$width3 = "70";
$heigth3 = "70";
}
}
else{
$imagen3 = "proximamente.gif";
$tit3 = "Proximamente!";
$res3 = "";
$id3 = "";
}
?>
|
|
|
|
$tit3"; ?> |
|
 |
|
echo $res3?> |
|
|
|
|
3){
$id4 = mysql_result($query, 3, "id");
$tit4 = mysql_result($query, 3, "titulo");
$res4 = mysql_result($query, 3, "resumen");
$imagen4 = mysql_result($query, 3, "imagen");
$format4 = mysql_result($query, 3, "formato");
if($format4 == 1){
$width4 = "80";
$heigth4 = "50";
}
if($format4 == 2){
$width4 = "60";
$heigth4 = "80";
}
if($format4 == 3){
$width4 = "70";
$heigth4 = "70";
}
/*else{
$imagen4 = "proximamente.gif";
$tit4 = "Proximamente!";
$res4 = "";
}*/
?>
|
|
|
 |
|
echo $res4 ?> |
|
4){
$id5 = mysql_result($query, 4, "id");
$tit5 = mysql_result($query, 4, "titulo");
$res5 = mysql_result($query, 4, "resumen");
$imagen5 = mysql_result($query, 4, "imagen");
$format5 = mysql_result($query, 4, "formato");
if($format5 == 1){
$width5 = "80";
$heigth5 = "50";
}
if($format5 == 2){
$width5 = "60";
$heigth5 = "80";
}
if($format5 == 3){
$width5 = "70";
$heigth5 = "70";
}
}
else{
$imagen5 = "proximamente.gif";
$tit5 = "Proximamente!";
$res5 = "";
$id5 = "";
}
?>
|
|
|
|
$tit5"; ?> |
|
 |
|
echo $res5 ?> |
|
|
|