aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/juick/http')
-rw-r--r--src/java/com/juick/http/www/PageTemplates.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java
index d168875c2..cefd3cddd 100644
--- a/src/java/com/juick/http/www/PageTemplates.java
+++ b/src/java/com/juick/http/www/PageTemplates.java
@@ -51,7 +51,7 @@ public class PageTemplates {
out.println("<!DOCTYPE html>");
out.print("<html>");
out.print("<head>");
- out.print("<link rel=\"stylesheet\" href=\"/style.2014062903.css\"/>");
+ out.print("<link rel=\"stylesheet\" href=\"/style.2014070300.css\"/>");
out.print("<script type=\"text/javascript\" src=\"//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js\"></script>");
out.print("<script type=\"text/javascript\" src=\"/scripts.2014062900.js\"></script>");
if (headers != null) {
@@ -101,6 +101,7 @@ public class PageTemplates {
}
public static void pageYandexAd728(PrintWriter out, int YandexID) {
+ /*
out.println("<div id=\"yandex_ad_728\"></div>");
out.println("<script type=\"text/javascript\">");
out.println("if($(window).width()>1000) {");
@@ -128,6 +129,12 @@ public class PageTemplates {
out.println("})(window, document, \"yandex_context_callbacks\");");
out.println("} else { $('#yandex_ad_728').remove(); }");
out.println("</script>");
+ */
+ out.println("<script async src='//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'></script>");
+ out.println("<ins class='adsbygoogle' data-ad-client='ca-pub-2439005094311303' data-ad-slot='2131891641'></ins>");
+ out.println("<script>");
+ out.println("(adsbygoogle = window.adsbygoogle || []).push({})");
+ out.println("</script>");
}
public static void pageHomeColumn(PrintWriter out, Connection sql, com.juick.User visitor) {