📄 editgroupowner.jsp
字号:
<%--
- $Header: /cvsroot/fiyuforum/fiyuforum/srcweb/fiyuplugin/fiyuforum/admin/addcategory.jsp,v 1.22 2003/10/19 09:41:34 imanic Exp $
- $Author: 飞鱼
- $Revision: 1.22 $
- $Date: 2004/01/01$
- http://www.hnedu.net/fiyu
--%>
<%@ page contentType="text/html;charset=utf-8" %>
<%@ page errorPage="fatalerror.jsp"%>
<%@ page import="fiyuforum.db.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ include file="inc_common.jsp"%>
<%@ include file="inc_js_myvietnamlib.jsp"%>
<html>
<head>
<title><%=fiyuForumConfig.getWebName()%>--编辑组属主</title>
<%@ include file="/fiyuplugin/fiyuforum/meta.jsp"%>
</head>
<link href="<%=contextPath%>/fiyuplugin/fiyuforum/css/style.css" rel="stylesheet" type="text/css">
<body leftmargin="0" topmargin="0">
<script type="text/javascript">
function SubmitForm() {
if (ValidateForm() == true ) {
document.submitform.submitbutton.disabled=true;
document.submitform.submit();
}
}
function ValidateForm() {
if (isBlank(document.submitform.GroupOwnerName, "属主名")) return false;
return true;
}
</script>
<%@ include file="header.jsp"%>
<br/>
<%
GroupsBean groupBean = (GroupsBean)request.getAttribute("GroupsBean");
int groupOwner = groupBean.getGroupOwnerID();
%>
<table width="95%" align="center">
<tr class="nav">
<td><img src="<%=contextPath%>/fiyuplugin/fiyuforum/images/nav.gif"></td>
<td width="100%" nowrap>
<a class="nav" href="<%=indexUrl%>"><%=fiyuForumConfig.getWebName()%></a> »
<a class="nav" href="index">管理员控制面板</a> »
<a class="nav" href="groupmanagement">成员组管理</a> »
<a class="nav" href="viewgroup?group=<%=groupBean.getGroupID()%>"><%=groupBean.getGroupName()%></a> »
修改成员组属主
</td>
</tr>
</table>
<br/>
<form action="updategroupowner" method="post" name="submitform">
<input type="hidden" name="group" value="<%=groupBean.getGroupID()%>">
<table class="tborder" width="95%" cellspacing="1" cellpadding="3" align="center">
<tr class="theader">
<td colspan="2">修改属主:</td>
</tr>
<tr class="trow1">
<td>当强属主:</td>
<td>
<% if (groupOwner == 0) {%>
没有属主
<% } else {%>
<%=groupBean.getGroupOwnerName()%>
<% } %>
</td>
</tr>
<tr class="trow2">
<td>属主:</td>
<td><input type="text" name="GroupOwnerName" value="<%if (groupOwner != 0) {%><%=groupBean.getGroupOwnerName()%><%}%>" size="60" maxlength="30"></td>
</tr>
<tr class="trowfinal">
<td colspan="2" align="center">
<input type="button" name="submitbutton" value="确定" onclick="javascript:SubmitForm();" class="mainoption">
<input type="reset" value="重置" class="liteoption">
</td>
</tr>
</table>
</form>
<br/>
<%@ include file="footer.jsp"%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -