<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="uploadFile.aspx.cs" Inherits="Maticsoft.Web.Admin.B.uploadFile" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>上传PDF</title>
    <script language="javascript" type="text/javascript">
    function closeThis()
    {
   var id=document.getElementById("HiddenField_id").value;
  if(!document.getElementById("path").value==""){
    window.opener.document.getElementById(id).value=document.getElementById("path").value;
    window.close();
    }else
    {
    alert("请上传或选择文件!");
    }
    }
    function show()
    {
    window.open('../HsortWebExplorer.aspx?type=0','newwindowss', 'height=600, width=800, top=350, left=400, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no');
    }
    </script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
body,td,th {
	font-size: 12px;
}
.button2 {
	COLOR: #000000;
	height: 26px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #ecf5ff;
	border-right-color: #acacac;
	border-bottom-color: #acacac;
	border-left-color: #ecf5ff;
	background-image: url(../../Images/x_button.gif);
	width: 60px;
}
-->
</style></head>
<body>
<table width="100%" border="0" cellspacing="1" cellpadding="8" bgcolor="#a4b6d7"  >
  <tr>
    <td bgcolor="#ecf5ff"><strong>PDF文件上传：</strong></td>
  </tr>
  <tr>
    <td height="60" bgcolor="#FFFFFF">
    <form id="form1" runat="server">
        <asp:TextBox ID="path" runat="server"></asp:TextBox>
        <input class="button2" id="Button1" type="button" value="浏览" onclick="show()" />
        <input class="button2" id="Button2" type="button" value="确定" onclick="closeThis()" />
        <input class="button2" id="Button3" type="button" value="取消" onclick="javascript:window.close()" />    
    	<asp:HiddenField ID="HiddenField_id" runat="server" />
    </form>
    </td>
  </tr>
</table>    
</body>
</html>
