Adicionar antes
Enviado: 22 Jan 2026, 20:17
Uso do BBCode
Substituição do HTML
Linha de ajuda
Ex
Código: Selecionar todos
[antes]{TEXT}[/antes]Código: Selecionar todos
<div class="codebox" style="border-left: 4px solid #D1A110 !important; background-color: #fffdf2 !important; padding: 8px !important; margin: 10px 0 !important;">
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; border-bottom: 1px solid #ede4c2; padding-bottom: 5px;">
<strong style="color: #856404; font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif; font-size: 0.9em;">🔍 ANTES ADICIONE:</strong>
<a href="#" onclick="selectCode(this); return false;" style="color: #856404; font-size: 0.8em; text-decoration: none; font-weight: bold; text-transform: uppercase; border: 1px solid #D1A110; padding: 2px 6px; border-radius: 4px; background: #ffffff; font-family: Arial, sans-serif;">Selecionar tudo</a>
</div>
<div class="custom-scroll" style="max-height: 250px !important; overflow: auto !important;">
<pre style="margin: 0; padding: 0; background: transparent; border: none;"><code style="color: #333333; white-space: pre; display: block; user-select: all; font-family: Monaco, 'Andale Mono', 'Courier New', monospace; font-size: 1.1em; width: max-content; min-width: 100%;">{TEXT}</code></pre>
</div>
</div>
<script>
if (typeof selectCode !== 'function') {
function selectCode(a) {
var e = a.closest('div').parentNode.querySelector('code');
if (window.getSelection) {
var s = window.getSelection();
var r = document.createRange();
r.selectNodeContents(e);
s.removeAllRanges();
s.addRange(r);
} else if (document.selection) {
var r = document.body.createTextRange();
r.moveToElementText(e);
r.select();
}
}
}
</script>Código: Selecionar todos
Seu texto aqui🔍 ANTES ADICIONE:Selecionar tudo
require($phpbb_root_path . 'includes/startup.' . $phpEx);
require($phpbb_root_path . 'phpbb/class_loader.' . $phpEx);