user_board_message.aspx
资源名称:论坛源码.rar [点击查看]
上传用户:scene123
上传日期:2010-02-19
资源大小:3311k
文件大小:7k
源码类别:
.net编程
开发平台:
C#
- <%@ Page language="c#" Codebehind="user_board_message.aspx.cs" AutoEventWireup="false" Inherits="kuangren.user_board_message" %>
- <%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <TITLE>狂人论坛-用户短信管理</TITLE>
- <meta content="False" name="vs_showGrid">
- <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
- <meta content="C#" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <LINK href="skin/dvbbs/style.css" type="text/css" rel="stylesheet">
- <script Language="JavaScript">
- <!--
- //全选复选框
- function CheckAll(form) {
- for (var i=0;i<form.elements.length;i++) {
- var e = form.elements[i];
- if (e.name != 'chkall') e.checked = form.chkall.checked;
- }
- }
- function MM_openBrWindow(theURL,winName,features) { //v2.0
- window.open(theURL,winName,features);
- }
- //-->
- </script>
- </HEAD>
- <body leftMargin="0" topMargin="0">
- <!--#include file="sitehead.aspx" -->
- <div align="center">
- <table cellSpacing="1" cellPadding="3" width="97%" align="center" bgColor="#6595d6" border="0">
- <tr>
- <td bgColor="#F0F0F0" height="25"><IMG height="9" hspace="3" src="skin/dvbbs/images/nav_position.gif" width="9" align="absMiddle">
- <uc1:jianinclude2 id="Jianinclude21" runat="server"></uc1:jianinclude2>→ <A href="user_board.aspx">
- <%=usercookies%>的控制面板</A> → 用户短信管理</td>
- </tr>
- </table>
- <br>
- <table style="BORDER-COLLAPSE: collapse" borderColor="#6595d6" cellSpacing="0" cellPadding="4"
- width="97%" align="center" border="1">
- <tr class="title_link">
- <td class="title">
- <div align="center"><strong><A href="user_board.aspx">控制面板首页</A></strong>
- </div>
- </td>
- <td class="title">
- <div align="center"><strong><A href="user_board_inforup.aspx">基本资料修改</A></strong>
- </div>
- </td>
- <td class="title">
- <div align="center"><strong><A href="user_board_passup.aspx">用户密码修改</A></strong>
- </div>
- </td>
- <td class="title">
- <div align="center"><strong><A href="modifyadd.asp"></A><A href="user_board_message.aspx">用户短信服务</A></strong>
- </div>
- </td>
- <td class="title">
- <div align="center"><strong><A href="user_board_upload.aspx">我的附件箱</A></strong>
- </div>
- </td>
- <td class="title">
- <div align="center"><strong><A href="user_board_favord.aspx">用户收藏管理</A></strong>
- </div>
- </td>
- <td class="title">
- <div align="center"><A href="user_board_post.aspx"><strong>我所发表的文章</strong></A>
- </div>
- </td>
- </tr>
- </table>
- <table width="97%" height="19" border="0" cellpadding="2" cellspacing="0">
- <tr>
- <td height="19"><div align="center">〉》<a href="#" onclick="MM_openBrWindow('messagesend.aspx','','scrollbars=yes,resizable=yes,width=520,height=400')">撰写短消息</a>《〈</div></td>
- </tr>
- </table>
- <table class="table" style="BORDER-COLLAPSE: collapse" borderColor="#6595d6" cellSpacing="0"
- cellPadding="3" width="97%" border="1">
- <FORM name=inbox action="user_board_messagedel.aspx" method="post" runat="server">
- <tr class="title_link">
- <td class="title" width="15%"> <div align="center">状态</div></td>
- <td class="title" width="16%"> <div align="center">发件人</div></td>
- <td class="title" width="31%"> <div align="center">主题</div></td>
- <td class="title" width="17%"> <div align="center">日期</div></td>
- <td class="title" width="9%"> <div align="center">大小</div></td>
- <td class="title" width="12%"> <div align="center">操作</div></td>
- </tr>
- <asp:repeater id="Repeater1" runat="server">
- <itemtemplate>
- <tr >
- <td height="15" bgColor="#ffffff" >
- <div align="center"> <img src="images/<%# JudgeImage(DataBinder.Eval(Container.DataItem,"p_yn"))%>.gif">
- </div></td>
- <td bgColor="#ffffff" height="15"><div align="center">
- <a href="user_infor.aspx?u_user=<%# Server.HtmlEncode((DataBinder.Eval(Container.DataItem,"p_send")).ToString())%>" target="_blank">
- <%# Server.HtmlEncode((DataBinder.Eval(Container.DataItem,"p_send")).ToString())%>
- </a> </div></td>
- <td height="15">
- <div align="center"> <a href="#" onclick="MM_openBrWindow('user_board_messagedetail.aspx?p_id=<%# DataBinder.Eval(Container.DataItem,"p_id")%>&j_take=<%# Server.HtmlEncode((DataBinder.Eval(Container.DataItem,"p_send")).ToString())%>','','scrollbars=yes,resizable=yes,width=520,height=400')">
- <%# Server.HtmlEncode((DataBinder.Eval(Container.DataItem,"p_title")).ToString())%>
- </a> </div></td>
- <td height="15" >
- <div align="left">
- <%# DataBinder.Eval(Container.DataItem,"p_stime")%>
- </div></td>
- <td height="15" ><table width="100%" border="0" cellspacing="0" cellpadding="2">
- <tr>
- <td width="50%"> <div align="right">
- <%# Server.HtmlEncode((DataBinder.Eval(Container.DataItem,"p_content")).ToString()).Length%>
- </div></td>
- <td width="50%">字符</td>
- </tr>
- </table></td>
- <td height="15" ><div align="center">
- <input name="P_id" type="checkbox" id="P_id2" value="<%# DataBinder.Eval(Container.DataItem,"p_id")%>">
- </div></td>
- </tr>
- </itemtemplate>
- </asp:repeater>
- <%=shownone%>
- <tr >
- <td height="7" colspan="6" bgColor="#ffffff" >
- <div align="center">
- <table width="99%" border="0" cellspacing="0" cellpadding="2">
- <tr>
- <td width="86%"><div align="right">节省每一分空间,请及时删除无用信息 选中所有显示记录</div></td>
- <td width="14%"> <div align="right">
- <input type=checkbox name=chkall value=on onClick="CheckAll(this.form)">
- <input type=submit name=action onClick="{if(confirm('确定删除选定的纪录吗?')){this.document.inbox.submit();return true;}return false;}" value="删除收件">
- </div></td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- <tr >
- <td height="8" colspan="6" bgColor="#ffffff" ><div align="center"><WEBDIYER:ASPNETPAGER id="AspNetPager1" runat="server" AlwaysShow="True" UrlPageIndexName="pageindex"
- UrlPaging="True" ShowCustomInfoSection="Left" Width="100%" NumericButtonTextFormatString="-{0}-" PagingButtonSpacing="8"
- NextPageText=">>" PrevPageText="<<" LastPageText=">>|" FirstPageText="|<<" NumericButtonCount="8" PageSize="20"
- CssClass="mypager" HorizontalAlign="Right" ShowBoxThreshold="5"></WEBDIYER:ASPNETPAGER></div></td>
- </tr>
- </FORM>
- </table>
- <br>
- </div>
- <!--#include file="sitefloor.aspx" --></body>
- </HTML>