<!-- #include file="include/admin_onlogin.asp" -->
<!-- #include file="include/jk_ubb.asp" -->
<!-- #include file="include/jk_em.asp" -->
<%
'****************************************************
' 咪咪娱乐社区 2006V4.0      Power by www.mimi88.cn
' Email: 556248@qq.com  , master@szvsun.com
' Web: http://www.mimi88.cn
' Copyright (C) 2006 www.mimi88.cn All Rights Reserved.
'****************************************************

index_url="fav"
call admin_master(0,0)
call admin_header(0,0)
%>
<tr><td align=center colspan=2 height=30>
  <table border=0>
  <tr>
  <td><a href='?'><%response.write tit%></a></td>
<%call joekoe_is_nsort_review()%>
  </tr>
  </table>
</td></tr>
</table>
<%
if action="" then
  call admin_table(1,0)
else
  call admin_table(1,1)
end if

if action="handle" then call joekoe_go_handle()

select case action
case "clear"
  call joekoe_go_clear()
case else
  call joekoe_chk_main()
end select

call admin_ender(1)

sub joekoe_chk_main()
  dim musicname
%>
<form name=sel_form action='?jk_mod=<%response.write jk_mod%>&action=handle' method=post>
<tr align=center>
<td class=td width='6%'>序号</td>
<td class=td width='69%'><%response.write tit_fir%>主题</td>
<td class=td width='20%'><%response.write tit_fir%>发布人</td>
<td class=td width='5%'><input type=checkbox name=sel_all value='yes' onclick="javascript:select_all(this.form);"></td>
</tr>
<%
  sql="select count(id) from "&data_name
  set rs=joekoe_cms.exec(sql,1)
  rssum=rs(0)
  rs.close
  call format_pagecute()
  sql="select top "&nummer*viewpage&" * from "&data_name&" order by id desc"
  call joekoe_cms.exec("",-1)
  rs.open sql,conn,1,1
  if int(viewpage)>1 then rs.move (viewpage-1)*nummer
  if int(viewpage*nummer)>int(rssum) then nums=nummer-(viewpage*nummer-rssum)
  for i=1 to nums
    id=rs("id")
    musicname=rs("musicname")
%>
<tr align=center>
<td class=tims><%response.write (viewpage-1)*nummer+i%></td>
<td>
  <table border=0 cellspacing=0 cellpadding=0 width='100%'>
  <tr>
  <td><%response.write joekoe_cms.code_html(musicname,1,21+tnum)%></td>
  </tr>
  </table>
</td>
<td align=left><%=rs("UserName")%></td>
<td><input type=checkbox name=sel_id value='<%response.write id%>'></td>
</tr>
<%
    rs.movenext
  next
  rs.close
%>
<tr class=tr1>
<td colspan=2>
现有<font class=red><%response.write rssum%></font>篇<%response.write tit_fir%>，
页次：<font class=red><%response.write viewpage%></font>/<font class=red><%response.write thepages%></font>
分页：<%response.write jk_pagecute(nummer,thepages,viewpage,pageurl,5,"#ff0000")%>
</td>
<td colspan=2 align=center>
执行
<select name=sel_type size=1>
<option value='删除'>删除</option>
</select>
<input type=submit value='操作' onclick="return sel_click(this.form);">
</td>
</tr>
<%
end sub
'****************************************************
' 咪咪娱乐社区 2006V4.0      Power by www.mimi88.cn
' Email: 556248@qq.com  , master@szvsun.com
' Web: http://www.mimi88.cn
' Copyright (C) 2006 www.mimi88.cn All Rights Reserved.
'****************************************************

%>
