anchor.diff:  	      [<a href="/wiki/en/lor-faq">FAQ</a>]
   	      [<a href="rules.jsp"> </a>]
   
  -	      [<a href="add.jsp?group=<%= group %>"> </a>]
  +	      [<a href="add.jsp?group=<%= groupid %>"> </a>]
   
                 <select name=group onChange="submit()" title=" ">
   <%
  
positive.code:     db = tmpl.getConnection();
      db.setAutoCommit(false);
  
      Statement st = db.createStatement();
  
      ResultSet rs = st.executeQuery("SELECT count(topics.id) FROM topics,groups,sections WHERE (topics.moderate OR NOT sections.moderate) AND groups.section=sections.id AND topics.groupid=groups.id AND groups.id=" + group + " AND NOT topics.deleted");
      int count = 0;
      int pages = 0;
      int topics = tmpl.getProf().getInt("topics");
  
negative.code:   double messages = tmpl.getProf().getInt("messages");
  
    if (firstPage) {
  	rs=st.executeQuery("SELECT topics.title as subj, lastmod, nick, topics.id as msgid, deleted, topics.stat1, topics.stat2, topics.stat3, topics.stat4, topics.sticky FROM topics,groups,users, sections WHERE sections.id=groups.section AND (topics.moderate OR NOT sections.moderate) AND topics.userid=users.id AND topics.groupid="+groupid+" AND groups.id="+groupid+" AND NOT deleted " + ignq + " ORDER BY sticky DESC,lastmod DESC LIMIT "+topics+" OFFSET "+offset);
    } else {
  	rs=st.executeQuery("SELECT topics.title as subj, lastmod, nick, topics.id as msgid, deleted, topics.stat1, topics.stat2, topics.stat3, topics.stat4, topics.sticky FROM topics,groups,users, sections WHERE sections.id=groups.section AND (topics.moderate OR NOT sections.moderate) AND topics.userid=users.id AND topics.groupid="+groupid+" AND groups.id="+groupid+" AND NOT deleted ORDER BY sticky DESC,lastmod DESC LIMIT "+topics+" OFFSET "+offset);
    }
    
    while (rs.next()) {
  