aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/User.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/juick/http/www/User.java')
-rw-r--r--src/java/com/juick/http/www/User.java17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/java/com/juick/http/www/User.java b/src/java/com/juick/http/www/User.java
index 8574eaab..2faf695b 100644
--- a/src/java/com/juick/http/www/User.java
+++ b/src/java/com/juick/http/www/User.java
@@ -132,14 +132,20 @@ public class User {
}
out.println("<p class=\"page\"><a href=\"" + nextpage + "\">Older →</a></p>");
}
+ PageTemplates.pageFooter(request, out, locale, visitor, true);
out.println("</div>");
pageUserColumn(out, sql, user, visitor, locale);
out.println("</div>");
+
+ out.println("<div id=\"rcol\" class=\"abs\">");
+ PageTemplates.pageYandexAd(out, visitor == null ? 4 : 5); // разный ID для залогиненых и нет
+ out.println("</div>");
+
out.println("</div>"); // topwrapper
PageTemplates.pageDialogTemplate(out, locale);
- PageTemplates.pageFooter(request, out, locale, visitor, true);
+ PageTemplates.pageEnd(out);
} finally {
out.close();
}
@@ -164,13 +170,14 @@ public class User {
out.println("<div id=\"wrapper\">");
out.println("<div id=\"content\">");
out.println("<p>" + pageUserTags(sql, user, visitor, 0) + "</p>");
+ PageTemplates.pageFooter(request, out, locale, visitor, false);
out.println("</div>");
pageUserColumn(out, sql, user, visitor, locale);
out.println("</div>");
out.println("</div>");
PageTemplates.pageDialogTemplate(out, locale);
- PageTemplates.pageFooter(request, out, locale, visitor, false);
+ PageTemplates.pageEnd(out);
} finally {
out.close();
}
@@ -215,13 +222,14 @@ public class User {
}
out.println("</tr></table>");
+ PageTemplates.pageFooter(request, out, locale, visitor, false);
out.println("</div>");
pageUserColumn(out, sql, user, visitor, locale);
out.println("</div>");
out.println("</div>");
PageTemplates.pageDialogTemplate(out, locale);
- PageTemplates.pageFooter(request, out, locale, visitor, false);
+ PageTemplates.pageEnd(out);
} finally {
out.close();
}
@@ -266,13 +274,14 @@ public class User {
}
out.println("</tr></table>");
+ PageTemplates.pageFooter(request, out, locale, visitor, false);
out.println("</div>");
pageUserColumn(out, sql, user, visitor, locale);
out.println("</div>");
out.println("</div>");
PageTemplates.pageDialogTemplate(out, locale);
- PageTemplates.pageFooter(request, out, locale, visitor, false);
+ PageTemplates.pageEnd(out);
} finally {
out.close();
}