TinyButStrong - the PHP Template Engine

Source code of tbs_us_examples_blocks.php

  1
2
3
4
5
6
7
8
9
10
11
12
 
<?php

include_once('tbs_class.php');

$country = array('France','England','Spain','Italy','Germany');

$TBS = new clsTinyButStrong;
$TBS->LoadTemplate('tbs_us_examples_blocks.htm');
$TBS->MergeBlock('blk1,blk2,blk3,blk4,blk5,blk6,blk7',$country); // Merge several blocks with the same data
$TBS->Show();

?>