⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 inputhelpinf.asp

📁 红金羚v1.5办公自动化软件是基于大型数据库系统开发的应用系统
💻 ASP
字号:
<!--#include file="asp/sqlstr.asp"-->
<!--#include file="asp/bgsub.asp"-->
<!--#include file="asp/opendb.asp"-->
<!--#include file="asp/checked.asp"-->
<!--#include file="asp/getpopedom.asp"-->
<!--#include file="asp/keepformat.asp"-->
<%
oabusyname=request.cookies("oabusyname")
oabusyusername=request.cookies("oabusyusername")
oabusyuserdept=request.cookies("oabusyuserdept")
oabusyuserlevel=request.cookies("oabusyuserlevel")
if oabusyusername="" then 
	response.write("<script language=""javascript"">")
	response.write("window.top.location.href='default.asp';")
	response.write("</script>")
	response.end
end if
errstr=getpopedom("allow_manage_help",oabusyusername)
if errstr<>"" then
	response.redirect "asp/disperrorinfo.asp?errorinfo="&errstr
	response.end
end if
%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css/css.css">
<script language="javascript1.2" src="js/openwin.js"></script>
<title>红孩儿Office办公系统</title>
</head>
<body bgcolor="#ffffff" topmargin="5" leftmargin="5">
<% call bghead() %>
<center>
<table>
<tr>
<td><b>输入帮助信息</b></td>
</tr>
</table>
</center>
<%
call bgmid()
%>
<%
if request("submit")="输入" then
set conn=opendb("oabusy","conn","accessdsn")
sql = "Insert Into helpinf (helpsort,helptitle,helpcontent) Values( "
sql = sql & SqlStr(request("helpsort")) & ", "
sql = sql & SqlStr(request("helptitle")) & ", "
sql = sql & SqlStr(request("helpcontent")) & ")"
conn.Execute sql
%>
<center><br><font color=red>成功输入帮助信息!</font>
<%
end if
%>
<script Language="JavaScript">
 function form_check(){
   var l1=document.form1.helptitle.value.length;
   if(l1<1){window.alert("标题必须填写");document.form1.helptitle.focus();return (false);}

   var l2=document.form1.helpcontent.value.length;
   if(l2<1){window.alert("内容必须填写");document.form1.helpcontent.focus();return (false);}
                    }
</script>
<center>
<br>
<form method="post" action="inputhelpinf.asp" name="form1" onsubmit="return form_check();">
<table border="1"  cellspacing="0" cellpadding="0"  bordercolorlight="#C0C0C0" bordercolordark="#FFFFFF">
<tr>
<td><b>帮助标题</b></td><td><input type="text" name="helptitle" size=50><font color=red>*</font></td>
</tr>
<tr>
<td><b>帮助类别</b></td><td>
<select name="helpsort" size=1>
<%
set conn=opendb("oabusy","conn","accessdsn")
set rs=server.createobject("adodb.recordset")
sql="select * from helpsort"
rs.open sql,conn,1
while not rs.eof and not rs.bof
%>
<option value="<%=rs("helpsort")%>"><%=keepformat(rs("helpsort"))%></option>
<%
rs.movenext
wend
%>
</select><font color=red>*</font>&nbsp;&nbsp;&nbsp;&nbsp;(如果要增加或修改帮助类别,请<a href="edithelpsort.asp">由此进入</a>)
</td>
</tr>
<tr>
<td><b>帮助内容</b></td><td><textarea rows="9" name="helpcontent" cols="49"></textarea><font color=red>*</font></td>
</tr>
</table>
<font color=red>*</font>项必须填写&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" name="submit" value="输入">
</form>
</center>
<%
%>
         </td>
            
          <td background="<%=imgpath%>images/j5.gif" width=19 height=280></td>
          </tr>
        </table>
    </tr>
    <tr>
      <td height=19>
        <table border="0" cellpadding="0" cellspacing="0" width="610" height="19">
          <tr>
            
          <td width=18 height=20><img border="0" src="<%=imgpath%>images/j6.gif" width="18" height="19"></td>
            
          <td background="<%=imgpath%>images/j7.gif" width=100% height=20></td>
            
          <td width="19" height="20"><img border="0" src="<%=imgpath%>images/j8.gif"></td>
          </tr>
		  <tr>
          <td width="100%" height=20 colspan="3"><center>-----<a href="http://office.11k.net/" target=_blank><font color="red">Red office v1.5</font></a>-----</center></td>
		  </tr>
        </table>
      </td>
    </tr>
  </table>
<%
%>
</body>
</html>










⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -