Isto é uma pré-visualização de um tema em Hitskin.com
Instalar o tema • Voltar para a ficha do tema
Organizar template
+2
Shek
Hdesigner
6 participantes
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre a aparência do fórum :: Questões resolvidas sobre a aparência do fórum
Página 1 de 1
Organizar template
- Descrição:
Favor organizar esse código de template: topics_list_box.
- Código:
<script>
jQuery(document).ready(function(){
jQuery('#right').css('display','none');
jQuery('#content').css('margin-right','0px');
});
</script>
<style>
#content-container div#content {
margin-right: 0px;
}
</style>
<!-- BEGIN topics_list_box -->
<!-- BEGIN row -->
<!-- BEGIN header_table -->
<!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
var all_checked = true;
for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
}
}
document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
}
}
}
</script>
<!-- END multi_selection -->
<div class="main-head">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
<!-- END multi_selection -->
<h1 class="page-title">{topics_list_box.row.L_TITLE} [{topics_list_box.row.COUNT_TOTAL_TOPICS}]</h1>
</div>
<div class="main-content">
<table cellspacing="0" class="table">
<thead>
</thead>
<tbody class="statused">
<!-- END header_table -->
<!-- BEGIN header_row -->
<strong>{topics_list_box.row.L_TITLE}</strong>
<!-- END header_row -->
<!-- BEGIN topic -->
<!-- BEGIN table_sticky -->
</tbody>
</table>
</div>
<div class="main-head">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" / >
<!-- END multi_selection -->
<h2>{topics_list_box.row.topic.table_sticky.L_TITLE} [{topics_list_box.row.topic.table_sticky.COUNT_TOTAL_TOPICS}]</h2>
</div>
<div class="main-content">
<table cellspacing="0" class="table">
<thead>
</thead>
<tbody class="statused">
<!-- END table_sticky -->
<tr>
<td class="tcl tdtopics <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
<span class="stats">
<img title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" src="{topics_list_box.row.TOPIC_FOLDER_IMG}" alt="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" />
</span>
<!-- BEGIN single_selection -->
<input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />
<!-- END single_selection -->
{topics_list_box.row.ICON}
{topics_list_box.row.NEWEST_POST_IMG}
{topics_list_box.row.PARTICIPATE_POST_IMG}
{topics_list_box.row.TOPIC_TYPE}
<h2 class="topic-title"><a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a></h2>
{topics_list_box.row.GOTO_OPEN} {topics_list_box.row.GOTO_PAGE_NEW} {topics_list_box.row.GOTO_CLOSE}
{topics_list_box.row.L_BY} {topics_list_box.row.TOPIC_AUTHOR}
<!-- BEGIN switch_description -->
<br />
{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
<!-- END switch_description -->
</td>
<td id="postA" class="tc2 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->"><span class="ipsBadge ipsBadge_orange" data-id="hot_topic" style="display:none;">CHEIO</span><strong data-id="replies" class="RP">{topics_list_box.row.REPLIES}</strong> respostas<br /><strong class="VW"> {topics_list_box.row.VIEWS}</strong> views</td>
<td class="tcr <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.LAST_POST_TIME} {topics_list_box.row.L_BY} {topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}</td>
<!-- BEGIN multi_selection -->
<td><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></td>
<!-- END multi_selection -->
</tr>
<!-- END topic -->
<!-- BEGIN no_topics -->
<tr>
<td class="tcl" colspan="4"><strong>{topics_list_box.row.L_NO_TOPICS}</strong></td>
</tr>
<!-- END no_topics -->
<!-- BEGIN bottom -->
</tbody>
</table>
</div>
<div class="main-foot clearfix">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
<!-- END multi_selection -->
<p class="h2">{L_TOPICS} [{topics_list_box.row.bottom.COUNT_TOTAL_TOPICS}]</p>
<p class="options">
<a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a> {S_WATCH_FORUM} <a href="#top">{L_BACK_TO_TOP}</a>
</p>
</div>
<!-- END bottom -->
<!-- BEGIN spacer --><br /><!-- END spacer -->
<!-- END row -->
<!-- END topics_list_box -->
<script type="text/javascript">
//<![CDATA[
/***
* Copyright (c) 2013 JScript <jscriptbrasil at live.com>
* This work is free. You can redistribute it and/or modify it
* under the terms of the WTFPL, Version 2
*
* For more information, go to the home page:
* http://punbb.forumeiros.com/forum
*/
var replies_value = 7;
var target = $('td.tc2');
target.each(function(index){
var oThis = $(this);
var replies = oThis.children('strong[data-id="replies"]').text();
if (replies > replies_value) {
oThis.children('span[data-id="hot_topic"]').show();
}
});
//]]>
</script>
<style>
.ipsBadge {
display: inline-block;
height: 15px;
line-height: 15px;
padding: 0px 5px;
font-size: 9px;
font-weight: bold;
text-transform: uppercase;
color: #FFF;
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
border-radius: 3px;
background-image: url('http://www.ipbfocus.com/forums/public/style_images/ipbfs34x/highlight.png');
background-repeat: repeat-x;
background-position: 0px -1px;
vertical-align: middle;
}
.ipsBadge_orange {
background: #ED7710;
margin-right: 5px;
}
.tcl.tdtopics #ipsBadge strong {
background:url('http://i56.servimg.com/u/f56/17/97/98/69/highli20.png') repeat scroll 0% 0% #7BA60D;
vertical-align: middle;
display: inline-block;
height: 16px;
line-height: 16px !important;
padding: 0px 5px;
font-size: 9px !important;
font-weight: bold !important;
text-transform: uppercase;
color: rgb(255, 255, 255) !important;
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
border-radius: 3px;
background-repeat: repeat-x;
background-position: 0px -1px;
}
</style>
Que os tópicos e "Anuncios, Anuncios globais e A ler" fiquem nos seus devidos lugares.
- Informações:
Fórum: | http://yardimci.forumbrasil.net/forum | Versão: | PUNBB |
Tipo: | Erros diversos | Tags: | Organizar,template |
Re: Organizar template
Olá!
Poderia me informar a URL do subfórum com uma imagem e mais detalhes do problema?
Atenciosamente,
Shek
Poderia me informar a URL do subfórum com uma imagem e mais detalhes do problema?
Atenciosamente,
Shek
Re: Organizar template
Olá!
Crie um novo javascript, com o código informado abaixo:
Painel de Controle Módulos HTML & JAVASCRIPT Gestão dos Códigos JavaScript
Atenciosamente, Duel.
Crie um novo javascript, com o código informado abaixo:
Painel de Controle Módulos HTML & JAVASCRIPT Gestão dos Códigos JavaScript
- Código:
jQuery( function() {
var xari = jQuery('h1.page-title').html();
var tori = jQuery('p.h2').html();
jQuery('p.h2').html(xari);
jQuery('h1.page-title').html(tori);
});
Atenciosamente, Duel.
Re: Organizar template
Olá Hdesigner,
Não se exalte.
Explique melhor sua dúvida. Quer que organizemos o código do template. OK. Com o objetivo de que tópicos como "Anúncio global", "Anúncio" e "A ler" fiquem em seu devido lugar.
Portanto explique-nos melhor o que quis dizer com seu devido lugar, pois vendo o fórum que mencionou, estão todos posicionados no lugar correto. Por acaso quer separar estes tipos de tópicos por quadro?
Cumprimentos.
Não se exalte.
Explique melhor sua dúvida. Quer que organizemos o código do template. OK. Com o objetivo de que tópicos como "Anúncio global", "Anúncio" e "A ler" fiquem em seu devido lugar.
Portanto explique-nos melhor o que quis dizer com seu devido lugar, pois vendo o fórum que mencionou, estão todos posicionados no lugar correto. Por acaso quer separar estes tipos de tópicos por quadro?
Cumprimentos.
Re: Organizar template
Nyeh?
- Código:
<script>
jQuery(document).ready(function(){
jQuery('#right').css('display','none');
jQuery('#content').css('margin-right','0px');
});
</script>
<style>
#content-container div#content {
margin-right: 0px;
}
</style>
<!-- BEGIN topics_list_box -->
<!-- BEGIN row -->
<!-- BEGIN header_table -->
<!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
var all_checked = true;
for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
}
}
document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
}
}
}
</script>
<!-- END multi_selection -->
<div class="main-head">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
<!-- END multi_selection -->
<h1 class="page-title flip-title">{topics_list_box.row.L_TITLE} [{topics_list_box.row.COUNT_TOTAL_TOPICS}]</h1>
</div>
<div class="main-content">
<table cellspacing="0" class="table">
<thead>
</thead>
<tbody class="statused">
<!-- END header_table -->
<!-- BEGIN header_row -->
<strong>{topics_list_box.row.L_TITLE}</strong>
<!-- END header_row -->
<!-- BEGIN topic -->
<!-- BEGIN table_sticky -->
</tbody>
</table>
</div>
<div class="main-head">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" / >
<!-- END multi_selection -->
<h2>{topics_list_box.row.topic.table_sticky.L_TITLE} [{topics_list_box.row.topic.table_sticky.COUNT_TOTAL_TOPICS}]</h2>
</div>
<div class="main-content">
<table cellspacing="0" class="table">
<thead>
</thead>
<tbody class="statused">
<!-- END table_sticky -->
<tr>
<td class="tcl tdtopics <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
<span class="stats">
<img title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" src="{topics_list_box.row.TOPIC_FOLDER_IMG}" alt="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" />
</span>
<!-- BEGIN single_selection -->
<input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />
<!-- END single_selection -->
{topics_list_box.row.ICON}
{topics_list_box.row.NEWEST_POST_IMG}
{topics_list_box.row.PARTICIPATE_POST_IMG}
{topics_list_box.row.TOPIC_TYPE}
<h2 class="topic-title"><a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a></h2>
{topics_list_box.row.GOTO_OPEN} {topics_list_box.row.GOTO_PAGE_NEW} {topics_list_box.row.GOTO_CLOSE}
{topics_list_box.row.L_BY} {topics_list_box.row.TOPIC_AUTHOR}
<!-- BEGIN switch_description -->
<br />
{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
<!-- END switch_description -->
</td>
<td id="postA" class="tc2 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->"><span class="ipsBadge ipsBadge_orange" data-id="hot_topic" style="display:none;">CHEIO</span><strong data-id="replies" class="RP">{topics_list_box.row.REPLIES}</strong> respostas<br /><strong class="VW"> {topics_list_box.row.VIEWS}</strong> views</td>
<td class="tcr <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.LAST_POST_TIME} {topics_list_box.row.L_BY} {topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}</td>
<!-- BEGIN multi_selection -->
<td><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></td>
<!-- END multi_selection -->
</tr>
<!-- END topic -->
<!-- BEGIN no_topics -->
<tr>
<td class="tcl" colspan="4"><strong>{topics_list_box.row.L_NO_TOPICS}</strong></td>
</tr>
<!-- END no_topics -->
<!-- BEGIN bottom -->
</tbody>
</table>
</div>
<div class="main-foot clearfix">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
<!-- END multi_selection -->
<p class="h2 flip-footer">{L_TOPICS} [{topics_list_box.row.bottom.COUNT_TOTAL_TOPICS}]</p>
<p class="options">
<a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a> {S_WATCH_FORUM} <a href="#top">{L_BACK_TO_TOP}</a>
</p>
</div>
<!-- END bottom -->
<!-- BEGIN spacer --><br /><!-- END spacer -->
<!-- END row -->
<!-- END topics_list_box -->
<script type="text/javascript">
//<![CDATA[
/***
* Copyright (c) 2013 JScript <jscriptbrasil at live.com>
* This work is free. You can redistribute it and/or modify it
* under the terms of the WTFPL, Version 2
*
* For more information, go to the home page:
* http://punbb.forumeiros.com/forum
*/
var replies_value = 7;
var target = $('td.tc2');
target.each(function(index){
var oThis = $(this);
var replies = oThis.children('strong[data-id="replies"]').text();
if (replies > replies_value) {
oThis.children('span[data-id="hot_topic"]').show();
}
});
//]]>
</script>
<style>
.ipsBadge {
display: inline-block;
height: 15px;
line-height: 15px;
padding: 0px 5px;
font-size: 9px;
font-weight: bold;
text-transform: uppercase;
color: #FFF;
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
border-radius: 3px;
background-image: url('http://www.ipbfocus.com/forums/public/style_images/ipbfs34x/highlight.png');
background-repeat: repeat-x;
background-position: 0px -1px;
vertical-align: middle;
}
.ipsBadge_orange {
background: #ED7710;
margin-right: 5px;
}
.tcl.tdtopics #ipsBadge strong {
background:url('http://i56.servimg.com/u/f56/17/97/98/69/highli20.png') repeat scroll 0% 0% #7BA60D;
vertical-align: middle;
display: inline-block;
height: 16px;
line-height: 16px !important;
padding: 0px 5px;
font-size: 9px !important;
font-weight: bold !important;
text-transform: uppercase;
color: rgb(255, 255, 255) !important;
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
border-radius: 3px;
background-repeat: repeat-x;
background-position: 0px -1px;
}
</style>
<script type="text/javascript">
var title, footer;
title = $('.flip-title').text();
footer = $('.flip-footer').text();
$('.flip-title').text(footer);
$('.flip-footer').text(title);
</script>
Re: Organizar template
Olá Destruidor, sim.. quero separa-los nos blocos adequados de cada um.
Os tópicos normais caem no bloco :
ANÚNCIO GLOBAL&ANÚNCIO & A LER
Sendo que existe um bloco para tópicos normais. Quero que cada um caia em seu lugar.
Kyo Panda, seu código não resultou. já o descartei, estou com o meu primeiro funcionando em meu fórum.
Os tópicos normais caem no bloco :
ANÚNCIO GLOBAL&ANÚNCIO & A LER
Sendo que existe um bloco para tópicos normais. Quero que cada um caia em seu lugar.
Kyo Panda, seu código não resultou. já o descartei, estou com o meu primeiro funcionando em meu fórum.
Re: Organizar template
Olá!
Depois de um pequeno estudo, procurando possíveis bugs no seu template. Finalmente consegui, achar a causa de tal erro.
Troque o código por esse:
Clique em 'Por Quadros'.
Espero ter lhe ajudado. Sugiro ter mais paciência com quem tenta lhe ajudar.
Depois de um pequeno estudo, procurando possíveis bugs no seu template. Finalmente consegui, achar a causa de tal erro.
Troque o código por esse:
- Código:
<script>
jQuery(document).ready(function(){
jQuery('#right').css('display','none');
jQuery('#content').css('margin-right','0px');
});
</script>
<style>
#content-container div#content {
margin-right: 0px;
}
</style>
<!-- BEGIN topics_list_box -->
<!-- BEGIN row -->
<!-- BEGIN header_table -->
<!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
var all_checked = true;
for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
}
}
document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
}
}
}
</script>
<!-- END multi_selection -->
<div class="main-head">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
<!-- END multi_selection -->
<h1 class="page-title">{topics_list_box.row.L_TITLE} [{topics_list_box.row.COUNT_TOTAL_TOPICS}]</h1>
</div>
<div class="main-content">
<table cellspacing="0" class="table">
<thead>
</thead>
<tbody class="statused">
<!-- END header_table -->
<!-- BEGIN header_row -->
<strong>{topics_list_box.row.L_TITLE}</strong>
<!-- END header_row -->
<!-- BEGIN topic -->
<!-- BEGIN table_sticky -->
</tbody>
</table>
</div>
<div class="main-head">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" / >
<!-- END multi_selection -->
<h2>{topics_list_box.row.topic.table_sticky.L_TITLE} [{topics_list_box.row.topic.table_sticky.COUNT_TOTAL_TOPICS}]</h2>
</div>
<div class="main-content">
<table cellspacing="0" class="table">
<thead>
</thead>
<tbody class="statused">
<!-- END table_sticky -->
<tr>
<td class="tcl tdtopics <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
<span class="stats">
<img title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" src="{topics_list_box.row.TOPIC_FOLDER_IMG}" alt="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" />
</span>
<!-- BEGIN single_selection -->
<input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />
<!-- END single_selection -->
{topics_list_box.row.ICON}
{topics_list_box.row.NEWEST_POST_IMG}
{topics_list_box.row.PARTICIPATE_POST_IMG}
{topics_list_box.row.TOPIC_TYPE}
<h2 class="topic-title"><a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a></h2>
{topics_list_box.row.GOTO_OPEN} {topics_list_box.row.GOTO_PAGE_NEW} {topics_list_box.row.GOTO_CLOSE}
{topics_list_box.row.L_BY} {topics_list_box.row.TOPIC_AUTHOR}
<!-- BEGIN switch_description -->
<br />
{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
<!-- END switch_description -->
</td>
<td id="postA" class="tc2 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->"><span class="ipsBadge ipsBadge_orange" data-id="hot_topic" style="display:none;">CHEIO</span><strong data-id="replies" class="RP">{topics_list_box.row.REPLIES}</strong> respostas<br /><strong class="VW"> {topics_list_box.row.VIEWS}</strong> views</td>
<td class="tcr <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.LAST_POST_TIME} {topics_list_box.row.L_BY} {topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}</td>
<!-- BEGIN multi_selection -->
<td><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></td>
<!-- END multi_selection -->
</tr>
<!-- END topic -->
<!-- BEGIN no_topics -->
<tr>
<td class="tcl" colspan="4"><strong>{topics_list_box.row.L_NO_TOPICS}</strong></td>
</tr>
<!-- END no_topics -->
<!-- BEGIN bottom -->
</tbody>
</table>
</div>
<div class="main-foot clearfix">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
<!-- END multi_selection -->
<p class="options">
<a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a> {S_WATCH_FORUM} <a href="#top">{L_BACK_TO_TOP}</a>
</p>
</div>
<!-- END bottom -->
<!-- BEGIN spacer --><br /><!-- END spacer -->
<!-- END row -->
<!-- END topics_list_box -->
<script type="text/javascript">
//<![CDATA[
/***
* Copyright (c) 2013 JScript <jscriptbrasil at live.com>
* This work is free. You can redistribute it and/or modify it
* under the terms of the WTFPL, Version 2
*
* For more information, go to the home page:
* http://punbb.forumeiros.com/forum
*/
var replies_value = 7;
var target = $('td.tc2');
target.each(function(index){
var oThis = $(this);
var replies = oThis.children('strong[data-id="replies"]').text();
if (replies > replies_value) {
oThis.children('span[data-id="hot_topic"]').show();
}
});
//]]>
</script>
<style>
.ipsBadge {
display: inline-block;
height: 15px;
line-height: 15px;
padding: 0px 5px;
font-size: 9px;
font-weight: bold;
text-transform: uppercase;
color: #FFF;
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
border-radius: 3px;
background-image: url('http://www.ipbfocus.com/forums/public/style_images/ipbfs34x/highlight.png');
background-repeat: repeat-x;
background-position: 0px -1px;
vertical-align: middle;
}
.ipsBadge_orange {
background: #ED7710;
margin-right: 5px;
}
.tcl.tdtopics #ipsBadge strong {
background:url('http://i56.servimg.com/u/f56/17/97/98/69/highli20.png') repeat scroll 0% 0% #7BA60D;
vertical-align: middle;
display: inline-block;
height: 16px;
line-height: 16px !important;
padding: 0px 5px;
font-size: 9px !important;
font-weight: bold !important;
text-transform: uppercase;
color: rgb(255, 255, 255) !important;
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
border-radius: 3px;
background-repeat: repeat-x;
background-position: 0px -1px;
}
</style>
Clique em 'Por Quadros'.
Espero ter lhe ajudado. Sugiro ter mais paciência com quem tenta lhe ajudar.
Fórum dos Fóruns :: Ajuda e atendimento ao utilizador :: Questões sobre a aparência do fórum :: Questões resolvidas sobre a aparência do fórum
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos