From c49e78bef068f4c4607d6d572366661e40b404be Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Tue, 16 Oct 2012 17:31:27 +0700 Subject: blog title --- src/java/com/juick/http/www/Blogs.java | 35 ++++++------ src/java/com/juick/http/www/PageTemplates.java | 74 +++----------------------- src/java/com/juick/http/www/Tags.java | 2 +- src/java/com/juick/http/www/User.java | 40 +++++++++----- 4 files changed, 52 insertions(+), 99 deletions(-) (limited to 'src/java/com') diff --git a/src/java/com/juick/http/www/Blogs.java b/src/java/com/juick/http/www/Blogs.java index ea728eab..e43addb9 100644 --- a/src/java/com/juick/http/www/Blogs.java +++ b/src/java/com/juick/http/www/Blogs.java @@ -154,10 +154,10 @@ public class Blogs { if (mids.size() == 20) { String nextpage = "?before=" + mids.get(mids.size() - 1); if (paramShow != null) { - nextpage += "&show=" + paramShow; + nextpage += "&show=" + paramShow; } if (paramTag > 0) { - nextpage += "&tag=" + URLEncoder.encode(paramTagStr, "UTF-8"); + nextpage += "&tag=" + URLEncoder.encode(paramTagStr, "UTF-8"); } out.println("
"); } @@ -167,23 +167,22 @@ public class Blogs { out.println("" + getTags(sql, 30) + "
"); + out.println("" + getTags(sql, 30) + "
"); out.println("" + description + "