SuLei.UI/Label/users.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using SuLei.Common;
namespace SuLei.Web.UI
{
public partial class BasePage : System.Web.UI.Page
{
/// <summary>
/// 站点OAuth列表
/// </summary>
/// <param name="top">显示条数</param>
/// <param name="strwhere">查询条件</param>
/// <returns>DataTable</returns>
protected DataTable get_site_oauth_list(int top, string strwhere)
{
string _where = "is_lock=0";
if (!string.IsNullOrEmpty(strwhere))
{
_where += " and " + strwhere;
}
return new BLL.site_oauth().GetList(top, _where).Tables[0];
}
/// <summary>
/// 返回用户头像图片地址
/// </summary>
/// <param name="user_name">用户名</param>
/// <returns>String</returns>
protected string get_user_avatar(string user_name)
{
BLL.sl_users bll = new BLL.sl_users();
if (!DataHandle.Exists(""+user_name))
{
return "";
}
return "";// bll.GetModel(user_name).avatar;
}
/// <summary>
/// 统计短信息数量
/// </summary>
/// <param name="strwhere">查询条件</param>
/// <returns>Int</returns>
protected int get_user_message_count(string strwhere)
{
return new BLL.user_message().GetCount(strwhere);
}
/// <summary>
/// 短信息列表
/// </summary>
/// <param name="top">显示条数</param>
/// <param name="strwhere">查询条件</param>
/// <returns>DataTable</returns>
protected DataTable get_user_message_list(int top, string strwhere)
{
return new BLL.user_message().GetList(top, strwhere, "is_read asc,post_time desc").Tables[0];
后面还有 110 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
