?? editkehu.jsp
字號:
<%@ page contentType="text/html;charset=gb2312" %>
<%@ include file="top.jsp"%>
<TABLE id=Table1 cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR id=main_section vAlign=top>
<TD>
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR >
<TD class=welcomeleft id=left_pane vAlign=top width=155 >
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 background=../images/back.gif height=586>
<TBODY>
<TR>
<TD valign=top>
<%@ include file="yewu_mainmenu.jsp"%>
</TD></TR>
</TBODY></TABLE>
</TD><TD id=right_pane background=../images/adminbodybg3.gif valign=top>
<!---------------------->
<%
int id = Integer.parseInt((String)request.getParameter("id"));
rs=stmt.executeQuery("SELECT * from kehu where id="+id);
while(rs.next())
{%>
<br><br>
<form name="form1" method="post" action="editkehugok.jsp?id=<%=id%>">
<img src=../images/sendmsg.jpg>編輯客戶
<TABLE cellSpacing="0" cellPadding="0" width="90%" align="center" border="0" class="article-page" bordercolor=red>
<TR>
<TD valign="top">
<TABLE style="BORDER-RIGHT: thin solid; BORDER-TOP: thin solid; FONT-SIZE: x-small; BORDER-LEFT: thin solid; BORDER-BOTTOM: thin solid; FONT-FAMILY: Verdana; HEIGHT: 66px" cellSpacing="0" cellPadding="2" width="100%" border="0">
<TR >
<TD style="WIDTH: 88px; HEIGHT: 27px" vAlign="top">單位名稱:</TD>
<TD style="HEIGHT: 27px" vAlign="top">
<input name="company" value=<%=rs.getString("company")%> type="text" maxlength="120" style="width:76%;">
<select name="lei">
<option value="<%=rs.getString("lei")%>" selected>默認選擇</option>
<option value="1" >跟蹤聯系</option>
<option value="2">問題解答</option>
</select>
<select name="yvyue">
<option value="<%=rs.getString("yvyue")%>" selected>默認選擇</option>
<option value="1" >有預約</option>
<option value="0">未預約</option>
</select>
</td>
</TR>
<TR>
<TD height=20></TD>
</TR>
<TR >
<TD style="WIDTH: 88px; HEIGHT: 27px" vAlign="top">聯系人</TD>
<TD style="HEIGHT: 27px" vAlign="top"><input name="mem" type="text" maxlength="120" style="width:28%;" value=<%=rs.getString("mem")%>>
電話:<input name="tel" type="text" maxlength="120" style="width:28%;" value=<%=rs.getString("tel")%>>
傳真:<input name="fax" type="text" maxlength="120" style="width:28%;" value=<%=rs.getString("fax")%>>
</TD>
</TR>
<TR>
<TD height=20></TD>
</TR>
<TR >
<TD style="WIDTH: 88px; HEIGHT: 27px" vAlign="top">地址</TD>
<TD style="HEIGHT: 27px" vAlign="top"><input name="address" type="text" maxlength="120" style="width:28%;" value=<%=rs.getString("address")%>>
郵編:<input name="post" type="text" maxlength="120" style="width:28%;" value=<%=rs.getString("post")%>>
郵件:<input name="email" type="text" maxlength="120" style="width:28%;" value=<%=rs.getString("email")%>>
</TD>
</TR>
<TR>
<TD height=20></TD>
</TR>
<TR >
<TD style="WIDTH: 88px; HEIGHT: 27px" vAlign="top">單位簡介</TD>
<TD style="HEIGHT: 27px" vAlign="top">
<textarea name="comtext" cols="86" rows="5"><%=rs.getString("comtext")%></textarea>
</TD>
</TR>
<TR>
<TD height=20></TD>
</TR>
<TR>
<TD style="WIDTH: 88px" vAlign="top">備注</TD>
<TD vAlign="top">
<textarea name="text" cols="86" rows="5"><%=rs.getString("text")%></textarea>
</TD>
</TR>
</TABLE>
</TD>
</TR>
<tr>
<td class="article-page-body" height="100%" colspan="2" width="100%">
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0" height="100%" bordercolor=blue>
<TR><TD height=2 valign="top">
<div id="TaskCalendarPage1_BasePages1_theBodyControl_Toolbar">
<table height="35" cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<TD nowrap="nowrap" align="right" width="100%">
<input type="submit" name="aa" value="刷新" class="pushbutton" / disabled="disabled" >
<input type="submit" name="bb" value="編輯" class="pushbutton" / disabled="disabled" >
<input type="submit" name="cc" value="保存" class="pushbutton"/>
</TD>
</tr>
</table>
</TD>
</TR>
</TABLE>
</form>
<%}%>
<!------------------------------------------>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
</TBODY>
</table>
<%@ include file="end.jsp"%>
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -