<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="uploadlawfile.aspx.cs" Inherits="LawOA.Web.lawoa.uploadlawfile" %>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
  <title>律师事务所管理系统</title>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <link rel="stylesheet" href="images/bootstrap.min.css">
  <link rel="stylesheet" href="images/font-awesome.min.css">
  <link rel="stylesheet" href="images/ionicons.min.css">
  <link rel="stylesheet" href="images/AdminLTE.css">
  <link rel="stylesheet" href="images/skin-blue.min.css">
  <link rel="stylesheet" href="images/blue.css">
  <link rel="stylesheet" href="images/daterangepicker.css">
  <link rel="stylesheet" href="images/bootstrap-datepicker.min.css">
  <link rel="stylesheet" href="images/all.css">
  <link rel="stylesheet" href="images/bootstrap-colorpicker.min.css">
  <link rel="stylesheet" href="images/bootstrap-timepicker.min.css">
  <link rel="stylesheet" href="images/all.css">
  <link rel="stylesheet" href="images/select2.min.css">
    <link rel="stylesheet" href="images/_all-skins.min.css">
  <script src="images/jquery.min.js"></script>
  <script src="images/bootstrap.min.js"></script>
  <script src="fileinput/js/fileinput.min.js"></script>
  <script src="fileinput/js/locales/zh.js"></script>
  <link rel="stylesheet" href="fileinput/css/fileinput.min.css">
  <script src="fileinput/themes/explorer-fa/theme.min.js" type="text/javascript"></script>
  <link rel="stylesheet" href="fileinput/themes/explorer-fa/theme.min.css">
</head>
<body>
<!-- 弹出内容s -->
<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h4 class="modal-title">上传文档</h4>
</div>
<div class="modal-body">

<!-- 内容s -->
<div class="box"><!-- /.box-header -->
            <div class="box-body">
<form enctype="multipart/form-data">
        <div class="file-loading">
            <input id="lawfiles" name="lawfiles" type="file" multiple>
        </div>
</form>
            </div>
            <!-- /.box-body -->
            <!-- /.box-footer -->
        </div>
<div class="box-body">
<p style="text-align:center">
<a href="lawfilelist.aspx" class="btn btn-default"><i class="fa fa-close"></i> 如文档已上传完毕，点此进入文档列表</a>
</p>
</div>

</div>

<!-- 弹出内容e -->
<script src="images/adminlte.min.js"></script>
<script src="images/demo.js"></script>
<script>
    $("#lawfiles").fileinput({
        language: 'zh',
        uploadUrl: "upload_ajax.ashx?action=uplawfile&catid=<%=catid%>",
        theme: 'explorer-fa',
        uploadAsync: false,
        overwriteInitial: false,
        preferIconicPreview: true,
        allowedPreviewTypes: null,
        allowedFileExtensions: ["doc", "docx", "ppt", "xlsx", "xls", "jpg", "jpeg", "png", "rar", "zip", "pdf", "txt"],
        showClose: false
    });
</script>
</body>
</html>
