PClib demo site

<?elements
class grid name "productlist" singlepage
string TITLE skip
string SEARCH skip noescape
string productCode lb "Product code" sort
string productName lb "Product name" sort
string productLine lb "Productline" sort
string productVendor lb "Vendor" sort
string productDescription lb "Description" size "40" tooltip
pager pager pglen "20" ul
?>

<h2>{TITLE}</h2>
{SEARCH}
<table class="table table-striped table-hover">
<thead>
<tr>{grid.labels}</tr>
</thead>
<tbody>
{BLOCK items}
<tr>{grid.fields}</tr>
{/BLOCK}
</tbody>
</table>
<ul class="pagination">{pager}</ul>

Elapsed time: 1.15 ms