📄 skin-userprofile.ascx
字号:
<tr>
<td class="CommonFormFieldName">
<CS:ResourceControl runat="server" ResourceName="ViewUserProfile_AolIm" id="Resourcelabel21"/>
</td>
<td class="CommonFormField">
<asp:Literal id="AOLIM" runat="server" />
</td>
</tr>
<tr>
<td class="CommonFormFieldName">
<CS:ResourceControl runat="server" ResourceName="ViewUserProfile_YahooIm" id="Resourcelabel22"/>
</td>
<td class="CommonFormField">
<asp:Literal id="YahooIM" runat="server" />
</td>
</tr>
<tr>
<td class="CommonFormFieldName">
<CS:ResourceControl runat="server" ResourceName="ViewUserProfile_IcqIm" id="Resourcelabel23"/>
</td>
<td class="CommonFormField">
<asp:Literal id="ICQ" runat="server" />
</td>
</tr>
</table>
</div>
</asp:PlaceHolder>
</p>
</Content>
</TWC:TabbedPane>
<TWC:TabbedPane runat="server">
<Tab><CS:ResourceControl runat="server" ResourceName="ViewUserProfile_Tab_Bio" /></Tab>
<Content>
<h3 class="CommonSubTitle"><asp:Literal Runat="server" id="AboutBio" /></h3>
<asp:Literal Runat="server" id="Bio" />
</Content>
</TWC:TabbedPane>
<TWC:TabbedPane runat="server">
<Tab OnClickClientFunction="SelectRecent"><CS:ResourceControl runat="server" ResourceName="ViewUserProfile_Tab_RecentPosts" /></Tab>
<Content>
<p>
<div class="CommonGroupedContentArea">
<h3 class="CommonSubTitle"><CS:ResourceControl runat="server" ResourceName="ViewUserProfile_PostStats" id="Resourcelabel24" /></h3>
<CS:ResourceControl runat="server" ResourceName="ViewUserProfile_TotalPosts" id="Resourcelabel25"/>
<asp:Literal id="TotalPosts" runat="server" /> <strong>//</strong>
<CS:ResourceControl runat="server" ResourceName="ViewUserProfile_PostRank" id="Resourcelabel26"/>
<asp:Literal id="Rank" runat="server" /> <strong>//</strong>
<span id="PointsRow" runat="server" visible="false">
<CS:ResourceControl runat="server" ResourceName="ViewUserProfile_Points" id="Resourcelabel27"/>
<asp:Literal id="Points" runat="server" />
</span>
</div>
<ComponentArt:CallBack id="SearchCallBack" CacheContent="false" runat="server" >
<Content>
<asp:Repeater id="SearchRepeater" runat="Server" EnableViewState="false">
<HeaderTemplate>
<ul class="CommonSearchResultList">
</HeaderTemplate>
<ItemTemplate>
<li>
<div class="CommonSearchResultArea">
<h4 class="CommonSearchResultName"><a href="<%# DataBinder.Eval(Container.DataItem, "Url") %>"><%# DataBinder.Eval(Container.DataItem, "Title") %></a></h4>
<div class="CommonSearchResult">
<%# Formatter.GetBodySummary(DataBinder.Eval(Container.DataItem, "BestMatch").ToString(),350, "", System.Drawing.Color.Black, System.Drawing.Color.Yellow) %>
</div>
<div class="CommonSearchResultDetails">
<CS:ResourceLabel runat="server" ResourceName="SearchResults_PostTo" ID="Resourcelabel13"/> <asp:HyperLink Runat="server" ID = "SectionUrl" Text = '<%# DataBinder.Eval(Container.DataItem, "SectionName") %>' /> <a href ="<%# DataBinder.Eval(Container.DataItem, "ApplicationUrl") %>">(<%# DataBinder.Eval(Container.DataItem, "ApplicationType") %>)</a> <CS:ResourceLabel runat="server" ResourceName="SearchResults_By" ID="Resourcelabel15"/> <a href="<%# SiteUrls.Instance().UserProfile((string) DataBinder.Eval(Container.DataItem, "Username")) %>"><%# DataBinder.Eval(Container.DataItem, "Username") %></a> <CS:ResourceLabel runat="server" ResourceName="SearchResults_On" ID="Resourcelabel16"/> <%# DataBinder.Eval(Container.DataItem, "PostDate","{0:MMMM d, yyyy}") %>
</div>
</div>
</li>
</ItemTemplate>
<FooterTemplate>
</ul>
</FooterTemplate>
</asp:Repeater>
</Content>
<LoadingPanelClientTemplate>
Loading...<img src = "../utility/spinner.gif" />
</LoadingPanelClientTemplate>
</ComponentArt:CallBack>
</p>
</Content>
</TWC:TabbedPane>
<TWC:TabbedPane runat="server">
<Tab><CS:ResourceControl runat="server" ResourceName="ViewUserProfile_Tab_Favorites" /></Tab>
<Content>
<p>
<h3 class="CommonSubTitle"><cs:resourcecontrol runat="server" resourcename="ViewUserProfile_SharedFavorites_Title" id="Resourcecontrol50" name="Resourcecontrol44"/></h3>
<div class="CommonListArea">
<h4 class="CommonListTitle"><cs:resourcecontrol runat="server" resourcename="EditProfile_FavoriteUsers_Title" id="Resourcecontrol44" name="Resourcecontrol44"/></h4>
<cs:repeaterplusnone id="FavoriteUsers" runat="server">
<headertemplate>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<thead>
<tr>
<th class="CommonListHeaderLeftMost"><cs:resourcecontrol runat="server" resourcename="EditProfile_FavoriteUsers_Username" id="Resourcecontrol45" name="Resourcecontrol45"/></th>
<th class="CommonListHeader"><cs:resourcecontrol runat="server" resourcename="EditProfile_FavoriteUsers_TotalPosts" id="Resourcecontrol46" name="Resourcecontrol46"/></th>
<th class="CommonListHeader"><cs:resourcecontrol runat="server" resourcename="EditProfile_FavoriteUsers_PostRank" id="Resourcecontrol47" name="Resourcecontrol47"/></th>
<th class="CommonListHeader" runat="server" visible="<%# CanSeeUserPoints() %>"><cs:resourcecontrol runat="server" resourcename="EditProfile_FavoriteUsers_Points" id="Resourcecontrol48" name="Resourcecontrol48"/></th>
<th class="CommonListHeader"><cs:resourcelabel runat="server" resourcename="EditProfile_FavoriteUsers_Actions" id="Resourcelabel4"/></th>
</tr>
</thead>
<tbody>
</headertemplate>
<itemtemplate>
<tr>
<td class="CommonListCellLeftMost"><%# Formatter.FormatUsername((int)DataBinder.Eval(Container.DataItem, "UserID"), DataBinder.Eval(Container.DataItem, "Username").ToString(), false) %> </td>
<td class="CommonListCell"><%# DataBinder.Eval(Container.DataItem, "TotalPosts") %> </td>
<td class="CommonListCell"><%# ((Byte[])(DataBinder.Eval(Container.DataItem, "PostRank")))[0] %> </td>
<td class="CommonListCell" runat="server" visible="<%# CanSeeUserPoints() %>"><%# DataBinder.Eval(Container.DataItem, "Points") %> </td>
<td class="CommonListCell"><cs:userimagebuttons runat="server" mode="PrivateMessages" user='<%# (User) Container.DataItem %>' /> </td>
</tr>
</itemtemplate>
<footertemplate>
</tbody>
</table>
</footertemplate>
<nonetemplate>
<tr>
<td align="center" colspan="5" class="CommonListCellLeftMost"><cs:resourcecontrol runat="server" resourcename="ViewUserProfile_FavoriteUsers_None" id="Resourcecontrol49" name="Resourcecontrol49"/></td>
</tr>
</nonetemplate>
</cs:repeaterplusnone>
</div>
</p>
<p>
<div class="CommonListArea">
<h4 class="CommonListTitle"><cs:resourcecontrol runat="server" resourcename="EditProfile_FavoritePosts_Title" id="Resourcecontrol60" name="Resourcecontrol44"/></h4>
<cs:repeaterplusnone id="FavoritePosts" runat="server">
<headertemplate>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<thead>
<tr>
<th class="CommonListHeaderLeftMost"><cs:resourcecontrol runat="server" resourcename="EditProfile_FavoritePosts_Subject" id="Resourcecontrol64" name="Resourcecontrol45"/></th>
<th class="CommonListHeader"><cs:resourcecontrol runat="server" resourcename="EditProfile_FavoritePosts_Excerpt" id="Resourcecontrol65" name="Resourcecontrol46"/></th>
</tr>
</thead>
<tbody>
</headertemplate>
<itemtemplate>
<tr>
<td class="CommonListCellLeftMost"><a href="<%# ApplicationSet.Applications[((Post)Container.DataItem).Section.ApplicationType].Url((Post)Container.DataItem) %>"><%# DataBinder.Eval(Container.DataItem, "Subject") %></a> </td>
<td class="CommonListCell"><%# DataBinder.Eval(Container.DataItem, "ForceExcerpt") %> </td>
</tr>
</itemtemplate>
<footertemplate>
</tbody>
</table>
</footertemplate>
<nonetemplate>
<tr>
<td align="center" colspan="2" class="CommonListCellLeftMost"><cs:resourcecontrol runat="server" resourcename="ViewUserProfile_FavoritePosts_None" id="Resourcecontrol67" name="Resourcecontrol49"/></td>
</tr>
</nonetemplate>
</cs:repeaterplusnone>
</div>
</p>
<p>
<div class="CommonListArea">
<h4 class="CommonListTitle"><cs:resourcecontrol runat="server" resourcename="EditProfile_FavoriteSections_Title" id="Resourcecontrol61" name="Resourcecontrol44"/></h4>
<cs:repeaterplusnone id="FavoriteSections" runat="server">
<headertemplate>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<thead>
<tr>
<th class="CommonListHeaderLeftMost"><cs:resourcecontrol runat="server" resourcename="EditProfile_FavoriteSections_Name" id="Resourcecontrol62" name="Resourcecontrol45"/></th>
<th class="CommonListHeader"><cs:resourcecontrol runat="server" resourcename="EditProfile_FavoriteSections_Description" id="Resourcecontrol63" name="Resourcecontrol46"/></th>
</tr>
</thead>
<tbody>
</headertemplate>
<itemtemplate>
<tr>
<td class="CommonListCellLeftMost">
<%# Container.DataItem.ToString().Substring(Container.DataItem.ToString().LastIndexOf(".") + 1) %>:
<a href="<%# DataBinder.Eval(Container.DataItem, "Url") %>"><%# DataBinder.Eval(Container.DataItem, "Name") %></a> </td>
<td class="CommonListCell"><%# DataBinder.Eval(Container.DataItem, "Description") %> </td>
</tr>
</itemtemplate>
<footertemplate>
</tbody>
</table>
</footertemplate>
<nonetemplate>
<tr>
<td align="center" colspan="2" class="CommonListCellLeftMost"><cs:resourcecontrol runat="server" resourcename="ViewUserProfile_FavoriteSections_None" id="Resourcecontrol66" name="Resourcecontrol49"/></td>
</tr>
</nonetemplate>
</cs:repeaterplusnone>
</div>
</p>
</Content>
</TWC:TabbedPane>
</TWC:TabbedPanes>
</div>
<CS:AdPart runat = "Server" contentname="StandardBottom" ID="Adpart2">
<CS:Ads Zone="StandardBottom" runat="server" id="Ads3" />
</CS:AdPart>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -