user_board.aspx
资源名称:论坛源码.rar [点击查看]
上传用户:scene123
上传日期:2010-02-19
资源大小:3311k
文件大小:11k
源码类别:
.net编程
开发平台:
C#
- <%@ Page language="c#" Codebehind="user_board.aspx.cs" AutoEventWireup="false" Inherits="kuangren.user_board" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <meta name="vs_showGrid" content="False">
- <title>狂人论坛-用户控制面板</title>
- <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
- <meta name="CODE_LANGUAGE" Content="C#">
- <meta name="vs_defaultClientScript" content="JavaScript">
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <LINK href="skin/dvbbs/style.css" type="text/css" rel="stylesheet">
- <script language="JavaScript" type="text/JavaScript">
- <!--
- 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 width="97%" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#6595d6"
- style="BORDER-COLLAPSE: collapse">
- <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>
- <br>
- <table width="97%" height="349" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td width="22%" height="347" valign="top">
- <table width="100%" border="1" cellpadding="3" cellspacing="2" bordercolor="#6595d6" style="border-collapse: collapse">
- <tr>
- <td class="title"><font color="#FFFFFF"><strong>用户头像</strong></font></td>
- </tr>
- <tr>
- <td height="57">
- <div align="center"> <img src="images/touxiang.gif">
- </div>
- </td>
- </tr>
- <tr>
- <td class="title"><font color="#FFFFFF"><strong>基本信息</strong></font></td>
- </tr>
- <tr>
- <td>
- <table width="97%" border="0" align="center" cellpadding="2" cellspacing="0">
- <tr>
- <td><br>
- 发贴:
- <%#dsPending.Tables[0].Rows[0]["u_post"]%>
- <br>
- 积分:
- <%#dsPending.Tables[0].Rows[0]["u_fenshu"]%>
- <br> <span class="pt9-000099">威望值:
- <%#Convert.ToInt32(dsPending.Tables[0].Rows[0]["u_fenshu"])/10%>
- </span><br>
- 来自:
- <%#dsPending.Tables[0].Rows[0]["u_address"]%>
- <br>
- 注册:<span class="pt9-000099">
- <%#(Convert.ToDateTime(dsPending.Tables[0].Rows[0]["u_regtime"])).ToString("yyyy-MM-dd ")%>
- </span></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <br>
- <br>
- <table width="98%" border="1" cellpadding="3" cellspacing="2" bordercolor="#6595d6">
- <tr>
- <td class="title"><font color="#FFFFFF"><strong>好友在线</strong></font></td>
- </tr>
- <tr>
- <td><img src="images/msg_new_bar.gif" width="16" height="16"></td>
- </tr>
- <tr>
- <td height="13">*点击图标给好友发送短讯!</td>
- </tr>
- </table>
- <br>
- </td>
- <td valign="top">
- <div align="right">
- <table width="98%" border="1" cellspacing="2" cellpadding="3" bordercolor="#6595d6">
- <tr>
- <td class="title"><font color="#FFFFFF"><strong>-=> 论坛短信息</strong></font></td>
- </tr>
- <tr>
- <td><font color="#663333"> <%=messagejudge%></font> </td>
- </tr>
- </table>
- <font color="#663333"><span class="pt9-red"><b></b></span></font>
- <br>
- <table width="98%" border="1" cellpadding="0" cellspacing="0" bordercolor="#6595d6" style="BORDER-COLLAPSE: collapse" >
- <tr>
- <td colspan="5" class="title"><strong><font color="#FFFFFF">-=> 最新收到的短讯</font></strong></td>
- </tr>
- <tr bgcolor="">
- <td width="7%" height="24"><div align="center"><font color="#000000"><strong>状态</strong></font></div>
- </td>
- <td width="21%" bgcolor=""><div align="center"><font color="#000000"><strong>发件人</strong></font></div>
- </td>
- <td width="37%" bgcolor=""><div align="center"><font color="#000000"><strong>主题 </strong></font>
- </div>
- </td>
- <td width="21%"><div align="center"><font color="#000000"><strong>日期</strong></font></div>
- </td>
- <td width="14%"><div align="center"><font color="#000000"><strong>大小</strong></font></div>
- </td>
- </tr>
- <asp:repeater id="usernews" runat="server" >
- <itemtemplate>
- <tr>
- <td height="26"><div align="center">
- <div align="center"> <img src="images/<%# JudgeImage(DataBinder.Eval(Container.DataItem,"p_yn"))%>.gif"></div>
- </div>
- </td>
- <td><div align="center">
- <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> <strong> </strong> </div>
- </div>
- </td>
- <td><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>
- <strong><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')">
- </a></strong> </div>
- </td>
- <td>
- <div align="center">
- <div align="center">
- <%# DataBinder.Eval(Container.DataItem,"p_stime")%>
- <strong> </strong> </div>
- </div>
- </td>
- <td>
- <div align="center">
- <div align="center">
- <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>
- <strong></strong> </div>
- </div>
- </td>
- </tr>
- </itemtemplate>
- </asp:repeater>
- <tr>
- <td height="25" colspan="5">
- <table width="50%" border="0" align="center" cellpadding="3" cellspacing="0">
- <tr>
- <td><%=norecord%></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <br>
- <table width="98%" border="1" cellspacing="2" cellpadding="3" bordercolor="#6595d6">
- <tr>
- <td width="100%" height="14" class="title"><font color="#FFFFFF"><strong>-=> 最新上传文件</strong></font></td>
- </tr>
- <tr>
- <td height="20" bgcolor="#e2ebf5">
- <div align="center"><font color="#FF0000">功能未完成</font></div>
- </td>
- </tr>
- </table>
- <br>
- <table width="98%" border="1" cellspacing="2" cellpadding="3" bordercolor="#6595d6">
- <tr>
- <td class="title"><strong><font color="#FFFFFF">-=> 最近发表的文章</font></strong></td>
- </tr>
- <tr>
- <td height="33"> <table width="70%" border="0" cellspacing="0" cellpadding="0"><%=nopower%>
- <asp:repeater id="userpower" runat="server" >
- <itemtemplate>
- <tr>
- <td width="9%"><img src="<%# DataBinder.Eval(Container.DataItem,"f3_face") %>"></td>
- <td width="60%"> <a href="article_det.aspx?f2_id=<%# DataBinder.Eval(Container.DataItem,"f3_sy") %>&f3_id=<%# DataBinder.Eval(Container.DataItem,"f3_id")%>&pageindex=1" target="_blank">
- <%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"f3_motif").ToString()) %>
- </a> </td>
- <td width="44%">
- <%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"f3_now").ToString()) %>
- </td>
- </tr>
- </itemtemplate>
- </asp:repeater>
- </table></td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- </table>
- </div> <!--#include file="sitefloor.aspx" -->
- </body>
- </HTML>