$row->comment = $bbcode->ReplaceTextOnce($row->comment, 'moved'); } if (count($q) > 0) { $bbcode->setHighlight('highlight', $q); } $row->comment = $bbcode->parse($row->comment); if ($my->opt_showsig == 1) { BBProfile($bbcode, 'signature'); $row->signature = $bbcode->parse($row->signature); } if ($config['post_user_status'] == 1) { $row->lang_online = $lang->phrase('profile_' . iif($row->online == 1, 'online', 'offline')); } $row->date = str_date($lang->phrase('dformat1'), times($row->date)); $row->regdate = gmdate($lang->phrase('dformat2'), times($row->regdate)); $row->level = $slog->getStatus($row->groups, ', '); if (empty($row->location)) { $row->location = $lang->phrase('showtopic_na'); } if (!empty($row->fullname) && $config['fullname_posts'] == 1 || !empty($row->signature) && $my->opt_showsig == 1) { $bottom = TRUE; } else { $bottom = FALSE; } if (isset($uploads[$row->id]) && $config['tpcallow'] == 1) { foreach ($uploads[$row->id] as $file) { $uppath = 'uploads/topics/' . $file['source']; $imginfo = get_extension($uppath); if (!isset($fileicons[$imginfo])) { $icon = 'unknown.gif'; } else {
if (isset($memberdata[$row['mid']])) { $row['name'] = $memberdata[$row['mid']]; } else { $row['name'] = $lang->phrase('fallback_no_username'); } $row['location'] = '-'; } else { $row['regdate'] = gmdate($lang->phrase('dformat2'), times($row['regdate'])); } $bbcode->setSmileys(1); $bbcode->setReplace($config['wordstatus']); $bbcode->setAuthor($row['mid']); $row['comment'] = $bbcode->parse($row['comment']); $row['date'] = str_date($lang->phrase('dformat1'), times($row['date'])); $row['read'] = iif($row['status'] == 1, 'old', 'new'); $row['level'] = $slog->getStatus($row['groups'], ', '); ($code = $plugins->load('pm_show_prepared')) ? eval($code) : null; $breadcrumb->Add(get_pmdir($row['dir']), 'pm.php?action=browse&id=' . $row['dir'] . SID2URL_x); $breadcrumb->Add($lang->phrase('pm_show')); echo $tpl->parse("header"); echo $tpl->parse("menu"); echo $tpl->parse("pm/menu"); echo $tpl->parse("pm/show"); ($code = $plugins->load('pm_show_end')) ? eval($code) : null; } elseif ($_GET['action'] == "massmanage") { $breadcrumb->Add($lang->phrase('pm_massmanage')); echo $tpl->parse("header"); echo $tpl->parse("menu"); echo $tpl->parse("pm/menu"); $querystr = implode(',', $_POST['delete']); if (!empty($_POST['move2'])) {