Like Vbulletin style

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Suggested Hosts
Fn-Mi
Registered User
Posts: 70
Joined: Fri Oct 05, 2007 11:14 am

Like Vbulletin style

Post by Fn-Mi » Mon Jun 02, 2008 2:52 pm

Hi

i am modifying my style and I want to know if exist the posibilitie of put the profile section in the posts over the post like in the vbulletin styles in subsilver2 based styles

Demo:

Image





Thanks in advance

Fn-Mi
Registered User
Posts: 70
Joined: Fri Oct 05, 2007 11:14 am

Re: Like Vbulletin style

Post by Fn-Mi » Wed Jun 04, 2008 4:46 am

:(

User avatar
Mighty Gorgon
Registered User
Posts: 616
Joined: Thu May 23, 2002 2:56 pm
Location: Italy
Name: Luca Libralato
Contact:

Re: Like Vbulletin style

Post by Mighty Gorgon » Wed Jun 04, 2008 11:03 am

Yes, it is just an HTML issue... just create an extra row above post content and insert all the infos you need.

You need to know how to code in HTML for doing this.

Fn-Mi
Registered User
Posts: 70
Joined: Fri Oct 05, 2007 11:14 am

Re: Like Vbulletin style

Post by Fn-Mi » Wed Jun 04, 2008 1:15 pm

thanks!!!

i haven't many knowledge about html, i know just bit :(

can you explain me how make that row please?

i wil be very gratefull

Thanks Mighty.

Slutes!!!

User avatar
Mighty Gorgon
Registered User
Posts: 616
Joined: Thu May 23, 2002 2:56 pm
Location: Italy
Name: Luca Libralato
Contact:

Re: Like Vbulletin style

Post by Mighty Gorgon » Wed Jun 04, 2008 3:44 pm

Yes, but you need to give me a base to start from.

Or should I make an example using subSilver 2?

Fn-Mi
Registered User
Posts: 70
Joined: Fri Oct 05, 2007 11:14 am

Re: Like Vbulletin style

Post by Fn-Mi » Wed Jun 04, 2008 5:14 pm

a base made in subsilver2 should be great, i am using the melankolia theme based on subsilver2

http://demo.phpbb3styles.net/Melankolia


thanks!!!

User avatar
Mighty Gorgon
Registered User
Posts: 616
Joined: Thu May 23, 2002 2:56 pm
Location: Italy
Name: Luca Libralato
Contact:

Re: Like Vbulletin style

Post by Mighty Gorgon » Wed Jun 04, 2008 8:57 pm

I'll make a quick example in subSilver 2.

In viewtopic_body.html find this part:

Code: Select all

	<!-- IF postrow.S_FIRST_ROW -->
		<tr>
			<th>{L_AUTHOR}</th>
			<th>{L_MESSAGE}</th>
		</tr>
	<!-- ENDIF -->
AFTER ADD:

Code: Select all

		<tr colspan="2">
			<td>
			{postrow.ONLINE_IMG}
			<!-- IF postrow.RANK_TITLE -->
			{postrow.RANK_TITLE}
			<!-- ENDIF -->
			<!-- IF postrow.RANK_IMG -->
			{postrow.RANK_IMG}
			<!-- ENDIF -->
			<!-- IF postrow.POSTER_AVATAR -->
			{postrow.POSTER_AVATAR}
			</td>
		</tr>
And you will have an extra row with some poster details on top of the post.

Of course this is just a quick reference... but you need to customize the code to suit your taste and needs.

Good luck. :)

Fn-Mi
Registered User
Posts: 70
Joined: Fri Oct 05, 2007 11:14 am

Re: Like Vbulletin style

Post by Fn-Mi » Thu Jun 05, 2008 3:53 am

i'll try it

thanks mighty!!!

salutes!!!

ihermit
Registered User
Posts: 251
Joined: Wed Mar 05, 2008 4:26 am

Re: Like Vbulletin style

Post by ihermit » Mon Jun 09, 2008 2:05 am

I also use the melankolia template, it doesn't quite work.
Use the below code as your viewtopic_body.html.
Since I used dreamweaver, I don't have the changes.
Image
Last edited by ihermit on Tue Jun 10, 2008 10:11 am, edited 1 time in total.

ihermit
Registered User
Posts: 251
Joined: Wed Mar 05, 2008 4:26 am

Re: Like Vbulletin style

Post by ihermit » Tue Jun 10, 2008 10:10 am

Code: Select all

<!-- INCLUDE overall_header.html -->

<!-- IF S_FORUM_RULES -->
	<div class="forumrules">
		<!-- IF U_FORUM_RULES -->
			<h3>{L_FORUM_RULES}</h3><br />
			<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
		<!-- ELSE -->
			<h3>{L_FORUM_RULES}</h3><br />
			{FORUM_RULES}
		<!-- ENDIF -->
	</div>

	<br clear="all" />
<!-- ENDIF -->

<div id="pageheader">
	<h2><a class="titles" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2>

<!-- IF MODERATORS -->
	<p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p>
<!-- ENDIF -->
</div>

<br clear="all" /><br />

<div id="pagecontent">

	<table width="100%" cellspacing="1">
	<tr>
		<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
		<!-- IF not S_IS_BOT -->
			<!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a>&nbsp;<!-- ENDIF -->
			<!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
		<!-- ENDIF -->
		</td>
		<!-- IF TOTAL_POSTS -->
			<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
			<td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_POSTS} ]&nbsp;</td>
			<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
		<!-- ENDIF -->
	</tr>
	</table>

  <table class="tablebg" width="180%" cellspacing="1">
  <tr>
		<td class="cat">
			<table width="100%" cellspacing="0">
			<tr>
				<td class="nav" nowrap="nowrap">&nbsp;
				<!-- IF not S_IS_BOT -->
					<!-- IF U_WATCH_TOPIC --><a class="kat" href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC or U_BOOKMARK_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_BOOKMARK_TOPIC --><a class="kat" href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_PRINT_TOPIC --><a class="kat" href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}">{L_PRINT_TOPIC}</a><!-- IF U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_EMAIL_TOPIC --><a class="kat" href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}">{L_EMAIL_TOPIC}</a><!-- IF U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_BUMP_TOPIC --><a class="kat" href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a><!-- ENDIF -->
				<!-- ENDIF -->
				</td>
				<td class="nav" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><a class="kat" href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> | <a class="kat" href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a><!-- ENDIF --> | <a class="kat" href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a>&nbsp;</td>
			</tr>
			</table>
		</td>
	</tr>
<!-- IF S_HAS_POLL -->
	<tr>
		<td class="row2" colspan="2" align="center"><br clear="all" />

			<form method="post" action="{S_POLL_ACTION}">

			<table cellspacing="0" cellpadding="4" border="0" align="center">
			<tr>
				<td align="center"><span class="gen"><b>{POLL_QUESTION}</b></span><br /><span class="gensmall">{L_POLL_LENGTH}</span></td>
			</tr>
			<tr>
				<td align="{S_CONTENT_FLOW_BEGIN}">
					<table cellspacing="0" cellpadding="2" border="0">
				<!-- BEGIN poll_option -->
					<tr>
					<!-- IF S_CAN_VOTE -->
						<td>
							<!-- IF S_IS_MULTI_CHOICE -->
								<input type="checkbox" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
							<!-- ELSE -->
								<input type="radio" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
							<!-- ENDIF -->
						</td>
					<!-- ENDIF -->
						<td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td>
						<!-- IF S_DISPLAY_RESULTS -->
							<td dir="ltr">{POLL_LEFT_CAP_IMG}{poll_option.POLL_OPTION_IMG}{POLL_RIGHT_CAP_IMG}</td>
							<td class="gen" align="{S_CONTENT_FLOW_END}"><b>&nbsp;{poll_option.POLL_OPTION_PERCENT}&nbsp;</b></td>
							<td class="gen" align="center">[ {poll_option.POLL_OPTION_RESULT} ]</td>
							<!-- IF poll_option.POLL_OPTION_VOTED -->
								<td class="gensmall" valign="top"><b title="{L_POLL_VOTED_OPTION}">x</b></td>
							<!-- ENDIF -->
						<!-- ENDIF -->
					</tr>
				<!-- END poll_option -->
					</table>
				</td>
			</tr>
		<!-- IF S_CAN_VOTE -->
			<tr>
				<td align="center"><span class="gensmall">{L_MAX_VOTES}</span><br /><br /><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="btnlite" /></td>
			</tr>
		<!-- ENDIF -->
		<!-- IF S_DISPLAY_RESULTS -->
			<tr>
				<td class="gensmall" colspan="4" align="center"><b>{L_TOTAL_VOTES} : {TOTAL_VOTES}</b></td>
			</tr>
		<!-- ELSE -->
			<tr>
				<td align="center"><span class="gensmall"><b><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></b></span></td>
			</tr>
		<!-- ENDIF -->
			</table>
			{S_HIDDEN_FIELDS}
			
			</form>
			
		</td>
	</tr>
<!-- ENDIF -->
  </table>

<!-- BEGIN postrow -->
<table class="tablebg" width="100%" cellspacing="1">
  <!-- IF postrow.S_FIRST_ROW -->
  <!-- ENDIF -->
  <!-- IF postrow.S_ROW_COUNT is even -->
  
  <!-- IF postrow.S_ROW_COUNT is even -->
  <tr class="row1">
    <!-- ENDIF -->
    <td width="100%" valign="top" class="row2"><table cellspacing="4" align="center" width="180" >
      <!-- IF postrow.RANK_TITLE -->
      <tr>
        <td align="left">{postrow.RANK_TITLE}</td>
      </tr>
      <!-- ENDIF -->
      <!-- IF postrow.RANK_IMG -->
      <tr>
        <td>{postrow.RANK_IMG}</td>
      </tr>
      <!-- ENDIF -->
      <!-- IF postrow.POSTER_AVATAR -->
      <tr>
        <td>{postrow.POSTER_AVATAR}</td>
      </tr>
      <!-- ENDIF -->
    </table>
        <span><!-- IF postrow.POSTER_JOINED -->
        <div class="postdetails"><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}</div>
          <!-- ENDIF -->
        <!-- IF postrow.POSTER_POSTS != '' -->
        <div class="postdetails"><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}</div>
          <!-- ENDIF -->
        <!-- IF postrow.POSTER_FROM -->
        <div class="postdetails"><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}</div>
          <!-- ENDIF --><br />

        <!-- IF postrow.S_PROFILE_FIELD1 -->
        <!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
        <div class="postdetails"><b>{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE}</div>
          <!-- ENDIF -->
        <!-- BEGIN custom_fields -->
        <div class="postdetails"><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}</div>
          <!-- END custom_fields -->
      </span> </td>
    </tr>
  <tr class="row1"><br />
    <td valign="top" class="row2"><div class="postbody">{postrow.MESSAGE}</div>
        <!-- IF postrow.S_HAS_ATTACHMENTS -->
        <br clear="all" />
        <table class="tablebg" width="100%" cellspacing="1">
          <tr>
            <td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>
          </tr>
          <!-- BEGIN attachment -->
          <tr>
            <!-- IF postrow.attachment.S_ROW_COUNT is even -->
            <td class="row1"><!-- ELSE --></td>
            <td class="row1"><!-- ENDIF -->
              {postrow.attachment.DISPLAY_ATTACHMENT}</td>
          </tr>
          <!-- END attachment -->
        </table>
      <!-- ENDIF -->
        <!-- IF postrow.S_DISPLAY_NOTICE -->
        <span class="gensmall error"><br />
        <br />
          {L_DOWNLOAD_NOTICE}</span>
        <!-- ENDIF -->
        <!-- IF postrow.SIGNATURE -->
        <span class="postbody"><br />
          _________________<br />
          {postrow.SIGNATURE}</span>
        <!-- ENDIF -->
        <br />
        <br />
        <!-- IF not S_IS_BOT -->
        <!-- IF postrow.U_EDIT -->
        <a href="{postrow.U_EDIT}">{EDIT_IMG}</a>
        <!-- ENDIF -->
        <!-- IF postrow.U_QUOTE -->
        <a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a>
        <!-- ENDIF -->
        <!-- ENDIF -->
        <!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
        <!-- IF postrow.EDIT_REASON --><br />
        <br />
        <br />
        <table class="tablebg" width="100%" cellspacing="1">
          <tr>
            <td class="row3"><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
          </tr>
          <tr>
            <td class="row2"><span class="genmed">{postrow.EDIT_REASON}</span></td>
          </tr>
        </table>
      <!-- ELSE -->
        <br />
        <br />
        <span class="gensmall">{postrow.EDITED_MESSAGE}</span>
        <!-- ENDIF -->
        <!-- ENDIF -->
        <!-- IF postrow.BUMPED_MESSAGE -->
        <span class="gensmall">{postrow.BUMPED_MESSAGE}</span>
        <!-- ENDIF -->
        <!-- IF not postrow.S_HAS_ATTACHMENTS -->
        <br clear="all" />
        <br />
        <!-- ENDIF -->      <!-- IF postrow.S_POST_REPORTED -->
      <span class="postreported">{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span>
      <!-- ENDIF --></td>
  </tr>
  <!-- IF postrow.S_ROW_COUNT is even -->
  <tr class="row1">
    <!-- ENDIF -->
    <td class="row2"><!-- IF postrow.U_PROFILE -->
        <a href="{postrow.U_PROFILE}">{PROFILE_IMG}</a>
        <!-- ENDIF -->
        <!-- IF postrow.U_PM -->
        <a href="{postrow.U_PM}">{PM_IMG}</a>
        <!-- ENDIF -->
        <!-- IF postrow.U_EMAIL -->
        <a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a>
        <!-- ENDIF -->
        <!-- IF postrow.ONLINE_IMG -->
      &nbsp;{postrow.ONLINE_IMG}
      <!-- ENDIF -->
      <!-- IF postrow.S_POST_UNAPPROVED -->
      <span class="postapprove">{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span>
      <!-- ENDIF -->

      <!-- IF not S_IS_BOT -->
      <!-- IF postrow.U_REPORT -->
      <a href="{postrow.U_REPORT}">{REPORT_IMG}</a>
      <!-- ENDIF -->
      <!-- IF postrow.U_INFO -->
      <a href="{postrow.U_INFO}">{INFO_IMG}</a>
      <!-- ENDIF -->
      <!-- IF postrow.U_WARN -->
      <a href="{postrow.U_WARN}">{WARN_IMG}</a>
      <!-- ENDIF -->
      <!-- IF postrow.U_DELETE -->
      <a href="{postrow.U_DELETE}">{DELETE_IMG}</a>
      <!-- ENDIF -->
      <!-- ENDIF -->    </td>
  </tr>
  <!-- ENDIF -->
  <tr>
    <td class="spacer" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
  </tr>
</table>
<!-- END postrow -->
<table width="100%" cellspacing="1" class="tablebg">
	<tr align="center">
		<td class="cat"><form name="viewtopic" method="post" action="{S_TOPIC_ACTION}"><p gensmall="" style="color: #40BFE7;"><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS}&nbsp;<span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}&nbsp;<input class="btnlite" type="submit" value="{L_GO}" name="sort" /></p></form></td>
	</tr>
  </table>

	<table width="100%" cellspacing="1">
	<tr>
		<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
		<!-- IF not S_IS_BOT -->
			<!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a>&nbsp;<!-- ENDIF -->
			<!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
		<!-- ENDIF -->
		</td>
		<!-- IF TOTAL_POSTS -->
			<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
			<td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_POSTS} ]&nbsp;</td>
			<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
		<!-- ENDIF -->
	</tr>
	</table>

</div>

<div id="pagefooter"></div>

<br clear="all" />

<!-- INCLUDE breadcrumbs.html -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
	<br clear="all" />

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
	<td colspan="2" class="cat"><h4 style="color: rgb(29, 169, 216);"> {L_WHO_IS_ONLINE}</h4></td>
	</tr>
		<td colspan="2" class="row1"><p class="gensmall">{LOGGED_IN_USER_LIST}</p></td>
		</tr>
<!-- ELSE -->	<br clear="all" />

	<table class="tablebg" width="100%" cellspacing="1"><!-- ENDIF -->
	<tr>
	<td colspan="2" class="cat"><h4 style="color: rgb(29, 169, 216);"> Panel</h4></td>
	</tr>
<tr class="row1">
	<td class="row1" width="40%" valign="top" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><!-- IF S_TOPIC_MOD --><form method="post" action="{S_MOD_ACTION}"><span class="gensmall">{L_QUICK_MOD}:</span> {S_TOPIC_MOD} <input class="btnlite" type="submit" value="{L_GO}" /></form><!-- ELSE --><span class="gensmall"><a href="#wrapcentre"><strong>{L_BACK_TO_TOP}</strong></a></span><!-- ENDIF --></td>
	<td class="row1" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><span class="gensmall"><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></span></td>
</tr>
<tr class="row1">
	<td class="row1"><!-- IF S_DISPLAY_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>
	<td class="row1" align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></td>
</tr>
</td>
</table>

<!-- INCLUDE overall_footer.html -->
It's like 3am here, I got a bit lazy with the code. You should know what's missing. I'll update this later today.

Edit: Do not use this, for some reason it is only displaying every "first post" and not the second. could someone please take a look at the code? (Yes I'm aware the username doesn't show, I havent added it yet :D

Fn-Mi
Registered User
Posts: 70
Joined: Fri Oct 05, 2007 11:14 am

Re: Like Vbulletin style

Post by Fn-Mi » Tue Jun 10, 2008 4:00 pm

i keep trying too and the bars what contained the joined date and the number of posts are very long :( , i am very frustrated, i can't make this xD

ihermit
Registered User
Posts: 251
Joined: Wed Mar 05, 2008 4:26 am

Re: Like Vbulletin style

Post by ihermit » Tue Jun 10, 2008 7:23 pm

I am very, very close. The only problem is that it's only displaying "Post1" and not "Post2", I'm looking into it now.

User avatar
Ejkia
Registered User
Posts: 7
Joined: Tue Aug 05, 2008 5:11 pm

Re: Like Vbulletin style

Post by Ejkia » Tue Aug 05, 2008 5:16 pm

hey i want modifying my style

my style demo : http://www.kanka-m.com

for exple : http://img352.imageshack.us/img352/9199/wantjo5.jpg

how do modifed my viewtopic_body file

help me please :

Code: Select all

<!-- INCLUDE overall_header.html -->
<script> 
window.onload = resizeimg; 
function resizeimg() 
{ 
   if (document.getElementsByTagName) 
   { 
      for (i=0; i<document.getElementsByTagName('img').length; i++) 
      { 
         im = document.getElementsByTagName('img')[i]; 
         if (im.width > 600) 
         { 
            im.style.width = '600px'; 
            eval("pop" + String(i) + " = new Function(\"pop = window.open('" + im.src + " ','fullscale','width=400,height=400,scrollbars=1,resizable=1'); pop.focus();\")"); 
            eval("im.onclick = pop" + String(i) + ";"); 
            if (document.all) im.style.cursor = 'hand'; 
            if (!document.all) im.style.cursor = 'pointer'; 
            im.title = 'Resmi orjinal boyutlarında görmek için buraya tıklayın! '; 
         } 
      } 
   } 
} 

</script> 

<!-- IF S_FORUM_RULES -->
	<div class="forumrules">
		<!-- IF U_FORUM_RULES -->
			<h3>{L_FORUM_RULES}</h3><br />
			<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
		<!-- ELSE -->
			<h3>{L_FORUM_RULES}</h3><br />
			{FORUM_RULES}
		<!-- ENDIF -->
	</div>

	<br clear="all" />
<!-- ENDIF -->

<div id="pageheader">
<p align="center">	
<font style="text-transform: uppercase;" face="Verdana" size="+1" color="#000000"><b>{TOPIC_TITLE}</b></font><sup><br><!-- IF U_MCP -->
	 <a style="font-size:11px; color:red; !important " href="{U_MCP}">{L_MCP}</a> 
<!-- ENDIF --></sup></p>
<br>
<!-- IF MODERATORS -->
	<p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p>
<!-- ENDIF -->

</div>
<br>
<br>

<div id="pagecontent">

	<table width="100%" cellspacing="1">
	<tr>
		<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
		<!-- IF not S_IS_BOT -->
			<!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a>&nbsp;<!-- ENDIF -->
			<!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
		<!-- ENDIF -->
		</td>
		<!-- IF TOTAL_POSTS -->
			<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
			<td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_POSTS} ]&nbsp;</td>
			<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
		<!-- ENDIF -->
	</tr>
	</table>

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat">
			<table width="100%" cellspacing="0">
			<tr>
				<td class="nav" nowrap="nowrap">&nbsp;
				<!-- IF not S_IS_BOT -->
					<!-- IF U_WATCH_TOPIC --><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC or U_BOOKMARK_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_BOOKMARK_TOPIC --><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_PRINT_TOPIC --><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}">{L_PRINT_TOPIC}</a><!-- IF U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_EMAIL_TOPIC --><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}">{L_EMAIL_TOPIC}</a><!-- IF U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_BUMP_TOPIC --><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a><!-- ENDIF -->
				<!-- ENDIF -->
				</td>
				<td class="nav" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> | <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a><!-- ENDIF --> | <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a>&nbsp;</td>
			</tr>
			</table>
		</td>
	</tr>
<!-- IF S_HAS_POLL -->
	<tr>
		<td class="row2" colspan="2" align="center"><br clear="all" />

			<form method="post" action="{S_POLL_ACTION}">

			<table cellspacing="0" cellpadding="4" border="0" align="center">
			<tr>
				<td align="center"><span class="gen"><b>{POLL_QUESTION}</b></span><br /><span class="gensmall">{L_POLL_LENGTH}</span></td>
			</tr>
			<tr>
				<td align="{S_CONTENT_FLOW_BEGIN}">
					<table cellspacing="0" cellpadding="2" border="0">
				<!-- BEGIN poll_option -->
					<tr>
					<!-- IF S_CAN_VOTE -->
						<td>
							<!-- IF S_IS_MULTI_CHOICE -->
								<input type="checkbox" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
							<!-- ELSE -->
								<input type="radio" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
							<!-- ENDIF -->
						</td>
					<!-- ENDIF -->
						<td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td>
						<!-- IF S_DISPLAY_RESULTS -->
							<td dir="ltr">{POLL_LEFT_CAP_IMG}{poll_option.POLL_OPTION_IMG}{POLL_RIGHT_CAP_IMG}</td>
							<td class="gen" align="{S_CONTENT_FLOW_END}"><b>&nbsp;{poll_option.POLL_OPTION_PERCENT}&nbsp;</b></td>
							<td class="gen" align="center">[ {poll_option.POLL_OPTION_RESULT} ]</td>
							<!-- IF poll_option.POLL_OPTION_VOTED -->
								<td class="gensmall" valign="top"><b title="{L_POLL_VOTED_OPTION}">x</b></td>
							<!-- ENDIF -->
						<!-- ENDIF -->
					</tr>
				<!-- END poll_option -->
					</table>
				</td>
			</tr>
		<!-- IF S_CAN_VOTE -->
			<tr>
				<td align="center"><span class="gensmall">{L_MAX_VOTES}</span><br /><br /><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="btnlite" /></td>
			</tr>
		<!-- ENDIF -->
		<!-- IF S_DISPLAY_RESULTS -->
			<tr>
				<td class="gensmall" colspan="4" align="center"><b>{L_TOTAL_VOTES} : {TOTAL_VOTES}</b></td>
			</tr>
		<!-- ELSE -->
			<tr>
				<td align="center"><span class="gensmall"><b><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></b></span></td>
			</tr>
		<!-- ENDIF -->
			</table>
			{S_HIDDEN_FIELDS}
			
			</form>
			
		</td>
	</tr>
<!-- ENDIF -->
	</table>

	<!-- BEGIN postrow -->


	<table class="tablebg" width="100%" cellspacing="1">
	<!-- IF postrow.S_FIRST_ROW -->
		<tr>
			<th colspan="6"><p align="left">{postrow.POST_DATE}</p></th>
		
		</tr>	<!-- ELSE -->	<tr>
			<th colspan="6"><p align="left">{postrow.POST_DATE}</p></th>
		
		</tr>
	<!-- ENDIF -->
	<tr>

	<!-- IF postrow.S_IGNORE_POST -->
			<td class="row2" colspan="2" height="25" align="center"><!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>{postrow.L_IGNORE_POST}</td>
	<!-- ELSE -->

			<td class="row2" align="center" valign="middle">	
			<!-- IF postrow.ONLINE_IMG -->
		
					<span style="float: left;" >{postrow.ONLINE_IMG}</span><!-- ENDIF -->
				<!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>
				<span class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</span>
			</td>
			<td class="row1" width="100%" height="25">
				<table width="100%" cellspacing="0">
				<tr>
				<!-- IF postrow.POST_ICON_IMG -->
					<td class="row1"><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" title="" /></td>
				<!-- ENDIF -->
					<td class="row1" width="100%"><div style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<span class="genmed"><b>{postrow.POST_SUBJECT}</b></span></div></td>
				</tr>
				</table>
			</td>
		</tr>
		
	<tr>

			<td class="row2" valign="top">
				<table cellspacing="4" align="center" width="180">
			
		<!-- IF postrow.RANK_TITLE -->
				<tr>
					<td>{postrow.RANK_TITLE}</td>
				</tr>
			<!-- ENDIF -->
			<!-- IF postrow.RANK_IMG -->
				<tr>
					<td>{postrow.RANK_IMG}</td>
				</tr>
			<!-- ENDIF -->
			<!-- IF postrow.POSTER_AVATAR -->
            <tr>
               <td>{postrow.POSTER_AVATAR}</td>
            </tr>
<!-- ELSE -->
<tr>
               <td><img src="{T_THEME_PATH}/images/avatar_yok.gif" width="90" height="90" alt="" /></td>
            </tr> 
<!-- ENDIF -->

				</table>

				<span>
					<!-- IF postrow.POSTER_JOINED --><div class="postdetails"><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}</div><!-- ENDIF -->
					<!-- IF postrow.POSTER_POSTS != '' --><div class="postdetails"><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}</div><!-- ENDIF -->
			
					<!-- IF postrow.POSTER_AGE != '' --><div class="postdetails"><b>{L_AGE}:</b> {postrow.POSTER_AGE}</div><!-- ENDIF -->
					<!-- IF postrow.POSTER_FROM --><div class="postdetails"><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}</div><!-- ENDIF -->
					<!-- IF postrow.S_PROFILE_FIELD1 -->
						<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
						<div class="postdetails"><b>{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE}</div>
					<!-- ENDIF -->

					<!-- BEGIN custom_fields -->
						<div class="postdetails"><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}</div>
					<!-- END custom_fields -->
					
					<div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<!-- IF postrow.U_PROFILE --><a href="{postrow.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->&nbsp;</div> 
					
					

				</span></td>
			<td class="row1" valign="top">
				<table width="100%" cellspacing="5">
				<tr>
					<td class="row1">
					<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
						<table width="100%" cellspacing="0">
						<tr>
							<td class="row1"><!-- IF postrow.S_POST_UNAPPROVED --><span class="postapprove">{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span> <!-- ENDIF --> <!-- IF postrow.S_POST_REPORTED --><span class="postreported">{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF --></td>
						</tr>
						</table>

						<br clear="all" />
					<!-- ENDIF -->

						<div class="postbody">{postrow.MESSAGE}</div>

					<!-- IF postrow.S_HAS_ATTACHMENTS -->
						<br clear="all" /><br />

						<table class="tablebg" width="100%" cellspacing="1">
						<tr>
							<td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>
						</tr>
						<!-- BEGIN attachment -->
							<tr>
								<!-- IF postrow.attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{postrow.attachment.DISPLAY_ATTACHMENT}</td>
							</tr>
						<!-- END attachment -->
						</table>
					<!-- ENDIF -->

					<!-- IF postrow.S_DISPLAY_NOTICE -->
						<span class="gensmall error"><br /><br />{L_DOWNLOAD_NOTICE}</span>
					<!-- ENDIF -->

					<!-- IF postrow.SIGNATURE -->

						<span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span>
					<!-- ENDIF -->

					<!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
						<!-- IF postrow.EDIT_REASON -->
							<br /><br />
							<table class="tablebg" width="100%" cellspacing="1">
							<tr>
								<td class="row3"><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
							</tr>
							<tr>
								<td class="row2"><span class="genmed">{postrow.EDIT_REASON}</span></td>
							</tr>
							</table>
						<!-- ELSE -->
							<br /><br />
							<span class="gensmall">{postrow.EDITED_MESSAGE}</span>
						<!-- ENDIF -->
					<!-- ENDIF -->

					<!-- IF postrow.BUMPED_MESSAGE -->
						<span class="gensmall">{postrow.BUMPED_MESSAGE}</span>
					<!-- ENDIF -->

					<!-- IF not postrow.S_HAS_ATTACHMENTS --><br clear="all" /><br /><!-- ENDIF -->

						<table width="100%" cellspacing="0">
						<tr valign="middle">
							<td class="gensmall" align="{S_CONTENT_FLOW_END}">
							<!-- IF not S_IS_BOT -->
								<!-- IF postrow.U_REPORT --><a href="{postrow.U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF --> 
								<!-- IF postrow.U_INFO --><a href="{postrow.U_INFO}">{INFO_IMG}</a> <!-- ENDIF --> 
								<!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}">{WARN_IMG}</a> <!-- ENDIF --> 
								<!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF -->
							<!-- ENDIF -->
							</td>
						</tr>
						</table>
					</td>
				</tr>
				</table>
			</td>
		</tr>

	<tr>

			<td class="row2"><img src="{T_THEME_PATH}/images/icon_top.gif" width="13" height="12" alt="Başa Dön" />&nbsp;<a href="#wrapheader"><strong>{L_BACK_TO_TOP}</strong></a></td>
			<td class="row1"><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<!-- IF postrow.U_PROFILE --><a href="{postrow.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->&nbsp;</div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF not S_IS_BOT --><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- ENDIF -->&nbsp;</div></td>
		</tr>

	<!-- ENDIF -->
	
	
	</table>
<!-- END postrow -->
<!-- IF S_QR_ENABLED -->
	<!-- INCLUDE posting_qr_body.html -->
<!-- ENDIF -->


	<table width="100%" cellspacing="1" class="tablebg">
	<tr align="center">
		<td class="cat"><form name="viewtopic" method="post" action="{S_TOPIC_ACTION}"><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS}&nbsp;<span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}&nbsp;<input class="btnlite" type="submit" value="{L_GO}" name="sort" /></form></td>
	</tr>
	</table>

	<table width="100%" cellspacing="1">
	<tr>
		<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
		<!-- IF not S_IS_BOT -->
			<!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a>&nbsp;<!-- ENDIF -->
			<!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
		<!-- ENDIF -->
		</td>
		<!-- IF TOTAL_POSTS -->
			<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
			<td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_POSTS} ]&nbsp;</td>
			<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
		<!-- ENDIF -->
	</tr>
	</table>

</div>



<div id="pagefooter"></div>

<br clear="all" />

<!-- INCLUDE breadcrumbs.html -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
	<br clear="all" />

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat"><h4>{L_WHO_IS_ONLINE}</h4></td>
	</tr>
	<tr>
		<td class="row1"><p class="gensmall">{LOGGED_IN_USER_LIST}</p></td>
	</tr>
	</table>
<!-- ENDIF -->

<br clear="all" />

<table width="100%" cellspacing="1">
<tr>
	<td width="40%" valign="top" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><!-- IF S_TOPIC_MOD --><form method="post" action="{S_MOD_ACTION}"><span class="gensmall">{L_QUICK_MOD}:</span> {S_TOPIC_MOD} <input class="btnlite" type="submit" value="{L_GO}" /></form><!-- ENDIF --></td>
	<td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><span class="gensmall"><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></span></td>
</tr>
</table>

<br clear="all" />

<table width="100%" cellspacing="0">
<tr>
	<td><!-- IF S_DISPLAY_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>
	<td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></td>
</tr>
</table>

<!-- INCLUDE overall_footer.html -->
Last edited by prototech on Wed Aug 06, 2008 10:29 pm, edited 1 time in total.
Reason: No large inline images.
My Site
ver :3.0.2

User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: Like Vbulletin style

Post by Raimon » Wed Aug 06, 2008 9:34 pm

From the code that luca have posted try this code ;

Code: Select all

 <!-- INCLUDE overall_header.html -->
    <script>
    window.onload = resizeimg;
    function resizeimg()
    {
       if (document.getElementsByTagName)
       {
          for (i=0; i<document.getElementsByTagName('img').length; i++)
          {
             im = document.getElementsByTagName('img')[i];
             if (im.width > 600)
             {
                im.style.width = '600px';
                eval("pop" + String(i) + " = new Function(\"pop = window.open('" + im.src + " ','fullscale','width=400,height=400,scrollbars=1,resizable=1'); pop.focus();\")");
                eval("im.onclick = pop" + String(i) + ";");
                if (document.all) im.style.cursor = 'hand';
                if (!document.all) im.style.cursor = 'pointer';
                im.title = 'Resmi orjinal boyutlarında görmek için buraya tıklayın! ';
             }
          }
       }
    }

    </script>

    <!-- IF S_FORUM_RULES -->
       <div class="forumrules">
          <!-- IF U_FORUM_RULES -->
             <h3>{L_FORUM_RULES}</h3><br />
             <a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
          <!-- ELSE -->
             <h3>{L_FORUM_RULES}</h3><br />
             {FORUM_RULES}
          <!-- ENDIF -->
       </div>

       <br clear="all" />
    <!-- ENDIF -->

    <div id="pageheader">
    <p align="center">   
    <font style="text-transform: uppercase;" face="Verdana" size="+1" color="#000000"><b>{TOPIC_TITLE}</b></font><sup><br><!-- IF U_MCP -->
        <a style="font-size:11px; color:red; !important " href="{U_MCP}">{L_MCP}</a>
    <!-- ENDIF --></sup></p>
    <br />
    <!-- IF MODERATORS -->
       <p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p>
    <!-- ENDIF -->

    </div>
    <br />
    <br />

    <div id="pagecontent">

       <table width="100%" cellspacing="1">
       <tr>
          <td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
          <!-- IF not S_IS_BOT -->
             <!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a>&nbsp;<!-- ENDIF -->
             <!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
          <!-- ENDIF -->
          </td>
          <!-- IF TOTAL_POSTS -->
             <td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
             <td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_POSTS} ]&nbsp;</td>
             <td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
          <!-- ENDIF -->
       </tr>
       </table>

       <table class="tablebg" width="100%" cellspacing="1">
       <tr>
          <td class="cat">
             <table width="100%" cellspacing="0">
             <tr>
                <td class="nav" nowrap="nowrap">&nbsp;
                <!-- IF not S_IS_BOT -->
                   <!-- IF U_WATCH_TOPIC --><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC or U_BOOKMARK_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
                   <!-- IF U_BOOKMARK_TOPIC --><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
                   <!-- IF U_PRINT_TOPIC --><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}">{L_PRINT_TOPIC}</a><!-- IF U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
                   <!-- IF U_EMAIL_TOPIC --><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}">{L_EMAIL_TOPIC}</a><!-- IF U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
                   <!-- IF U_BUMP_TOPIC --><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a><!-- ENDIF -->
                <!-- ENDIF -->
                </td>
                <td class="nav" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> | <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a><!-- ENDIF --> | <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a>&nbsp;</td>
             </tr>
             </table>
          </td>
       </tr>
    <!-- IF S_HAS_POLL -->
       <tr>
          <td class="row2" colspan="2" align="center"><br clear="all" />

             <form method="post" action="{S_POLL_ACTION}">

             <table cellspacing="0" cellpadding="4" border="0" align="center">
             <tr>
                <td align="center"><span class="gen"><b>{POLL_QUESTION}</b></span><br /><span class="gensmall">{L_POLL_LENGTH}</span></td>
             </tr>
             <tr>
                <td align="{S_CONTENT_FLOW_BEGIN}">
                   <table cellspacing="0" cellpadding="2" border="0">
                <!-- BEGIN poll_option -->
                   <tr>
                   <!-- IF S_CAN_VOTE -->
                      <td>
                         <!-- IF S_IS_MULTI_CHOICE -->
                            <input type="checkbox" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
                         <!-- ELSE -->
                            <input type="radio" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
                         <!-- ENDIF -->
                      </td>
                   <!-- ENDIF -->
                      <td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td>
                      <!-- IF S_DISPLAY_RESULTS -->
                         <td dir="ltr">{POLL_LEFT_CAP_IMG}{poll_option.POLL_OPTION_IMG}{POLL_RIGHT_CAP_IMG}</td>
                         <td class="gen" align="{S_CONTENT_FLOW_END}"><b>&nbsp;{poll_option.POLL_OPTION_PERCENT}&nbsp;</b></td>
                         <td class="gen" align="center">[ {poll_option.POLL_OPTION_RESULT} ]</td>
                         <!-- IF poll_option.POLL_OPTION_VOTED -->
                            <td class="gensmall" valign="top"><b title="{L_POLL_VOTED_OPTION}">x</b></td>
                         <!-- ENDIF -->
                      <!-- ENDIF -->
                   </tr>
                <!-- END poll_option -->
                   </table>
                </td>
             </tr>
          <!-- IF S_CAN_VOTE -->
             <tr>
                <td align="center"><span class="gensmall">{L_MAX_VOTES}</span><br /><br /><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="btnlite" /></td>
             </tr>
          <!-- ENDIF -->
          <!-- IF S_DISPLAY_RESULTS -->
             <tr>
                <td class="gensmall" colspan="4" align="center"><b>{L_TOTAL_VOTES} : {TOTAL_VOTES}</b></td>
             </tr>
          <!-- ELSE -->
             <tr>
                <td align="center"><span class="gensmall"><b><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></b></span></td>
             </tr>
          <!-- ENDIF -->
             </table>
             {S_HIDDEN_FIELDS}
             
             </form>
             
          </td>
       </tr>
    <!-- ENDIF -->
       </table>

       <!-- BEGIN postrow -->


       <table class="tablebg" width="100%" cellspacing="1">
       <!-- IF postrow.S_FIRST_ROW -->
          <tr>
             <th colspan="6"><p align="left">{postrow.POST_DATE}</p></th>
          
          </tr>   <!-- ELSE -->   <tr>
             <th colspan="6"><p align="left">{postrow.POST_DATE}</p></th>
          
          </tr>
       <!-- ENDIF -->
  <tr colspan="2">
         <td>
         {postrow.ONLINE_IMG}
         <!-- IF postrow.RANK_TITLE -->
         {postrow.RANK_TITLE}
         <!-- ENDIF -->
         <!-- IF postrow.RANK_IMG -->
         {postrow.RANK_IMG}
         <!-- ENDIF -->
         <!-- IF postrow.POSTER_AVATAR -->
         {postrow.POSTER_AVATAR}
         </td>
      </tr>
       <tr>

       <!-- IF postrow.S_IGNORE_POST -->
             <td class="row2" colspan="2" height="25" align="center"><!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>{postrow.L_IGNORE_POST}</td>
       <!-- ELSE -->

             <td class="row2" align="center" valign="middle">   
             <!-- IF postrow.ONLINE_IMG -->
          
                   <span style="float: left;" >{postrow.ONLINE_IMG}</span><!-- ENDIF -->
                <!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>
                <span class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</span>
             </td>
             <td class="row1" width="100%" height="25">
                <table width="100%" cellspacing="0">
                <tr>
                <!-- IF postrow.POST_ICON_IMG -->
                   <td class="row1"><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" title="" /></td>
                <!-- ENDIF -->
                   <td class="row1" width="100%"><div style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<span class="genmed"><b>{postrow.POST_SUBJECT}</b></span></div></td>
                </tr>
                </table>
             </td>
          </tr>
          
       <tr>

             <td class="row2" valign="top">
                <table cellspacing="4" align="center" width="180">
             
          <!-- IF postrow.RANK_TITLE -->
                <tr>
                   <td>{postrow.RANK_TITLE}</td>
                </tr>
             <!-- ENDIF -->
             <!-- IF postrow.RANK_IMG -->
                <tr>
                   <td>{postrow.RANK_IMG}</td>
                </tr>
             <!-- ENDIF -->
             <!-- IF postrow.POSTER_AVATAR -->
                <tr>
                   <td>{postrow.POSTER_AVATAR}</td>
                </tr>
    <!-- ELSE -->
    <tr>
                   <td><img src="{T_THEME_PATH}/images/avatar_yok.gif" width="90" height="90" alt="" /></td>
                </tr>
    <!-- ENDIF -->

                </table>

                <span>
                   <!-- IF postrow.POSTER_JOINED --><div class="postdetails"><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}</div><!-- ENDIF -->
                   <!-- IF postrow.POSTER_POSTS != '' --><div class="postdetails"><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}</div><!-- ENDIF -->
             
                   <!-- IF postrow.POSTER_AGE != '' --><div class="postdetails"><b>{L_AGE}:</b> {postrow.POSTER_AGE}</div><!-- ENDIF -->
                   <!-- IF postrow.POSTER_FROM --><div class="postdetails"><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}</div><!-- ENDIF -->
                   <!-- IF postrow.S_PROFILE_FIELD1 -->
                      <!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
                      <div class="postdetails"><b>{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE}</div>
                   <!-- ENDIF -->

                   <!-- BEGIN custom_fields -->
                      <div class="postdetails"><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}</div>
                   <!-- END custom_fields -->
                   
                   <div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<!-- IF postrow.U_PROFILE --><a href="{postrow.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->&nbsp;</div>
                   
                   

                </span></td>
             <td class="row1" valign="top">
                <table width="100%" cellspacing="5">
                <tr>
                   <td class="row1">
                   <!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
                      <table width="100%" cellspacing="0">
                      <tr>
                         <td class="row1"><!-- IF postrow.S_POST_UNAPPROVED --><span class="postapprove">{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span> <!-- ENDIF --> <!-- IF postrow.S_POST_REPORTED --><span class="postreported">{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF --></td>
                      </tr>
                      </table>

                      <br clear="all" />
                   <!-- ENDIF -->

                      <div class="postbody">{postrow.MESSAGE}</div>

                   <!-- IF postrow.S_HAS_ATTACHMENTS -->
                      <br clear="all" /><br />

                      <table class="tablebg" width="100%" cellspacing="1">
                      <tr>
                         <td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>
                      </tr>
                      <!-- BEGIN attachment -->
                         <tr>
                            <!-- IF postrow.attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{postrow.attachment.DISPLAY_ATTACHMENT}</td>
                         </tr>
                      <!-- END attachment -->
                      </table>
                   <!-- ENDIF -->

                   <!-- IF postrow.S_DISPLAY_NOTICE -->
                      <span class="gensmall error"><br /><br />{L_DOWNLOAD_NOTICE}</span>
                   <!-- ENDIF -->

                   <!-- IF postrow.SIGNATURE -->

                      <span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span>
                   <!-- ENDIF -->

                   <!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
                      <!-- IF postrow.EDIT_REASON -->
                         <br /><br />
                         <table class="tablebg" width="100%" cellspacing="1">
                         <tr>
                            <td class="row3"><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
                         </tr>
                         <tr>
                            <td class="row2"><span class="genmed">{postrow.EDIT_REASON}</span></td>
                         </tr>
                         </table>
                      <!-- ELSE -->
                         <br /><br />
                         <span class="gensmall">{postrow.EDITED_MESSAGE}</span>
                      <!-- ENDIF -->
                   <!-- ENDIF -->

                   <!-- IF postrow.BUMPED_MESSAGE -->
                      <span class="gensmall">{postrow.BUMPED_MESSAGE}</span>
                   <!-- ENDIF -->

                   <!-- IF not postrow.S_HAS_ATTACHMENTS --><br clear="all" /><br /><!-- ENDIF -->

                      <table width="100%" cellspacing="0">
                      <tr valign="middle">
                         <td class="gensmall" align="{S_CONTENT_FLOW_END}">
                         <!-- IF not S_IS_BOT -->
                            <!-- IF postrow.U_REPORT --><a href="{postrow.U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF -->
                            <!-- IF postrow.U_INFO --><a href="{postrow.U_INFO}">{INFO_IMG}</a> <!-- ENDIF -->
                            <!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}">{WARN_IMG}</a> <!-- ENDIF -->
                            <!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF -->
                         <!-- ENDIF -->
                         </td>
                      </tr>
                      </table>
                   </td>
                </tr>
                </table>
             </td>
          </tr>

       <tr>

             <td class="row2"><img src="{T_THEME_PATH}/images/icon_top.gif" width="13" height="12" alt="Başa Dön" />&nbsp;<a href="#wrapheader"><strong>{L_BACK_TO_TOP}</strong></a></td>
             <td class="row1"><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<!-- IF postrow.U_PROFILE --><a href="{postrow.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->&nbsp;</div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF not S_IS_BOT --><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- ENDIF -->&nbsp;</div></td>
          </tr>

       <!-- ENDIF -->
       
       
       </table>
    <!-- END postrow -->
    <!-- IF S_QR_ENABLED -->
       <!-- INCLUDE posting_qr_body.html -->
    <!-- ENDIF -->


       <table width="100%" cellspacing="1" class="tablebg">
       <tr align="center">
          <td class="cat"><form name="viewtopic" method="post" action="{S_TOPIC_ACTION}"><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS}&nbsp;<span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}&nbsp;<input class="btnlite" type="submit" value="{L_GO}" name="sort" /></form></td>
       </tr>
       </table>

       <table width="100%" cellspacing="1">
       <tr>
          <td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
          <!-- IF not S_IS_BOT -->
             <!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a>&nbsp;<!-- ENDIF -->
             <!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
          <!-- ENDIF -->
          </td>
          <!-- IF TOTAL_POSTS -->
             <td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
             <td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_POSTS} ]&nbsp;</td>
             <td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
          <!-- ENDIF -->
       </tr>
       </table>

    </div>



    <div id="pagefooter"></div>

    <br clear="all" />

    <!-- INCLUDE breadcrumbs.html -->

    <!-- IF S_DISPLAY_ONLINE_LIST -->
       <br clear="all" />

       <table class="tablebg" width="100%" cellspacing="1">
       <tr>
          <td class="cat"><h4>{L_WHO_IS_ONLINE}</h4></td>
       </tr>
       <tr>
          <td class="row1"><p class="gensmall">{LOGGED_IN_USER_LIST}</p></td>
       </tr>
       </table>
    <!-- ENDIF -->

    <br clear="all" />

    <table width="100%" cellspacing="1">
    <tr>
       <td width="40%" valign="top" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><!-- IF S_TOPIC_MOD --><form method="post" action="{S_MOD_ACTION}"><span class="gensmall">{L_QUICK_MOD}:</span> {S_TOPIC_MOD} <input class="btnlite" type="submit" value="{L_GO}" /></form><!-- ENDIF --></td>
       <td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><span class="gensmall"><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></span></td>
    </tr>
    </table>

    <br clear="all" />

    <table width="100%" cellspacing="0">
    <tr>
       <td><!-- IF S_DISPLAY_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>
       <td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></td>
    </tr>
    </table>

    <!-- INCLUDE overall_footer.html -->
after that refresh your template ( acp -> styles -> templates -> refresh ) .
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!

User avatar
Ejkia
Registered User
Posts: 7
Joined: Tue Aug 05, 2008 5:11 pm

Re: Like Vbulletin style

Post by Ejkia » Thu Aug 07, 2008 6:10 am

can't :? :?

if ihermit give viewtopic_body.html file maybe i can

please!
My Site
ver :3.0.2

Locked

Return to “[3.0.x] Styles Support & Discussion”