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

📄 addfujian.asp

📁 本oa系统内部短信.手机短信.文件传输.公文收发.邮件服务.共享下载.内部论坛等功能
💻 ASP
📖 第 1 页 / 共 2 页
字号:
   upfj=1;
   return false;                             //上传附件失败,返回起草公文页面
   }
   else{
   result=form.web.sendurl(NameUrl,PsoFile,PsoType)
   }
     
}
//------------------end function-------------------------------------------------------
function checkform() {
upfj=0;

//-------发送附件
var fileform = document.submitinput;              //调用上传附件函数
	for ( var i= 0 ; i <fileform.elements.length ; i ++ ) {				    
		if ( fileform.elements[i].type == "file" && fileform.elements[i].name !="file" ) {
			if (fileform.elements[i].value!="") {
				sendfj(i);
				if(upfj==1) return false;
			}
		}
	}//for
//--------发送附件
document.submitinput.submit()
return false;
}
</script>

</head>
<body>

<form action="fujianpost.asp" method="post" enctype="multipart/form-data" name="form1" onSubmit="return dis()">
<div align="center">
      <table width="600" border="0" cellpadding="0" cellspacing="0" bgcolor="#5AAE18">
        <tr>
          <td width="6" height="21"><img src="../../img/bbs/leftlin1.gif" width="6" height="21"></td>
          <td width="936" bgcolor="#5AAE18"><div align="center"><span class="style3"><span class="style13 style5 style6"><span class="style6 style3"><strong>(<%=(Recordset2.Fields.Item("姓名").Value)%>) 简 历 及 附 件 管 理</strong></span></span></span></div></td>
          <td width="6" height="21">&nbsp;</td>
        </tr>
    </table>
  </div>
    <div align="center">    
      <table width="600" border="0" cellpadding="0" cellspacing="1" bgcolor="#5AAE18">
        <tr>
          <td bgcolor="#FFFFFF"><table width="599" border="0" cellpadding="3" cellspacing="0" bgcolor="#AFDBFF">
            <tr bgcolor="#FFFFFF">
              <td width="102" height="12"></td>
              <td width="486" height="12"></td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td>&nbsp;</td>
              <td><input type="file" name="file1" style="width:400" value="" size="20"></td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td rowspan="4"><div align="center">
                  <div align="center"><img src="../gw/img/gif/1.gif" width="37" height="35"> <br>
                  </div>
                  简历附件:</div></td>
              <td><input name="file2" type="file" id="file2" style="width:400" value="" size="20"></td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td><input name="file3" type="file" id="file3" style="width:400" value="" size="20"></td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td><input name="file4" type="file" id="file4" style="width:400" value="" size="20"></td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td><input name="file5" type="file" id="file5" style="width:400" value="" size="20"></td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td>&nbsp;</td>
              <td><input name="file6" type="file" id="file6" style="width:400" value="" size="20">
              </td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td>&nbsp;</td>
              <td><span class="bg"><span class="bg style2"><STRONG><FONT color=#ffffff> <strong><font color=#ffffff><span class="style9"><STRONG><FONT color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff>  <STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff>
                <input name="submit" type=submit id="submit" style="FONT-SIZE: 12px; HEIGHT: 27px" onClick='return check();'  value= " 上 传 ">
                </font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></font></strong></font></strong></font></strong></FONT></STRONG></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></FONT></STRONG></font></strong></FONT></STRONG>   </font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG> </font></strong></font></strong></font></strong> </font></strong></FONT></STRONG> </FONT></STRONG> <STRONG><FONT color=#ffffff> <strong><font color=#ffffff> <STRONG><FONT color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff><STRONG><FONT color=#ffffff><strong><font color=#ffffff>
                <input name="重置" type=reset style="FONT-SIZE: 12px; HEIGHT: 27px"  value= " 清 空 " >
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></FONT></STRONG>
                <input name="按钮" type=button style="FONT-SIZE: 12px; HEIGHT: 27px"   onClick="javascript:history.go(-1)" value= " 取 消 " >
              </font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></FONT></STRONG></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></FONT></STRONG></span></font></strong></FONT></STRONG></span></span></td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td height="10" colspan="2"></td>
            </tr>
          </table></td>
        </tr>
      </table>
    </div>
</form>
<div align="center">
  <% If Not Recordset1.EOF Or Not Recordset1.BOF Then %>
  <table width="600" border="0" cellpadding="0" cellspacing="0" bgcolor="#5AAE18">
    <tr>
      <td width="6" height="21"><img src="../../img/bbs/leftlin1.gif" width="6" height="21"></td>
      <td width="936" bgcolor="#5AAE18"><div align="center"><span class="style3"><span class="style13 style5 style6"><span class="style6 style3"><strong> 简 历 及 附 件 管 理</strong></span></span></span></div></td>
      <td width="6" height="21">&nbsp;</td>
    </tr>
  </table>
  <table width="600" border="0" cellpadding="0" cellspacing="1" bgcolor="#5AAE18">
    <tr>
      <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="61%">&nbsp;<strong>文件名</strong></td>
            <td width="6%"><div align="center"><strong>下 载</strong></div></td>
            <td width="6%"><div align="center"><strong>转 发</strong></div></td>
            <td width="6%"><div align="center"><strong>删 除</strong></div></td>
            <td width="11%"><div align="center"><strong>上传人</strong></div></td>
            <td width="10%"><div align="center"><strong>大 小</strong></div></td>
          </tr>
          <% 
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF)) 
%>
          <tr>
            <td>&nbsp;<a href="del/delimg/fredirect.asp?id=<%=(Recordset1.Fields.Item("ID").Value)%>&n=<%=(Recordset1.Fields.Item("文件名").Value)%>" target="_blank"><%=(Recordset1.Fields.Item("文件名").Value)%></a> <span class="style7"><%=(Recordset1.Fields.Item("添加时间").Value)%></span></td>
            <td><div align="center"><a href="del/delimg/downfile.asp?id=<%=(Recordset1.Fields.Item("ID").Value)%>&n=<%=(Recordset1.Fields.Item("文件名").Value)%>">下载</a></div></td>
            <td><div align="center"><a href="fzhuanfa.asp?id=<%=(Recordset1.Fields.Item("ID").Value)%>">转发</a></div></td>
            <td><div align="center"><a href="del/delimg/deldiazifujian.asp?id=<%=(Recordset1.Fields.Item("ID").Value)%>&d=<%=(Recordset2.Fields.Item("ID").Value)%>&n=<%=(Recordset1.Fields.Item("文件名").Value)%>" onClick="return confirm('您确定要删除吗?该过程将不可恢复。')">删除</a></div></td>
            <td><div align="center"><a href="#" title="部门:<%=(Recordset1.Fields.Item("上传人姓名").Value)%>|帐号:<%=(Recordset1.Fields.Item("上传人帐号").Value)%>"><%=(Recordset1.Fields.Item("上传人姓名").Value)%></a></div></td>
            <td><div align="center"><%=(Recordset1.Fields.Item("文件大小").Value)%></div></td>
          </tr>
          <% 
  Repeat1__index=Repeat1__index+1
  Repeat1__numRows=Repeat1__numRows-1
  Recordset1.MoveNext()
Wend
%>
        
        </table></td>
    </tr>
  </table>
  <% End If ' end Not Recordset1.EOF Or NOT Recordset1.BOF %>
<br>
  <table width="600" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="132"><a href="detailfdsa.asp?id=<%=(Recordset2.Fields.Item("id").Value)%>">查看<%=(Recordset2.Fields.Item("姓名").Value)%>的个人档案</a>  </td>
      <td width="83"><a href="upsessionid.asp?id=<%=(Recordset2.Fields.Item("id").Value)%>">进行图片管理 </a> </td>
      <td width="385"><a href="listuserl.asp">返回用户档案列表</a></td>
    </tr>
  </table>
</div>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
<%
Recordset2.Close()
Set Recordset2 = Nothing
%>
<%
levels.Close()
Set levels = Nothing
%>
<%else%>
<%
levels.Close()
Set levels = Nothing
%>
<%
response.write"<script>alert('"&Session("names")&"很抱歉,您没有管理人事附件的权限。');location='"&request.ServerVariables("HTTP_REFERER")&"'</script>"
%>
<%response.end()
end if%>

⌨️ 快捷键说明

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