Login   Register  
PHP Classes

File: examples/example.custom.tpl.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mark Rolich  >  Extended Generic Pager  >  examples/example.custom.tpl.php  >  Download  
File: examples/example.custom.tpl.php
Role: Example script
Content type: text/plain
Description: Template for customized example
Class: Extended Generic Pager
Paginate data listings from arrays, CSV or MySQL
Author: By
Last change:
Date: 2 years ago
Size: 612 bytes


Class file image Download
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title><?php echo $pageTitle?></title>
    <link rel="stylesheet" type="text/css" href="example.css">
<?php if (!empty($data)) { ?>

<table class="data">
<?php foreach ($data as $row) { ?>
<tr><td><?php echo implode('</td><td>'$row); ?></td></tr>
<?php ?>
<tr><td colspan="5"><?php echo $stats?></td></tr>

<?php } else { ?>
<div>No records found</div>
<?php ?>

<?php echo $pagerNav?>