box-o-sand/PracticingPhp/web/html/wikipedia-tutorial/templates/test.tpl

34 lines
521 B
Smarty

<!DOCTYPE html>
<html>
<head>
<title>{$title}</title>
<style type='text/css'>
/*<![CDATA[*/
body {
color: #222;
background-color: #eee;
font-family: monospace;
}
pre {
border: 1px dashed #777;
color: #000;
background-color: {$bgcolor};
padding: 5px;
margin: 10px;
}
.block {
display: block;
}
/*]]>*/
</style>
</head>
<body>
<h1>{$title}</h1>
<pre>omg is this really smarty?</pre>
</body>
</head>