Advertisement
Guest User

Vb postbit

a guest
Dec 27th, 2013
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.13 KB | None | 0 0
  1. {vb:raw template_hook.postbit_start}
  2. <li class="postbit postbitim postcontainer {vb:raw post.statusicon}" id="post_{vb:raw post.postid}">
  3. <div class="postdetails_noavatar">
  4. <div class="posthead">
  5.  
  6. <span class="postdate {vb:raw post.statusicon}">
  7. <vb:if condition="$show['announcement']">
  8. <span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
  9. <vb:else />
  10. <span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">,&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
  11. </vb:if>
  12. </span>
  13. <span class="nodecontrols">
  14. <vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
  15. <a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="<vb:if condition="$show['inlinemod']">ie</vb:if>postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
  16. </vb:if>
  17. <vb:if condition="$show['moderated']"><a name="post{vb:raw post.postid}"></a>{vb:rawphrase moderated_post}</vb:if>
  18. <vb:if condition="$show['inlinemod']">
  19. <label for="post_imod_checkbox_{vb:raw post.postid}"><input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" /></label>
  20. </vb:if>
  21. </span>
  22.  
  23. </div>
  24.  
  25. <div class="userinfo<vb:if condition="!$show['avatar']">_noavatar</vb:if>">
  26. <div class="contact">
  27. <vb:if condition="$show['avatar']">
  28. <a class="postuseravatarlink" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
  29. <vb:if condition="$post.avatarurl">
  30. <img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
  31. <vb:else />
  32. <img src="{vb:stylevar imgdir_misc}/unknown.gif" />
  33. </vb:if>
  34. </a>
  35. </vb:if>
  36. <div class="username_container">
  37. <vb:if condition="$post['userid']">
  38. {vb:raw memberaction_dropdown}
  39. {vb:raw post.onlinestatus}
  40. <vb:else />
  41. <span class="username guest">{vb:raw post.musername}</span>
  42. </vb:if>
  43. <span class="usertitle">
  44. {vb:raw post.usertitle}
  45. </span>
  46. <vb:if condition="$post['rank']">
  47. <span class="rank">{vb:raw post.rank}</span>
  48. </vb:if>
  49.  
  50. {vb:raw template_hook.postbit_userinfo_left}
  51. <vb:if condition="$show['reputation']">
  52. <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}">
  53. <vb:each from="reputationdisplay" value="row">
  54. <img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}
  55. </vb:each>
  56. </span>
  57. </vb:if>
  58. <vb:if condition="$post['userid']">
  59. <div class="imlinks">
  60. {vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
  61. </div>
  62. </vb:if>
  63. </div>
  64. </div>
  65. <vb:if condition="$post['userid']">
  66. <div class="userinfo_extra">
  67. <dl class="userstats">
  68.  
  69. <vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>
  70. <vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
  71. <vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
  72. <dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd>
  73. {vb:raw template_hook.postbit_userinfo_right_after_posts}
  74. </dl>
  75. <vb:if condition="$show['infraction'] OR $show['reppower']">
  76. <dl class="user_rep">
  77.  
  78. <vb:if condition="$show['infraction']">
  79. <dt>{vb:rawphrase infractions}</dt>
  80. <dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
  81. </vb:if>
  82. sadasdsad
  83. <vb:if condition="$show['reputation']">
  84. <vb:if condition="$show['reppower']">
  85. <dt>{vb:rawphrase reppower}</dt>
  86. <dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
  87. </vb:if>
  88. </vb:if>
  89. </dl>
  90. </vb:if>
  91. {vb:raw template_hook.postbit_userinfo_right}
  92. </div>
  93. </vb:if>
  94. </div>
  95. </div>
  96.  
  97. <div class="postbody">
  98. {vb:raw template_hook.postbit_messagearea_start}
  99. <div class="postrow">
  100. <vb:if condition="$post['title'] OR $show['messageicon']">
  101. <h2 class="posttitle icon">
  102. <vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
  103. </h2>
  104. </vb:if>
  105. <vb:if condition="$post['isfirstshown']">
  106. {vb:raw ad_location.ad_showthread_firstpost_start}
  107. {vb:raw ad_location.thread_first_post_content}
  108. </vb:if>
  109. <vb:if condition="$post['islastshown']">
  110. {vb:raw ad_location.thread_last_post_content}
  111. </vb:if>
  112. <div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
  113. <div id="post_message_{vb:raw post.postid}">
  114. <blockquote class="postcontent restore">
  115. {vb:raw post.message}
  116. </blockquote>
  117. </div>
  118.  
  119. <vb:if condition="$show['attachments']">
  120. <div class="attachments">
  121.  
  122. <vb:if condition="$show['thumbnailattachment']">
  123. <fieldset class="postcontent">
  124. <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
  125. {vb:raw post.thumbnailattachments}
  126. </fieldset>
  127. </vb:if>
  128.  
  129. <vb:if condition="$show['imageattachment']">
  130. <fieldset class="postcontent">
  131. <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
  132. {vb:raw post.imageattachments}
  133. </fieldset>
  134. </vb:if>
  135.  
  136. <vb:if condition="$show['imageattachmentlink']">
  137. <fieldset class="postcontent">
  138. <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_images}" /> {vb:rawphrase attached_images}</legend>
  139. <ul>
  140. {vb:raw post.imageattachmentlinks}
  141. </ul>
  142. </fieldset>
  143. </vb:if>
  144.  
  145. <vb:if condition="$show['otherattachment']">
  146. <fieldset class="postcontent">
  147. <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_files}" /> {vb:rawphrase attached_files}</legend>
  148. <ul>
  149. {vb:raw post.otherattachments}
  150. </ul>
  151. </fieldset>
  152. </vb:if>
  153.  
  154. <vb:if condition="$show['moderatedattachment']">
  155. <fieldset class="postcontent">
  156. <legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attachments_pending_approval}" /> {vb:rawphrase attachments_pending_approval}</legend>
  157. <ul>
  158. {vb:raw post.moderatedattachments}
  159. </ul>
  160. </fieldset>
  161. </vb:if>
  162.  
  163. </div>
  164. <!-- / attachments -->
  165. </vb:if>
  166.  
  167.  
  168. </div>
  169. <vb:if condition="$show['postedited']">
  170. <!-- edit note -->
  171. <blockquote class="postcontent lastedited">
  172. <vb:if condition="$show['postedithistory']">
  173. {vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
  174. {vb:raw post.edit_time}, {vb:raw post.historyurl}}
  175. <vb:else />
  176. {vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
  177. </vb:if>
  178. <vb:if condition="$post['edit_reason']">
  179. <span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
  180. </vb:if>
  181. </blockquote>
  182. <!-- / edit note -->
  183. </vb:if>
  184. {vb:raw template_hook.postbit_signature_start}
  185. <vb:if condition="$post['isfirstshown']">
  186. {vb:raw ad_location.ad_showthread_firstpost_sig}
  187. </vb:if>
  188. <vb:if condition="$post['signature']">
  189. <blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
  190. </vb:if>
  191. {vb:raw template_hook.postbit_signature_end}
  192. </div>
  193. </div>
  194. <div class="postfoot">
  195. <div class="textcontrols floatcontainer">
  196. <span class="postcontrols">
  197. <img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
  198. <vb:if condition="$post['editlink']">
  199. <a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}" title="{vb:rawphrase edit_delete_message}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
  200. <vb:if condition="THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'"><span class="seperator">&nbsp;</span></vb:if>
  201. </vb:if>
  202. <vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
  203. <a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}&amp;noquote=1" rel="nofollow" title="{vb:rawphrase quick_reply_to_this_message}"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
  204. <span class="seperator">&nbsp;</span>
  205. </vb:if>
  206. <vb:if condition="$post['replylink']">
  207. <a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow" title="{vb:rawphrase reply_with_quote}"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a>
  208. <vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>
  209. </vb:if>
  210. <vb:if condition="$show['multiquote_post']">
  211. <a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}" title="{vb:rawphrase multi_quote_this_message}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
  212. </vb:if>
  213. </span>
  214. <span class="postlinking">
  215. <vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
  216. <vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
  217. <a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
  218. <span class="seperator">&nbsp;</span>
  219. </vb:if>
  220. </vb:if>
  221. {vb:raw template_hook.postbit_controls}
  222.  
  223. {vb:raw post.iplogged}
  224. <vb:if condition="$post['forwardlink']">
  225. <a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow" ><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
  226. <vb:if condition="$show['reputationlink'] OR $show['infractionlink'] OR $show['moderated'] OR $show['spam'] OR $show['deletedpost'] OR $show['redcard'] OR $show['yellowcard']"><span class="seperator">&nbsp;</span></vb:if>
  227. </vb:if>
  228.  
  229. <vb:if condition="$show['reputationlink']">
  230. <span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" title="{vb:rawphrase add_reputation}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase add_reputation}" />-->&nbsp;</a></span>
  231. </vb:if>
  232.  
  233. <vb:if condition="$show['infractionlink']">
  234. &nbsp;<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
  235. </vb:if>
  236. <vb:if condition="$show['reportlink']">
  237. &nbsp;<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
  238. </vb:if>
  239.  
  240. <vb:if condition="$show['moderated']">
  241. <img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
  242. </vb:if>
  243. <vb:if condition="$show['spam']">
  244. <img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
  245. </vb:if>
  246. <vb:if condition="$show['deletedpost']">
  247. <vb:if condition="$show['managepost']">
  248. <a class="deleted" href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}">&nbsp;</a>
  249. <vb:else />
  250. <img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_button}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
  251. </vb:if>
  252. </vb:if>
  253. <vb:if condition="$show['redcard']">
  254. <a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
  255. <vb:elseif condition="$show['yellowcard']" />
  256. <a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
  257. </vb:if>
  258. <vb:if condition="$post['api_platform']">
  259. <vb:if condition="$post['api_platform_link']">
  260. <a class="mobile mobile_{vb:raw post.api_platform}" href="{vb:raw post.api_platform_link}" rel="nofollow" title="{vb:rawphrase {vb:raw post['api_platform_link_title']}}">{vb:rawphrase {vb:raw post['api_platform_link_phrase']}}</a>
  261. <vb:else />
  262. <span class="mobile mobile_{vb:raw post.api_platform}">{vb:rawphrase {vb:raw post['api_platform_link_phrase']}}</span>
  263. </vb:if>
  264. </vb:if>
  265. </span>
  266. </div>
  267. </div>
  268. <hr />
  269. </li>
  270. {vb:raw template_hook.postbit_end}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement