Cum pot sa fac asa ....
Scris: 02-Sep-2013, 00:30:13
Salut! Cand posteaza cineva un Global / Announce /Sticky as vrea sa apara asa in viewforum :
http://i41.tinypic.com/2hnba5g.png
Demo aici: Link
Si acesa este viewforum_body.html meu:
http://i41.tinypic.com/2hnba5g.png
Demo aici: Link
Si acesa este viewforum_body.html meu:
Cod: Selectaţi tot
<!-- INCLUDE overall_header.html -->
<div style="padding-top:1px;">
<div class="view_topic_bg">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="left">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="16" ><img src="{T_THEME_PATH}/images/arrow.png" /></td>
<td><p><a style="color:#fff; font-size:12px; font-weight:bold; font-family:Arial, Helvetica, sans-serif;" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></p><span style="color:#686868;">{PAGE_NUMBER} » {TOTAL_TOPICS} <!-- IF U_MCP -->» <a href="{U_MCP}">{L_MCP}</a><!-- ENDIF --></span></td>
</tr>
</table>
</td>
<td align="right"><!-- IF S_WATCH_FORUM_LINK and not S_IS_BOT --><a href="{S_WATCH_FORUM_LINK}"><span class="legend_topic">{S_WATCH_FORUM_TITLE}</span></a><!-- ENDIF --> <a href="{U_POST_NEW_TOPIC}"><span class="button_negru">+ Topic Nou</span></a></td>
</tr>
</table>
</div></div>
<div class="rules_bg">
<!-- IF S_FORUM_RULES -->
<div class="rules">
<div class="inner"><span class="corners-top"><span></span></span>
<!-- IF U_FORUM_RULES -->
<a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a>
<!-- ELSE -->
<strong>{L_FORUM_RULES}</strong><br />
{FORUM_RULES}
<!-- ENDIF -->
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
</div>
<!-- IF S_HAS_SUBFORUM -->
<div style="padding-top:3px;">
<div class="wrapcentre" style="border-bottom:2px solid #427dba;">
<!-- INCLUDE forumlist_body.html -->
</div></div>
<!-- ENDIF -->
<table width="1020" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="780" valign="top">
<div style="padding-top:3px;">
<div class="forum_list_bg" style="border-bottom:2px solid #427dba;">
<!-- BEGIN topicrow -->
<!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 -->
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="16" valign="top"><img src="{T_THEME_PATH}/images/arrow.png" /></td>
<td><p><a style="color:#fff; font-size:12px; font-weight:bold; font-family:Arial, Helvetica, sans-serif;" href="{forumrow.U_VIEWFORUM}">{L_ANNOUNCEMENTS}</a></p><span style="color:#686868;">» Announce and Global topics are here.</span></td>
</tr>
</table>
<br />
<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH eq 0 -->
<br />
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="16" valign="top"><img src="{T_THEME_PATH}/images/arrow.png" /></td>
<td><p><a style="color:#fff; font-size:12px; font-weight:bold; font-family:Arial, Helvetica, sans-serif;" href="{forumrow.U_VIEWFORUM}">{L_TOPICS}</a></p><span style="color:#686868;">» Sticky and normal topics are here.</span></td>
</tr>
</table>
<br />
<!-- ENDIF -->
<div class="forumbg">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25" style="padding-left:10px;">
{topicrow.TOPIC_FOLDER_IMG}
</td>
<td width="580" align="left">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}" class="topictitle" <!-- IF topicrow.S_UNREAD_TOPIC --> style="color:#427dba;"<!-- 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 -->
<br />
<img src="{T_THEME_PATH}/images/barica.png" alt="Imagine">by {topicrow.TOPIC_AUTHOR_FULL} on {topicrow.FIRST_POST_TIME}
<!-- IF topicrow.PAGINATION -->
<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
<!-- ENDIF -->
<span class="forumdesc"></span>
</td>
</tr>
</table>
</td>
<td width="250" align="right">
<!-- IF topicrow.LAST_POST_TIME -->
<p class="topicdetails"><!-- IF topicrow.U_UNAPPROVED_TOPICS --><a href="{topicrow.U_UNAPPROVED_TOPICS}">{UNAPPROVED_IMG}</a> <!-- ENDIF --><span style="color:#404040; font-size:9px;">{topicrow.LAST_POST_TIME}</span></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>
<!-- ELSE -->
<p class="topicdetails">{L_NO_POSTS}</p>
<!-- ENDIF -->
</td>
<td width="40" align="center">
<div class="box"> <span class="numere">{topicrow.REPLIES}</span> <br /> <span class="forumdesc" style="color:#404040;">Replici</span></div>
</td>
<td width="50" align="center">
<div class="box"><span class="numere">{topicrow.VIEWS}</span> <br /> <span class="forumdesc" style="color:#404040;">Priviri</span></div>
</td>
</tr>
</table>
</div>
<!-- END topicrow. -->
<br />
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="left"><span class="legend_topic"><!-- IF not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a><!-- ENDIF --></span></td>
<td align="right"><!-- INCLUDE pagination.html --></td>
</tr>
</table>
</div></div>
<div style="padding-top:3px;">
<div class="forum_list_bg" style="border-bottom:2px solid #427dba;">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top">
<table class="legendbg" width="430" cellspacing="0">
<tr>
<td align="{S_CONTENT_FLOW_BEGIN}" valign="top">
<table cellspacing="3" cellpadding="0" border="0">
<tr>
<td width="20" style="text-align: center;">{FOLDER_UNREAD_IMG}</td>
<td class="gensmall1">{L_UNREAD_POSTS}</td>
<td> </td>
<td width="20" style="text-align: center;">{FOLDER_IMG}</td>
<td class="gensmall1">{L_NO_UNREAD_POSTS}</td>
<td> </td>
<td width="20" style="text-align: center;">{FOLDER_ANNOUNCE_IMG}</td>
<td class="gensmall1">{L_ICON_ANNOUNCEMENT}</td>
</tr>
<tr>
<td style="text-align: center;">{FOLDER_HOT_UNREAD_IMG}</td>
<td class="gensmall1">{L_UNREAD_POSTS_HOT}</td>
<td> </td>
<td style="text-align: center;">{FOLDER_HOT_IMG}</td>
<td class="gensmall1">{L_NO_UNREAD_POSTS_HOT}</td>
<td> </td>
<td style="text-align: center;">{FOLDER_STICKY_IMG}</td>
<td class="gensmall1">{L_ICON_STICKY}</td>
</tr>
<tr>
<td style="text-align: center;">{FOLDER_LOCKED_UNREAD_IMG}</td>
<td class="gensmall1">{L_UNREAD_POSTS_LOCKED}</td>
<td> </td>
<td style="text-align: center;">{FOLDER_LOCKED_IMG}</td>
<td class="gensmall1">{L_NO_UNREAD_POSTS_LOCKED}</td>
<td> </td>
<td style="text-align: center;">{FOLDER_MOVED_IMG}</td>
<td class="gensmall1">{L_TOPIC_MOVED}</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td align="right" valign="top">
<!-- IF S_DISPLAY_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --> <br /> <br /> <br />
<!-- INCLUDE jumpbox.html -->
</td>
</tr>
</table>
</div>
</div>
</td>
<td width="243" valign="top">
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<div style="padding-bottom:3px;">
<div class="sidebar" style="border-bottom:2px solid #427dba;">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="16" valign="top"><img src="{T_THEME_PATH}/images/arrow.png" /></td>
<td><p><span style="color:#fff; font-size:12px; font-weight:bold; font-family:Arial, Helvetica, sans-serif;">LOGIN</span></p><span style="color:#686868;">» Autentificare Forum</span></td>
</tr>
</table>
<br />
<form method="post" action="{S_LOGIN_ACTION}">
<span class="genmed">{L_USERNAME}:</span> <input class="login_box" type="text" name="username" style="width:220px;" /><br /><br />
<span class="genmed">{L_PASSWORD}:</span> <input class="login_box" type="password" name="password" style="width:220px;" /><br /> <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF --><br />
<br />
<input type="submit" class="btnmain" name="login" value="{L_LOGIN}" />
{S_LOGIN_REDIRECT}
{S_FORM_TOKEN}
</form>
</div></div>
<!-- ENDIF -->
<div style="padding-top:3px;">
<div class="sidebar" style="border-bottom:2px solid#427dba;">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="16" valign="top"><img src="{T_THEME_PATH}/images/arrow.png" /></td>
<td><p><span style="color:#fff; font-size:12px; font-weight:bold; font-family:Arial, Helvetica, sans-serif;">RULES</span></p><span style="color:#686868;">» Here are the rules</span></td>
</tr>
</table>
<br />
<div class="rulesbg">
<table width="225" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules -->
</td>
</tr>
</table>
</div>
</div></div>
<div style="padding-top:3px;">
<div class="sidebar" style="border-bottom:2px solid #427dba;">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="16" valign="top"><img src="{T_THEME_PATH}/images/arrow.png" /></td>
<td><p><span style="color:#fff; font-size:12px; font-weight:bold; font-family:Arial, Helvetica, sans-serif;">WHO IS ONLINE</span></p><span style="color:#686868;">» People how navigate this forum</span></td>
</tr>
</table>
<br />
<div class="onbg">
<table width="225" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
{LOGGED_IN_USER_LIST}
</td>
</tr>
</table>
</div>
</div></div>
<!-- INCLUDE mediaplayer.html -->
<!-- INCLUDE socialnetwork.html -->
</td>
</tr>
</table>
<!-- INCLUDE overall_footer.html -->