Mercurial Hosting > nabble
view src/global/web/ContactUs.java @ 63:4987e1a38a6c
remove ads from homepage
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 28 Aug 2024 15:34:42 -0600 |
parents | 7ecd1a4ef557 |
children |
line wrap: on
line source
package global.web; import fschmidt.util.servlet.JtpContext; import global.HtmlGlobalUtils; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.PrintWriter; import java.util.Calendar; public final class ContactUs extends HttpServlet { protected void service(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException { JtpContext jtpContext = (JtpContext) getServletContext().getAttribute(JtpContext.attrName); jtpContext.setEtag(request,response); PrintWriter out = response.getWriter(); out.print( "\n<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n " ); HtmlGlobalUtils.head(request, response, "Contact Us"); out.print( "\n <style>p{max-width:500px;margin:0 auto 3em}</style>\n </head>\n <body lato>\n " ); HtmlGlobalUtils.header(request,response); out.print( "\n <div content center paddingTop>\n <h2 oswald>Nabble Support Forum</h2>\n <p>\n <a href=\"" ); out.print( (HtmlGlobalUtils.nabbleSupportUrl) ); out.print( "\">Visit the Support Forum</a><br/>\n For help with technical questions related to your Nabble apps, embedding, customizations, NAML language, bugs and other issues.\n </p>\n\n <h2 oswald>Report Abuse</h2>\n <p>\n Communications related to privacy, violation of our <a href=\"" ); out.print( (Terms.path(false)) ); out.print( "\">Terms of Use</a> or other abuse must be submitted by email to\n abuse<span invisible>[please remove </span><span invisible>this part]</span>@nabble.com.\n </p>\n\n <h2 oswald>DMCA Policy</h2>\n <p>\n Copyright owners who believe that a Nabble user has posted infringing content may provide notice in compliance with the requirements\n of the Digital Millennium Copyright Act to Weizhen Lin, 1568 Grackle Way, Sunnyvale CA 94087, email\n DMCA<span invisible>[please remove </span><span invisible>this part]</span>@nabble.com.\n <b>There will be no response to communications that do not involve copyright infringement.</b>\n </p>\n </div>\n " ); HtmlGlobalUtils.footer(request,response); out.print( "\n </body>\n</html>\n" ); } }