|
|
|
if($otra!="1"){ ?>
}else{?>
}?>
|
|
Otras
Noticias
_______________
|
$querycont1="select * from deportes_secciones1 ";
$resultcont1 = mysql_query($querycont1,$mysql_link);
while ($myrow1 = mysql_fetch_array($resultcont1)) {
$id = $myrow1["id"];
$querycont2="select * from datdeportes where subcat='8' and deporte='$id' order by id desc limit 0,1";
$resultcont2 = mysql_query($querycont2,$mysql_link);
while ($myrow2 = mysql_fetch_array($resultcont2)) {
$cont++;
$pub[$cont]=$myrow2["id"];
}
}
$querycont2="select * from datdeportes where subcat='8' order by id desc";
$resultcont2 = mysql_query($querycont2,$mysql_link);
while ($myrow2 = mysql_fetch_array($resultcont2)) {
$idart = $myrow2["id"];
$titulo = $myrow2["titulo"];
$intro = $myrow2["intro"];
$texto = $myrow2["texto"];
$ids = $myrow2["deporte"];
$fecha = $myrow2["fecha"];
$querycont1="select * from deportes_secciones1 where id='$ids' limit 0,1";
$resultcont1 = mysql_query($querycont1,$mysql_link);
while ($myrow1 = mysql_fetch_array($resultcont1)) {
$deporte = $myrow1["deporte"];
}
if ($contador<10){
$tmp="";
for ($i = 1; $i <= $cont; $i++) {
if($pub[$i]==$idart){$tmp=$tmp."1";}
}
if($tmp==""){
$contador++;
?>
|
.php3?idart=">
- .php3?idart=">
_________________
|
} }}?>
|
|
|
|
|
|