⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userinfo.aspx

📁 1、用SQL查询器打开install目录下的dooogo.sql运行之后创建数据库dooogo。 2、然后打开web.config修改 <DbProvider type="Club.Fram
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="userInfo.aspx.cs" AutoEventWireup="false" Inherits="Club.Home.userInfo" %>
<%@ Register TagPrefix="webui" Namespace="Club.Common.WebUI" Assembly="Club.Common" %>
<%@ Import NameSpace="Club.Framework"%>
<%@ Import NameSpace="Club.Framework.Xml"%>
<webui:sitepage id="PageManage" runat="server">
	<webui:ContentRegion id="titleContains" runat="server"><%#Title%></webui:ContentRegion>
	<webui:ContentRegion id="headerContains" runat="server">
		<LINK href="<%#Globals.GetWebPath("~/Home/Css/home_"+Setting.TemplateID+".css")%>" type="text/css" rel="stylesheet">
	</webui:ContentRegion>
	<webui:ContentRegion id="Content" runat="server">
		<div class="top">
	<h1 class="title"><%#Setting.SiteTitle%></h1>
	<div class="Ind"><%#UserInfo.Idiograph%></div>
	</div>
	<div class="banner"><%#Globals.GetMenu(RegisterId,-2,Setting.SiteMenuSetting)%></div>
<div class="body">
<div class="s_left">
	<div class="s_myShow">
    <div class="s_showImg">
	<img src="<%#Globals.GetSPhotoPath(RegisterId,UserInfo.Icon)%>" onerror="this.src='<%#Globals.GetWebPath("~/images/icon.png")%>'" />
	</div>
		<div class="s_showName">
			<ul>
				<li>呢称:<%#UserInfo.NiceName%></li>
				<li><%#UserInfo.Sex==1?"男":"女"%>,<%#Globals.GetPlace(UserInfo.CountryID,UserInfo.ProvinceID,0)%></li>
			</ul>
			
        <span><a href="<%#Globals.UrlFormats.SiteUserInfo(RegisterId)%>">详细资料</a> <a href="<%#Globals.UrlFormats.SiteGuestBook(RegisterId)%>">
        
        给我留言</a></span> <span>最后登陆时间:<%#UserInfo.ThisLoginDate.ToShortDateString()%></span> </div>
	</div>
</div>
	<div class="userinfo">
	<h2>基本资料</h2>
	<table>
	<tr>
	<th>用户ID:</th>
	<td><%#UserInfo.Username%></td>
	</tr>
	<tr>
	<th>姓名:</th>
	<td><%#UserInfo.FamilyName%><%#UserInfo.Sex==1?"先生":"女士"%></td>
	</tr>
	<tr>
	<th>呢称:</th>
	<td><%#UserInfo.NiceName%></td>
	</tr>
	<th>生日:</th>
	<td><%#UserInfo.Birthday.ToShortDateString()%></td>
	</tr>
	<tr>
	<th>会员类型:</th>
	<td><%#ReadXML.ReadListType("~/Javascript/userDegree.xml",UserInfo.DegreeID.ToString())%></td>
	</tr>
	<tr.
	</tr>
	<th>来自:</th>
	<td><%#Globals.GetPlace(UserInfo.CountryID,UserInfo.ProvinceID,UserInfo.CityID)%></td>
	</tr>
	<tr>
	<th>积分:</th>
	<td><%#UserInfo.Integral%>分</td>
	</tr>
	<tr>
	<th>等级:</th>
	<td>第<%#UserInfo.Grade%>级</td>
	</tr>
	<tr>
	<th>理想:</th>
	<td><%#StringHelper.GetHtmlFormat(UserInfo.Ideal)%></td>
	</tr>
	</table>
	<asp:panel id="p_Info" runat="server">
	<h2>详细资料</h2>
	<table>
	<tr>
	<th>体型:</th>
	<td><%#ReadXML.ReadListType("~/Javascript/Bodily.xml",UserData.BodilyID.ToString())%></td>
	</tr>
	<tr>
	<th>职业:</th>
	<td><%#UserData.Job%></td>
	</tr>
	<tr>
	<th>教育程度:</th>
	<td><%#ReadXML.ReadListType("~/Javascript/Education.xml",UserData.EducationID.ToString())%></td>
	</tr>
	<tr>
	<th>收入:</th>
	<td><%#ReadXML.ReadListType("~/Javascript/Earning.xml",UserData.EarningID.ToString())%></td>
	</tr>
	<tr>
	<th>QQ:</th>
	<td><%#UserData.QQ%></td>
	</tr>
	</tr>
	<tr>
	<th>MSN:</th>
	<td><%#UserData.Msn%></td>
	</tr>
	<tr>
	<th>个人主页:</th>
	<td><a href="<%#UserData.Homepage%>" target="_blank"><%#UserData.Homepage%></a></td>
	</tr>
	</table>
	</asp:panel>
	</div>
</div>
	</webui:ContentRegion>
</webui:sitepage>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -