admin_wealth.jsp
上传用户:yuyunping
上传日期:2013-03-21
资源大小:1844k
文件大小:4k
- <%@ page contentType="text/html;charset=GBK"%>
<%@ include file="INC/const.jsp"%>
<%@ page import = "java.util.Vector,
net.acai.forum.admin.*"%>
<title><%=forumName%>--管理页面</title>
<link rel="stylesheet" type="text/css" href="forum.css">
<BODY bgcolor="#ffffff" alink="#333333" vlink="#333333" link="#333333" topmargin="20">
<%
try{
if(session.getAttribute("adminFlag")==null)
throw new Exception("本页面为管理员专用,请<a href=elogin.jsp>登陆管理</a>后进入。");
%>
<table cellpadding=0 cellspacing=0 border=0 width=95% bgcolor=<%=aTableBackColor%> align=center>
<tr>
<td>
<table cellpadding=3 cellspacing=1 border=0 width=100%>
<tr bgcolor='<%=aTableTitleColor%>'>
<td align=center colspan="2">欢迎<b><%=session.getAttribute("adminFlag")%></b>进入管理页面
</td>
</tr>
<tr bgcolor=<%=tableBodyColor%>>
<td width="20%" valign=top>
<%@include file="admin_left.jsp"%>
</td>
<td width="80%" valign=top>
<%
String action=ParamUtil.getString(request,"action");
if(action!=null&&"save".equals(action)){
ForumPropertiesManager.saveGrade(request);
out.println("操作成功!");
}
else{
%>
<form method="POST" action=admin_wealth.jsp?action=save>
<table width="95%" border="0" cellspacing="1" cellpadding="3" align=center bordercolor=<%=aTableBackColor%>>
<tr bgcolor=<%=aTableTitleColor%>>
<td height="23" colspan="2" ><font color=<%=tableFontColor%>><b>用户金钱设定</b></font></td>
</tr>
<tr>
<td width="30%">注册金钱数</td>
<td width="70%">
<input type="text" name="wealthReg" size="35" value="<%=wealthReg%>">
</td>
</tr>
<tr>
<td width="30%">登陆增加金钱</td>
<td width="70%">
<input type="text" name="wealthLogin" size="35" value="<%=wealthLogin%>">
</td>
</tr>
<tr>
<td width="30%">发帖增加金钱</td>
<td width="70%">
<input type="text" name="wealthAnnounce" size="35" value="<%=wealthAnnounce%>">
</td>
</tr>
<tr>
<td width="30%">跟帖增加金钱</td>
<td width="70%">
<input type="text" name="wealthReAnnounce" size="35" value="<%=wealthReAnnounce%>">
</td>
</tr>
<tr>
<td width="30%">删帖减少金钱</td>
<td width="70%">
<input type="text" name="wealthDel" size="35" value="<%=wealthDel%>">
</td>
</tr>
<tr bgcolor=<%=aTableTitleColor%>>
<td height="23" colspan="2" ><font color=<%=tableFontColor%>><b>用户经验设定</b></font></td>
</tr>
<tr>
<td width="30%">注册经验值</td>
<td width="70%">
<input type="text" name="epReg" size="35" value="<%=epReg%>">
</td>
</tr>
<tr>
<td width="30%">登陆增加经验值</td>
<td width="70%">
<input type="text" name="epLogin" size="35" value="<%=epLogin%>">
</td>
</tr>
<tr>
<td width="30%">发帖增加经验值</td>
<td width="70%">
<input type="text" name="epAnnounce" size="35" value="<%=epAnnounce%>">
</td>
</tr>
<tr>
<td width="30%">跟帖增加经验值</td>
<td width="70%">
<input type="text" name="epReAnnounce" size="35" value="<%=epReAnnounce%>">
</td>
</tr>
<tr>
<td width="30%">删帖减少经验值</td>
<td width="70%">
<input type="text" name="epDel" size="35" value="<%=epDel%>">
</td>
</tr>
<tr bgcolor=<%=aTableTitleColor%>>
<td height="23" colspan="2" ><font color=<%=tableFontColor%>><b>用户魅力设定</b></font></td>
</tr>
<tr>
<td width="30%">注册魅力值</td>
<td width="70%">
<input type="text" name="cpReg" size="35" value="<%=cpReg%>">
</td>
</tr>
<tr>
<td width="30%">登陆增加魅力值</td>
<td width="70%">
<input type="text" name="cpLogin" size="35" value="<%=cpLogin%>">
</td>
</tr>
<tr>
<td width="30%">发帖增加魅力值</td>
<td width="70%">
<input type="text" name="cpAnnounce" size="35" value="<%=cpAnnounce%>">
</td>
</tr>
<tr>
<td width="30%">跟帖增加魅力值</td>
<td width="70%">
<input type="text" name="cpReAnnounce" size="35" value="<%=cpReAnnounce%>">
</td>
</tr>
<tr>
<td width="30%">删帖减少魅力值</td>
<td width="70%">
<input type="text" name="cpDel" size="35" value="<%=cpDel%>">
</td>
</tr>
<tr bgcolor=<%=aTableTitleColor%>>
<td width="30%"> </td>
<td width="70%">
<div align="center">
<input type="submit" name="Submit" value="提 交">
</div>
</td>
</tr>
</table>
</form>
<%
}
%>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%
}
catch(Exception e){
e.printStackTrace();
String errMsg=e.getMessage();
%>
<%@include file="INC/error.jsp"%>
<%
}%>
<%@ include file="foot.jsp"%>