xinyb
2022-12-02 0c06a49908dcc62c89709d677e008ea4e11694ac
提交 | 用户 | age
a6a76f 1 <%@ page language="java" contentType="text/html; charset=UTF-8"
F 2     pageEncoding="UTF-8"%>
3 <%@page import="com.yc.sdk.shopping.util.SettingKey"%>
4 <%
5     //得到URL
6     String URL =SettingKey.getHostUrl(request);
7 %>
4a551f 8 <!DOCTYPE html >
a6a76f 9
F 10 <%@page import="com.yc.action.mail.service.MailFolderIfc"%>
11 <%@page import="com.yc.factory.FactoryBean"%>
12 <%@page import="java.util.Map"%><html xmlns="http://www.w3.org/1999/xhtml">
13 <head>
14 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
15 <title>邮件收发</title>
16 <script type="text/javascript" src="<%=URL%>/js/jquery.js"></script>
17
18 <%
19     String folderid = request.getParameter("folderid");
20     if(folderid==null||"".equals(folderid.trim()))return;
21     String userCode = (String)session.getAttribute("@usercode");
22     MailFolderIfc folderIfc = (MailFolderIfc)FactoryBean.getBean("MailFolderImpl");
23     int fid =0;
24     try{
25         fid = Integer.parseInt(folderid);
26     }catch(NumberFormatException e){
27         out.write("非法访问,你的行为将被系统记录!");
28         return;
29     }
30     Map<String,Object> folder = folderIfc.getMailFolder(userCode,fid);
31 %>
32 <script type="text/javascript">
33 function upclose(){
34     $("#diagclose",parent.document).click();
35 }
36 </script>
37 </head>
38 <body>
39 <div style="height:50px; width:370px;margin-top:30px;margin-left:20px;">
40 <div><span style="margin-top:3px; display:block; float:left;">文件夹名称:</span><input style="border:1px solid #cccccc; height:20px; width:170px;" maxlength="50" type="text" id="foldername" value="<%=folder.get("foldername") %>" />
41 </br><label id="addFolder_info" style="font-size:12px;color: red;margin-left:130px;"></label>
42 </div>
43 <hr  style="height:1px; color:#cccccc;margin-top:30px;"/>
44 <div align="right">
45     <input type="button" value="修改" onclick="upUpdate();" />&nbsp;&nbsp;<input type="button" value="取消" onclick="upclose();" />&nbsp;&nbsp;
46 </div>
47 </div>
48 </body>
49 </html>