config root man

Current Path : /compat/linux/proc/68247/root/compat/linux/proc/68247/root/compat/linux/proc/68247/cwd/usr/opt/php72/share/pear/doc/HTML_Template_IT/examples/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/68247/root/compat/linux/proc/68247/root/compat/linux/proc/68247/cwd/usr/opt/php72/share/pear/doc/HTML_Template_IT/examples/sample_it.php

<?php
require_once 'HTML/Template/IT.php';

$data = array (
    '0' => array('Stig', 'Bakken'),
    '1' => array('Martin', 'Jansen'),
    '2' => array('Alexander', 'Merz')
);

$tpl = new HTML_Template_IT('./templates');
$tpl->loadTemplatefile('main.tpl.htm', true, true);

foreach ($data as $name) {
    foreach ($name as $cell) {
        // Assign data to the inner block
        $tpl->setCurrentBlock('cell');
        $tpl->setVariable('DATA', $cell);
        $tpl->parseCurrentBlock();
    }
    // Assign data and the inner block to the
    // outer block
    $tpl->setCurrentBlock('row');
    $tpl->parseCurrentBlock();
}
// print the output
$tpl->show();
?>

Man Man