Sample> Format Text

<?php

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


$TPLN = new TPLN;
$TPLN->open('format_text.html');
$TPLN->parse('my_text','Normal Text');
$TPLN->parse('my_text_1','Bold Text','|B'); // text in bold
$TPLN->parse('my_text_2','Italic Text','|I'); // text in italic
$TPLN->parse('my_text_3','Underline Text','|U'); // text in underline
$TPLN->parse('my_text_4','Striked Text','|S'); // text in strikeout
$TPLN->parse('my_text_5','Php function strtoupper() Text','|strtoupper'); // text php function
$TPLN->parse('my_text_6','All Text','|B|I|U|S|strtoupper'); // all
$TPLN->write();




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

   {my_text}<br>
   {my_text_1}<br>
   {my_text_2}<br>
   {my_text_3}<br>
   {my_text_4}<br>
   {my_text_5}<br>
   {my_text_6}<br>
<br>

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


</body>
</html>