-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.tpl
More file actions
38 lines (33 loc) · 814 Bytes
/
example.tpl
File metadata and controls
38 lines (33 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<html>
<head>
<title>{$title}</title>
</head>
<body>
<h1>{$title}</h1>
<h2>{$texts.subtitle}</h2>
Menu:
<ul>
{foreach name=nisse loop=$menu}
<li><a href="{$menu[$nisse.index].url}">{$menu[$nisse.index].name}</a></li>
{/foreach}
</ul>
Loop:
<table border=1>
{for name=forward start=1 stop=5}
<tr>
<td>
{$forward.count}
</td>
{for name=backward start=5 stop=1}
<td>
{$backward.count}
</td>
{/for}
</tr>
{/for}
</table>
{assign var=$test value="TEST"}
{$test}
{$texts.copyright}
</body>
</html>