userParameter.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:6k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

Java

  1. <%@ page language="java" contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="../GVinc/gvInclude.jsp" %>
  3. <%@ include file="clubMasterPass.jsp" %>
  4. <jsp:useBean id="cup" scope="request" class="com.gamvan.club.user.ClubUserParameter"/>
  5. <% 
  6. //out.print(userName);
  7. int userID = TypeChange.stringToInt(request.getParameter("userID"));
  8. if(request.getMethod().equals("POST")){
  9. cup.setUserCredit(TypeChange.stringToDouble(request.getParameter("userCredit")));
  10. cup.setUserMoney(TypeChange.stringToDouble(request.getParameter("userMoney")));
  11. cup.setUserMark(TypeChange.stringToDouble(request.getParameter("userMark")));
  12. cup.setUserUpfile(TypeChange.stringToInt(request.getParameter("userUpfile")));
  13. cup.setUserUpfileSize(TypeChange.stringToInt(request.getParameter("userUpfileSize")));
  14. cup.setNoEdituf(TypeChange.stringToInt(request.getParameter("noEdituf")));
  15. cup.setNoEditufz(TypeChange.stringToInt(request.getParameter("noEditufz")));
  16. cup.setNoEditc(TypeChange.stringToInt(request.getParameter("noEditc")));
  17. cup.setNoEditmn(TypeChange.stringToInt(request.getParameter("noEditmn")));
  18. cup.setNoEditmk(TypeChange.stringToInt(request.getParameter("noEditmk")));
  19. cup.setActType(TypeChange.stringToInt(request.getParameter("actType")));
  20. cup.setNoEditup(0);
  21. cup.setUserUpfileOpen(TypeChange.stringToShort(request.getParameter("userUpfileOpen")));
  22. cup.setUserPicIs(TypeChange.stringToShort(request.getParameter("userPicIs")));
  23. cup.userParameter(request.getParameter("userName"));
  24. //out.print(TypeChange.stringToShort(request.getParameter("userPicIs")));
  25. out.print(prtCenter2(cup.getMessage(),"./userParameter.jsp?userID="+ userID +"",1));
  26. out.close();
  27. if(true)return;
  28. }
  29. String userName="";
  30. int userUpfile=0, userUpfileSize=0, userPicIs=0;
  31. double userCredit=0, userMark=0, userMoney=0, userUpfileOpen=0;
  32. cui = cu.userInfo(userID);
  33. if(cui!=null){
  34. userName = cui.getUserName();
  35. userCredit = cui.getUserCredit();
  36. userMoney = cui.getUserMoney();
  37. userMark = cui.getUserMark();
  38. userUpfile = cui.getUserUpfile();
  39. userUpfileOpen = cui.getUserUpfileOpen();
  40. userUpfileSize = cui.getUserUpfileSize();
  41. userPicIs = cui.getUserPicIs();
  42. }
  43. %>
  44. <html>
  45. <head>
  46. <title>今晚在线-社区管理</title>
  47. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  48. <link href="css.css" rel="stylesheet" type="text/css">
  49. </head>
  50. <body>
  51. <script type="text/javascript" src="../GVscript/GVjumpPage.js"></script>
  52. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#e6e6e6">
  53.   <tr>
  54.     <td align="center"><strong>社区用户参数设定</strong></td>
  55.   </tr>
  56. </table>
  57. <table width="99%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#b0b0b0">
  58. <form name="form1" method="post" action="userParameter.jsp?userID=<%=userID%>">
  59. <tr bgcolor="#f6f6f6">
  60.   <td width="120"><strong>用户ID</strong></td>
  61. <td>  <input name="userName" type="text" id="userName" value="<%=userName%>">
  62.   输入*代表全部用户</td>
  63. </tr>
  64. <tr bgcolor="#f6f6f6">
  65. <td bgcolor="#f6f6f6">信誉</td>
  66. <td><input name="userCredit" type="text" id="userCredit" value="<%=userCredit%>" size="20" maxlength="20">
  67.   <input name="noEditc" type="radio" id="noEditc" value="2" checked>不修改
  68.   <input name="noEditc" type="radio" id="noEditc" value="1">修改
  69.   </td>
  70. </tr>
  71. <tr bgcolor="#f6f6f6">
  72.   <td bgcolor="#f6f6f6">金币</td>
  73.   <td><input name="userMoney" type="text" id="userMoney" value="<%=userMoney%>" size="20" maxlength="20">
  74.     <input name="noEditmn" type="radio" id="noEditmn" value="2" checked>不修改
  75. <input name="noEditmn" type="radio" id="noEditmn" value="1">修改
  76. </td>
  77. </tr>
  78. <tr bgcolor="#f6f6f6">
  79.   <td bgcolor="#f6f6f6">积分</td>
  80.   <td><input name="userMark" type="text" id="userMark" value="<%=userMark%>" size="20" maxlength="20">
  81.     <input name="noEditmk" type="radio" id="noEditmk" value="2" checked>不修改
  82. <input name="noEditmk" type="radio" id="noEditmk" value="1">修改
  83. </td>
  84. </tr>
  85. <tr bgcolor="#f6f6f6">
  86. <td bgcolor="#f6f6f6">个人上传空间容量</td>
  87. <td>
  88. <input name="userUpfile" type="text" id="userUpfile" value="<%=userUpfile%>" size="20" maxlength="20">
  89. <input name="noEdituf" type="radio" id="noEdituf" value="2" checked>不修改
  90. <input name="noEdituf" type="radio" id="noEdituf" value="1">修改 (单位Kb)
  91. </td>
  92. </tr>
  93. <tr bgcolor="#f6f6f6">
  94. <td bgcolor="#f6f6f6">个人空间已使用</td>
  95. <td>
  96. <input name="userUpfileSize" type="text" id="userUpfileSize" value="<%=userUpfileSize%>" size="20" maxlength="20">
  97. <input name="noEditufz" type="radio" id="noEditufz" value="2" checked>不修改
  98. <input name="noEditufz" type="radio" id="noEditufz" value="1">修改 (单位Kb)
  99. </td>
  100. </tr>
  101. <tr bgcolor="#f6f6f6">
  102.   <td bgcolor="#f6f6f6">个人上传</td>
  103.   <td>
  104. <input name="userUpfileOpen" type="radio" value="0" <% if(userUpfileOpen==0)out.print("checked");%>>默认
  105. &nbsp;&nbsp;&nbsp;&nbsp;
  106. <input name="userUpfileOpen" type="radio" value="1" <% if(userUpfileOpen==1)out.print("checked");%>>强行打开
  107. &nbsp;&nbsp;&nbsp;&nbsp;
  108. <input name="userUpfileOpen" type="radio" value="2" <% if(userUpfileOpen==2)out.print("checked");%>>强行关闭
  109. </td>
  110. </tr>
  111. <tr bgcolor="#f6f6f6">
  112.   <td bgcolor="#f6f6f6">上传个性形象</td>
  113.   <td>
  114. <input name="userPicIs" type="radio" value="0" <% if(userPicIs==0)out.print("checked");%>>默认
  115. &nbsp;&nbsp;&nbsp;&nbsp;
  116. <input name="userPicIs" type="radio" value="1" <% if(userPicIs==1)out.print("checked");%>>强行打开
  117. &nbsp;&nbsp;&nbsp;&nbsp;
  118. <input name="userPicIs" type="radio" value="2" <% if(userPicIs==2)out.print("checked");%>>强行关闭
  119. </td>
  120. </tr>
  121. <tr bgcolor="#f6f6f6">
  122.   <td bgcolor="#f6f6f6">更新类型</td>
  123.   <td>
  124. <input name="actType" type="radio" value="1" checked>覆盖
  125. &nbsp;&nbsp;&nbsp;&nbsp;
  126. <input name="actType" type="radio" value="2">累加</td>
  127. </tr>
  128. <tr bgcolor="#f6f6f6">
  129. <td height="36" bgcolor="#f6f6f6">
  130.   <p>&nbsp;  </p></td>
  131. <td height="36" bgcolor="#f6f6f6"><input name="gvSubmit" type="submit" id="gvSubmit" value="确定操作"></td>
  132. </tr>
  133. </form>
  134. </table>
  135. <br>
  136. </body>
  137. </html>