Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title></title>
- <style>
- .even {
- background-color: #939390;
- }
- .odd {
- background-color: #F5F5F0;
- }
- .moje:nth-of-type(4n+1) {
- background-color: red;
- }
- </style>
- </head>
- <body>
- <div>
- <table>
- {foreach $osoby as $x}
- <tr>
- <td>{$x.imie|truncate:2:".":true}}</td>
- <td>{$x.nazwisko}</td>
- <td>{$x.imie|count_characters} + {$x.nazwisko|count_characters}</td>
- </tr>
- {/foreach}
- </table>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement