<%@page contentType="text/html;charset=utf-8" import="java.sql.*,java.util.*,jerehnet.jsp.database.*,jerehnet.jsp.util.*,java.text.SimpleDateFormat"%> <% PoolManager pool = new PoolManager(); if (pool == null) { pool = new PoolManager(); } Connection conn = null; DataManager db = new DataManager(); Map userMap = (Map)session.getAttribute("userInfo"); String name = ""; String telephone = ""; if(userMap!=null){ name = (String)userMap.get("name"); telephone = (String)userMap.get("telephone"); } String surveyTitleId = ""; String surveyType = ""; String surveyId = ""; String limitType = ""; String jstIsrequire = ""; int indext = 1; int indexo = 0; try { conn = pool.getConnection(); String sqlTitle = "SELECT js.limit_type limit_type,js.title js_title,jst.id jst_id,jst.survey_id jst_surveyid,jst.title jst_title,jst.type jst_type,jst.is_require jst_isrequire from jrcms_survey js INNER JOIN jrcms_survey_title jst on js.id=jst.survey_id where jst.is_show=1 "; sqlTitle+=" and jst.survey_id =(SELECT top 1 id from jrcms_survey where is_show=1 and website_no='20150619082201914' and getdate()>start_date and getdate() 在线调研_站点信息_天津奥特泵业

您当前的位置: 首页 > 站点信息 > 在线调研

品牌,是一张鲜明的脸谱,也是一种直观的印象。在您心目中,奥特品牌形象是怎样的呢?
非常感谢您在百忙之中填写此问卷。
"> <%while(rsTitle!=null&&rsTitle.next()){ String jstTitle = Common.getFormatPara(rsTitle.getString("jst_title")); surveyTitleId = Common.getFormatPara(rsTitle.getString("jst_id")); surveyType = Common.getFormatPara(rsTitle.getString("jst_type")); surveyId = Common.getFormatPara(rsTitle.getString("jst_surveyid")); limitType = Common.getFormatPara(rsTitle.getString("limit_type")); jstIsrequire = Common.getFormatPara(rsTitle.getString("jst_isrequire"));%>

Q<%=indext%>:<%=jstTitle%> <%if("1".equals(jstIsrequire)){%>*<%}%>

<% String sqlOption = "SELECT option_id,survey_title_id,title,is_allow from jrcms_survey_option where survey_title_id='"+surveyTitleId+"'"; ResultSet rsOption = db.executeQuery(conn,sqlOption); %> <%while(rsOption!=null&&rsOption.next()){ String optionId = Common.getFormatPara(rsOption.getString("option_id")); String optionTitle = Common.getFormatPara(rsOption.getString("title")); String is_allow=Common.getFormatPara(rsOption.getString("is_allow")); switch(Integer.parseInt(surveyType.trim())) { case 1:%>
datatype="*" nullmsg="<%=jstTitle%>"<%}%>>
<%=optionTitle%>
<%; break; case 2: if(!is_allow.equals("1")){ %>
datatype="*" nullmsg="<%=jstTitle%>"<%}%>>
<%=optionTitle%>
<%}else{%>
datatype="*" nullmsg="<%=jstTitle%>"<%}%> >
<%=optionTitle%>
<%}; break; case 3: %>
<% break; }%> <%}%> <%if("3".equals(surveyType)){%>
<%}%> <%if("5".equals(surveyType)){%>
datatype="*" nullmsg="<%=jstTitle%>"<%}%> name="qe_answer_text<%=indext%>" id="qe_answer_text<%=indext%>">
<%indexo=0;}%>
<%indext++;}%>
友情提示:请填写您的真实信息,以便我们与您联系。
姓名
*
联系电话
*
邮箱
*
身份证号
通讯地址
邮编
<% } catch (Exception e) { e.printStackTrace(); } finally { pool.freeConnection(conn); } %>