Consulta tu correo
|
|
|
 |
|
|

|
|
<% echo $membername %>
Hoy es <% echo fecha(date("Y-m-d",time())) %>
|
|
<%
$query="SELECT
n.id_news as id_news,
n.titular as titular,
n.id_site as id_site,
c.texto as texto,
c.foto as foto,
st.url as url
FROM
news as n,
comentario as c,
site as st
WHERE
st.id_site = n.id_site AND
c.id_news = n.id_news AND
FIND_IN_SET('INDEX',c.ubicacion)>0 AND
c.publicar = 'S' AND
TO_DAYS(c.fecha_fin) >= TO_DAYS(NOW())
ORDER BY
n.fecha_noticia DESC";
$table->search($query);
// echo $query." ";
// echo $table->nfound;
if ($table->nfound) {
%>
<%
while ($row = $table->sql_fetch_object()) {
%>
<% echo $row->titular %>
<% echo $row->texto %>
|
<%
} // end while $rows
%>
<%
} // end if nfound
%>
|
|
<%
$query = "SELECT
*
FROM
site_poll
WHERE
loc = 1 AND
activo = 'S'";
$table->search($query);
if($table->nfound) {
$poll_rec = $table->sql_fetch_object();
$poll_id = $poll_rec->id_poll;
%>
| <% echo poll_getTitle($poll_id) %> |
| <% poll_generateUI2($poll_id,"http://www.paisweb.com/index.php3","texto")%> |
|
<%
}
%>
|