// hack KOROTKIE IMENA //-------------------------------- // Short tags... //-------------------------------- if ( $ibforums->input['forum'] != "" ) { $ibforums->input['act'] = "SF"; $ibforums->input['f'] = intval($ibforums->input['forum']); } else if ( $ibforums->input['topic'] != "") { $ibforums->input['act'] = "ST"; $ibforums->input['t'] = intval($ibforums->input['topic']); // Grab and cache the topic now as we need the 'f' attr for // the skins... $DB->query("SELECT t.*, f.name as forum_name, f.id as forum_id, f.read_perms, f.reply_perms, f.parent_id, f.use_html, f.start_perms, f.allow_poll, f.password, f.posts as forum_posts, f.topics as forum_topics, f.upload_perms, f.show_rules, c.name as cat_name, c.id as cat_id FROM ibf_topics t, ibf_forums f , ibf_categories c WHERE t.tid=".$ibforums->input['t']." and f.id = t.forum_id and f.category=c.id"); $ibforums->topic_cache = $DB->fetch_row(); $ibforums->input['f'] = $ibforums->topic_cache['forum_id']; } else if ( $ibforums->input['user'] != "") { $ibforums->input['act'] = "Profile"; $ibforums->input['MID'] = intval($ibforums->input['user']); } else { $ibforums->input['act'] = $ibforums->input['act'] == '' ? "idx" : $ibforums->input['act']; } // hack KOROTKIE IMENA |