package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import java.sql.*;
import jp.co.sint.beans.mallmgr.*;
import jp.co.sint.config.*;
import jp.co.sint.database.*;
import jp.co.sint.tools.*;

public class maker_plate_home_inc_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siiterator_type_id_collection;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isFalse_value;

  public maker_plate_home_inc_jsp() {
    _jspx_tagPool_webshop_siiterator_type_id_collection = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isFalse_value = new org.apache.jasper.runtime.TagHandlerPool();
  }

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

  public void _jspDestroy() {
    _jspx_tagPool_webshop_siiterator_type_id_collection.release();
    _jspx_tagPool_webshop_isFalse_value.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,
      			null, true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      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");
String webshopSite=SIHTMLUtil.getRootPath(request);
SIDatabaseConnection databaseConnection=new SIDatabaseConnection();try{
Connection connection=databaseConnection.getConnection();

      out.write("\r\n");
      out.write("<div id=\"fragment2\">\r\n");
      out.write("<div id=\"maker\">\r\n");
      out.write("<h2>取り扱いメーカー/ブランド");
      out.write("</h2>\r\n");
      out.write("<h3 class=\"maker_subtitle\">全ての取り扱いメーカー/ブランド");
      out.write("</h3>\r\n");
      out.write("<!-- block_maker01 -->\r\n");
      out.write("<div id=\"makerlist\">\r\n");
      out.write("<ul>\r\n");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_0 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_0.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_0.setParent(null);
      _jspx_th_webshop_siiterator_0.setType("jp.co.sint.basic.SINameValue");
      _jspx_th_webshop_siiterator_0.setCollection(UIRegMaker.getFrontCollection(connection));
      _jspx_th_webshop_siiterator_0.setId("makerID");
      int _jspx_eval_webshop_siiterator_0 = _jspx_th_webshop_siiterator_0.doStartTag();
      if (_jspx_eval_webshop_siiterator_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SINameValue makerID = null;
        makerID = (jp.co.sint.basic.SINameValue) pageContext.findAttribute("makerID");
        do {
          out.write("\r\n");
          /* ----  webshop:isFalse ---- */
          jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_0 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
          _jspx_th_webshop_isFalse_0.setPageContext(pageContext);
          _jspx_th_webshop_isFalse_0.setParent(_jspx_th_webshop_siiterator_0);
          _jspx_th_webshop_isFalse_0.setValue(SIUtil.isNull(makerID.getValue()));
          int _jspx_eval_webshop_isFalse_0 = _jspx_th_webshop_isFalse_0.doStartTag();
          if (_jspx_eval_webshop_isFalse_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\r\n");
              out.write("<li>");
              out.write("<a href=\"");
              out.print(webshopSite+"/advancedsearch/actionNameTxt/list/dispModeTxt/"+SIConfig.DEFAULT_DISPMODE+"/maker/"+makerID.getValue());
              out.write("\">");
              out.print(makerID.getName());
              out.write("</a>");
              out.write("</li>\r\n");
              int evalDoAfterBody = _jspx_th_webshop_isFalse_0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_isFalse_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_0);
          out.write("\r\n");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_0.doAfterBody();
          makerID = (jp.co.sint.basic.SINameValue) pageContext.findAttribute("makerID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_0);
      out.write("\r\n");
      out.write("</ul>\r\n");
      out.write("</div>\r\n");
      out.write("<!-- /block_maker01 -->\r\n");
      out.write("<p>");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/img/bg_tab02_foot.gif\" width=\"537\" height=\"10\">");
      out.write("</p>\r\n");
      out.write("</div>\r\n");
      out.write("</div>\r\n");

}catch(Exception e){
  e.printStackTrace();
  throw new ServletException();
}finally{
  databaseConnection.close();
}

    } 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);
    }
  }
}
