1 <!-- BEGIN switch_xs_enabled -->
\r
4 // This code will be visible only with eXtreme Styles mod
\r
6 $postrow_count = ( isset($this->_tpldata['postrow.']) ) ? sizeof($this->_tpldata['postrow.']) : 0;
\r
7 for ($postrow_i = 0; $postrow_i < $postrow_count; $postrow_i++)
\r
9 $postrow_item = &$this->_tpldata['postrow.'][$postrow_i];
\r
10 // replace username with link to user profile
\r
11 if(!empty($postrow_item['PROFILE']))
\r
13 $postrow_item['SEARCH_IMG2'] = $postrow_item['SEARCH_IMG'];
\r
14 $search = array($lang['Read_profile'], '<a ');
\r
15 $replace = array($postrow_item['POSTER_NAME'], '<a class="name" ');
\r
16 $postrow_item['POSTER_NAME'] = str_replace($search, $replace, $postrow_item['PROFILE']);
\r
21 <!-- END switch_xs_enabled -->
\r
22 <table width="100%" cellspacing="2" cellpadding="2" border="0">
\r
24 <td align="left" valign="middle"><span class="nav">
\r
25 <a href="{U_INDEX}" class="nav">{L_INDEX}</a>
\r
26 » <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a>
\r
27 » <a class="nav" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></span></td>
\r
28 <td align="right" valign="middle"><span class="nav"><b>{PAGINATION}</b></span></td>
\r
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> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></td>
\r
32 <td align="right" valign="middle"><span class="nav">
\r
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>
\r
40 <!-- BEGIN postrow -->
\r
41 <a name="{postrow.U_POST_ID}"></a>
\r
42 {TPL_HDR1}<span class="cattitle">{postrow.POST_SUBJECT}</span>{TPL_HDR2}<table border="0" cellpadding="0" cellspacing="1" width="100%" class="forumline">
\r
44 <td class="th" align="center" valign="middle"><table border="0" cellspacing="0" cellpadding="2" width="100%">
\r
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>
\r
47 <td align="right" valign="middle" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG} </td>
\r
51 <td class="row1" align="left" valign="top" width="100%"><table border="0" cellspacing="0" cellpadding="0" width="100%"><!-- main table start -->
\r
53 <td width="150" align="left" valign="top" rowspan="2"><table border="0" cellspacing="0" cellpadding="0" width="100%"><!-- left row table start -->
\r
55 <td width="100%" align="left" valign="top" background="{T_TEMPLATE_PATH}/images/post_bg.gif"><table border="0" cellspacing="0" cellpadding="4">
\r
57 <td align="left" valign="top"><table border="0" cellspacing="0" cellpadding="0">
\r
58 <tr><td nowrap="nowrap"><span class="name"><b>{postrow.POSTER_NAME}</b></span></td></tr>
\r
59 <tr><td nowrap="nowrap"><span class="postdetails">{postrow.POSTER_RANK}</span></td></tr>
\r
60 <tr><td nowrap="nowrap"><span class="postdetails">{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}</span></tr>
\r
61 <tr><td><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="120" height="5" border="0" alt="" /></td></tr>
\r
62 <tr><td><span class="postdetails">{postrow.POSTER_JOINED}</span></td></tr>
\r
63 <tr><td><span class="postdetails">{postrow.POSTER_POSTS}</span></td></tr>
\r
64 <tr><td><span class="postdetails">{postrow.POSTER_FROM}</span></td></tr>
\r
67 </table><br /><br /></td>
\r
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>
\r
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>
\r
72 <td width="10" height="10"><img src="{T_TEMPLATE_PATH}/images/post_corner.gif" width="10" height="10" border="0" /></td>
\r
74 <!-- left row table end --></table><br /><br /></td>
\r
75 <td class="row1" align="left" valign="top" width="100%"><table border="0" cellspacing="0" cellpadding="5" width="100%"><!-- right top row table start -->
\r
77 <td width="100%"><span class="postbody">{postrow.MESSAGE}</span></td>
\r
79 <!-- right top row table end --></table></td>
\r
82 <td class="row1" align="left" valign="bottom" nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="5" width="100%"><!-- right bottom row start -->
\r
84 <td width="100%"><span class="postbody"><span class="gensmall">{postrow.EDITED_MESSAGE}</span>{postrow.SIGNATURE}</span></td>
\r
86 <!-- right bottom row end --></table></td>
\r
91 <td height="28" valign="middle" class="row4"><table border="0" cellspacing="0" cellpadding="3">
\r
93 <td width="130"><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="120" height="1" border="0" /></td>
\r
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>
\r
99 <!-- END postrow -->
\r
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">
\r
103 <td class="row1" align="left" valign="top">
\r
104 <span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a> » <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span><br />
\r
105 <table border="0" cellspacing="0" cellpadding="5" width="100%">
\r
107 <td align="left" valign="top">
\r
108 <span class="gensmall">{S_AUTH_LIST}</span>
\r
110 <td align="right" valign="top">
\r
111 <span class="gensmall">{S_TIMEZONE} <br />
\r
112 {PAGE_NUMBER} </span>
\r
113 <span class="nav"><b>{PAGINATION}</b></span><br />
\r
114 <span class="gensmall">{S_WATCH_TOPIC}</span>
\r
121 <td class="row4" align="center" valign="middle" nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="2" width="100%">
\r
123 <form method="post" action="{S_POST_DAYS_ACTION}"><td align="left" valign="middle" nowrap="nowrap">{S_SELECT_POST_DAYS} {S_SELECT_POST_ORDER} <input type="submit" value="{L_GO}" class="liteoption" name="submit" /></td></form>
\r
124 <td align="right" valign="middle" nowrap="nowrap">{JUMPBOX}</td>
\r
131 <table border="0" cellspacing="0" cellpadding="5" width="100%">
\r
133 <td align="left" valign="top"> <a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></td>
\r
134 <td align="right" valign="top">{S_TOPIC_ADMIN} </td>
\r