📄 discjockeys.jsp
字号:
<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../inc/common.jsp" %><%
com.yeqiangwei.club.module.music.view.jsp.SongJsp songJsp = new com.yeqiangwei.club.module.music.view.jsp.SongJsp(request,response);
java.util.List list = songJsp.findDiscJokey(20);
%><!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>
<script type="text/javascript">
function selectAction(id){
value = c.o(id).options[c.o(id).selectedIndex].value;
if(value=="0"){
c.o("groupId").style.display="none";
alert("请选择操作内容!");
c.o("act").value="0";
return false;
}
if(value=="1"){
c.o("groupId").style.display="inline";
c.o("act").value="userGroup";
}
else{
c.o("groupId").style.display="none";
}
}
function selectSub(){
if(c.o("groupId").value=="0"){
alert("请选择用户组!");
return false;
}
c.p('qwSubmit',true);
}
</script>
</head>
<body>
<div id="wrap">
<div class="sitemap">
<ul>
<li>您的位置:</li><li>后台管理>></li><li><h3>社区DJ</h3></li>
</ul>
</div>
<%@ include file="../inc/msgHint.jsp" %>
<div class="sidebar bg_2">
<div style="padding:10px;">
<form id="gform_" name="gform_" action="admin.do" method="post" onsubmit="c.p('qwsubmit_',true);">
<club:html type="input" htmlType="text" name="userName" id="userName" value="" />
<input type="submit" name="qwSubmit_" id="qwSubmit_" value="添加DJ" />
<input type="hidden" name="act" id="act" value="addDj" />
</form>
</div>
</div>
<div class="sidebar">
<form id="gform" name="gform" action="admin.do" method="post" onsubmit="c.p('qwsubmit',true);">
<table summary="社区用户列表" id="users">
<thead>
<tr>
<th scope="col" class="t_1">选择</th>
<th scope="col" class="t_0">DJ名称</th>
<th scope="col" class="t_1">性别</th>
<th scope="col" class="t_2">用户组</th>
<th scope="col" class="t_2">注册时间</th>
<th scope="col" class="t_2">最后登录</th>
</tr>
</thead>
<tbody>
<c:forEach var="f" items="<%=list%>">
<tr>
<td><club:html type="input" htmlType="checkbox" name="djId" value="${f.djId}" /></td>
<td class="t_0"><club:link type="userNameLink" idIs="${f.userId}" value="${f.userView.userName}" /></td>
<td><club:logic type="which" defaultStr="未知" logic="未知|男|女" which="${f.userView.sex}"/></td>
<td><club:link type="groupName" url="" object="${f.userView}" /></td>
<td style="font-size:8pt"><club:html type="datetime" lvalue="${f.userView.regDateTime}" /></td>
<td style="font-size:8pt"><club:html type="datetime" lvalue="${f.userView.lastLoginDateTime}" /></td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="empty"><%=songJsp.getJumppage()%></div>
<div class="tfoot">
<a onclick="c.clk('all','users');">全选</a>
<a onclick="c.clk('un','users');">反选</a>
<input type="submit" name="qwSubmit" id="qwSubmit" value="删除DJ" />
<input type="hidden" name="act" id="act" value="deleteDj" />
</div>
</form>
</div>
</div>
</body>
</html>
<!-- Powered by www.YeQiangWei.com -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -