aboutsummaryrefslogtreecommitdiff
path: root/samples/read.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-18 12:22:55 -0300
committerSilvio <silvio@devlet.com.br>2010-08-18 12:22:55 -0300
commite949696dd9ba44b2bc3ad703d9704ed1d47a6d8f (patch)
tree5107b8a0e1983d8069f331af185f988d83792ace /samples/read.php
parent38eb563bc42fb1ab830fd27277aefe7f04937ee5 (diff)
downloadcinisis-e949696dd9ba44b2bc3ad703d9704ed1d47a6d8f.tar.gz
cinisis-e949696dd9ba44b2bc3ad703d9704ed1d47a6d8f.tar.bz2
Cleaning up samples
Diffstat (limited to 'samples/read.php')
-rw-r--r--samples/read.php16
1 files changed, 5 insertions, 11 deletions
diff --git a/samples/read.php b/samples/read.php
index 835ae60..5a5be04 100644
--- a/samples/read.php
+++ b/samples/read.php
@@ -8,21 +8,17 @@ require_once '../index.php';
// Draw the document.
$display = new CinisisDisplayHelper('Isis Reader');
-?>
-
-<table><tr>
-
-<?php
+$display->open_table();
$configs = array(
0 => array(
'implementation' => 'PhpIsis',
'database' => 'dbname',
- ),
+ ),
1 => array(
'implementation' => 'BiblioIsis',
'database' => 'dbname',
- ),
+ ),
);
foreach ($configs as $config) {
@@ -45,7 +41,5 @@ foreach ($configs as $config) {
}
}
-?>
-
-</tr></table>
-</body>
+$display->close_table();
+$display->footer();