fortunes.tmpl 422 B

1234
  1. <% c++ #include "data.h" %>
  2. <% skin my_skin %>
  3. <% view message uses data_holder %>
  4. <% template render() %><!DOCTYPE html><html><head><title>Fortunes</title></head><body><table><tr><th>id</th><th>message</th></tr><% foreach fortune_item in fortunes %><% item %><tr><td><%= fortune_item.id %></td><td><%= fortune_item.message %></td></tr><% end %><% end %></table></body></html><% end template %><% end view %><% end skin %>