18 lines
336 B
XML
18 lines
336 B
XML
<?xml version="1.0"?>
|
|
<html>
|
|
<body>
|
|
<p>Hello <%= $user %>!</p>
|
|
<table>
|
|
<tbody>
|
|
<% $i = 0; %>
|
|
<% foreach ($list as $item) { %>
|
|
<% $i++; %>
|
|
<tr bgcolor="<%= $i % 2 == 0 ? '#FFCCCC' : '#CCCCFF' %>">
|
|
<td><%= $i %></td>
|
|
<td><%== $item %></td>
|
|
</tr>
|
|
<% } %>
|
|
</tbody>
|
|
</table>
|
|
</body>
|
|
</html>
|