Location: PHPKode > scripts > The Funny Turnaround Class > the-funny-turnaround-class/example.php
//make sure unicode is enabled: 

header("Content-type: text/html; charset=utf-8");
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; 
echo <<< END_OF_HEADER
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">\n

//here we go:


$geekme = new turntext();

echo "<span style='font-size: 0.7em'>Dont forget to turn your monitor around!</span>";
echo "<div style='margin-top: 3em; text-align: center;'><span style='font-size: 3em;'>";
echo $geekme->translate("This one is perfect for some geeky-freeky-needs !!!");
echo "<br />";
echo $geekme->translate("What did you expect?");
echo "<br />";
echo $geekme->translate("Welcome to the funny turnaround class!");
echo "</span></div>";

Return current item: The Funny Turnaround Class