0){ $cd=',secc:'.$secc; } else { $cd=''; } $id=$_GET['id']; if (!is_numeric($id)){ echo ''; exit(); } $br=$bd->ejecutar("select * from recintos where id=$id"); $krecin=$bd->obtener_fila($br,0); $dia= strftime("%d"); $mes= strftime("%B"); ?> Instituto Veracruzano de la Cultura ejecutar("select * from fotosr where recinto=100 order by id desc limit 1"); $kfo=$bd->obtener_fila($bf,0); $leurl='admin/'.$kfo['url'].$kfo['id'].'.jpg'; if (!file_exists($leurl)){ $leurl='imgs/header.jpg'; } ?>
 
Contacto
Semblanza

Actividades

Próximos Eventos

ejecutar("select * from mynews where secc1=$id and newsdate between '$desde' and '$hasta' and secc2=0 order by newsdate asc limit 6 "); $cuantos=$bd->num_rows($eventos); while($row=$bd->obtener_fila($eventos,0)){ $tdatet=explode(" ",$row['newsdate']); $fecha=$tdatet[0]; $hora=substr($tdatet[1],0,5); $foto='admin/'.$row['url'].$row['id'].'.jpg'; $foto='admin/'.$row['url'].$row['id'].'_cx.jpg'; if (!file_exists($foto)){ $foto='admin/'.$row['url'].$row['id'].'_c.jpg'; } if (!file_exists($foto)){ $foto='admin/'.$row['url'].$row['id'].'_gx.jpg'; } $secc=$row['secc1']; $bsec=$bd->ejecutar("select * from recintos where id=$secc"); $rows=$bd->obtener_fila($bsec,0); ?>
Ver Agenda Completa
Convocatorias

ejecutar("select * from convocatorias where organiza = 'Samantha Gómez García' order by id desc limit 3"); $control=0; while($row=$bd->obtener_fila($busca,0)){ $control++; ?>