Thread: ecRelease
View Single Post
  #50  
Old 01-02-2006, 03:42 AM
DJ XtAzY DJ XtAzY is offline
 
Join Date: Feb 2005
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xYarub
Could someone mess with the template to make it look like vB.org's a little more?
heres my showthread_release

it looks similiar vb.orgs =]


Code:
<!-- release #$post[releaseid] -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
 <!-- <td class="tcat" colspan="3">
  Thread Title
 </td> -->
</tr>
<tr>
 <if condition="$show['announcement']">
  <td class="thead" style="font-weight:normal" colspan="3">
   <img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
   <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
  </td>
 <else />
  <td class="thead" style="font-weight:normal" $post[scrolltothis] colspan="3">&nbsp;
  </td>
 </if>
</tr>
<table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
 <tr>
  <td class="alt2" rowspan="3" width="175">
   <div id="postmenu_$post[postid]">
	<if condition="$show['profile']">
	<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
	<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
	<else />
	$post[musername]
	</if>
   </div>
  <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
  <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
  <if condition="$show['avatar']">
   <div class="smallfont">
	&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
   </div>
  </if>
  </td>
  <td class="alt2"><strong>$vbphrase[released]:</strong> $post[postdate]</td>
  <td class="alt2"><strong>$vbphrase[name]:</strong> $post[name]</td>
  <td class="alt2" rowspan="3" width="250">
   <!-- actions -->
	<div style="padding:$stylevar[cellpadding]px">
	<fieldset class="fieldset">
	 <legend>$vbphrase[release_actions]</legend>
	 <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
	  <tr>
	   <td>
	   <if condition="$show['reportlink']">
		<a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow">$vbphrase[report_release]</a><br>
	   </if>
	   </td>
	  </tr>
	  <tr>
	   <td>
	   <if condition="$show['editrelease']">
		<a href="release.php?$session[sessionurl]do=releaseedit&t=$post[threadid]" rel="nofollow">$vbphrase[edit_release]</a>
	   </if>
	   </td>
	  </tr>
	  <tr>
	   <td>
	   <if condition="$show['editrelease']">
		<a href="editpost.php?$session[sessionurl]p=$post[postid]" rel="nofollow">Edit Post</a><br>
	   </if>
	   </td>
	  </tr>
	  <tr>
	   <td id="threadrating">
	   <if condition="$show['threadrating']">
		<a href="$show[nojs_link]#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$post[rating].gif" alt="<phrase 1="$post[votenum]" 2="$post[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>
		<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
	   </if>
	   </td>
	  </tr>
	 </table>
	</fieldset>
	</div>
   <!-- / actions -->
  </td>
 </tr>
 <tr>
  <td class="alt1"><strong>$vbphrase[category]:</strong> $post[category]</td>
  <td class="alt1"><strong>$vbphrase[updated]:</strong> $post[edit_date]</td>
 </tr>
 <tr>
  <td class="alt2"><strong>$vbphrase[author]:</strong> $post[author]</td>
  <td class="alt2"><strong>$vbphrase[downloads]:</strong> $post[downloads]</td>
 </tr>
 <tr valign="top">
  <td class="alt1" colspan="3">
   <!-- message -->
   <div id="post_message_$post[postid]">$post[message]</div>
   <!-- / message -->
   <if condition="$show['attachments']">
   <!-- attachments -->
	<div style="padding:$stylevar[cellpadding]px">
	<if condition="$show['thumbnailattachment']">
	 <fieldset class="fieldset">
	  <legend>$vbphrase[attached_thumbnails]</legend>
	  <div style="padding:$stylevar[formspacer]px">
	  $post[thumbnailattachments]
	  </div>
	 </fieldset>
	</if>
	<if condition="$show['imageattachment']">
	 <fieldset class="fieldset">
	  <legend>$vbphrase[attached_images]</legend>
	  <div style="padding:$stylevar[formspacer]px">
	  $post[imageattachments]
	  </div>
	 </fieldset>
	</if>
	<if condition="$show['imageattachmentlink']">
	 <fieldset class="fieldset">
	  <legend>$vbphrase[attached_images]</legend>
	  <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
	  $post[imageattachmentlinks]
	  </table>
	 </fieldset>
	</if>
	</div>
   <!-- / attachments -->
   </if>
  </td>
  <td class="alt2">
   <if condition="$show['attachments']">
	<!-- attachments -->
	 <div style="padding:$stylevar[cellpadding]px">
	 <if condition="$show['otherattachment']">
	  <fieldset class="fieldset">
	   <legend>$vbphrase[attached_files]</legend>
	   <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
	   $post[otherattachments]
	   </table>
	  </fieldset>
	 </if>
	 <if condition="$show['moderatedattachment']">
	  <fieldset class="fieldset">
	   <legend>$vbphrase[attachments_pending_approval]</legend>
	   <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
	   $post[moderatedattachments]
	   </table>
	  </fieldset>  
	 </if>
	 </div>
	<!-- / attachments -->
   </if>
  </td>
 </tr>
<!-- <tr>
 <td class="tfoot" colspan="3" align="center"><span class="smallfont">&nbsp;</span></td>
</tr> -->
</table>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
 <table cellpadding="4" cellspacing="1" border="0">
 <tr>
  <td class="thead">$post[username]</td>
 </tr>
 <if condition="$show['profile']">
  <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
 </if>
 <if condition="$show['pmlink']">
  <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
 </if>
 <if condition="$show['emaillink']">
  <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>
 </if>
 <if condition="$show['homepage']">
  <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
 </if>
 <if condition="$show['search']">
  <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>
 </if>
 <if condition="$post['userid'] AND $show['member']">
 <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_buddy_list]</phrase></a></td></tr>
 </if>
 </table>
</div>
<!-- / post $post[postid] popup menu -->
<!-- / release #$post[releaseid] -->
<br />
enjoy guys XD
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01198 seconds
  • Memory Usage 1,816KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete