Sample> Simple Bloc

<?php

// include TPLN
include('TPLN/TPLN.php');

$TPLN = new TPLN;
$TPLN->open('simple_bloc.html');
$TPLN->parse('my_bloc.my_text','this is my text in my bloc !');
$TPLN->write();




?>
<html>
<head>
    <title>TPLN - Simple Bloc Sample</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="../style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<bloc::my_bloc>{my_text}</bloc::my_bloc>

<br />
<br />

{_Logo}<font size="1"> in {_Chrono} s<br />
Queries executed: {_QueryCount}</font>

</body>
</html>