Примеры в отдельную папку

This commit is contained in:
Федор Подлеснов 2015-12-11 12:14:30 +03:00
parent 0f62ba3a29
commit 313413931b
7 changed files with 6 additions and 6 deletions

View file

@ -1,35 +0,0 @@
<?php
$data = array (
array (
'id' => 0,
'id_table' => 0,
'name' => '',
'header' => 'Наименование муниципального образования',
'comment' => '',
'colspan' => 0,
'rowspan' => 4,
'row' => 0,
'position' => 0,
'type' => '',
),
array (
'id' => 1,
'id_table' => 0,
'name' => '',
'header' => '',
'comment' => 'Над строкой - Прибыло всего (взрослых и детей)',
'rowspan' => 0,
'row' => 0,
'position' => 1,
'type' => '',
)
);
require_once 'klein.php';
$tpl = new Klein();
$tpl->compile('template2.html');
echo $tpl->render(array('content' => $data));