Code: Select all
<a href="{U_INDEX}">{SITE_LOGO_IMG}</a>
Code: Select all
<div style="float:right;"> here is your ad code</div>
Code: Select all
<div class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</div>
Code: Select all
<div class="postauthor">{postrow.POST_AUTHOR_FULL}</div>
Code: Select all
<!-- END postrow -->
Code: Select all
<!-- IF (ADS_5 and postrow.S_FIRST_ROW) or (ADS_6 and not postrow.S_FIRST_ROW) -->
<div class="post bg3">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="postbody" style="width: 100%;">
<h3>{L_ADVERTISEMENT}</h3>
<div style="font-size: 1.1em; margin: 0px auto; text-align: center;">
<!-- IF postrow.S_FIRST_ROW -->{ADS_5}<!-- ELSE -->{ADS_6}<!-- ENDIF -->
</div>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
OK, thank you very much.…" width="100%"><tr><td align="middle" style="padding-right: 5px;"><img src=".
Code: Select all
<!-- IF $CA_SPLIT_POSTS and not postrow.S_LAST_ROW -->
</table>
{$CA_BLOCK_END}
<br />
<!-- ELSEIF not $CA_SKIP_LAST_SPACER or not postrow.S_LAST_ROW -->
Code: Select all
<!-- IF (ADS_5 and postrow.S_FIRST_ROW) or (ADS_6 and not postrow.S_FIRST_ROW) -->
<tr>
<td colspan="2" class="row1" align="center">
<!-- IF postrow.S_FIRST_ROW -->{ADS_5}<!-- ELSE -->{ADS_6}<!-- ENDIF -->
</td>
</tr>
<!-- ENDIF -->
WOW! THAT IS VERY FAST! Thank you very much.CyberAlien wrote:find this:and add before it:Code: Select all
<!-- IF $CA_SPLIT_POSTS and not postrow.S_LAST_ROW --> </table> {$CA_BLOCK_END} <br /> <!-- ELSEIF not $CA_SKIP_LAST_SPACER or not postrow.S_LAST_ROW -->
As for align, correct value is "center". If you want to vertically align it, use valign="middle"Code: Select all
<!-- IF (ADS_5 and postrow.S_FIRST_ROW) or (ADS_6 and not postrow.S_FIRST_ROW) --> <tr> <td colspan="2" class="row1" align="center"> <!-- IF postrow.S_FIRST_ROW -->{ADS_5}<!-- ELSE -->{ADS_6}<!-- ENDIF --> </td> </tr> <!-- ENDIF -->
In which file my friend.CyberAlien wrote:Its a typo I've made in style. Change align="middle" to valign="middle". There are two such typos in forumlist_body.html, change them both.
Code: Select all
<!-- INCLUDE overall_header.html -->
<!-- IF FORUM_SPONSOR -->
<div style="margin: 0 auto; text-align: center;">{FORUM_SPONSOR}</div>
<br clear="all" />
<!-- ENDIF -->
<!-- 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 -->
<!-- IF S_DISPLAY_ACTIVE -->
<!-- IF S_TOPIC_ICONS --><!-- BEGIN topicrow --><!-- IF topicrow.TOPIC_ICON_IMG --><!-- DEFINE $CA_HAS_ICONS = '1' --><!-- ENDIF --><!-- END topicrow --><!-- ENDIF -->
{$CA_BLOCK_START}
{$CA_CAP2_START}{L_ACTIVE_TOPICS}{$CA_CAP2_END}
<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
<tr>
<!-- IF $CA_HAS_ICONS -->
<th colspan="3"> {L_TOPICS} </th>
<!-- ELSE -->
<th colspan="2"> {L_TOPICS} </th>
<!-- ENDIF -->
<th> {L_AUTHOR} </th>
<th> {L_REPLIES} </th>
<th> {L_VIEWS} </th>
<th> {L_LAST_POST} </th>
</tr>
<!-- BEGIN topicrow -->
<tr>
<td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>
<!-- IF $CA_HAS_ICONS -->
<td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ELSE --> <!-- ENDIF --></td>
<!-- ENDIF -->
<td class="row1">
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
{topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}" class="topictitle<!-- IF topicrow.S_UNREAD_TOPIC --> link-new<!-- ENDIF -->">{topicrow.TOPIC_TITLE}</a>
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
<a href="{topicrow.U_MCP_QUEUE}">{UNAPPROVED_IMG}</a>
<!-- ENDIF -->
<!-- IF topicrow.S_TOPIC_REPORTED -->
<a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a>
<!-- ENDIF -->
<!-- IF topicrow.PAGINATION -->
<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
<!-- ENDIF -->
</td>
<td class="row2" width="130" align="center"><p class="topicauthor">{topicrow.TOPIC_AUTHOR_FULL}</p></td>
<td class="row1" width="50" align="center"><p class="topicdetails"><a href="{topicrow.U_WHO_POSTED}" onclick="popup(this.href, 500, 300, '_who_posted'); return false;">{topicrow.REPLIES}</a></p></td>
<td class="row2" width="50" align="center"><p class="topicdetails">{topicrow.VIEWS}</p></td>
<td class="row1" width="140" align="center">
<p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p>
<p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL}
<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->
</p>
</td>
</tr>
<!-- BEGINELSE -->
<!-- IF S_IS_POSTABLE -->
<tr>
<!-- IF $CA_HAS_ICONS -->
<td class="row1" colspan="7" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td>
<!-- ELSE -->
<td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td>
<!-- ENDIF -->
</tr>
<!-- ENDIF -->
<!-- END topicrow -->
<tr align="center">
<td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"> </td>
</tr>
</table>
{$CA_BLOCK_END}
<br clear="all" />
<!-- ENDIF -->
<!-- IF S_HAS_SUBFORUM -->
<!-- INCLUDE forumlist_body.html -->
<!-- ENDIF -->
<!-- IF S_IS_POSTABLE or S_NO_READ_ACCESS -->
<div id="pageheader">
<!-- IF not $CA_FORUMLIST -->
<h2><a class="titles" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2>
<!-- ENDIF -->
<!-- IF MODERATORS -->
<p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p>
<!-- ENDIF -->
<!-- IF U_MCP -->
<p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
<!-- ENDIF -->
</div>
<br clear="all" />
<!-- ENDIF -->
<div id="pagecontent">
<!-- IF S_NO_READ_ACCESS -->
{$CA_BLOCK_START}
{$CA_CAP2_START}{L_MESSAGE}{$CA_CAP2_END}
<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
<tr>
<td class="row1" height="30" align="center" valign="middle"><span class="gen">{L_NO_READ_ACCESS}</span></td>
</tr>
</table>
{$CA_BLOCK_END}
<!-- IF not S_USER_LOGGED_IN -->
<br /><br />
<form method="post" action="{S_LOGIN_ACTION}">
{$CA_BLOCK_START}
{$CA_CAP2_START}<a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>{$CA_CAP2_END}
<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
<tr>
<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" /> <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" /><!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF --> <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
</tr>
</table>
{$CA_BLOCK_END}
</form>
<!-- ENDIF -->
<br clear="all" />
<!-- ENDIF -->
<!-- IF S_DISPLAY_POST_INFO or TOTAL_TOPICS -->
<table width="100%" cellspacing="1">
<tr>
<!-- IF S_DISPLAY_POST_INFO and not S_IS_BOT -->
<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle"><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a></td>
<!-- ENDIF -->
<!-- IF S_IS_POSTABLE -->
<!-- IF TOTAL_TOPICS -->
<td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td>
<td class="gensmall" nowrap="nowrap"> [ {TOTAL_TOPICS} ] </td>
<!-- ENDIF -->
<td align="{S_CONTENT_FLOW_END}" width="100%">
<!-- IF S_WATCH_FORUM_LINK --><a href="{S_WATCH_FORUM_LINK}">{S_WATCH_FORUM_TITLE}</a> <!-- IF U_MARK_TOPICS -->| <!-- ENDIF --><!-- ENDIF -->
<!-- IF U_MARK_TOPICS --><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a> <!-- ENDIF -->
<!-- IF TOTAL_TOPICS --><br /><!-- INCLUDE pagination.html --><!-- ENDIF -->
</td>
<!-- ELSEIF TOTAL_TOPICS -->
<td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td>
<td class="gensmall" nowrap="nowrap"> [ {TOTAL_TOPICS} ] </td>
<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
<!-- ENDIF -->
</tr>
</table>
<!-- ENDIF -->
<!-- IF not S_DISPLAY_ACTIVE and (S_IS_POSTABLE or .topicrow) -->
<!-- IF S_TOPIC_ICONS --><!-- BEGIN topicrow --><!-- IF topicrow.TOPIC_ICON_IMG --><!-- DEFINE $CA_HAS_ICONS = '1' --><!-- ENDIF --><!-- END topicrow --><!-- ENDIF -->
{$CA_BLOCK_START}
{$CA_CAP2_START}{FORUM_NAME}{$CA_CAP2_END}
<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
<tr>
<!-- IF $CA_HAS_ICONS -->
<th colspan="3"> {L_TOPICS} </th>
<!-- ELSE -->
<th colspan="2"> {L_TOPICS} </th>
<!-- ENDIF -->
<th> {L_AUTHOR} </th>
<th> {L_REPLIES} </th>
<th> {L_VIEWS} </th>
<th> {L_LAST_POST} </th>
</tr>
<!-- BEGIN topicrow -->
<!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 -->
<tr>
<td class="row3" colspan="<!-- IF $CA_HAS_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_ANNOUNCEMENTS}</b></td>
</tr>
<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH eq 0 -->
<tr>
<td class="row3" colspan="<!-- IF $CA_HAS_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_TOPICS}</b></td>
</tr>
<!-- ENDIF -->
<tr>
<td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>
<!-- IF $CA_HAS_ICONS -->
<td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ELSE --> <!-- ENDIF --></td>
<!-- ENDIF -->
<td class="row1">
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
{topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}" class="topictitle<!-- IF topicrow.S_UNREAD_TOPIC --> link-new<!-- ENDIF -->">{topicrow.TOPIC_TITLE}</a>
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
<a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a>
<!-- ENDIF -->
<!-- IF topicrow.S_TOPIC_REPORTED -->
<a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a>
<!-- ENDIF -->
<!-- IF topicrow.PAGINATION -->
<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
<!-- ENDIF -->
</td>
<td class="row2" width="130" align="center"><p class="topicauthor">{topicrow.TOPIC_AUTHOR_FULL}</p></td>
<td class="row1" width="50" align="center"><p class="topicdetails"><a href="{topicrow.U_WHO_POSTED}" onclick="popup(this.href, 500, 300, '_who_posted'); return false;">{topicrow.REPLIES}</a></p></td>
<td class="row2" width="50" align="center"><p class="topicdetails">{topicrow.VIEWS}</p></td>
<td class="row1" width="140" align="center">
<p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p>
<p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL}
<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->
</p>
</td>
</tr>
<!-- BEGINELSE -->
<tr>
<!-- IF $CA_HAS_ICONS -->
<td class="row1" colspan="7" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td>
<!-- ELSE -->
<td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td>
<!-- ENDIF -->
</tr>
<!-- END topicrow -->
<!-- IF not S_IS_BOT -->
<tr align="center">
<!-- IF $CA_HAS_ICONS -->
<td class="cat" colspan="7">
<!-- ELSE -->
<td class="cat" colspan="6">
<!-- ENDIF -->
<form method="post" action="{S_FORUM_ACTION}"><span class="gensmall">{L_DISPLAY_TOPICS}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" name="sort" value="{L_GO}" /></form>
</td>
</tr>
<!-- ENDIF -->
</table>
{$CA_BLOCK_END}
<!-- ENDIF -->
<!-- IF S_DISPLAY_POST_INFO or TOTAL_TOPICS -->
<table width="100%" cellspacing="1">
<tr>
<!-- IF S_DISPLAY_POST_INFO and not S_IS_BOT -->
<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle"><!-- IF not S_IS_BOT --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a><!-- ENDIF --></td>
<!-- ENDIF -->
<!-- IF TOTAL_TOPICS -->
<td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}</td>
<td class="gensmall" nowrap="nowrap"> [ {TOTAL_TOPICS} ] </td>
<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
<!-- ENDIF -->
</tr>
</table>
<!-- ENDIF -->
<br clear="all" />
</div>
<!-- INCLUDE breadcrumbs.html -->
<!-- IF S_DISPLAY_ONLINE_LIST -->
<br clear="all" />
<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
<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 -->
<!-- IF S_DISPLAY_POST_INFO -->
<br clear="all" />
<table width="100%" cellspacing="0">
<tr>
<td align="{S_CONTENT_FLOW_BEGIN}" valign="top">
<table cellspacing="3" cellpadding="0" border="0" class="legend legend-viewforum">
<tr>
<td width="20" style="text-align: center;">{FOLDER_NEW_IMG}</td>
<td class="gensmall">{L_NEW_POSTS}</td>
<td> </td>
<td width="20" style="text-align: center;">{FOLDER_IMG}</td>
<td class="gensmall">{L_NO_NEW_POSTS}</td>
<td> </td>
<td width="20" style="text-align: center;">{FOLDER_ANNOUNCE_IMG}</td>
<td class="gensmall">{L_ICON_ANNOUNCEMENT}</td>
</tr>
<tr>
<td style="text-align: center;">{FOLDER_HOT_NEW_IMG}</td>
<td class="gensmall">{L_NEW_POSTS_HOT}</td>
<td> </td>
<td style="text-align: center;">{FOLDER_HOT_IMG}</td>
<td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
<td> </td>
<td style="text-align: center;">{FOLDER_STICKY_IMG}</td>
<td class="gensmall">{L_ICON_STICKY}</td>
</tr>
<tr>
<td style="text-align: center;">{FOLDER_LOCKED_NEW_IMG}</td>
<td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
<td> </td>
<td style="text-align: center;">{FOLDER_LOCKED_IMG}</td>
<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
<td> </td>
<td style="text-align: center;">{FOLDER_MOVED_IMG}</td>
<td class="gensmall">{L_TOPIC_MOVED}</td>
</tr>
</table>
</td>
<td align="{S_CONTENT_FLOW_END}"><span class="gensmall"><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></span></td>
</tr>
</table>
<!-- ENDIF -->
<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 -->
CyberAlien wrote:in forumlist_body.html