⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rule.jsp

📁 JSP购物车(SQLserver版) ================== 简单的JSP电子商务网站购物车 带结算功能,带注册系统 大二时自己编写的,供大家参考学习 功能不是很详尽,美工
💻 JSP
字号:
<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../inc/common.jsp" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${basic.name}后台管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<club:html type="css" />
<script type="text/javascript" src="../scripts/common.js"></script>
</head>
<body>
<div id="wrap">
<div class="sitemap">
<ul>
<li>您的位置:</li><li>后台管理&gt;&gt;</li><li><h3>社区制度管理</h3></li>
</ul>
</div><%
RuleJsp ruleJsp = new RuleJsp(request,response);
com.yeqiangwei.club.controller.form.RuleForm ruleForm = ruleJsp.getRuleForm();
%>
<div class="round">
<div class="l"></div><div class="r"></div>
<div style="padding:0px 4px 0px 4px;">请输入用户发生的动作后积分、信誉、金币的增减情况,支持正负数以及小数点,例如 100.23,-6等。</div>
</div>
<%@ include file="../inc/msgHint.jsp" %>
<div class="sidebar gform">
<form id="gform" name="gform" action="admin.do?act=ruleEdit" method="post" onsubmit="c.p('qwSubmit',true);">
<table summary="社区用户各种动作的相关参数的增减配置" id="rule" class="th">
<thead>
<tr>
<th scope="col" class="t_0"></th>
<th scope="col" width="200">积分</th>
<th scope="col" width="200">信誉</th>
<th scope="col" width="200">金币</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row" class="t_0">用户注册</th>
<td><club:html type="input" htmlType="text" name="score_0" value="<%=ruleJsp.getScore(ruleForm.getScores(),0)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_0" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),0)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_0" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),0)%>" /></td>
</tr>
<tr class="nobg">
<th scope="row" class="t_0">用户登录</th>
<td><club:html type="input" htmlType="text" name="score_1" value="<%=ruleJsp.getScore(ruleForm.getScores(),1)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_1" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),1)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_1" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),1)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">发表文章</th>
<td><club:html type="input" htmlType="text" name="score_2" value="<%=ruleJsp.getScore(ruleForm.getScores(),2)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_2" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),2)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_2" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),2)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">回复文章</th>
<td><club:html type="input" htmlType="text" name="score_3" value="<%=ruleJsp.getScore(ruleForm.getScores(),3)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_3" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),3)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_3" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),3)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">编辑文章</th>
<td><club:html type="input" htmlType="text" name="score_5" value="<%=ruleJsp.getScore(ruleForm.getScores(),5)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_5" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),5)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_5" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),5)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">文章被回复</th>
<td><club:html type="input" htmlType="text" name="score_6" value="<%=ruleJsp.getScore(ruleForm.getScores(),6)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_6" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),6)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_6" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),6)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">文章被移动</th>
<td><club:html type="input" htmlType="text" name="score_7" value="<%=ruleJsp.getScore(ruleForm.getScores(),7)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_7" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),7)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_7" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),7)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">文章被删除</th>
<td><club:html type="input" htmlType="text" name="score_8" value="<%=ruleJsp.getScore(ruleForm.getScores(),8)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_8" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),8)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_8" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),8)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">文章被置顶</th>
<td><club:html type="input" htmlType="text" name="score_9" value="<%=ruleJsp.getScore(ruleForm.getScores(),9)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_9" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),9)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_9" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),9)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">文章被归档</th>
<td><club:html type="input" htmlType="text" name="score_10" value="<%=ruleJsp.getScore(ruleForm.getScores(),10)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_10" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),10)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_10" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),10)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">文章被关注/订阅</th>
<td><club:html type="input" htmlType="text" name="score_11" value="<%=ruleJsp.getScore(ruleForm.getScores(),11)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_11" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),11)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_11" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),11)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">文章被推荐</th>
<td><club:html type="input" htmlType="text" name="score_12" value="<%=ruleJsp.getScore(ruleForm.getScores(),12)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_12" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),12)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_12" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),12)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">推荐主题被审核通过</th>
<td><club:html type="input" htmlType="text" name="score_13" value="<%=ruleJsp.getScore(ruleForm.getScores(),13)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_13" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),13)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_13" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),13)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">求助结贴</th>
<td><club:html type="input" htmlType="text" name="score_14" value="<%=ruleJsp.getScore(ruleForm.getScores(),14)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_14" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),14)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_14" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),14)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">被系统强制结贴</th>
<td><club:html type="input" htmlType="text" name="score_15" value="<%=ruleJsp.getScore(ruleForm.getScores(),15)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_15" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),15)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_15" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),15)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">使用魔法表情发帖</th>
<td><club:html type="input" htmlType="text" name="score_16" value="<%=ruleJsp.getScore(ruleForm.getScores(),16)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_16" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),16)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_16" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),16)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">使用匿名符发帖</th>
<td><club:html type="input" htmlType="text" name="score_17" value="<%=ruleJsp.getScore(ruleForm.getScores(),17)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_17" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),17)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_17" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),17)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">使用醒目灯发帖</th>
<td><club:html type="input" htmlType="text" name="score_18" value="<%=ruleJsp.getScore(ruleForm.getScores(),18)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_18" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),18)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_18" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),18)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">发表普通主题需要</th>
<td><club:html type="input" htmlType="text" name="score_18" value="<%=ruleJsp.getScore(ruleForm.getScores(),18)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_18" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),18)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_18" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),18)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">发表普通回复需要</th>
<td><club:html type="input" htmlType="text" name="score_19" value="<%=ruleJsp.getScore(ruleForm.getScores(),19)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_19" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),19)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_19" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),19)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">发表积分可见文章需要</th>
<td>大于等于<club:html type="input" htmlType="text" name="score_20" value="<%=ruleJsp.getScore(ruleForm.getScores(),20)%>" /></td>
<td>大于等于<club:html type="input" htmlType="text" name="credit_20" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),20)%>" /></td>
<td>大于等于<club:html type="input" htmlType="text" name="money_20" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),20)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">发表金钱购买文章需要</th>
<td>大于等于<club:html type="input" htmlType="text" name="score_21" value="<%=ruleJsp.getScore(ruleForm.getScores(),21)%>" /></td>
<td>大于等于<club:html type="input" htmlType="text" name="credit_21" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),21)%>" /></td>
<td>大于等于<club:html type="input" htmlType="text" name="money_21" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),21)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">发表散分求助文章需要</th>
<td>大于等于<club:html type="input" htmlType="text" name="score_22" value="<%=ruleJsp.getScore(ruleForm.getScores(),22)%>" /></td>
<td>大于等于<club:html type="input" htmlType="text" name="credit_22" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),22)%>" /></td>
<td>大于等于<club:html type="input" htmlType="text" name="money_22" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),22)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">发表回复可见文章需要</th>
<td>大于等于<club:html type="input" htmlType="text" name="score_23" value="<%=ruleJsp.getScore(ruleForm.getScores(),23)%>" /></td>
<td>大于等于<club:html type="input" htmlType="text" name="credit_23" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),23)%>" /></td>
<td>大于等于<club:html type="input" htmlType="text" name="money_23" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),23)%>" /></td>
</tr>
<tr>
<th scope="row" class="t_0">社区兑率(今币积分兑换)</th>
<td><club:html type="input" htmlType="text" name="score_24" property=" style=\"width:80px;\"" value="<%=ruleJsp.getScore(ruleForm.getScores(),24)%>" />积分兑换1金币</td>
<td><club:html type="input" htmlType="text" name="credit_24" property=" style=\"width:80px;\"" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),24)%>" />金币兑换1积分</td>
<td></td>
</tr>
<tr>
<th scope="row" class="t_0">允许管理员操作时的上下浮动</th>
<td><club:html type="input" htmlType="text" name="score_25" value="<%=ruleJsp.getScore(ruleForm.getScores(),25)%>" /></td>
<td><club:html type="input" htmlType="text" name="credit_25" value="<%=ruleJsp.getCredit(ruleForm.getCredits(),25)%>" /></td>
<td><club:html type="input" htmlType="text" name="money_25" value="<%=ruleJsp.getMoney(ruleForm.getMoneys(),25)%>" /></td>
</tr>
</tbody>
</table>
<div class="tfoot">
此制度适应的范围:
<select name="forumId" id="forumId">
<option value="0">全局</option>
<%
ForumJsp forumJsp = new ForumJsp(request,response);
java.util.List flist = forumJsp.findAll();
for(int i=0; i<flist.size(); i++){
	com.yeqiangwei.club.view.model.ForumView item = (com.yeqiangwei.club.view.model.ForumView)flist.get(i);
	if(item.getType()==0){
		out.print("<option value=\"");
		out.print(item.getForumId());
		out.print("\"");
		if(item.getForumId()==ruleForm.getForumId()){
			out.print(" selected");
		}
		out.print(">");%><club:html type="indent" indent="<%=item.getLayer()*4%>"/><%
		out.print(item.getForumName());
		out.print("</option>");
	}
}%>
</select>
<input type="submit" name="qwSubmit" id="qwSubmit" value="确定提交">
&nbsp;&nbsp;选择不同的适用范围您可以轻易的复制积分制度到目标版块
</div>
</form>
</div>
<br/><br/><br/><br/><br/><br/>
</div>
</body>
</html>
<!-- Powered by www.YeQiangWei.com -->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -