package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import java.util.*;
import java.sql.*;
import org.apache.log4j.Category;
import jp.co.sint.database.*;
import jp.co.sint.basic.*;
import jp.co.sint.tools.*;
import jp.co.sint.config.*;
import jp.co.sint.beans.front.*;
import jp.co.sint.beans.mobile.au.*;
import jp.co.sint.tools.*;

public class a_howtoshop5_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  static {
    _jspx_includes = new java.util.Vector(3);
    _jspx_includes.add("/mobile/au/howtoshop/../include/a_header_inc.jsp");
    _jspx_includes.add("/include/mobile_filter.jsp");
    _jspx_includes.add("/mobile/au/howtoshop/../include/a_footer_inc.jsp");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_response_sendRedirect;

  public a_howtoshop5_jsp() {
    _jspx_tagPool_response_sendRedirect = new org.apache.jasper.runtime.TagHandlerPool();
  }

  public java.util.List getIncludes() {
    return _jspx_includes;
  }

  public void _jspDestroy() {
    _jspx_tagPool_response_sendRedirect.release();
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=MS932");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			"../util/a_error.jsp", true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");

/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : a_mall_info.jsp,v 1.0 2004/02/26 Exp $
 * @author      : asakura
 * @Description : ご利用方法
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * Hong M.J       2006/12/06  Original
 */

      out.write("\r\n");
/**タグのセクション*/
      out.write("\r\n");
      out.write("\r\n");
/**エラー遷移先の定義のセクション*/
      out.write("\r\n");
      out.write("\r\n");
/**クラスのインポートのセクション*/
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");

//ログ用のインスタンスの生成(common)
Category log=Category.getInstance(SIConfig.SILOG4J_WEBSHOP_CATEGORY_NAME);
String webshopSite=SIHTMLUtil.getRootPath(request);

      out.write("\r\n");
      out.write("<html>\r\n");
      out.write("<body>\r\n");
      out.write("\r\n");
      out.write("\r\n");
if (!SIURLMap.isMobile(request)) {
      out.write("\r\n");
      /* ----  response:sendRedirect ---- */
      org.apache.taglibs.response.SendRedirectTag _jspx_th_response_sendRedirect_0 = (org.apache.taglibs.response.SendRedirectTag) _jspx_tagPool_response_sendRedirect.get(org.apache.taglibs.response.SendRedirectTag.class);
      _jspx_th_response_sendRedirect_0.setPageContext(pageContext);
      _jspx_th_response_sendRedirect_0.setParent(null);
      int _jspx_eval_response_sendRedirect_0 = _jspx_th_response_sendRedirect_0.doStartTag();
      if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
          out = _bc;
          _jspx_th_response_sendRedirect_0.setBodyContent(_bc);
          _jspx_th_response_sendRedirect_0.doInitBody();
        }
        do {
          out.print(SIURLMap.getUrl(request,"webshop.servlet.front.main"));
          int evalDoAfterBody = _jspx_th_response_sendRedirect_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
        if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
          out = pageContext.popBody();
      }
      if (_jspx_th_response_sendRedirect_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_response_sendRedirect.reuse(_jspx_th_response_sendRedirect_0);
      out.write("\r\n");
}else if (SIURLMap.isAU2(request)) {
      out.write("\r\n");
      if (_jspx_meth_response_sendRedirect_1(pageContext))
        return;
      out.write("\r\n");
}
      out.write("\r\n");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/mobile/bglogo.gif\" width=\"100%\" alt=\"BEAUTY GARAGE\">");
      out.write("<br>");
      out.write("<font size=\"1\">&nbsp;");
      out.write("</font>");
      out.write("<br>\r\n");

response.setHeader("Expires", "-1");
response.addHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");
response.setDateHeader("max-age", 0);

      out.write("\r\n");
      out.write("<table width=\"100%\" BGCOLOR=\"gainsboro\"> \r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr BGCOLOR=\"cyan\">");
      out.write("<td>");
      out.write("<div align=\"center\">");
      out.write("<img localsrc=\"122\"/>");
      out.write("<font size=\"3\" color=\"black\">ご利用の手引き");
      out.write("</font>");
      out.write("<img localsrc=\"122\"/>");
      out.write("</div>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("</table>");
      out.write("<br>\r\n");
      out.write("<font size=\"2\" color=\"black\">■注文受付ﾒｰﾙが届かない、注文できたかわからない場合");
      out.write("<br>");
      out.write("<br>\r\n注文受付ﾒｰﾙが届かない、注文できたかわからない場合、以下の可能性がございますので、ご確認ください。");
      out.write("<br>\r\n");
      out.write("<br>\r\n");
      out.write("<strong>●1. 注文が完了していない");
      out.write("</strong>");
      out.write("<br>\r\n｢ご注文最終確認｣画面まで進み、｢注文を確定する｣ﾎﾞﾀﾝを押していただけましたか？");
      out.write("<br>\r\n｢注文を確定する｣ﾎﾞﾀﾝを押すまで、ご注文は完了しません。");
      out.write("<br>\r\n注文が正しく受け付けられているかどうかは、");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.au.customer.menu"));
      out.write("\">ﾏｲﾍﾟｰｼﾞ");
      out.write("</a>の｢購入履歴｣でご確認いただだけます。");
      out.write("<br>\r\n｢購入履歴｣に該当のご注文がない場合、注文が受け付けられておりません。その際は、お手数ですが改めてご注文いただけますようお願いいたします。");
      out.write("<br>\r\n");
      out.write("<br>\r\n");
      out.write("<strong>●2. 登録ﾒｰﾙｱﾄﾞﾚｽに誤りがある");
      out.write("</strong>");
      out.write("<br>\r\n注文が完了しているにも関わらず、注文受付ﾒｰﾙが届かない場合、登録ﾒｰﾙｱﾄﾞﾚｽに誤りがある可能性がございます。");
      out.write("<br>\r\n");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.au.customer.menu"));
      out.write("\">ﾏｲﾍﾟｰｼﾞ");
      out.write("</a>の｢お客さま情報｣より、登録ﾒｰﾙｱﾄﾞﾚｽをご確認いただき、誤りがございましたら訂正を行ってください。");
      out.write("<br>\r\n");
      out.write("<br>\r\n");
      out.write("<strong>●3. ﾄﾞﾒｲﾝ指定受信や迷惑ﾒｰﾙﾌｨﾙﾀ機能によりﾒｰﾙが届かない");
      out.write("</strong>");
      out.write("<br>\r\n注文が完了しており、登録ﾒｰﾙｱﾄﾞﾚｽが正しいにも関わらず、注文受付ﾒｰﾙが届かない場合は、ﾄﾞﾒｲﾝ指定受信や迷惑ﾒｰﾙﾌｨﾙﾀ機能の設定により、ﾒｰﾙが受信できていない可能性がございます。以下をご確認いただき、必要に応じて設定変更等を行ってください。");
      out.write("<br>\r\n");
      out.write("<strong>【ﾄﾞﾒｲﾝ指定受信の設定】");
      out.write("</strong>");
      out.write("<br>\r\n携帯電話やｽﾏｰﾄﾌｫﾝのﾒｰﾙｱﾄﾞﾚｽをお使いの場合、ﾄﾞﾒｲﾝ｢@beautygarage.jp｣のﾒｰﾙを受信できるように設定してください。");
      out.write("<br>\r\n");
      out.write("<strong>【迷惑ﾒｰﾙ設定の解除】");
      out.write("</strong>");
      out.write("<br>\r\nお使いのﾒｰﾙｻｰﾋﾞｽやﾒｰﾙｿﾌﾄの迷惑ﾒｰﾙﾌｨﾙﾀ機能により｢迷惑ﾒｰﾙ｣と認識され、ﾒｰﾙが届かない場合がございます。その場合は、｢迷惑ﾒｰﾙﾌｫﾙﾀﾞ｣をご確認いただくか、お使いのﾒｰﾙｻｰﾋﾞｽ、ﾒｰﾙｿﾌﾄの設定をご確認ください。");
      out.write("</font>\r\n");
      out.write("<br>");
      out.write("<br>\r\n");
      out.write("<table width=\"100%\" BGCOLOR=\"gainsboro\">\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<hr size=\"1\" color=\"blue\">");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;");
      out.write("<img localsrc=\"325\"/>&nbsp;");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.servlet.front.au.main"));
      out.write("\" accesskey=\"0\">");
      out.write("<font size=\"2\" color=\"blue\">ﾄｯﾌﾟに戻る");
      out.write("</font>");
      out.write("</a>");
      out.write("<br>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<font size=\"2\" color=\"blue\">&nbsp;");
      out.write("<img localsrc=\"63\"/>&nbsp;");
      out.write("</font>");
      out.write("<a href=\"");
      out.print(SIURLMap.getUrl(request,"webshop.jsp.front.au.howtoshoptop"));
      out.write("\">");
      out.write("<font size=\"2\" color=\"blue\">戻る");
      out.write("</font>");
      out.write("</a>");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("<tr>");
      out.write("<td>");
      out.write("<hr size=\"1\" color=\"blue\">\r\n");
      out.write("<div align=\"center\">");
      out.write("<font size=\"1\" >Copyright by");
      out.write("</font>");
      out.write("</div>\r\n");
      out.write("<div align=\"center\">");
      out.write("<font size=\"1\" >BEAUTY GARAGE INC.");
      out.write("</font>");
      out.write("</div>\r\n");
      out.write("<div align=\"center\">");
      out.write("<font size=\"1\" >All rights reserved.");
      out.write("</font>");
      out.write("</div>\r\n");
      out.write("<img src=\"");
      out.print(SIBGUtil.googleAnalyticsGetImageUrl(request,""));
      out.write("\" />");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("</table>\r\n");
      out.write("</body>\r\n");
      out.write("</html>");
    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0)
        out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }

  private boolean _jspx_meth_response_sendRedirect_1(javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  response:sendRedirect ---- */
    org.apache.taglibs.response.SendRedirectTag _jspx_th_response_sendRedirect_1 = (org.apache.taglibs.response.SendRedirectTag) _jspx_tagPool_response_sendRedirect.get(org.apache.taglibs.response.SendRedirectTag.class);
    _jspx_th_response_sendRedirect_1.setPageContext(pageContext);
    _jspx_th_response_sendRedirect_1.setParent(null);
    int _jspx_eval_response_sendRedirect_1 = _jspx_th_response_sendRedirect_1.doStartTag();
    if (_jspx_eval_response_sendRedirect_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_response_sendRedirect_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
        out = _bc;
        _jspx_th_response_sendRedirect_1.setBodyContent(_bc);
        _jspx_th_response_sendRedirect_1.doInitBody();
      }
      do {
        out.write("http://www.beautygarage.jp/errorAU.html");
        int evalDoAfterBody = _jspx_th_response_sendRedirect_1.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_response_sendRedirect_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
        out = pageContext.popBody();
    }
    if (_jspx_th_response_sendRedirect_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_response_sendRedirect.reuse(_jspx_th_response_sendRedirect_1);
    return false;
  }
}
