include("include/menu.htm")
?>
//include("encuesta/pintaEncu.php")
?>
www.caspal.cl
- - - - - -
|
|
| ...::: CASPAL :::... |
|
Nuevas camadas criadero "de Caspal"
|
|
| |
| ..::..::. Pedigrees Nacionales .::..::.. |
|
|
|
|
| |
| ...::: Noticias :: Novedades :::... |
|
|
| |
|
mysql_connect ('localhost', 'paolcl', 'hbjGHJJ6454sa');
mysql_select_db ('paolcl_paol');
$strSQL = "select *
from noticia A
where activa_noti = 1
order by fecha_noti desc";
$oRSe = mysql_query ($strSQL);
mysql_close();
$bolSwitch = 0;
$strTD1 = "";
$strTD2 = "";
$cont = 1;
while($fila = mysql_fetch_array($oRSe))
{
if ( !$bolSwitch )
{
$strTD1.= " " . $fila["titulo_noti"] . " ";
$strTD1.= "" . $fila["portada_noti"] . " ";
$strTD1.= "";
$bolSwitch = true;
}
else
{
$strTD2.= "" . $fila["titulo_noti"] . " ";
$strTD2.= "" . $fila["portada_noti"] . " ";
$strTD2.= "";
$bolSwitch = false;
}
$cont++;
}
?>
=$strTD1?>
|
|
=$strTD2?>
|
|
|
|