📄 serviceintroduce.jsp
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="java.util.*" %>
<%@ page import="com.intacpurun.wsms.comm.*" %>
<%@ page import="com.intacpurun.wsms.srvclogic.*" %>
<%@ page import="com.intacpurun.wsms.comm.vo.*"%>
<%@ page errorPage="error.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>短信业务说明</TITLE>
<META http-equiv=content-type content="text/html; charset=gb2312">
<STYLE type=text/css>TD {
FONT-SIZE: 12px
}
P {
FONT-SIZE: 12px
}
LI {
FONT-SIZE: 12px
}
SELECT {
FONT-SIZE: 12px
}
INPUT {
FONT-SIZE: 12px
}
.l13 {
LINE-HEIGHT: 130
}
.l15 {
LINE-HEIGHT: 150
}
.f14 {
FONT-SIZE: 14px
}
.fl {
FONT-SIZE: 14px; LINE-HEIGHT: 130
}
A:hover {
COLOR: #ff0000
}
</STYLE>
<SCRIPT language=javascript src="img/style.js">
</SCRIPT>
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
</HEAD>
<%
/** 完成展现页面所需数据的提取 **/
String serviceId = request.getParameter("serviceid");
if (serviceId.trim().length() > 0)
{
//如果提交的业务号码有效
int tempId =Integer.parseInt(serviceId);
ServiceVo serviceVo = ServiceMgr.getServiceInfo(tempId);
List cityList = Util.getCityList();
%>
<BODY bgColor=#f9cd34 leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">
<CENTER>
<TABLE cellSpacing=0 cellPadding=0 width=482 bgColor=#f9cd34 border=0>
<TBODY>
<TR>
<TD width=7 height=45><IMG height=1 src="img/c.gif" width=1></TD>
<TD width=475><IMG height=39 src="img/14dc_sina.gif" width=98></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=482 border=0>
<TBODY>
<TR>
<TD width=475 bgColor=#fff2bb height=30> 短信频道 > 短信订阅</TD>
</TR>
<TR>
<TD height=1><IMG height=1 src="img/c.gif" width=1></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=484 bgColor=#fff2bb border=0>
<FORM name=dingyue action="inputmsisdn.jsp" method=post target=_blank>
<!--传送订购业务的编号 -->
<input type="hidden" name="serviceid" value="<%=serviceVo.getServiceId() %>"/>
<TBODY>
<TR>
<TD width="484" height=5 colSpan=2><IMG height=1 src="img/c.gif" width=1></TD>
</TR>
<TR>
<TD align=middle colSpan=2 height=40><B>天气预报说明</B></TD>
</TR>
<TR>
<TD align=middle colSpan=2 height=30> <TABLE cellSpacing=0 cellPadding=0 width=483 border=0>
<TBODY>
<TR>
<TD width=80 height=20><B>服务名称</B>:</TD>
<TD width="403"><!--天气预报--><%=serviceVo.getName()%></TD>
</TR>
<TR>
<TD width=80 height=20><B>价 格</B>:</TD>
<TD><!--包月计费,每城市3元--><%=serviceVo.getPriceInfo() %> </TD>
</TR>
<TR>
<TD width=80 height=20><B>发送频次</B>:</TD>
<TD><!--1 条/日 --><%=serviceVo.getFreqDesc() %></TD>
</TR>
<TR>
<TD width=80 height=30><B>手机订阅</B>:</TD>
<TD><INPUT type=hidden value=430 name=from>
城市:
<SELECT name="cityid">
<%
//输出下拉列表框中的数据
String isSelected = "";
for(int i = 0,j = cityList.size(); i < j; i++)
{
ListNode node = (ListNode)cityList.get(i);
//默认选中第一行
if (i == 0) isSelected = "selected";
else isSelected = "";
out.println( "<OPTION value=" + node.getId() +
" "+ isSelected +">"+ node.getName() +"</OPTION>");
}
%>
</SELECT>
<INPUT type=image height=18 width=22 src="img/tianqiad10.gif" align=absMiddle border=0> </TD>
</TR>
<TR>
<TD vAlign=top width=80 height=30><B>介 绍</B>: </TD>
<TD vAlign=top> <P><%=serviceVo.getDesc() %>
</P></TD>
</TR>
<TR>
<TD vAlign=top width=80 height=10> </TD>
<TD> </TD>
</TR>
<TR>
<TD vAlign=top width=80 height=30><B>例 子</B>: </TD>
<TD vAlign=top> <P>
<%=serviceVo.getExample() %>
<!--
北京天气预报:1月17日周四<BR>
今晚:晴<BR>
风力:<3<BR>
最低温度:-8<BR>
明天:晴<BR>
风力:<3<BR>
最高温度:5<BR>
污染指数:3<BR>
--><BR>
<BR>
</P></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</FORM>
</TABLE>
</CENTER>
</BODY></HTML>
<%
}
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -