Advertisement
ABDev

News page - Templated version - Updated spitfire pat's code

Jan 31st, 2014
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.34 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
  3. <head>
  4.     <title>NEWS</title>
  5.     <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  6.     <style type="text/css">
  7.     <!--
  8.     th { background-color: #0066ff; color: #ffff99; }
  9.     -->
  10.     </style>
  11. </head>
  12. <body>
  13. <table width="100%">
  14. <tr>
  15.     <th colspan="2">{L_TOPICS}</th>
  16.     <th>{L_REPLIES}</th>
  17.     <th>{L_VIEWS}</th>
  18.     <th>{L_LAST_POST}</th>
  19. </tr>
  20. <!-- BEGIN topicrow -->
  21. <tr bgcolor="<!-- IF topicrow.S_ROW_COUNT is even -->#FFFFCC<!-- ELSE -->#99FFFF<!-- ENDIF -->">
  22.     <td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td>
  23.     <td><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a><br />{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR} {L_POSTED_ON_DATE} {topicrow.FIRST_POST_TIME}</td>
  24.     <td>{topicrow.REPLIES}</td>
  25.     <td>{topicrow.VIEWS}</td>
  26.     <td>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR} <a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{L_POSTED_ON_DATE} {topicrow.LAST_POST_TIME}</td>
  27. </tr>
  28. <!-- END topicrow -->
  29. </table>
  30. </body>
  31. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement