?? preprovision.jsp
字號:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="java.util.*" %>
<%@ page import="com.intacpurun.wsms.srvclogic.*" %>
<%@ page import="com.intacpurun.wsms.comm.vo.*"%>
<%@ page import="java.net.*"%>
<%@ page errorPage="error.jsp" %>
<%
String serviceId = request.getParameter("serviceid");
String userMsisdn = request.getParameter("msisdn");
//判斷用戶是否已經訂購過該業務
boolean isProvision = ServiceMgr.isProvision(userMsisdn,serviceId);
if (isProvision)
{
RequestDispatcher patcher = request.getRequestDispatcher("prompt.jsp");
request.setAttribute("info","你已經訂購過該業務,無需再次訂購!請點擊確定返回!");
request.setAttribute("url","serviceview.jsp");
patcher.forward(request,response);
}
session.setAttribute("msisdn",userMsisdn);
//獲得業務介紹信息
int tempId =Integer.parseInt(serviceId);
ServiceVo serviceVo = ServiceMgr.getServiceInfo(tempId);
//獲得附加碼
String aidedCode = ServiceMgr.getConfirmCode();
session.setAttribute("aidedcode",aidedCode);
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>服務信息</TITLE>
<META http-equiv=Content-Type content="text/html; charset=GBK">
<META http-equiv=Pragma content=no-cache>
<META http-equiv=Cache-Control content=no-cache>
<META http-equiv=Expires content=0>
<LINK href="img/css.htm" type=text/css rel=stylesheet>
<LINK href="img/mon2004.htm" type=text/css rel=stylesheet>
<STYLE type=text/css>.style2 {
COLOR: #003399
}
.style3 {
COLOR: #000000
}
</STYLE>
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<FORM name=postForm action="provision.jsp" method=post>
<input type="hidden" name="serviceid" value="<%=serviceId%>"/>
<input type="hidden" name="msisdn" value="<%=userMsisdn%>" />
<table align="center">
<TR><TD valign="top" align="center" height="53">
<TABLE cellSpacing=0 cellPadding=0 width=473 align=center border=0>
<TBODY>
<TR>
<TD align=middle width=300> <TABLE cellSpacing=0 cellPadding=0 width=470 border=0>
<TBODY>
<TR>
<TD width=470 background=img/line.gif height=5></TD>
</TR>
<TR>
<TD vAlign=top align=middle> <TABLE cellSpacing=3 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD align=middle colSpan=2 height=28><FONT
color=red><FONT color=red><STRONG></FONT></STRONG></FONT></TD>
</TR>
<TR bgColor=#deecf7>
<TD colSpan=2 height=29><SPAN class=td><STRONG>
天氣預報</STRONG></A></SPAN></TD>
</TR>
<TR>
<TD width="23%" height=137 align=middle><IMG height=83 src="img/service_pic_01.gif" width=81></TD>
<TD width="77%"> <TABLE cellSpacing=0 cellPadding=0 width="101%">
<TBODY>
<TR>
<TD class=tt><STRONG>服務名稱:</STRONG><%=serviceVo.getName() %></TD>
</TR>
<TR>
<TD class=tt width="95%"><STRONG>服務說明: </STRONG><%=serviceVo.getDesc() %><!--提供24小時天氣預報。(每天晚上6-7時發布。)--></TD>
</TR>
<TR>
<TD class=tt><STRONG>手機帳戶資費:</STRONG><%=serviceVo.getPriceInfo() %> <!--每月收費3.0元-->
</TD>
</TR>
<TR>
<TD class=tt><STRONG>業務狀態:</STRONG>收費 </TD>
</TR>
<TR>
<TD class=tt><STRONG>客服信息:</STRONG><SPAN class=tt><BR>
北京互聯信息服務有限公司<BR>
客服電話:12345678 </SPAN></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD colSpan=2> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD bgColor=#ebebeb> <TABLE cellSpacing=0 cellPadding=3 width="100%" bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD width="38%"> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width="87%" bgColor=#b6c2d9>
<DIV align=right>手機號碼</DIV></TD>
<TD width="13%"><IMG height=23 src="img/head.gif" width=26></TD>
</TR>
</TBODY>
</TABLE></TD>
<TD width="62%"><INPUT disabled maxLength=11 size=14 value="<%=userMsisdn %>" name=msisdn> </TD>
</TR>
<TR>
<TD> <TABLE cellSpacing=0 cellPadding=0 width=170 border=0>
<TBODY>
<TR>
<TD width=144 bgColor=#b6c2d9>
<DIV class=style3 align=right>短信確認碼</DIV></TD>
<TD width=26><IMG height=23 src="img/head.gif" width=26></TD>
</TR>
</TBODY>
</TABLE></TD>
<TD><input maxLength=8 size=14 name=password>
<A onclick="window.open('getconfirmcode.jsp?msisdn=<%=userMsisdn %>','','width=300,height=300,left=400,top=300,border=0')"
href="#" ><FONT color=red>“獲取隨機密碼”</FONT></A> </TD>
</TR>
<TR>
<TD width=115 height=23> <TABLE cellSpacing=0 cellPadding=0 width=170 border=0>
<TBODY>
<TR>
<TD width=144 bgColor=#b6c2d9>
<DIV align=right><SPAN class=style3>附加碼</SPAN></DIV></TD>
<TD width=26><IMG height=23 src="img/head.gif" width=26></TD>
</TR>
</TBODY>
</TABLE></TD>
<TD><INPUT class=box maxLength=6 size=14 name=aidedcode>
<%=aidedCode %></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD><IMG height=1 src="img/loss_3.gif" width=470></TD>
</TR>
<TR bgColor=#dfdfd8>
<TD align=middle height=30> <TABLE cellSpacing=0 cellPadding=0 width=460 align=center>
<TBODY>
<TR align=middle>
<TD align=middle height=29><INPUT type=image height=22 width=83 src="img/bot-next.gif"
border=0 name=imageField> </TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD><IMG height=1 src="img/loss_3.gif" width=470></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></TD></TR><TR></table>
<DIV align=center><BR>
<TABLE cellSpacing=0 cellPadding=0 width=750 border=0>
<TBODY>
<TR><TABLE cellSpacing=0 cellPadding=0 width=460 align=center bgColor=#1b1b1b
border=0>
<TBODY>
<TR>
<TD height=2></TD></TR></TBODY></TABLE>
<TABLE height=26 cellSpacing=0 cellPadding=0 width=460 align=center
bgColor=#f7f7f7 border=0>
<TBODY>
<TR>
<TD align=middle height=26>版權所有 © <A href="http://www.chinamobile.com/"
target=_blank>中國移動通信集團公司</A> <A
href="http://www.chinamobilehk.com/">中國移動(香港)有限公司</A></TD></TR></TBODY></TABLE>
</TR></TBODY></TABLE></DIV></TR></TABLE>
</FORM>
</BODY></HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -