?? filelist.vm
字號:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>文件瀏覽</title>
<link rel="stylesheet" href="$request.getContextPath()/csslib/style.css" type="text/css">
<script Language="JavaScript" src="$request.getContextPath()/jslib/function.js"></script>
<script Language="JavaScript">
function init(){
#set ($attachments = $!attach)
#foreach($attachment in $attachments)
#if($attachment.getStatus().equals("10"))
#set ($zw = $attachment)
#end
#end
parent.RithtFrame.location = "..$!zw.getPath()$!zw.getSite()/$!zw.getFileName()";
}
function doclose(){
parent.window.close();
}
</script>
</head>
<body onload="init()">
<form name="thisForm" method="post">
<input type="hidden" name="docId" value="$!recvDocForm.getDocId()">
<input type="hidden" name="status" value="$!recvper.getStatus()">
<table width="750" border="0" cellspacing="0" cellpadding="0" bgcolor="#000000" align=center>
<tbody id="tbody">
<tr height=10>
<td bgcolor="#ffffff" ></td>
</tr>
<tr height=20>
<td bgcolor="#ffffff" height=""><img src="$request.getContextPath()/image/getdir.gif">正文附件列表:</td>
</tr>
<tr height=40>
<td bgcolor="#ffffff" height="">正 文:</td>
</tr>
<tr >
<td bgcolor="#ffffff" >
<a href="..$!zw.getPath()$!zw.getSite()/$!zw.getFileName()" target="RithtFrame">$!zw.getTitle()</a>
</td>
</tr>
<tr height=40>
<td bgcolor="#ffffff" height="" colspan=2>附 件:</td>
</tr>
<tr id="fujian1">
<td bgcolor="#ffffff">
#set ($num = 1)
#foreach($attachment in $attach)
#if($attachment.getStatus().equals("11"))
#set ($fj = $attachment)
<a href="..$!fj.getPath()$!fj.getSite()/$!fj.getFileName()" target="RithtFrame">$!fj.getTitle()</a><br><br>
#end
#end
</td>
</tr>
</tbody>
</table>
</form>
<table border="0" align="center" cellpadding="0" cellspacing="0" width=100%>
<tr>
<td align=center>
<a href="#" onclick="doclose()"><font color=red>關閉窗口</font></a>
</td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -