]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blob - phpBB2_old/templates/Helius/viewtopic_body.tpl
Baseline
[www.vanrenterghem.biz.git] / phpBB2_old / templates / Helius / viewtopic_body.tpl
1 <!-- BEGIN switch_xs_enabled -->
2 <?php
4 // This code will be visible only with eXtreme Styles mod
6 $postrow_count = ( isset($this->_tpldata['postrow.']) ) ?  sizeof($this->_tpldata['postrow.']) : 0;
7 for ($postrow_i = 0; $postrow_i < $postrow_count; $postrow_i++)
8 {
9         $postrow_item = &$this->_tpldata['postrow.'][$postrow_i];
10         // replace username with link to user profile
11         if(!empty($postrow_item['PROFILE']))
12         {
13                 $postrow_item['SEARCH_IMG2'] = $postrow_item['SEARCH_IMG'];
14                 $search = array($lang['Read_profile'], '<a ');
15                 $replace = array($postrow_item['POSTER_NAME'], '<a class="name" ');
16                 $postrow_item['POSTER_NAME'] = str_replace($search, $replace, $postrow_item['PROFILE']);
17         }
18 }
20 ?>
21 <!-- END switch_xs_enabled -->
22 <table width="100%" cellspacing="2" cellpadding="2" border="0">
23   <tr> 
24         <td align="left" valign="middle"><span class="nav">
25           <a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
26           &raquo; <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a>
27           &raquo; <a class="nav" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></span></td>
28          <td align="right" valign="middle"><span class="nav"><b>{PAGINATION}</b></span></td>
29   </tr>
30   <tr>
31     <td align="left" valign="middle"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></td>
32         <td align="right" valign="middle"><span class="nav">
33         <a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav">{L_VIEW_NEXT_TOPIC}</a>&nbsp;
34         </span></td>
35   </tr>
36 </table>
38 {POLL_DISPLAY} 
40 <!-- BEGIN postrow -->
41 <a name="{postrow.U_POST_ID}"></a>
42 {TPL_HDR1}<span class="cattitle">{postrow.POST_SUBJECT}</span>{TPL_HDR2}<table border="0" cellpadding="0" cellspacing="1" width="100%" class="forumline">
43 <tr>
44         <td class="th" align="center" valign="middle"><table border="0" cellspacing="0" cellpadding="2" width="100%">
45         <tr height="26">
46                 <td align="left" valign="middle" nowrap="nowrap"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="genmed">{L_POSTED}: {postrow.POST_DATE}</span></td>
47                 <td align="right" valign="middle" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG} </td>
48         </tr></table></td>
49 </tr>
50 <tr>
51         <td class="row1" align="left" valign="top" width="100%"><table border="0" cellspacing="0" cellpadding="0" width="100%"><!-- main table start -->
52         <tr>
53                 <td width="150" align="left" valign="top" rowspan="2"><table border="0" cellspacing="0" cellpadding="0" width="100%"><!-- left row table start -->
54                 <tr>
55                         <td width="100%" align="left" valign="top" background="{T_TEMPLATE_PATH}/images/post_bg.gif"><table border="0" cellspacing="0" cellpadding="4">
56                         <tr>
57                                 <td align="left" valign="top"><table border="0" cellspacing="0" cellpadding="0">
58                                 <tr><td nowrap="nowrap"><span class="name"><b>{postrow.POSTER_NAME}</b></span></td></tr>
59                                 <tr><td nowrap="nowrap"><span class="postdetails">{postrow.POSTER_RANK}</span></td></tr>
60                                 <tr><td nowrap="nowrap"><span class="postdetails">{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}</span></tr>
61                                 <tr><td><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="120" height="5" border="0" alt="" /></td></tr>
62                                 <tr><td><span class="postdetails">{postrow.POSTER_JOINED}</span></td></tr>
63                                 <tr><td><span class="postdetails">{postrow.POSTER_POSTS}</span></td></tr>
64                                 <tr><td><span class="postdetails">{postrow.POSTER_FROM}</span></td></tr>
65                                 </table></td>
66                         </tr>
67                         </table><br /><br /></td>
68                         <td width="10" background="{T_TEMPLATE_PATH}/images/post_right.gif"><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="10" height="1" border="0" /></td>
69                 </tr>
70                 <tr>
71                         <td height="10" background="{T_TEMPLATE_PATH}/images/post_bottom.gif"><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="1" height="10" border="0" /></td>
72                         <td width="10" height="10"><img src="{T_TEMPLATE_PATH}/images/post_corner.gif" width="10" height="10" border="0" /></td>
73                 </tr>
74                 <!-- left row table end --></table><br /><br /></td>
75                 <td class="row1" align="left" valign="top" width="100%"><table border="0" cellspacing="0" cellpadding="5" width="100%"><!-- right top row table start -->
76                 <tr>
77                         <td width="100%"><span class="postbody">{postrow.MESSAGE}</span></td>
78                 </tr>
79                 <!-- right top row table end --></table></td>
80         </tr>
81         <tr>
82                 <td class="row1" align="left" valign="bottom" nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="5" width="100%"><!-- right bottom row start -->
83                 <tr>
84                         <td width="100%"><span class="postbody"><span class="gensmall">{postrow.EDITED_MESSAGE}</span>{postrow.SIGNATURE}</span></td>
85                 </tr>
86                 <!-- right bottom row end --></table></td>
87         </tr>
88         </table></td>
89 </tr>
90 <tr>
91         <td height="28" valign="middle" class="row4"><table border="0" cellspacing="0" cellpadding="3">
92         <tr>
93                 <td width="130"><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="120" height="1" border="0" /></td>
94                 <td width="100%" align="left" valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.SEARCH_IMG2} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG} {postrow.ICQ_IMG}</td>
95         </tr></table></td>
96 </tr>
97 </table>{TPL_FTR}
98 <br />
99 <!-- END postrow -->
101 {TPL_HDR1}<a class="cattitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a>{TPL_HDR2}<table class="forumline" width="100%" cellspacing="1" cellpadding="" border="0">
102 <tr>
103         <td class="row1" align="left" valign="top">
104         <span class="nav">&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> &raquo; <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span><br />
105         <table border="0" cellspacing="0" cellpadding="5" width="100%">
106         <tr>
107                 <td align="left" valign="top">
108                         <span class="gensmall">{S_AUTH_LIST}</span>
109                 </td>
110                 <td align="right" valign="top">
111                         <span class="gensmall">{S_TIMEZONE}&nbsp;&nbsp;<br />
112                         {PAGE_NUMBER}&nbsp;&nbsp;</span>
113                         <span class="nav"><b>{PAGINATION}</b></span><br />
114                         <span class="gensmall">{S_WATCH_TOPIC}</span>
115                 </td>
116         </tr>
117         </table>
118         </td>
119 </tr>
120 <tr>
121         <td class="row4" align="center" valign="middle" nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="2" width="100%">
122         <tr>
123                 <form method="post" action="{S_POST_DAYS_ACTION}"><td align="left" valign="middle" nowrap="nowrap">{S_SELECT_POST_DAYS}&nbsp;{S_SELECT_POST_ORDER}&nbsp;<input type="submit" value="{L_GO}" class="liteoption" name="submit" /></td></form>
124                 <td align="right" valign="middle" nowrap="nowrap">{JUMPBOX}</td>
125         </tr>
126         </table>
127         </td>
128 </tr>
129 </table>{TPL_FTR}
131 <table border="0" cellspacing="0" cellpadding="5" width="100%">
132 <tr>
133         <td align="left" valign="top">&nbsp;<a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></td>
134         <td align="right" valign="top">{S_TOPIC_ADMIN}&nbsp;</td>
135 </tr>
136 </table>