⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 buy.jsp

📁 华东粮油电子交易市场网站源码华东粮油电子交易市场网站源码华东粮油电子交易市场网站源码
💻 JSP
📖 第 1 页 / 共 2 页
字号:
                <tr>
                  <td style="BORDER-RIGHT: rgb(204,204,204) 1px solid; BORDER-LEFT: rgb(204,204,204) 1px solid; BORDER-BOTTOM: rgb(204,204,204) 1px solid">
                  	<table cellspacing="0" cellpadding="0" width="100%" border="0">
                      <tbody>
                        <tr>
                          <td align="middle">
                            <table class="S" cellspacing="0" cellpadding="4" width="100%" align="center" border="0">
                          <form action="<%=strFormAction%>" method="post" name="aform" id="aform" onSubmit="return Check(this);">
                              <tbody>  
                                <tr>
                                  <td colspan="3">&nbsp;</td>
                                </tr>
                                <tr>
                                  <td class="m" style="PADDING-RIGHT: 14px" colspan="3"><%=igec.site.base.business.DataUtilBusiness.getFieldValue("NAME","TAB_IGECMEBSEV","WHERE ID='S00020'")%></td>
                                </tr>
                                <tr>
                                  <td colspan="3"><hr width="680" color="#cccccc" size="1" /></td>
                                </tr>
                                <tr>
                                	<td >&nbsp;</td>
                                  <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                  <%
                                  	strService = igec.site.base.business.DataUtilBusiness.getValues("SELECT PID FROM (SELECT (SELECT COUNT(*) FROM TAB_IGECSMSINFO WHERE PID=a.ID AND USEFLAG='1') AS SONNUM,PID FROM TAB_IGECSMSINFO a WHERE USEFLAG='1') as t WHERE SONNUM=0 GROUP BY PID ORDER BY PID");
	                                  if(strService!=null){
	                                  	for(int i=0;i<strService.length;i++){
	                                  		out.println("<tr><td colspan=\"5\" bgcolor=\"rgb(239,248,254)\" align=\"left\">&nbsp;" + igec.site.base.business.SysUtilBusiness.getStrPath(strService[i][0],"PID","TITLE","TAB_IGECSMSINFO") + "</td></tr>");
												//System.out.println("strSmsServiceNum ="+strSmsServiceNum);
											int numTemp=java.lang.Integer.parseInt(strSmsServiceNum);
												//System.out.println("numTemp ="+numTemp);
											if(numTemp>0){
												servSql="";
												sqlTemp="";
												sqlTemp="select a.PARAID from TAB_IGECMEBPV a,TAB_MEBUPREG b where a.MEBID=b.MEBID and b.MEBID='"+user.getStrUserId()+"' and b.TYPE='2' and a.menuid='S00020'";
												servSql="SELECT ID,TITLE,COSTMN FROM TAB_IGECSMSINFO WHERE PID='" + strService[i][0] + "' and id in("+sqlTemp+") AND USEFLAG='1' ORDER BY XH";
											}else{
												servSql="";
												sqlTemp="";
												servSql="SELECT ID,TITLE,COSTMN FROM TAB_IGECSMSINFO WHERE PID='" + strService[i][0] + "' AND USEFLAG='1' ORDER BY XH";
											}	
												//System.out.println("servSql 1 "+servSql);
											String strCondition="";
											if(numTemp>0){
												strCondition=" and id in("+sqlTemp+")";
												//System.out.println("strCondition ="+strCondition);
											}
											String strNewsType[][] = igec.site.base.business.DataUtilBusiness.getValues("SELECT ID,TITLE,COSTMN FROM TAB_IGECSMSINFO WHERE PID='" + strService[i][0] + "' AND USEFLAG='1' "+strCondition+" ORDER BY XH");
	                                  		for(int n=0;n<strNewsType.length;){
												out.println("<tr align=\"left\">");
	                                  			for(int t=0;t<5;t++){
	                                  					if(n<strNewsType.length){
			                                  				out.println("<td><input type=\"Checkbox\" name=\"sms\" value=\"" + strNewsType[n][0] + "\" money=\"" + strNewsType[n][2] + "\" onclick=\"javascript:countCost('sms');\" "+disabledStr+"> " + strNewsType[n][1] + "(" + strNewsType[n][2] + "元/年)</td>");
			                                  			}else{
			                                  				out.println("<td>&nbsp;</td>");
			                                  			}
	                                  				n++;
	                                  			}
	                                  			out.println("</tr>");
	                                  		}
	                                  	}
	                                  }
                                  %>  
                                  <tr><td colspan="5" align="left">待接收短信的手机号码:
								  <%
									String strRecMobile="";
									strRecMobile=igec.site.base.business.DataUtilBusiness.getFieldValue("SMSREC","TAB_IGECMEBADV","WHERE MEBID='" + user.getStrUserId() + "'");
									
									if(strRecMobile==null || "".equals(strRecMobile)){		strRecMobile=igec.site.base.business.DataUtilBusiness.getFieldValue("MOBILE","TAB_IGECMEBADV","WHERE MEBID='" + user.getStrUserId() + "'");
									}
								  %>
								  <input type="text" name="recMobile" id="recMobile" size="15" maxlength="13" label="接收短信的手机号码" value="<%=igec.util.Tool.IsEmpty(strMobile_dy)?strRecMobile:strMobile_dy%>" ValueFormat="mobile"></td></tr>                   
                                  </table></td>
                                	<td >&nbsp;</td>
                                </tr>
                                <tr>
                                  <td class="m" style="PADDING-RIGHT: 14px" colspan="3"><hr width="680" color="#cccccc" size="1" />                                  </td>
                                </tr>
                                <tr>
                                  <td colspan="3"><table cellspacing="0" cellpadding="0" width="100%" border="0">
							                      <tbody>
							                        <tr height="30">
							                          <td width="20%">购买服务年数</td><td align="left"><select name="BuyYear" id="BuyYear" EmptyDisable label="购买服务年数" onChange="javascript:yearNum('BuyYear');"><option value="1">一年</option><option value="2">二年</option><option value="3">三年</option><option value="4">四年</option><option value="5">五年</option></select></td><td width="20%">&nbsp;</td>
							                        </tr>
							                        <tr height="30">
							                          <td width="20%">站内短信条数</td><td align="left"><select name="BuySmsNum" id="BuySmsNum" EmptyDisable label="站内短信条数" onChange="javascript:siteMsgNum('BuySmsNum',<%=strTemtMsgNum%>);"><option value="0">0条</option><option value="1">1000条</option><option value="2">2000条</option><option value="3">3000条</option><option value="4">4000条</option><option value="5">5000条</option></select>&nbsp;&nbsp;价格:<%=strTemtMsgNum%>元/1000条</td><td width="20%">&nbsp;</td>
							                        </tr>
							                     </tbody>
							                     </table>                          				</td>
                                </tr>  
                                <tr>
                                  <td colspan="3">&nbsp;</td>
                                </tr>  
                                <tr>
                                  <td  colspan="3" class="S" style="BORDER-TOP: rgb(225,233,239) 1px solid; BACKGROUND-COLOR: rgb(239,248,254)" valign="middle" align="center">
                                  <table cellspacing="0" cellpadding="0" width="50%" border="0">
                                      <tbody>
                                        <tr>
                                          <td ><input class="button1" style="COLOR: rgb(132,4,4)" type="submit" value="确认提交" name="submit" /></td>
                                        </tr>
                                      </tbody>
                                  </table>                                  </td>
                                </tr>
                              </tbody>
                          </form>
                          </table></td>
                        </tr>
                      </tbody>
                  </table></td>
                </tr>
              </tbody>
            </table>
            <br />
 <br />
<script language=javascript>
document.onkeydown=nextpage
function nextpage(event) {
	event = event ? event : (window.event ? window.event : null); 
	if (event.keyCode==13) userlogin();
}
</script>
<script language="JavaScript">
function userlogin(){
	document.loginform.submit();
}
</script>
		  </div>
	  </div>
		<!--end/content-->				
		<!--left-->
<div id="leftmenu">			
	<!--menu-->
	  <div id="tree1"></div>
	<!--end/menu-->
	</div>
		<!--end/left-->
	</div>	
<script language="javascript" src="<%=strOfficeStyle%>/menu.jsp?iid=<%=request.getParameter("iid")%>"></script>
<script type="text/javascript">treeInit();</script>
<%@ include file="../bot.jsp"%>
  </body>
 </html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -