1 <!-- BEGIN switch_xs_enabled -->
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++)
9 $postrow_item = &$this->_tpldata['postrow.'][$postrow_i];
10 // replace username with link to user profile
11 if(!empty($postrow_item['PROFILE']))
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']);
21 <!-- END switch_xs_enabled -->
22 <table width="100%" cellspacing="2" cellpadding="2" border="0">
24 <td align="left" valign="middle"><span class="nav">
25 <a href="{U_INDEX}" class="nav">{L_INDEX}</a>
26 » <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a>
27 » <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>
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>
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>
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">
44 <td class="th" align="center" valign="middle"><table border="0" cellspacing="0" cellpadding="2" width="100%">
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>
51 <td class="row1" align="left" valign="top" width="100%"><table border="0" cellspacing="0" cellpadding="0" width="100%"><!-- main table start -->
53 <td width="150" align="left" valign="top" rowspan="2"><table border="0" cellspacing="0" cellpadding="0" width="100%"><!-- left row table start -->
55 <td width="100%" align="left" valign="top" background="{T_TEMPLATE_PATH}/images/post_bg.gif"><table border="0" cellspacing="0" cellpadding="4">
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>
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>
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>
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 -->
77 <td width="100%"><span class="postbody">{postrow.MESSAGE}</span></td>
79 <!-- right top row table end --></table></td>
82 <td class="row1" align="left" valign="bottom" nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="5" width="100%"><!-- right bottom row start -->
84 <td width="100%"><span class="postbody"><span class="gensmall">{postrow.EDITED_MESSAGE}</span>{postrow.SIGNATURE}</span></td>
86 <!-- right bottom row end --></table></td>
91 <td height="28" valign="middle" class="row4"><table border="0" cellspacing="0" cellpadding="3">
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>
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">
103 <td class="row1" align="left" valign="top">
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 />
105 <table border="0" cellspacing="0" cellpadding="5" width="100%">
107 <td align="left" valign="top">
108 <span class="gensmall">{S_AUTH_LIST}</span>
110 <td align="right" valign="top">
111 <span class="gensmall">{S_TIMEZONE} <br />
112 {PAGE_NUMBER} </span>
113 <span class="nav"><b>{PAGINATION}</b></span><br />
114 <span class="gensmall">{S_WATCH_TOPIC}</span>
121 <td class="row4" align="center" valign="middle" nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="2" width="100%">
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>
124 <td align="right" valign="middle" nowrap="nowrap">{JUMPBOX}</td>
131 <table border="0" cellspacing="0" cellpadding="5" width="100%">
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>
134 <td align="right" valign="top">{S_TOPIC_ADMIN} </td>