validaTheme(); $nota = new selNotaGale(0); $evento = new selEvemto(0); $seccion = "eventos"; function selfURL() { $s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : ""; $protocol = strleft(strtolower($_SERVER["SERVER_PROTOCOL"]), "/").$s; $port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]); return $protocol."://".$_SERVER['SERVER_NAME'].$port.$_SERVER['REQUEST_URI']; } function strleft($s1, $s2) { return substr($s1, 0, strpos($s1, $s2)); } ?> <?= $_SESSION['pagetitle']; ?>
Conectar(); if($flag == 1){ if($filtro == "calendario"){ $fecha = "2007-".$mes."-".$dia; $_pagi_sql = "SELECT * FROM eventos ORDER BY evento_fecha, evento_hora ASC"; $_pagi_Otros = "&flag=".$flag."&mes=".$mes."&dia=".$dia."&filtro=".$filtro; } else{ if($tipo == 0){ $_pagi_sql = "SELECT * FROM eventos WHERE (evento_nombre LIKE '%".$parametro."%' OR evento_desc LIKE '%".$parametro."%') AND evento_lugar='23' ORDER BY evento_fecha, evento_hora ASC"; } elseif($tipo == 5){ $_pagi_sql = "SELECT * FROM eventos WHERE (evento_nombre LIKE '%".$parametro."%' OR evento_desc LIKE '%".$parametro."%') AND (evento_tipo='5' OR evento_tipo='6') ORDER BY evento_fecha, evento_hora ASC"; } else{ $_pagi_sql = "SELECT * FROM eventos WHERE (evento_nombre LIKE '%".$parametro."%' OR evento_desc LIKE '%".$parametro."%') AND evento_tipo='".$tipo."' ORDER BY evento_fecha, evento_hora ASC"; } $_pagi_Otros = "&flag=".$flag."&filtro=".$filtro."¶metro=".$parametro."&tipo=".$tipo; } } else{ $_pagi_sql = "SELECT * FROM eventos ORDER BY evento_fecha, evento_hora ASC"; } $_pagi_result = mysql_query($_pagi_sql); $_pagi_cuantos = 25; $_pagi_nav_num_enlaces = 5; $_pagi_nav_anterior = "<<"; $_pagi_nav_siguiente = ">>"; include("includes/paginator.inc.php"); if(mysql_num_rows($_pagi_result) > 0){ while($row = mysql_fetch_array($_pagi_result)){ ?>
Eventos
  Inicio > Eventos
 
  " width="97%">
     
 
 
">
 ">" onclick="expandcontent(this, '')" class="liga_eventos"> setFecha($row["evento_fecha"])." | ".substr($row["evento_hora"],0,-3)." hrs."; ?>
 
" class="switchcontent">
 Lugar: ".$evento->getLugar($row["evento_lugar"]); ?>
 Tipo: ".$evento->getTipo($row["evento_tipo"]); ?>
  " width="75" height="75" align="absbottom" />  
Sin eventos para el día . Favor seleccione otro dia
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
" width="30" height="730" />
" width="22" height="20" /> " width="30" height="20" />
 
Gobierno del Estado de Tabasco, Secretaría de Turismo © Todos los Derechos Reservados 2007 - 2012  
Inicio Expo Tabasco 2007