From 4fb2d4cad66b24efff2913c3058e2ed581bbef39 Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Wed, 12 Mar 2014 02:20:20 +0700 Subject: New post form --- src/java/com/juick/http/www/Home.java | 13 +++++++++++++ src/java/com/juick/http/www/PageTemplates.java | 6 +++--- 2 files changed, 16 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/java/com/juick/http/www/Home.java b/src/java/com/juick/http/www/Home.java index c3a93107..41e85c0d 100644 --- a/src/java/com/juick/http/www/Home.java +++ b/src/java/com/juick/http/www/Home.java @@ -106,6 +106,19 @@ public class Home { out.println(""); } + if (visitor != null) { + out.println("
"); + out.println("
"); + out.println(" "); + out.println("
"); + out.println(" "); + out.println("
"); + out.println(" "); + out.println("
"); + out.println("
"); + out.println("
"); + } + if (mids.size() > 0) { int ad_mid = 0; if (visitor != null && (paramShow == null || paramShow.equals("top") || paramShow.equals("all"))) { diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java index bb89ea4d..a6d278bf 100644 --- a/src/java/com/juick/http/www/PageTemplates.java +++ b/src/java/com/juick/http/www/PageTemplates.java @@ -52,9 +52,9 @@ public class PageTemplates { out.println(""); out.print(""); out.print(""); - out.print(""); + out.print(""); out.print(""); - out.print(""); + out.print(""); if (headers != null) { out.print(headers); } @@ -87,7 +87,7 @@ public class PageTemplates { out.print("
  • Рекомендации
  • "); out.println(""); out.print(" "); -- cgit v1.2.3