<%@ page errorPage="../error.jsp" import="java.util.*,java.util.Enumeration" %> <% String value = dbpool.getString("select value from counter where name='vilag'"); int v = Integer.parseInt(value); v++; if(!user.isLoggedin()){ dbpool.update("update counter set value ='"+v+"' where name='vilag'"); } %> <% java.util.Date ts1=(new java.util.Date()); String ch1="\""; String kep =""; if(user.isLoggedin()){ kep = "saját adatok"; } %>
<%=v%> LÁTOGATÓ
  <% if(user.isLoggedin()){%> <%if(!user.getPhoto().equals("")&&!user.getPhoto().equals("null")){%> <%=kep%> <%}else{ if(user.getSex()==1){%> <%=user.getUsername()%> adatai <%}else{%> <%=user.getUsername()%> adatai <%}%> <%}%> keresés kilépés <%}%>