34 lines
689 B
PHP
34 lines
689 B
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Title</title>
|
|
</head>
|
|
<body>
|
|
父级模板
|
|
|
|
BODY
|
|
|
|
<volist name="b" id="vo">
|
|
<if condition="$a == 1">
|
|
{$a}
|
|
<else condition="$a == 2" />
|
|
{$b}
|
|
</if>
|
|
</volist>
|
|
|
|
<?php echo (date('Y-m-d H:i:s', time())); ?>
|
|
a.html
|
|
b.html
|
|
<?php echo '你好'; ?>
|
|
cut
|
|
<?php echo 'one start'; ?>
|
|
content
|
|
<?php echo 'two start'; ?>
|
|
content
|
|
<?php echo 'three start'; ?>
|
|
content
|
|
<?php echo 'three end'; echo 'two end'; echo 'one end'; ?>
|
|
|
|
</body>
|
|
</html>
|