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

<%=$I_imagecategorieslist%>

  <% /*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 ADVF_Categorias order by catNombre limit $curr,$disprows"; $rs = $conn->execute($sql); if(!isset($max) || trim($max)=="") { $sqlaux = "select count(*) as CANT from ADVF_Categorias"; $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) { $catID = $rs->field("catID"); $catNombre = $rs->field("catNombre"); %> > <% if($color=="#eeefff"){$color="#dcdcee";$image="icon_editar2.gif";} else if($color=="#dcdcee"){$color="#eeefff";$image="icon_editar.gif";} $rs->movenext(); } %>
 
<%=$I_name%>
<%=$I_edit%>
<%=checkVar($catNombre);%>

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