Login   Register  
PHP Classes
elePHPant
Icontem

File: example.phtml

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ricardo Costa  >  CGrid  >  example.phtml  >  Download  
File: example.phtml
Role: Example script
Content type: text/plain
Description: Example of Grid
Class: CGrid
Show grid with MySQL data order columns by click
Author: By
Last change:
Date: 2002-10-22 15:32
Size: 529 bytes
 

Contents

Class file image Download
<?php
require("class.grid.phtml");
$grid = new grid();
$grid->titles = Array("Nome""Contato""Telefone""Celular");
$grid->colsOrder = Array("nome""contato""fone""celular");
$grid->colsSize = Array(18022010080);
$grid->titlesBgColor "649db4";
$grid->titlesOffColor "accad7";
$grid->titlesOnColor "ffc0000";
$grid->listColor "EFEFEF";
$grid->selectedRow "99cea7";
$grid->overRow "CECECE";
$grid->eraseCol 1;
$grid->show("Select idcliente, nome, contato, fone, celular From clients");
?>