Files
g.hnyhua.cn/Mtxfw.VipSite/Admin_Member_dvideo.aspx
2026-02-07 15:48:27 +08:00

178 lines
8.4 KiB
Plaintext

<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="Admin_Member_dvideo.aspx.cs" Inherits="Mtxfw.VipSite.Admin_Member_dvideo" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
<title></title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script src="/Scripts/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="/Scripts/jquery-migrate-1.1.1.min.js" type="text/javascript"></script>
<script src="/Scripts/common.js" type="text/javascript"></script>
<link href="/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
<!-- Basic Styles -->
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css" media="screen" href="/css/bootstrap.css">
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" media="screen" href="/css/font-awesome-ie7.min.css">
<![endif]-->
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-production.css">
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-skins.css">
<link rel="stylesheet" type="text/css" media="screen" href="/css/your_style.css">
<!-- Demo purpose only: goes with demo.js, you can delete this css when designing your own WebApp -->
<link rel="stylesheet" type="text/css" media="screen" href="/css/demo.css">
<!-- FAVICONS -->
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="/css/cjadd.css">
<style type="text/css">
.data_table td input[type="text"]
{
width:100px;
text-align:center;
}
</style>
<script type="text/javascript">
var search2 = function () {
var state = document.getElementById('Drop_state');
var morn = document.getElementById('Drop_morn');
var key = document.getElementById('text_key');
location.href = "Admin_Member_dvideo.aspx?state=" + state.value + "&morn=" + morn.value +"&key=" + key.value;
};
</script>
</head>
<body>
<form runat="server">
<!-- RIBBON -->
<div id="ribbon">
<span class="ribbon-button-alignment"> <span id="refresh" class="btn btn-ribbon" data-title="refresh" rel="tooltip" data-placement="bottom" data-original-title="&lt;i class='text-warning fa fa-warning'&gt;&lt;/i&gt; 注意!这会重新设置小工具的排位." data-html="true" data-reset-msg="刷新网站?"><i class="fa fa-refresh"></i></span> </span>
<!-- breadcrumb -->
<ol class="breadcrumb">
<li><a href="/" target="_top">主页</a></li>
<li><a href="/Member_Index.aspx">会员中心首页</a></li>
<li><a href="/Admin_Member_config.aspx">后台管理</a></li>
<li>视频管理</li>
</ol>
<!-- end breadcrumb -->
</div>
<!-- END RIBBON -->
<!-- MAIN CONTENT -->
<div style="opacity: 1;" id="content">
<div class="frontMain">
<h1 class="title01"><span class="semi-bold">短视频列表</span><span class="addtitle"><a href='Admin_Member_dvideo_add.aspx?action=add' class="abtn">添加新视频</a></span></h1>
<div class="MainContent">
<table width="100%" border="0" class="data_table" id="p_table" cellspacing="0" cellpadding="0">
<tr>
<td colspan="9">
<asp:DropDownList ID="Drop_state" runat="server">
<asp:ListItem Value="">全部视频</asp:ListItem>
<asp:ListItem Value="0">未审核</asp:ListItem>
<asp:ListItem Value="1">已审核</asp:ListItem>
<asp:ListItem Value="2">推荐视频</asp:ListItem>
<asp:ListItem Value="3">置顶视频</asp:ListItem>
</asp:DropDownList>&nbsp;
<asp:DropDownList ID="Drop_morn" runat="server">
<asp:ListItem Value="0">按会员</asp:ListItem>
<asp:ListItem Value="1">按标题</asp:ListItem>
</asp:DropDownList><input id="text_key" type="text" style=" width:100px;" value="<%=Request.QueryString["key"]%>"/>
<input id="Member_search" type="button" value="查询" onclick="search2()" class="abtn" />
</td>
</tr>
<tr>
<th><strong>选择</strong></th>
<th><b>所属会员</b></th>
<th style="width:30%"><b>视频标题</b></th>
<th><b>预览图片</b></th>
<th><b>剩余播放次数</b></th>
<th><b>排序ID</b></th>
<th><b>添加时间</b></th>
<th><b>状态</b></th>
<th><b>操作</b></th>
</tr>
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<tr <%#(Container.ItemIndex + 1)%2==0?"bgColor=\"#f4f4f4\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#f4f4f4\"'":"bgColor=\"#ffffff\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#ffffff\"'"%>>
<td><asp:checkbox ID="checka" runat="server" CssClass='<%#Eval("ID") %>'></asp:checkbox></td>
<td><%#Eval("UserName") %>(<%#Eval("realname") %>)</td>
<td><%#Eval("Title") %></td>
<td><%#Eval("Author").ToString()!=""?"<a href='"+(Eval("Author").ToString().IndexOf("http") != -1 ? Eval("Author").ToString() : Mtxfw.Utility.Common.GetCoverPic(Eval("Author").ToString().Split('|')[0].Split(',')[0],"4000x4000","cut"))+"'><img src=\""+(Eval("Author").ToString().IndexOf("http") != -1 ? Eval("Author").ToString() : Mtxfw.Utility.Common.GetCoverPic(Eval("Author").ToString().Split('|')[0].Split(',')[0],"40x40","cut"))+"\" width=\"40\" height=\"40\" /></a>":"暂无" %></td>
<td><%#Eval("csday")%></td>
<td><asp:TextBox ID="txtLinkID" runat="server" Text='<%#Eval("LinkID")%>' /></td>
<td><%#Eval("AddTime") %></td>
<td><%#Eval("Seef").ToString()=="0"?"未审核":"已审核"%>
<%#Eval("IFTJ").ToString()=="0"?"":"<br>推荐"%>
<%#Eval("IFTop").ToString()=="0"?"":"<br>置顶"%>
</td>
<td><a href="Admin_Member_dvideo_add.aspx?ID=<%#Eval("ID") %>">编辑</a>
<asp:LinkButton ID="Btn_Delete" CommandName='<%#Eval("ID") %>' OnCommand="Delete_Click"
OnClientClick="return confirm('确定删除吗?')" runat="server">删除</asp:LinkButton>
<br><a href='<%#Mtxfw.Utility.Common.cfileurl(Eval("Paths").ToString())%>' target="_blank">查看视频</a>
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
<tr>
<td colspan="9" style="text-align:left">
操作:<span style=" cursor:pointer; color:Blue;" onclick="seclectall(0)">全选</span>&nbsp;<span style=" cursor:pointer; color:Blue;" onclick="seclectall(1)">取消所选</span>
将所选项
<asp:DropDownList ID="seclect_Drop" runat="server">
<asp:ListItem Value="3">修改排序</asp:ListItem>
<asp:ListItem Value="1">审核通过</asp:ListItem>
<asp:ListItem Value="2">取消审核</asp:ListItem>
<asp:ListItem Value="0">删除</asp:ListItem>
</asp:DropDownList><!-- <asp:ListItem Value="4">设为推荐</asp:ListItem>
<asp:ListItem Value="5">取消推荐</asp:ListItem>
<asp:ListItem Value="6">设为置顶</asp:ListItem>
<asp:ListItem Value="7">取消置顶</asp:ListItem>--> <asp:Button ID="Btn_Run" OnClick="Run_Click" runat="server" Text="执行" CssClass="abtn"></asp:Button>
</td>
</tr>
</table>
<div style="text-align:center; height:40px; margin:10px 0;">
<webdiyer:AspNetPager ID="MyPager" AlwaysShow="true" runat="server"
FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
CustomInfoHTML="共 &lt;font color=&quot;red&quot;&gt;%RecordCount%&lt;/font&gt; 条记录 当前 &lt;font color=&quot;red&quot;&gt;%CurrentPageIndex%/%PageCount%&lt;/font&gt; 页"
PrevPageText="上一页" ShowPageIndexBox="Always" ShowCustomInfoSection="Left"
SubmitButtonText="Go" TextAfterPageIndexBox="页" ShowBoxThreshold="100"
CurrentPageButtonPosition="Center" ShowMoreButtons="False" PageIndexBoxType="DropDownList"
TextBeforePageIndexBox="转到" UrlPaging="True">
</webdiyer:AspNetPager>
</div>
</div>
</div>
</div>
</form>
</body></html>