Changeset 3 for branches/rsr.v5.1.dev/web/punbb/viewforum.php
- Timestamp:
- Nov 14, 2011, 11:17:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/rsr.v5.1.dev/web/punbb/viewforum.php
r1 r3 1 1 <?php 2 /*********************************************************************** 3 4 Copyright (C) 2002-2005 Rickard Andersson (rickard@punbb.org) 5 6 This file is part of PunBB. 7 8 PunBB is free software; you can redistribute it and/or modify it 9 under the terms of the GNU General Public License as published 10 by the Free Software Foundation; either version 2 of the License, 11 or (at your option) any later version. 12 13 PunBB is distributed in the hope that it will be useful, but 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 GNU General Public License for more details. 17 18 You should have received a copy of the GNU General Public License 19 along with this program; if not, write to the Free Software 20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, 21 MA 02111-1307 USA 22 23 ************************************************************************/ 24 25 26 define('PUN_ROOT', './'); 2 3 /** 4 * Copyright (C) 2008-2011 FluxBB 5 * based on code by Rickard Andersson copyright (C) 2002-2008 PunBB 6 * License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher 7 */ 8 9 define('PUN_ROOT', dirname(__FILE__).'/'); 27 10 require PUN_ROOT.'include/common.php'; 28 11 … … 40 23 41 24 // Fetch some info about the forum 42 $result = $db->query('SELECT f.forum_name, f.redirect_url, f.moderators, f.num_topics, f.sort_by, fp.post_topics FROM '.$db->prefix.'forums AS f LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND f.id='.$id) or error('Impossible de retrouver les informations du forum', __FILE__, __LINE__, $db->error()); 25 if (!$pun_user['is_guest']) 26 $result = $db->query('SELECT f.forum_name, f.redirect_url, f.moderators, f.num_topics, f.sort_by, fp.post_topics, s.user_id AS is_subscribed FROM '.$db->prefix.'forums AS f LEFT JOIN '.$db->prefix.'forum_subscriptions AS s ON (f.id=s.forum_id AND s.user_id='.$pun_user['id'].') LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND f.id='.$id) or error('Unable to fetch forum info', __FILE__, __LINE__, $db->error()); 27 else 28 $result = $db->query('SELECT f.forum_name, f.redirect_url, f.moderators, f.num_topics, f.sort_by, fp.post_topics, 0 AS is_subscribed FROM '.$db->prefix.'forums AS f LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND f.id='.$id) or error('Unable to fetch forum info', __FILE__, __LINE__, $db->error()); 29 43 30 if (!$db->num_rows($result)) 44 31 message($lang_common['Bad request']); … … 54 41 55 42 // Sort out who the moderators are and if we are currently a moderator (or an admin) 56 $mods_array = array(); 57 if ($cur_forum['moderators'] != '') 58 $mods_array = unserialize($cur_forum['moderators']); 59 60 $is_admmod = ($pun_user['g_id'] == PUN_ADMIN || ($pun_user['g_id'] == PUN_MOD && array_key_exists($pun_user['username'], $mods_array))) ? true : false; 43 $mods_array = ($cur_forum['moderators'] != '') ? unserialize($cur_forum['moderators']) : array(); 44 $is_admmod = ($pun_user['g_id'] == PUN_ADMIN || ($pun_user['g_moderator'] == '1' && array_key_exists($pun_user['username'], $mods_array))) ? true : false; 45 46 switch ($cur_forum['sort_by']) 47 { 48 case 0: 49 $sort_by = 'last_post DESC'; 50 break; 51 case 1: 52 $sort_by = 'posted DESC'; 53 break; 54 case 2: 55 $sort_by = 'subject ASC'; 56 break; 57 default: 58 $sort_by = 'last_post DESC'; 59 break; 60 } 61 61 62 62 // Can we or can we not post new topics? 63 63 if (($cur_forum['post_topics'] == '' && $pun_user['g_post_topics'] == '1') || $cur_forum['post_topics'] == '1' || $is_admmod) 64 $post_link = "\t\t ".'<p class="postlink conr"><a href="post.php?fid='.$id.'">'.$lang_forum['Post topic'].'</a></p>'."\n";64 $post_link = "\t\t\t".'<p class="postlink conr"><a href="post.php?fid='.$id.'">'.$lang_forum['Post topic'].'</a></p>'."\n"; 65 65 else 66 66 $post_link = ''; 67 67 68 // Get topic/forum tracking data 69 if (!$pun_user['is_guest']) 70 $tracked_topics = get_tracked_topics(); 68 71 69 72 // Determine the topic offset (based on $_GET['p']) 70 73 $num_pages = ceil($cur_forum['num_topics'] / $pun_user['disp_topics']); 71 74 72 $p = (!isset($_GET['p']) || $_GET['p'] <= 1 || $_GET['p'] > $num_pages) ? 1 : $_GET['p'];75 $p = (!isset($_GET['p']) || $_GET['p'] <= 1 || $_GET['p'] > $num_pages) ? 1 : intval($_GET['p']); 73 76 $start_from = $pun_user['disp_topics'] * ($p - 1); 74 77 75 78 // Generate paging links 76 $paging_links = $lang_common['Pages'].': '.paginate($num_pages, $p, 'viewforum.php?id='.$id); 77 78 79 $page_title = pun_htmlspecialchars($pun_config['o_board_title'].' / '.$cur_forum['forum_name']); 79 $paging_links = '<span class="pages-label">'.$lang_common['Pages'].' </span>'.paginate($num_pages, $p, 'viewforum.php?id='.$id); 80 81 if ($pun_config['o_feed_type'] == '1') 82 $page_head = array('feed' => '<link rel="alternate" type="application/rss+xml" href="extern.php?action=feed&fid='.$id.'&type=rss" title="'.$lang_common['RSS forum feed'].'" />'); 83 else if ($pun_config['o_feed_type'] == '2') 84 $page_head = array('feed' => '<link rel="alternate" type="application/atom+xml" href="extern.php?action=feed&fid='.$id.'&type=atom" title="'.$lang_common['Atom forum feed'].'" />'); 85 86 $forum_actions = array(); 87 88 if (!$pun_user['is_guest']) 89 { 90 if ($pun_config['o_forum_subscriptions'] == '1') 91 { 92 if ($cur_forum['is_subscribed']) 93 $forum_actions[] = '<span>'.$lang_forum['Is subscribed'].' - </span><a href="misc.php?action=unsubscribe&fid='.$id.'">'.$lang_forum['Unsubscribe'].'</a>'; 94 else 95 $forum_actions[] = '<a href="misc.php?action=subscribe&fid='.$id.'">'.$lang_forum['Subscribe'].'</a>'; 96 } 97 98 $forum_actions[] = '<a href="misc.php?action=markforumread&fid='.$id.'">'.$lang_common['Mark forum read'].'</a>'; 99 } 100 101 $page_title = array(pun_htmlspecialchars($pun_config['o_board_title']), pun_htmlspecialchars($cur_forum['forum_name'])); 80 102 define('PUN_ALLOW_INDEX', 1); 103 define('PUN_ACTIVE_PAGE', 'index'); 81 104 require PUN_ROOT.'header.php'; 82 105 83 106 ?> 84 107 <div class="linkst"> 85 <div class="inbox"> 86 <p class="pagelink conl"><?php echo $paging_links ?></p> 108 <div class="inbox crumbsplus"> 109 <ul class="crumbs"> 110 <li><a href="index.php"><?php echo $lang_common['Index'] ?></a></li> 111 <li><span>» </span><a href="viewforum.php?id=<?php echo $id ?>"><strong><?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?></strong></a></li> 112 </ul> 113 <div class="pagepost"> 114 <p class="pagelink conl"><?php echo $paging_links ?></p> 87 115 <?php echo $post_link ?> 88 < ul><li><a href="index.php"><?php echo $lang_common['Index'] ?></a> </li><li>» <?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?></li></ul>116 </div> 89 117 <div class="clearer"></div> 90 118 </div> … … 100 128 <th class="tcl" scope="col"><?php echo $lang_common['Topic'] ?></th> 101 129 <th class="tc2" scope="col"><?php echo $lang_common['Replies'] ?></th> 102 <th class="tc3" scope="col"><?php echo $lang_forum['Views'] ?></th>103 <th class="tcr" scope="col"><?php echo $lang_common['Last post'] ?></th>130 <?php if ($pun_config['o_topic_views'] == '1'): ?> <th class="tc3" scope="col"><?php echo $lang_forum['Views'] ?></th> 131 <?php endif; ?> <th class="tcr" scope="col"><?php echo $lang_common['Last post'] ?></th> 104 132 </tr> 105 133 </thead> … … 107 135 <?php 108 136 109 // Fetch list of topics to display on this page 110 if ($pun_user['is_guest'] || $pun_config['o_show_dot'] == '0') 111 { 112 // Without "the dot" 113 $sql = 'SELECT id, poster, subject, posted, last_post, last_post_id, last_poster, num_views, num_replies, closed, sticky, moved_to FROM '.$db->prefix.'topics WHERE forum_id='.$id.' ORDER BY sticky DESC, '.(($cur_forum['sort_by'] == '1') ? 'posted' : 'last_post').' DESC LIMIT '.$start_from.', '.$pun_user['disp_topics']; 114 } 115 else 116 { 117 // With "the dot" 118 switch ($db_type) 137 // Retrieve a list of topic IDs, LIMIT is (really) expensive so we only fetch the IDs here then later fetch the remaining data 138 $result = $db->query('SELECT id FROM '.$db->prefix.'topics WHERE forum_id='.$id.' ORDER BY sticky DESC, '.$sort_by.', id DESC LIMIT '.$start_from.', '.$pun_user['disp_topics']) or error('Unable to fetch topic IDs', __FILE__, __LINE__, $db->error()); 139 140 // If there are topics in this forum 141 if ($db->num_rows($result)) 142 { 143 $topic_ids = array(); 144 for ($i = 0;$cur_topic_id = $db->result($result, $i);$i++) 145 $topic_ids[] = $cur_topic_id; 146 147 if (empty($topic_ids)) 148 error('The topic table and forum table seem to be out of sync!', __FILE__, __LINE__); 149 150 // Fetch list of topics to display on this page 151 if ($pun_user['is_guest'] || $pun_config['o_show_dot'] == '0') 119 152 { 120 case 'mysql': 121 case 'mysqli': 122 $sql = 'SELECT p.poster_id AS has_posted, t.id, t.subject, t.poster, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to FROM '.$db->prefix.'topics AS t LEFT JOIN '.$db->prefix.'posts AS p ON t.id=p.topic_id AND p.poster_id='.$pun_user['id'].' WHERE t.forum_id='.$id.' GROUP BY t.id ORDER BY sticky DESC, '.(($cur_forum['sort_by'] == '1') ? 'posted' : 'last_post').' DESC LIMIT '.$start_from.', '.$pun_user['disp_topics']; 123 break; 124 125 case 'sqlite': 126 $sql = 'SELECT p.poster_id AS has_posted, t.id, t.subject, t.poster, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to FROM '.$db->prefix.'topics AS t LEFT JOIN '.$db->prefix.'posts AS p ON t.id=p.topic_id AND p.poster_id='.$pun_user['id'].' WHERE t.id IN(SELECT id FROM '.$db->prefix.'topics WHERE forum_id='.$id.' ORDER BY sticky DESC, '.(($cur_forum['sort_by'] == '1') ? 'posted' : 'last_post').' DESC LIMIT '.$start_from.', '.$pun_user['disp_topics'].') GROUP BY t.id ORDER BY t.sticky DESC, t.last_post DESC'; 127 break; 128 129 default: 130 $sql = 'SELECT p.poster_id AS has_posted, t.id, t.subject, t.poster, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to FROM '.$db->prefix.'topics AS t LEFT JOIN '.$db->prefix.'posts AS p ON t.id=p.topic_id AND p.poster_id='.$pun_user['id'].' WHERE t.forum_id='.$id.' GROUP BY t.id, t.subject, t.poster, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to, p.poster_id ORDER BY sticky DESC, '.(($cur_forum['sort_by'] == '1') ? 'posted' : 'last_post').' DESC LIMIT '.$start_from.', '.$pun_user['disp_topics']; 131 break; 132 153 // Without "the dot" 154 $sql = 'SELECT id, poster, subject, posted, last_post, last_post_id, last_poster, num_views, num_replies, closed, sticky, moved_to FROM '.$db->prefix.'topics WHERE id IN('.implode(',', $topic_ids).') ORDER BY sticky DESC, '.$sort_by.', id DESC'; 133 155 } 134 } 135 136 $result = $db->query($sql) or error('Impossible de retrouver la liste des discussions', __FILE__, __LINE__, $db->error()); 137 138 // If there are topics in this forum. 139 if ($db->num_rows($result)) 140 { 156 else 157 { 158 // With "the dot" 159 $sql = 'SELECT p.poster_id AS has_posted, t.id, t.subject, t.poster, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to FROM '.$db->prefix.'topics AS t LEFT JOIN '.$db->prefix.'posts AS p ON t.id=p.topic_id AND p.poster_id='.$pun_user['id'].' WHERE t.id IN('.implode(',', $topic_ids).') GROUP BY t.id'.($db_type == 'pgsql' ? ', t.subject, t.poster, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to, p.poster_id' : '').' ORDER BY t.sticky DESC, t.'.$sort_by.', t.id DESC'; 160 } 161 162 $result = $db->query($sql) or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error()); 163 164 $topic_count = 0; 141 165 while ($cur_topic = $db->fetch_assoc($result)) 142 166 { 143 $icon_text = $lang_common['Normal icon']; 144 $item_status = ''; 167 ++$topic_count; 168 $status_text = array(); 169 $item_status = ($topic_count % 2 == 0) ? 'roweven' : 'rowodd'; 145 170 $icon_type = 'icon'; 146 171 147 172 if ($cur_topic['moved_to'] == null) 148 $last_post = '<a href="viewtopic.php?pid='.$cur_topic['last_post_id'].'#p'.$cur_topic['last_post_id'].'">'.format_time($cur_topic['last_post']).'</a> <span class="byuser">'.$lang_common['by'].'  '.pun_htmlspecialchars($cur_topic['last_poster']).'</span>';149 else 150 $last_post = '  ';173 $last_post = '<a href="viewtopic.php?pid='.$cur_topic['last_post_id'].'#p'.$cur_topic['last_post_id'].'">'.format_time($cur_topic['last_post']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['last_poster']).'</span>'; 174 else 175 $last_post = '- - -'; 151 176 152 177 if ($pun_config['o_censoring'] == '1') 153 178 $cur_topic['subject'] = censor_words($cur_topic['subject']); 154 179 180 if ($cur_topic['sticky'] == '1') 181 { 182 $item_status .= ' isticky'; 183 $status_text[] = '<span class="stickytext">'.$lang_forum['Sticky'].'</span>'; 184 } 185 155 186 if ($cur_topic['moved_to'] != 0) 156 $subject = $lang_forum['Moved'].': <a href="viewtopic.php?id='.$cur_topic['moved_to'].'">'.pun_htmlspecialchars($cur_topic['subject']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['poster']).'</span>'; 187 { 188 $subject = '<a href="viewtopic.php?id='.$cur_topic['moved_to'].'">'.pun_htmlspecialchars($cur_topic['subject']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['poster']).'</span>'; 189 $status_text[] = '<span class="movedtext">'.$lang_forum['Moved'].'</span>'; 190 $item_status .= ' imoved'; 191 } 157 192 else if ($cur_topic['closed'] == '0') 158 $subject = '<a href="viewtopic.php?id='.$cur_topic['id'].'">'.pun_htmlspecialchars($cur_topic['subject']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['poster']).'</span>'; 159 else 160 { 161 $subject = '<a href="viewtopic.php?id='.$cur_topic['id'].'">'.pun_htmlspecialchars($cur_topic['subject']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['poster']).'</span>'; 162 $icon_text = $lang_common['Closed icon']; 163 $item_status = 'iclosed'; 164 } 165 166 if (!$pun_user['is_guest'] && $cur_topic['last_post'] > $pun_user['last_visit'] && $cur_topic['moved_to'] == null) 167 { 168 $icon_text .= ' '.$lang_common['New icon']; 193 $subject = '<a href="viewtopic.php?id='.$cur_topic['id'].'">'.pun_htmlspecialchars($cur_topic['subject']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['poster']).'</span>'; 194 else 195 { 196 $subject = '<a href="viewtopic.php?id='.$cur_topic['id'].'">'.pun_htmlspecialchars($cur_topic['subject']).'</a> <span class="byuser">'.$lang_common['by'].' '.pun_htmlspecialchars($cur_topic['poster']).'</span>'; 197 $status_text[] = '<span class="closedtext">'.$lang_forum['Closed'].'</span>'; 198 $item_status .= ' iclosed'; 199 } 200 201 if (!$pun_user['is_guest'] && $cur_topic['last_post'] > $pun_user['last_visit'] && (!isset($tracked_topics['topics'][$cur_topic['id']]) || $tracked_topics['topics'][$cur_topic['id']] < $cur_topic['last_post']) && (!isset($tracked_topics['forums'][$id]) || $tracked_topics['forums'][$id] < $cur_topic['last_post']) && $cur_topic['moved_to'] == null) 202 { 169 203 $item_status .= ' inew'; 170 $icon_type = 'icon i new';204 $icon_type = 'icon icon-new'; 171 205 $subject = '<strong>'.$subject.'</strong>'; 172 $subject_new_posts = '<span class="newtext">[  <a href="viewtopic.php?id='.$cur_topic['id'].'&action=new" title="'.$lang_common['New posts info'].'">'.$lang_common['New posts'].'</a> ]</span>';206 $subject_new_posts = '<span class="newtext">[ <a href="viewtopic.php?id='.$cur_topic['id'].'&action=new" title="'.$lang_common['New posts info'].'">'.$lang_common['New posts'].'</a> ]</span>'; 173 207 } 174 208 else 175 209 $subject_new_posts = null; 210 211 // Insert the status text before the subject 212 $subject = implode(' ', $status_text).' '.$subject; 176 213 177 214 // Should we display the dot or not? :) … … 179 216 { 180 217 if ($cur_topic['has_posted'] == $pun_user['id']) 181 $subject = '<strong>·</strong> '.$subject; 182 else 183 $subject = '  '.$subject; 184 } 185 186 if ($cur_topic['sticky'] == '1') 187 { 188 $subject = '<span class="stickytext">'.$lang_forum['Sticky'].': </span>'.$subject; 189 $item_status .= ' isticky'; 190 $icon_text .= ' '.$lang_forum['Sticky']; 218 { 219 $subject = '<strong class="ipost">· </strong>'.$subject; 220 $item_status .= ' iposted'; 221 } 191 222 } 192 223 … … 194 225 195 226 if ($num_pages_topic > 1) 196 $subject_multipage = ' [ '.paginate($num_pages_topic, -1, 'viewtopic.php?id='.$cur_topic['id']).' ]';227 $subject_multipage = '<span class="pagestext">[ '.paginate($num_pages_topic, -1, 'viewtopic.php?id='.$cur_topic['id']).' ]</span>'; 197 228 else 198 229 $subject_multipage = null; … … 201 232 if (!empty($subject_new_posts) || !empty($subject_multipage)) 202 233 { 203 $subject .= '  '.(!empty($subject_new_posts) ? $subject_new_posts : '');234 $subject .= !empty($subject_new_posts) ? ' '.$subject_new_posts : ''; 204 235 $subject .= !empty($subject_multipage) ? ' '.$subject_multipage : ''; 205 236 } 206 237 207 238 ?> 208 <tr <?php if ($item_status != '') echo ' class="'.trim($item_status).'"'; ?>>239 <tr class="<?php echo $item_status ?>"> 209 240 <td class="tcl"> 210 <div class=" intd">211 <div class="<?php echo $icon_type ?>"><div class="nosize"><?php echo trim($icon_text) ?></div></div>212 <div class="tclcon">241 <div class="<?php echo $icon_type ?>"><div class="nosize"><?php echo forum_number_format($topic_count + $start_from) ?></div></div> 242 <div class="tclcon"> 243 <div> 213 244 <?php echo $subject."\n" ?> 214 245 </div> 215 246 </div> 216 247 </td> 217 <td class="tc2"><?php echo ($cur_topic['moved_to'] == null) ? $cur_topic['num_replies'] : ' ' ?></td>218 <td class="tc3"><?php echo ($cur_topic['moved_to'] == null) ? $cur_topic['num_views'] : ' ' ?></td>219 <td class="tcr"><?php echo $last_post ?></td>248 <td class="tc2"><?php echo ($cur_topic['moved_to'] == null) ? forum_number_format($cur_topic['num_replies']) : '-' ?></td> 249 <?php if ($pun_config['o_topic_views'] == '1'): ?> <td class="tc3"><?php echo ($cur_topic['moved_to'] == null) ? forum_number_format($cur_topic['num_views']) : '-' ?></td> 250 <?php endif; ?> <td class="tcr"><?php echo $last_post ?></td> 220 251 </tr> 221 252 <?php … … 225 256 else 226 257 { 258 $colspan = ($pun_config['o_topic_views'] == '1') ? 4 : 3; 227 259 228 260 ?> 229 <tr> 230 <td class="tcl" colspan="4"><?php echo $lang_forum['Empty forum'] ?></td> 261 <tr class="rowodd inone"> 262 <td class="tcl" colspan="<?php echo $colspan ?>"> 263 <div class="icon inone"><div class="nosize"><!-- --></div></div> 264 <div class="tclcon"> 265 <div> 266 <strong><?php echo $lang_forum['Empty forum'] ?></strong> 267 </div> 268 </div> 269 </td> 231 270 </tr> 232 271 <?php … … 242 281 243 282 <div class="linksb"> 244 <div class="inbox"> 245 <p class="pagelink conl"><?php echo $paging_links ?></p> 283 <div class="inbox crumbsplus"> 284 <div class="pagepost"> 285 <p class="pagelink conl"><?php echo $paging_links ?></p> 246 286 <?php echo $post_link ?> 247 <ul><li><a href="index.php"><?php echo $lang_common['Index'] ?></a> </li><li>» <?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?></li></ul> 287 </div> 288 <ul class="crumbs"> 289 <li><a href="index.php"><?php echo $lang_common['Index'] ?></a></li> 290 <li><span>» </span><a href="viewforum.php?id=<?php echo $id ?>"><strong><?php echo pun_htmlspecialchars($cur_forum['forum_name']) ?></strong></a></li> 291 </ul> 292 <?php echo (!empty($forum_actions) ? "\t\t".'<p class="subscribelink clearb">'.implode(' - ', $forum_actions).'</p>'."\n" : '') ?> 248 293 <div class="clearer"></div> 249 294 </div> … … 254 299 $footer_style = 'viewforum'; 255 300 require PUN_ROOT.'footer.php'; 256
Note: See TracChangeset
for help on using the changeset viewer.