?? do_2stprocess_add_by_admin.jsp
字號:
<%@ page language="java" contentType="text/html;charset=gb2312"%>
<jsp:useBean id="set" class="com.db.Train" scope="page"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>添加路線步驟三</title>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../css/mm_lodging1.css" type="text/css">
</head>
<%
request.setCharacterEncoding("gb2312");
if(session.getAttribute("isLogin")==null)
{
%>
<jsp:forward page="../login/login.html"/>
<%
}
String train_serial=session.getAttribute("train_serial").toString();
String stations_num=session.getAttribute("stations_num").toString();
int num=Integer.parseInt(stations_num);
String[] stations_name=new String[num];
for(int i=0;i<num;i++)
{
stations_name[i]=request.getParameter("station_"+(i+1)+"");
}
set.setTrainStations(num,stations_name,""+train_serial+"_stations_inf",train_serial);
%>
<body text=#003300 vLink=#002200 leftMargin=0 topMargin=0>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="../image/16.gif"></td>
</tr>
</table>
<table cellSpacing=0 cellPadding=0 width=600 align="center" bgcolor="#033D7C">
<TBODY>
<tr width="600" bgcolor="#a4c2c2">
<td height="36" colspan="3" id="navigation" class="navText" align="center"> <a href="../admin/index.jsp">首頁</a>
<a href="../user/admin_by_admin.jsp">用戶管理</a>
<a href="../admin/inf_edit.jsp">控制面板</a>
<a href="../train/1stProcess_add_by_admin.jsp">添加列車路線</a> <a href="../common/exit.jsp">退出</a> </td>
</tr>
</TBODY>
</table>
<br><br>
<form action="../train/do_3stProcess_add_by_admin.jsp" method="post">
<table cellSpacing=0 cellPadding=0 width=600 align="center" align="center">
<tr>
<td width="600" align="center" bgcolor="#cccccc">
<font size="2">添加列車路線步驟三</font>
</td>
</tr>
</table>
<table cellSpacing=0 cellPadding=0 width=600 align="center" align="center">
<%
for(int i=1;i<num;i++)
{
%>
<tr>
<td width="600" align="center" bgcolor="#EBEBEB">
<font size="2"><%=stations_name[i-1]%>發車時間:</font>
</td>
<td width="600" align="center" bgcolor="#EBEBEB">
<input type="text" name="start_time_<%=i-1%>">
</td>
</tr>
<tr>
<td width="600" align="center" bgcolor="#cccccc" height="3">
</td>
<td width="600" align="center" bgcolor="#cccccc" height="3">
</td>
</tr>
<%
}
%>
<tr>
<td width="600" align="right" bgcolor="#EBEBEB">
<input type="submit" value="下一步">
</td>
<td width="600" align="left" bgcolor="#EBEBEB">
<input type="reset" value="取消">
</td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -