anchor.diff:        ResultSet lockResult = lock.executeQuery(); // lock another delete.jsp on this row
   
         if (lockResult.next() && lockResult.getBoolean("deleted")) {
  -        throw new UserErrorException("  ");
  +        throw new UserErrorException("Сообщение уже удалено");
         }
   
         PreparedStatement pr = db.prepareStatement("SELECT postdate>CURRENT_TIMESTAMP-'1 hour'::interval as perm FROM users, topics WHERE topics.id=? AND topics.userid=users.id AND users.nick=?");
  
positive.code: }
     // -->
  </script>
  <h1> </h1>
           
   .
  <form method=POST action="delete.jsp">
  <table>
  <% if (session == null || session.getAttribute("login") == null || !(Boolean) session.getAttribute("login")) { %>
  <tr>
  <td>:</td>
  <td><input type=text name=nick size=40>
  </td>
  </tr>
  <tr>
  <td>:</td>
  <td><input type=password name=password size=40></td>
  </tr>
  <% } %>
  <tr>
  <td> <br>     </td>
  <td>
  <select name=reason_select onChange="change(reason,reason_select);">
  <option value="">
  <option value="3.1 ">3.1 
  <option value="3.2  ">3.2  
  <option value="3.3  ">3.3  
  <option value="3.4  ">3.4  
  <option value="4.1 Offtopic">4.1 Offtopic
  <option value="4.2   ">4.2   
  <option value="4.3  flame">4.3  flame
  <option value="4.4   ">4.4   
  <option value="4.5  ">4.5  
  <option value="4.6 ">4.6 
  <option value="4.7 ">4.7 
  <option value="5.1  ">5.1  
  <option value="5.2   ">5.2   
  <option value="5.3 // ">5.3 // 
  <option value="5.4  ">5.4  
  <option value="5.5     ">5.5     
  <option value="6  copyright">6  copyright
  <option value="6.2 Warez">6.2 Warez
  <option value="7.1    ">7.1    
  </select>
  </td>
  <tr><td></td>
  
negative.code: %>
  <jsp:include page="WEB-INF/jsp/head.jsp"/>
  
          <title>Удаление сообщения</title>
  <jsp:include page="WEB-INF/jsp/header.jsp"/>
  
  <%
  