?? conproject_edit.asp
字號:
<!--#include file="../Include/TimeOut.asp"-->
<%modulecode="0205"%>
<!--#include file="../Include/ModuleUserCheck.asp"-->
<!--#include file="../Include/online.asp"-->
<%
'無變量傳來時先賦初值,即添加狀態
ConProjectName=""
NDPC=""
edit=""
'取得傳來變量
strsqlzh=Request.QueryString("strsql")
ConProjectCode=Request.Querystring("code")
ConProjectName=Request.Querystring("name")
NDPC=Request.Querystring("NDPC")
page=Cstr(Request.Querystring("page"))
edit=Request.Querystring("edit")
if not ConProjectCode="" then
set rst=server.createobject("ADODB.recordset")
Strsql="select * from xt_VD_ConProject where 合并項目編碼='"&ConProjectCode&"'"
rst.open Strsql,strconn
ConProjectName=rst("合并項目名稱")
NDPC=rst("年度批次")
end if
%>
<html>
<head>
<title>合并項目設置</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../CssLib/Cssbutton.css">
</head>
<body text="#000000" bgcolor="#ffffff">
<img src="images/edit_title_CoProject.gif" width="200" height="27"><font color="#00CCFF" size="1">★★★★★<font color="#00CCFF" size="1">★★★★★</font><font color="#00CCFF" size="1">★★★★★</font><font color="#00CCFF" size="1">★★★★★</font>★★</font><br>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="22" height="20"><img src="../public/images/edit_bg_zs.gif" width="21" height="20"></td>
<td background="../public/images/bg_left.gif" bgcolor="#0099FF">
<div align="center"></div>
</td>
<td width="10"><img src="../public/images/edit_bg_ys.gif" width="21" height="20"></td>
</tr>
<tr>
<td background="../public/images/bg_left.gif"> </td>
<td bgcolor="#FFFFFF" height="200">
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
<% if edit="edit" then %>
<tr>
<td height="20" width="6%" bgcolor="#ffffff"> </td>
<td height="20" width="20%" bgcolor="#ffffff">
<div align="left"></div>
</td>
<td height="20" width="65%" bgcolor="#ffffff"> </td>
<td height="20" width="9%" bgcolor="#ffffff"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="#eaeaea"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">
<div align="left">合并項目編碼</div>
</td>
<td height="20" width="65%" bgcolor="#eaeaea"> <%=conProjectcode%></td>
<td height="20" width="9%" bgcolor="#eaeaea"> </td>
</tr>
<%end if%>
<tr>
<td height="20" width="6%" bgcolor="#FFFFFF"> </td>
<td height="20" width="20%" bgcolor="#FFFFFF"> </td>
<td height="20" width="69%" bgcolor="#FFFFFF"> </td>
<td height="20" width="5%" bgcolor="#FFFFFF"> </td>
</tr>
<form name="conlist" method="post" action="ConProject_regist.asp?strsql=<%=server.URLEncode(strsqlzh)%>&edit=<%=request.querystring("edit")%>&page=<%=Cstr(request.querystring("page"))%>" onSubmit="return checkfun()">
<tr>
<td height="20" width="6%" bgcolor="#EAEAEA"> </td>
<td height="20" width="20%" bgcolor="#EAEAEA">
<div align="left">合并項目名稱</div>
</td>
<td height="20" width="69%" bgcolor="#EAEAEA">
<input type="text" name="ConProjectName" value="<%=ConProjectName%>" maxlength="20">
<font color="#FF0000">** </font><font color="#ff0000"> </font> (注:**為必填項,下同。
)</td>
<td height="20" width="5%" bgcolor="#EAEAEA"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="#FFFFFF"><font color="#FFFFFF"></font></td>
<td height="20" width="20%" bgcolor="#FFFFFF"><font color="#FFFFFF"></font></td>
<td height="20" width="65%" bgcolor="#FFFFFF"><font color="#FFFFFF"></font></td>
<td height="20" width="9%" bgcolor="#FFFFFF"><font color="#FFFFFF"></font></td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="#eaeaea"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">
<div align="left">年度批次</div>
</td>
<td height="20" width="65%" bgcolor="#eaeaea">
<input type="text" name="NDPC" value="<%=NDPC%>" maxlength="20">
<font color="#ff0000">** </font></td>
<td height="20" width="9%" bgcolor="#eaeaea"> </td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="white"> </td>
<td height="20" width="20%" bgcolor="white">
<div align="left"></div>
</td>
<td height="20" width="65%" bgcolor="white"> </td>
<td height="20" width="9%" bgcolor="white"> </td>
</tr>
<tr>
<td height="20" colspan="4" bgcolor="#FFFFFF">
<div align="center">
<input class="button" type="submit" name="Submit" value="提交">
<input class="button" type="reset" name="Submit2" value="重填">
<input class="button" type="button" name="Submit3" value="返回"onClick="back()">
</div>
</td>
</tr>
<tr>
<td height="20" width="6%" bgcolor="#FFFFFF"> </td>
<td height="20" width="20%" bgcolor="#FFFFFF"> </td>
<td height="20" width="69%" bgcolor="#FFFFFF"> </td>
<td height="20" width="5%" bgcolor="#FFFFFF"> </td>
</tr>
</form>
</table>
</td>
<td bgcolor="#FFFFFF" background="../public/images/bg_left.gif"> </td>
</tr>
<tr>
<td width="22"><img src="../public/images/edit_bg_zx.gif" width="21" height="20"></td>
<td bgcolor="#FFFFFF" background="../public/images/bg_left.gif" height="20"> </td>
<td width="10">
<div align="right"><img src="../public/images/edit_bg_yx.gif" width="21" height="20"></div>
</td>
</tr>
</table>
</body>
</html>
<script language="vbscript">
function checkfun() '校驗表單
checkfun=true
if ConList.ConProjectName.value ="" then
checkfun=false
window.alert "項目名稱不能為空,請重新輸入!"
exit function
end if
if ConList.NDPC.value ="" then
checkfun=false
window.alert "年度批次不能為空,請重新輸入!"
exit function
end if
end function
function back()
history.back
end function
</script>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -