Source code of tbs_us_examples_groupingparent.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
include_once('../tbs_class.php');
$result[0] = array('country'=>'United States', 'winner'=>'Bob', 'score'=>100);
$result[1] = array('country'=>'United States', 'winner'=>'Julia', 'score'=>99);
$result[2] = array('country'=>'United States', 'winner'=>'Mark', 'score'=>78);
$result[3] = array('country'=>'United States', 'winner'=>'Stanley', 'score'=>110);
$result[4] = array('country'=>'United States', 'winner'=>'Robert', 'score'=>109);
$result[5] = array('country'=>'France', 'winner'=>'Pierre', 'score'=>250);
$result[6] = array('country'=>'France', 'winner'=>'Jean', 'score'=>210);
$result[7] = array('country'=>'France', 'winner'=>'Gaƫl', 'score'=>120);
$result[8] = array('country'=>'France', 'winner'=>'Emmanuelle', 'score'=>260);
$result[9] = array('country'=>'France', 'winner'=>'Louis', 'score'=>240);
$result[10] = array('country'=>'France', 'winner'=>'Jaques', 'score'=>200);
$TBS = new clsTinyButStrong;
$TBS->LoadTemplate('tbs_us_examples_groupingparent.htm');
$TBS->MergeBlock('blk_res',$result);
$TBS->Show();