); if ($forum_row['auth_rate'] != -1) { $template->assign_block_vars('topicrow.rate_switch_msg', array()); } if (array_key_exists($i, $dividers)) { $template->assign_block_vars('topicrow.divider', array( 'L_DIV_HEADERS' => $dividers[$i]) ); } // Event Registration - BEGIN if (($topic_rowset[$i]['topic_reg']) && check_reg_active($topic_rowset[$i]['topic_id'])) { $template->assign_block_vars('topicrow.display_reg', array()); } // Event Registration - END if (!empty($topic_rowset[$i]['topic_desc']) && $config['show_topic_description']) { $topic_desc = censor_text($topic_rowset[$i]['topic_desc']); // Convert and clean special chars! $topic_desc = htmlspecialchars_clean($topic_desc); // SMILEYS IN TITLE - BEGIN if (($config['smilies_topic_title'] == true) && !$lofi) { $bbcode->allow_smilies = ($config['allow_smilies'] && $topic_rowset[$i]['enable_smilies'] ? true : false); $topic_desc = $bbcode->parse_only_smilies($topic_desc);
* */ /** * * @Extra credits for this file * NetizenKane (info@fragthe.net) * KugeLSichA (http://www.caromonline.de) */ if (!defined('IN_ICYPHOENIX')) { die('Hacking attempt'); } if (!empty($forum_topic_data['topic_reg']) && (check_reg_active($topic_id) === true)) { $sql = "SELECT u.username, u.user_id, u.user_active, u.user_color, r.registration_time, r.registration_status FROM " . REGISTRATION_TABLE . " r, " . USERS_TABLE . " u WHERE r.topic_id = " . $topic_id . " AND r.registration_user_id = u.user_id ORDER BY r.registration_status, r.registration_time"; $result = $db->sql_query($sql); $reg_info = $db->sql_fetchrowset($result); $db->sql_freeresult($result); $numregs = sizeof($reg_info); $option1_count = 0; $option2_count = 0; $option3_count = 0; $option1_list = array();
// UPI2DB - BEGIN 'NO_AGM' => ($mark_read_forbid || (isset($s2) && ($s2 == 'perm'))) ? 'disabled' : '', 'U_MARK_ALWAYS_READ' => $mark_always_read, // UPI2DB - END 'U_VIEW_FORUM' => $forum_url, 'U_VIEW_TOPIC' => $topic_url ) ); // UPI2DB - BEGIN if($user->data['upi2db_access']) { $template->assign_block_vars('searchresults.switch_upi2db_on', array()); } // UPI2DB - END // Event Registration - BEGIN if (($searchset[$i]['topic_reg']) && check_reg_active($topic_id)) { $template->assign_block_vars('searchresults.display_reg', array()); } // Event Registration - END } $valid_results++; } // Header if ($show_results == 'bookmarks') { $nav_main_lang = $lang['Bookmarks']; $nav_main_url = append_sid('search.' . PHP_EXT . '?search_id=bookmarks'); $l_search_matches = ($valid_results == 1) ? sprintf($lang['Found_bookmark'], $valid_results) : sprintf($lang['Found_bookmarks'], $valid_results); //$l_search_matches = ($total_match_count == 1) ? sprintf($lang['Found_bookmark'], $total_match_count) : sprintf($lang['Found_bookmarks'], $total_match_count);