anchor.diff:  <%@ page pageEncoding="koi8-r" contentType="text/html; charset=utf-8"%>
   <%@ page import="java.sql.Connection,java.sql.PreparedStatement,java.sql.ResultSet,java.sql.Statement,java.util.logging.Logger"   buffer="60kb" %>
   <%@ page import="ru.org.linux.site.LorDataSource" %>
  +<%@ page import="ru.org.linux.site.Message" %>
   <%@ page import="ru.org.linux.site.Template" %>
   <%@ page import="ru.org.linux.util.ServletParameterParser" %>
   <%
  
positive.code:       st1.executeUpdate(sSql);
  
        PreparedStatement pst1 = db.prepareStatement("UPDATE msgbase SET message=message||? WHERE id=?");
        pst1.setString(1,"\n<br>\n<br><i> " + session.getValue("nick") + "  "+title+"</i>\n");
        pst1.setInt(2,msgid);
        pst1.executeUpdate();
        logger.info("topic " + msgid + " moved" +
            " by " + session.getValue("nick") + " from news/forum " + oldgr + " to forum " + newgr);
      } else {
        out.println("  <strong>" + msgid + "</strong>  :");
        ResultSet rs = st1.executeQuery("SELECT id,title FROM groups WHERE section=2 ORDER BY id");
  %>
  <form method="post" action="mt.jsp">
  
negative.code:   try {
      int msgid = new ServletParameterParser(request).getInt("msgid");
      db = LorDataSource.getConnection();
  
      Message msg = new Message(db, msgid);
  
      Statement st1 = db.createStatement();
      if ("POST".equals(request.getMethod())) {
        String newgr = request.getParameter("moveto");
        String sSql = "UPDATE topics SET groupid=" + newgr + " WHERE id=" + msgid;
  
  