?? admin_wealth.jsp
字號:
<%@ 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();
errMsg=e.getMessage();
%>
<%@include file="INC/error.jsp"%>
<%
}%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -