Login:
 Senha:
 






='$data_atual' ORDER BY `data` ASC"; $res_ = mysql_query($sql_, $con) or die (mysql_error); $num_ = mysql_num_rows($res_); if ($num_){ while($arr_ = mysql_fetch_array($res_) ){ extract($arr_,3,"ev"); $str_ev_data = substr($ev_data,8,2) ."/".substr($ev_data,5,2) ."/".substr($ev_data,0,4); //2010-01-23 $sql_1 = "SELECT * FROM `acompanhantes` WHERE `id_evento`='$ev_id'"; $res_1 = mysql_query($sql_1, $con); $conf_acomp = mysql_num_rows($res_1); $sql_1 = "SELECT * FROM `confirma_presenca` WHERE `id_evento`='$ev_id'"; $res_1 = mysql_query($sql_1, $con); $conf_int = mysql_num_rows($res_1); if ($conf_int || $conf_acomp) $str_confirmados = "
Confirmados $conf_int integrantes e $conf_acomp acompanhantes.
"; echo<<
$ev_titulo
$str_confirmados
Data: $str_ev_data
Horário: $ev_horario
Cidade: $ev_cidade
Local: $ev_local
$ev_descricao
  emhtml; if (IsSet($_SESSION["login"])) { $link = "eventos_confirma.html?id_evento=$ev_id"; }else{ $link="javascript:Mostrar_Ocultar('e$ev_id')"; } echo<<


emhtml; } }else{ echo"
Nenhum novo evento disponível no momento!!!
"; } //----------------------------------------------------- ?>