+ try {
+ rs.beforeFirst();
+ while (rs.next()) {
+ cells.add(new Cell());
+ cells.add(new Cell(
+ rs.getString("hash").trim().isEmpty() ? "Verified"
+ : "Unverified", true));
+ if (rs.getString("email").equals(userMail)) {
+ cells.add(new Cell(
+ "N/A"
+ , true));
+ } else {
+ cells.add(new Cell("<input type=\"checkbox\" name=\"delid[]\" value=\""
+ + rs.getInt("id") + "\">", false));
+ }
+ cells.add(new Cell(rs.getString("email"), false));
+ }
+ } catch (SQLException e) {
+ e.printStackTrace();
+ }
+ String trans = l.getTranslation("Make Default");
+ cells.add(new Cell(
+ "<input type=\"submit\" name=\"makedefault\" value=\"" + trans
+ + "\">", false, 2));
+ trans = l.getTranslation("Delete");
+ cells.add(new Cell("<input type=\"submit\" name=\"process\" value=\""
+ + trans + "\">", false, 2));