Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2010
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.09 KB | None | 0 0
  1. $template_hook[postbit_start]
  2. <table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
  3. <tr>
  4. <if condition="$show['announcement']">
  5. <td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
  6. <img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
  7. <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
  8. </td>
  9. <else />
  10. <td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[right]: 0px" $post[scrolltothis]>
  11. <!-- status icon and date -->
  12. <a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
  13. $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
  14. $post[firstnewinsert]
  15. <!-- / status icon and date -->
  16. </td>
  17. <td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px" align="$stylevar[right]">
  18. &nbsp;
  19. <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
  20. <if condition="$show['inlinemod']">
  21. <input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
  22. </if>
  23. </td>
  24. </if>
  25. </tr>
  26. <tr valign="top">
  27. <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
  28.  
  29. <div id="postmenu_$post[postid]">
  30. <if condition="$show['profile']">
  31. <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
  32. <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
  33. <else />
  34. $post[musername]
  35. </if>
  36. </div>
  37.  
  38. <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
  39. <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
  40. $template_hook[postbit_userinfo_left]
  41.  
  42. <if condition="$show['avatar']">
  43. <div class="smallfont">
  44. &nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
  45. </div>
  46. </if>
  47.  
  48. <div class="smallfont">
  49. &nbsp;<br />
  50. <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
  51. <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
  52. <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
  53. <div>
  54. $vbphrase[posts]: $post[posts]
  55. </div>
  56. $template_hook[postbit_userinfo_right_after_posts]
  57. <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
  58. <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
  59. $template_hook[postbit_userinfo_right]
  60. <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
  61. </div>
  62.  
  63. </td>
  64. <if condition="$show['moderated']">
  65. <td class="alt2" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
  66. <else />
  67. <td class="alt1" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
  68. </if>
  69. $template_hook[postbit_messagearea_start]
  70. <if condition="$show['messageicon'] OR $post['title']">
  71. <!-- icon and title -->
  72. <div class="smallfont">
  73. <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
  74. <if condition="$post['title']"><strong>$post[title]</strong></if>
  75. </div>
  76. <hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
  77. <!-- / icon and title -->
  78. </if>
  79.  
  80. <!-- message -->
  81. <div id="post_message_$post[postid]">
  82. $ad_location[ad_showthread_firstpost_start]
  83. $post[message]
  84. </div>
  85. <!-- / message -->
  86.  
  87. <if condition="$show['attachments']">
  88. <!-- attachments -->
  89. <div style="padding:$stylevar[cellpadding]px">
  90.  
  91. <if condition="$show['thumbnailattachment']">
  92. <fieldset class="fieldset">
  93. <legend>$vbphrase[attached_thumbnails]</legend>
  94. <div style="padding:$stylevar[formspacer]px">
  95. $post[thumbnailattachments]
  96. </div>
  97. </fieldset>
  98. </if>
  99.  
  100. <if condition="$show['imageattachment']">
  101. <fieldset class="fieldset">
  102. <legend>$vbphrase[attached_images]</legend>
  103. <div style="padding:$stylevar[formspacer]px">
  104. $post[imageattachments]
  105. </div>
  106. </fieldset>
  107. </if>
  108.  
  109. <if condition="$show['imageattachmentlink']">
  110. <fieldset class="fieldset">
  111. <legend>$vbphrase[attached_images]</legend>
  112. <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
  113. $post[imageattachmentlinks]
  114. </table>
  115. </fieldset>
  116. </if>
  117.  
  118. <if condition="$show['otherattachment']">
  119. <fieldset class="fieldset">
  120. <legend>$vbphrase[attached_files]</legend>
  121. <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
  122. $post[otherattachments]
  123. </table>
  124. </fieldset>
  125. </if>
  126.  
  127. <if condition="$show['moderatedattachment']">
  128. <fieldset class="fieldset">
  129. <legend>$vbphrase[attachments_pending_approval]</legend>
  130. <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
  131. $post[moderatedattachments]
  132. </table>
  133. </fieldset>
  134. </if>
  135.  
  136. </div>
  137. <!-- / attachments -->
  138. </if>
  139.  
  140. $template_hook[postbit_signature_start]
  141. $ad_location[ad_showthread_firstpost_sig]
  142.  
  143. <if condition="$post['signature']">
  144. <!-- sig -->
  145. <div>
  146. __________________<br />
  147. $post[signature]
  148. </div>
  149. <!-- / sig -->
  150. </if>
  151.  
  152. $template_hook[postbit_signature_end]
  153.  
  154. <if condition="$show['postedited']">
  155. <!-- edit note -->
  156. <div class="smallfont">
  157. <hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
  158. <em>
  159. <if condition="$show['postedithistory']">
  160. <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
  161. <else />
  162. <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
  163. </if>
  164. <if condition="$post['edit_reason']">
  165. $vbphrase[reason]: $post[edit_reason]
  166. </if>
  167. </em>
  168. </div>
  169. <!-- / edit note -->
  170. </if>
  171.  
  172. </td>
  173. </tr>
  174. <tr>
  175. <td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
  176. $post[onlinestatus]
  177. <if condition="$show['reputationlink']">
  178. <span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
  179. <if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
  180. </if>
  181. <if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
  182. <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
  183. $post[iplogged]
  184. &nbsp;
  185. </td>
  186. <if condition="$show['moderated']">
  187. <td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
  188. <else />
  189. <td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-$stylevar[left]: 0px; border-top: 0px">
  190. </if>
  191. <!-- controls -->
  192. <if condition="$post['editlink']">
  193. <img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
  194. <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
  195. </if>
  196. <if condition="$post['forwardlink']">
  197. <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
  198. </if>
  199. <if condition="$post['replylink']">
  200. <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
  201. </if>
  202. <if condition="$show['multiquote_post']">
  203. <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
  204. </if>
  205. <if condition="$show['quickreply'] AND !$show['threadedmode']">
  206. <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
  207. </if>
  208. <if condition="$show['moderated']">
  209. <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
  210. </if>
  211. <if condition="$show['spam']">
  212. <img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" />
  213. </if>
  214. <if condition="$show['deletedpost']">
  215. <if condition="$show['managepost']">
  216. <a href="postings.php?$session[sessionurl]do=managepost&amp;p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a>
  217. <else />
  218. <img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
  219. </if>
  220. </if>
  221. <if condition="$show['redcard']">
  222. <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
  223. <else />
  224. <if condition="$show['yellowcard']">
  225. <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
  226. </if>
  227. </if>
  228. $template_hook[postbit_controls]
  229. <!-- / controls -->
  230. </td>
  231. </tr>
  232. </table>
  233. $template_hook[postbit_end]
  234.  
  235. <if condition="$show['profile']">
  236. <!-- post $post[postid] popup menu -->
  237. <div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
  238. <table cellpadding="4" cellspacing="1" border="0">
  239. <tr>
  240. <td class="thead">$post[username]</td>
  241. </tr>
  242. <if condition="$show['profile']">
  243. <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
  244. </if>
  245. <if condition="$show['pmlink']">
  246. <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
  247. </if>
  248. <if condition="$show['emaillink']">
  249. <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
  250. </if>
  251. <if condition="$show['homepage']">
  252. <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
  253. </if>
  254. <if condition="$show['search']">
  255. <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
  256. </if>
  257. <if condition="$post['userid'] AND $show['member']">
  258. <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_contacts]</phrase></a></td></tr>
  259. </if>
  260. $template_hook[postbit_user_popup]
  261. </table>
  262. </div>
  263. <!-- / post $post[postid] popup menu -->
  264. </if>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement