attachment.jsp
2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<%@ page isELIgnored="false" language="java"
contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%
String contextPath = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ request.getContextPath();
String userid=request.getParameter("userid");
String filename=request.getParameter("filename");
String pid=request.getParameter("pid");
String fileType=request.getParameter("fileType");
%>
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>附件窗口</title>
<link href="../libs/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<link href="../common/css/iframe-content.css" rel="stylesheet" />
<link href="../common/css/common.css" rel="stylesheet" />
<link href="../css/officedocument/details.css" rel="stylesheet" />
<script src="../libs/jquery/jquery.min.js"></script>
<script src="../common/js/config.js"></script>
<script src="../libs/layer/layer.js"></script>
<script src="../js/common.js"></script>
<script src="../js/attachment.js"></script>
<!-- 滚动条 -->
<link href="<%=basePath%>/libs/jquery/jquery.mCustomScrollbar.css" rel="stylesheet" />
<script src="<%=basePath%>/libs/jquery/jquery.mCustomScrollbar.concat.min.js"></script>
</head>
<body>
<input id="userid" type="text" value="<%=userid%>" style="display: none;">
<input id="filename" type="text" value="<%=filename%>" style="display: none;">
<input id="pid" type="text" value="<%=pid%>" style="display: none;">
<input id="type" type="text" value="<%=fileType%>" style="display: none;">
<div id="diviframe">
<iframe id="iframeImag" name="syiframe" frameborder="0" scrolling="yes"
marginwidth="0" style="width:100%;height:100%;">
</iframe>
</div>
<!-- <div id="divbutton" class="div-att"> -->
<!-- <div id="bottom"> -->
<!-- <button class="btn btn-updown" onclick="beforeAttachment()"> -->
<!-- <span class="glyphicon glyphicon-arrow-left"></span> -->
<!-- </button> -->
<!-- <button class="btn btn-updown" style="margin-left: 20px;" onclick="nextAttachment()"> -->
<!-- <span class="glyphicon glyphicon-arrow-right"></span> -->
<!-- </button> -->
<!-- </div> -->
<!-- </div> -->
</body>
</html>