global $fcache, $moderatorcache, $forumpermissions, $theme, $mybb, $templates, $bgcolor, $collapsed, $lang, $showdepth, $plugins, $parser, $forum_viewers;
global $db, $fcache, $moderatorcache, $forumpermissions, $theme, $mybb, $templates, $bgcolor, $collapsed, $lang, $showdepth, $plugins, $parser, $forum_viewers;
<?php
elseif($hideinfo != true)
{
<?php
elseif($hideinfo != true)
{
/************** Prefijos en el Index ************ */
// @Autor: Mattia
// @Web: www.methack.it/forum/
// @Creditos: Solstice
// Obtener detalles de la base de datos.
$thread = get_thread($lastpost_data['lastposttid']);
// Obtener el prefijo si hay uno.
$thread['threadprefix'] = '';
$thread['displayprefix'] = '';
if($thread['prefix'] != 0)
{
$query = $db->simple_select('threadprefixes', 'prefix, displaystyle', "pid='{$thread['prefix']}'");
$threadprefix = $db->fetch_array($query);
$thread['threadprefix'] = $threadprefix['prefix'].' ';
$thread['displayprefix'] = $threadprefix['displaystyle'].' ';
}
/************** Fin de la modificacion ***************** */
<?php
$lastpost_subject = $full_lastpost_subject = $parser->parse_badwords($lastpost_data['lastpostsubject']);
<?php
$lastpost_subject = $full_lastpost_subject = $thread['threadprefix'] . $parser->parse_badwords($lastpost_data['lastpostsubject']);
<?php
{$thread['displayprefix']}
<?php
<a href="{$lastpost_link}" style="white-space:nowrap"