- <%@ page language="java" contentType="text/html;charset=UTF-8" %>
- <%@ include file="../GVinc/gvInclude.jsp" %>
- <%@ include file="clubMasterPass.jsp" %>
- <jsp:useBean id="cup" scope="request" class="com.gamvan.club.user.ClubUserParameter"/>
- <%
- //out.print(userName);
- int userID = TypeChange.stringToInt(request.getParameter("userID"));
- if(request.getMethod().equals("POST")){
- cup.setUserCredit(TypeChange.stringToDouble(request.getParameter("userCredit")));
- cup.setUserMoney(TypeChange.stringToDouble(request.getParameter("userMoney")));
- cup.setUserMark(TypeChange.stringToDouble(request.getParameter("userMark")));
- cup.setUserUpfile(TypeChange.stringToInt(request.getParameter("userUpfile")));
- cup.setUserUpfileSize(TypeChange.stringToInt(request.getParameter("userUpfileSize")));
- cup.setNoEdituf(TypeChange.stringToInt(request.getParameter("noEdituf")));
- cup.setNoEditufz(TypeChange.stringToInt(request.getParameter("noEditufz")));
- cup.setNoEditc(TypeChange.stringToInt(request.getParameter("noEditc")));
- cup.setNoEditmn(TypeChange.stringToInt(request.getParameter("noEditmn")));
- cup.setNoEditmk(TypeChange.stringToInt(request.getParameter("noEditmk")));
- cup.setActType(TypeChange.stringToInt(request.getParameter("actType")));
- cup.setNoEditup(0);
- cup.setUserUpfileOpen(TypeChange.stringToShort(request.getParameter("userUpfileOpen")));
- cup.setUserPicIs(TypeChange.stringToShort(request.getParameter("userPicIs")));
- cup.userParameter(request.getParameter("userName"));
- //out.print(TypeChange.stringToShort(request.getParameter("userPicIs")));
- out.print(prtCenter2(cup.getMessage(),"./userParameter.jsp?userID="+ userID +"",1));
- out.close();
- if(true)return;
- }
- String userName="";
- int userUpfile=0, userUpfileSize=0, userPicIs=0;
- double userCredit=0, userMark=0, userMoney=0, userUpfileOpen=0;
- cui = cu.userInfo(userID);
- if(cui!=null){
- userName = cui.getUserName();
- userCredit = cui.getUserCredit();
- userMoney = cui.getUserMoney();
- userMark = cui.getUserMark();
- userUpfile = cui.getUserUpfile();
- userUpfileOpen = cui.getUserUpfileOpen();
- userUpfileSize = cui.getUserUpfileSize();
- userPicIs = cui.getUserPicIs();
- }
- %>
- <html>
- <head>
- <title>今晚在线-社区管理</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="css.css" rel="stylesheet" type="text/css">
- </head>
- <body>
- <script type="text/javascript" src="../GVscript/GVjumpPage.js"></script>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#e6e6e6">
- <tr>
- <td align="center"><strong>社区用户参数设定</strong></td>
- </tr>
- </table>
- <table width="99%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#b0b0b0">
- <form name="form1" method="post" action="userParameter.jsp?userID=<%=userID%>">
- <tr bgcolor="#f6f6f6">
- <td width="120"><strong>用户ID</strong></td>
- <td> <input name="userName" type="text" id="userName" value="<%=userName%>">
- 输入*代表全部用户</td>
- </tr>
- <tr bgcolor="#f6f6f6">
- <td bgcolor="#f6f6f6">信誉</td>
- <td><input name="userCredit" type="text" id="userCredit" value="<%=userCredit%>" size="20" maxlength="20">
- <input name="noEditc" type="radio" id="noEditc" value="2" checked>不修改
- <input name="noEditc" type="radio" id="noEditc" value="1">修改
- </td>
- </tr>
- <tr bgcolor="#f6f6f6">
- <td bgcolor="#f6f6f6">金币</td>
- <td><input name="userMoney" type="text" id="userMoney" value="<%=userMoney%>" size="20" maxlength="20">
- <input name="noEditmn" type="radio" id="noEditmn" value="2" checked>不修改
- <input name="noEditmn" type="radio" id="noEditmn" value="1">修改
- </td>
- </tr>
- <tr bgcolor="#f6f6f6">
- <td bgcolor="#f6f6f6">积分</td>
- <td><input name="userMark" type="text" id="userMark" value="<%=userMark%>" size="20" maxlength="20">
- <input name="noEditmk" type="radio" id="noEditmk" value="2" checked>不修改
- <input name="noEditmk" type="radio" id="noEditmk" value="1">修改
- </td>
- </tr>
- <tr bgcolor="#f6f6f6">
- <td bgcolor="#f6f6f6">个人上传空间容量</td>
- <td>
- <input name="userUpfile" type="text" id="userUpfile" value="<%=userUpfile%>" size="20" maxlength="20">
- <input name="noEdituf" type="radio" id="noEdituf" value="2" checked>不修改
- <input name="noEdituf" type="radio" id="noEdituf" value="1">修改 (单位Kb)
- </td>
- </tr>
- <tr bgcolor="#f6f6f6">
- <td bgcolor="#f6f6f6">个人空间已使用</td>
- <td>
- <input name="userUpfileSize" type="text" id="userUpfileSize" value="<%=userUpfileSize%>" size="20" maxlength="20">
- <input name="noEditufz" type="radio" id="noEditufz" value="2" checked>不修改
- <input name="noEditufz" type="radio" id="noEditufz" value="1">修改 (单位Kb)
- </td>
- </tr>
- <tr bgcolor="#f6f6f6">
- <td bgcolor="#f6f6f6">个人上传</td>
- <td>
- <input name="userUpfileOpen" type="radio" value="0" <% if(userUpfileOpen==0)out.print("checked");%>>默认
-
- <input name="userUpfileOpen" type="radio" value="1" <% if(userUpfileOpen==1)out.print("checked");%>>强行打开
-
- <input name="userUpfileOpen" type="radio" value="2" <% if(userUpfileOpen==2)out.print("checked");%>>强行关闭
- </td>
- </tr>
- <tr bgcolor="#f6f6f6">
- <td bgcolor="#f6f6f6">上传个性形象</td>
- <td>
- <input name="userPicIs" type="radio" value="0" <% if(userPicIs==0)out.print("checked");%>>默认
-
- <input name="userPicIs" type="radio" value="1" <% if(userPicIs==1)out.print("checked");%>>强行打开
-
- <input name="userPicIs" type="radio" value="2" <% if(userPicIs==2)out.print("checked");%>>强行关闭
- </td>
- </tr>
- <tr bgcolor="#f6f6f6">
- <td bgcolor="#f6f6f6">更新类型</td>
- <td>
- <input name="actType" type="radio" value="1" checked>覆盖
-
- <input name="actType" type="radio" value="2">累加</td>
- </tr>
- <tr bgcolor="#f6f6f6">
- <td height="36" bgcolor="#f6f6f6">
- <p> </p></td>
- <td height="36" bgcolor="#f6f6f6"><input name="gvSubmit" type="submit" id="gvSubmit" value="确定操作"></td>
- </tr>
- </form>
- </table>
- <br>
- </body>
- </html>