PHP Classes

Lista Paginacao Class: Show MySQL query results in lists split in pages

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 446 All time: 6,209 This week: 455Up
Version Licenses PHP version Categories
listapaginacaoclass 1.0Freeware, GNU Gen...5.0HTML, PHP 5, Databases
Description 

Author

This package can be used to display MySQL query results split in multiple pages.

It executes a given MySQL query and displays the results in HTML tables. Navigation links are displayed to browse the listing that may be split in multiple pages, each displaying a limited number of records.

The odd and even rows are displayed with different background colors. Rows are highlighted with a different color when the user drags the mouse over them.

A checkbox input may be displayed on each row to select rows and submit them with to another page for processing, for instance to delete the selected rows.

When the user clicks on the table header title links, the listing is redisplayed sorting the query results by the click column, in ascending or descending order.

The code and comments are in Portuguese.

In Portuguese:

Está é uma classe que lista os resultados de um SQL em tabelas HTML. O banco de dados usado é o MySQL.

Esta classe exibe a listagem de forma agradavél formatada por arquivos CSS e Javascript.

Ao passar o mouse sobre uma linha esta muda de cor ficando diferente da demais linhas. As linhas pares são de cor diferente das linhas ímpares.

Há um ckeckbox que você pode marcar várias linhas e enviar as ID do registros a página, por exemplo para deletar várias linhas.

Ao clicar sobre o título da Colunas os registros são ordenados por exta coluna ao clicar nesta mesma coluna ela muda o tipo de ordenação: crescente e descrescente.

Picture of custodio
Name: custodio <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: ???
All time rank: 3412259 in Brazil Brazil
Week rank: 295 Up23 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file Leia_Me.txt Doc. Arquivo que contém instruções
Accessible without login Plain text file padrao.css Data Layout Css com nomes gerado pela classe e outras formatações
Accessible without login Plain text file SQL.sql Data Cria o banco para teste e exemplos
Plain text file PaginacaoClass.php Class Faz os links de navegação de página.
Plain text file ListaPaginacaoClass.php Class Este é o arquivo principal que gera a Listagem e paginação
Accessible without login Plain text file Exemplo.php Example Um exemplo prático de uso do Projeto
Accessible without login Plain text file marcar_check.css Data Arquivo necessario para marcar a linha de cor diferente
Accessible without login Plain text file marcar_check.js Data Arquivo para gerar a marcação das linhas

 Version Control Unique User Downloads Download Rankings  
 0%
Total:446
This week:0
All time:6,209
This week:455Up