-
Notifications
You must be signed in to change notification settings - Fork 0
/
seccMunicpios.php
49 lines (37 loc) · 2.03 KB
/
seccMunicpios.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
$objtSecciones = new menusClass($idMenus, $menus, $url, $clase, $orden);
$rsSecciones1 = $objtSecciones->listaMenus();
while ($rwSecciones1 = mysql_fetch_object($rsSecciones1)) {
$seccion = $rwSecciones1->menus;
$idMenus = $rwSecciones1->idMenus;
$url = $rwSecciones1->url;
if ($idMenus <> '6' && $idMenus <> '9' && $idMenus <> '3' && $idMenus <> '4' && $idMenus <> '5') {
?>
<a href="<?php echo $url ?>?id=<?php echo $idMenus ?>" style="text-decoration: none">
<div class="container">
<h2 id="color" class="titulos" ><?php echo $seccion . "<br/>"; ?></h2>
</div>
</a>
<?php
$objtNoticiasPortada = new noticiasClass($idNoticias, $titulo, $imagen, $contenido, $slider, $fecha, $publicacion, $posicion, $sintesis, $idmunicipio, $idMenus);
$rsNoticiasPortada = $objtNoticiasPortada->menuMunicipio();
?>
<div class="container margen">
<div class="row">
<?php while ($rwNoticiasPortada = mysql_fetch_object($rsNoticiasPortada)) { ?>
<div class="col-sm-4">
<div class="margen"> <img src="<?php echo $rwNoticiasPortada->imagen ?>" class="img">
<h6 class="titulonvanotas"><b> <?php echo $rwNoticiasPortada->titulo . "<br/>"; ?> </b> </h6>
<b><p class="fecha"><?php echo $rwNoticiasPortada->fecha ?>. </p></b>
<p class="txtnvanota"> <?php echo $rwNoticiasPortada->sintesis; ?> <br/> </p>
<a href="nota.php?idNoticias=<?php echo $rwNoticiasPortada->idNoticias ?>"> <div class="btn" role="button"><p class="leer"><b> Leer más</b> </p></div></a>
</div> <!-- /.margen -->
</div> <!-- /.col-sm-4 -->
<?php }
?>
<?php
}
}
?>
</div> <!-- /.row -->
</div> <!-- /.container margen -->