<%@ $Language=JScript /* PARA COLORES PHP */ %><% include("../includes/DB_Conectar.php"); include("../includes/inc_auth.php"); include("../includes/funciones.php"); %> <%=$I_administration%> <%include("menu.php");%>

<%=getPageTitle($PHP_SELF);%>

  <% /*Paginado*/ $disprows=10;//ver si sale de un parametro general if (!isset($go) || trim($go)=="") { $go=0; } $curr=$go; $prev=$go - $disprows; $next=$go + $disprows; $sql = "select * from Slideshows order by sldFecha_Carga desc limit $curr,$disprows"; $rs = $conn->execute($sql); if (!isset($max) || trim($max)=="") { $sqlaux = "select count(*) as CANT from Slideshows"; $rsaux = $conn->execute($sqlaux); $max=$rsaux->field(CANT); } $numpage=ceil($max/$disprows); if(!isset($currpage) || trim($currpage)=="") { $currpage=1; } %>
<% $color="#eeefff"; $image="icon_editar.gif"; while(!$rs->eof) { $sldID = $rs->field("sldID"); $sldTitulo = $rs->field("sldTitulo"); $sldFecha_Carga = $rs->field("sldFecha_Carga"); if($rs->field("sldActiva")=="S"){$sldActiva=$I_yes;} else{$sldActiva=$I_no;} $sql="select count(*) as cant from ADVF_Vinculante where tabID='7' and fgnID='$sldID'"; $rscant=$conn->execute($sql); $sldCantidad = $rscant->field(cant); %> > <% if($color=="#eeefff"){$color="#dcdcee";$image="icon_editar2.gif";} else if($color=="#dcdcee"){$color="#eeefff";$image="icon_editar.gif";} $rs->movenext(); } %>
 
<%=$I_title%> <%=$I_images%> <%=$I_date%> <%=$I_active%>
<%=$I_edit%>
<%=checkVar($sldTitulo);%> <%=checkVar($sldCantidad);%> <%=verFecha($sldFecha_Carga);%> <%=checkVar($sldActiva);%>

 <%if($ayudaID!=0){echo "    \"Help\"";}%>
<%if($prev>=0){%><%}else{%> <%}%> <%if($currpage<$numpage){%><%}else{%> <%}%>