do { ?> <tr class="<?php echo @$cnt1++ % 2 == 0 ? "" : "KT_even"; ?> "> <td><input type="hidden" name="categoria" class="id_field" value="<?php echo $row_subcat['categoria']; ?> " /></td> <td><div class="KT_col_categoria"><?php echo KT_FormatForList($row_subcat['categoria'], 20); ?> </div></td> <td><div class="KT_col_subcat"><?php echo KT_FormatForList($row_subcat['subcat'], 20); ?> </div></td> <td><a class="KT_edit_link" href="index.php?mod=subcategorias_detalle&id_subcat=<?php echo $row_subcat['id_subcat']; ?> &KT_back=1"><?php echo NXT_getResource("edit_one"); ?> </a></td> </tr> <?php } while ($row_subcat = mysql_fetch_assoc($subcat)); ?> <?php }
do { ?> <tr class="<?php echo @$cnt1++ % 2 == 0 ? "" : "KT_even"; ?> "> <td><input type="hidden" name="id_cat" class="id_field" value="<?php echo $row_rscategorias1['id_cat']; ?> " /></td> <td><div class="KT_col_categoria"><?php echo KT_FormatForList($row_rscategorias1['categoria'], 20); ?> </div></td> <td><div class="KT_col_liga_cat"><?php echo KT_FormatForList($row_rscategorias1['liga_cat'], 20); ?> </div></td> <td><a class="KT_edit_link" href="index.php?mod=categorias_detalle&id_cat=<?php echo $row_rscategorias1['id_cat']; ?> &KT_back=1"><?php echo NXT_getResource("edit_one"); ?> </a></td> </tr> <?php } while ($row_rscategorias1 = mysql_fetch_assoc($rscategorias1)); ?> <?php }
if ($totalRows_rsbanner1 > 0) { // Show if recordset not empty ?> <?php do { ?> <tr class="<?php echo @$cnt1++ % 2 == 0 ? "" : "KT_even"; ?> "> <td><input type="hidden" name="id_banner" class="id_field" value="<?php echo $row_rsbanner1['id_banner']; ?> " /></td> <td><div class="KT_col_banner"><?php echo KT_FormatForList($row_rsbanner1['banner'], 20); ?> </div></td> <td><a class="KT_edit_link" href="index.php?mod=banners_detalle&id_banner=<?php echo $row_rsbanner1['id_banner']; ?> &KT_back=1"><?php echo NXT_getResource("edit_one"); ?> </a></td> </tr> <?php } while ($row_rsbanner1 = mysql_fetch_assoc($rsbanner1)); ?> <?php }
?> "> <td><input type="hidden" name="id_usuario" class="id_field" value="<?php echo $row_rsusuarios1['id_usuario']; ?> " /></td> <td><div class="KT_col_nombre"><?php echo KT_FormatForList($row_rsusuarios1['nombre'], 20); ?> </div></td> <td><div class="KT_col_apellidos"><?php echo KT_FormatForList($row_rsusuarios1['apellidos'], 20); ?> </div></td> <td><div class="KT_col_usuario"><?php echo KT_FormatForList($row_rsusuarios1['usuario'], 20); ?> </div></td> <td><a class="KT_edit_link" href="index.php?mod=usuarios_detalle&id_usuario=<?php echo $row_rsusuarios1['id_usuario']; ?> &KT_back=1"><?php echo NXT_getResource("edit_one"); ?> </a></td> </tr> <?php } while ($row_rsusuarios1 = mysql_fetch_assoc($rsusuarios1)); ?> <?php }
?> "> <td><input type="hidden" name="id_pag" class="id_field" value="<?php echo $row_pags['id_pag']; ?> " /></td> <td><div class="KT_col_categoria"><?php echo KT_FormatForList($row_pags['categoria'], 20); ?> </div></td> <td><div class="KT_col_subcat"><?php echo KT_FormatForList($row_pags['subcat'], 20); ?> </div></td> <td><div class="KT_col_pag"><?php echo KT_FormatForList($row_pags['pag'], 20); ?> </div></td> <td><a class="KT_edit_link" href="index.php?mod=paginas_detalle&id_pag=<?php echo $row_pags['id_pag']; ?> &KT_back=1"><?php echo NXT_getResource("edit_one"); ?> </a></td> </tr> <?php } while ($row_pags = mysql_fetch_assoc($pags)); ?> <?php }
?> "> <td><input type="hidden" name="id_servicio" class="id_field" value="<?php echo $row_rsservicios1['id_servicio']; ?> " /></td> <td><div class="KT_col_servicio"><?php echo KT_FormatForList($row_rsservicios1['servicio'], 20); ?> </div></td> <td><div class="KT_col_desc_serv"><?php echo KT_FormatForList($row_rsservicios1['desc_serv'], 20); ?> </div></td> <td><div class="KT_col_pag_serv"><?php echo KT_FormatForList($row_rsservicios1['pag_serv'], 20); ?> </div></td> <td><a class="KT_edit_link" href="index.php?mod=servicios_detalle&id_servicio=<?php echo $row_rsservicios1['id_servicio']; ?> &KT_back=1"><?php echo NXT_getResource("edit_one"); ?> </a></td> </tr> <?php } while ($row_rsservicios1 = mysql_fetch_assoc($rsservicios1)); ?> <?php }