📄 blog.aspx
字号:
<%@ Page language="c#" Codebehind="Blog.aspx.cs" AutoEventWireup="false" Inherits="WesternByte.MyBlog.Admin.Blog" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>系统管理</title>
<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">
<LINK href="/images/style.css" rel="stylesheet">
<script language="javascript">
<!--
function mhEnter()
{
window.event.srcElement.className="lt1";
}
function mhLeave()
{
window.event.srcElement.className="lt0";
}
//-->
</script>
</HEAD>
<body leftMargin="0" topMargin="0" MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<table cellSpacing="0" cellPadding="0" width="1000" border="0">
<tr height="181">
<td background="/Images/admin/banner.jpg"></td>
</tr>
<tr height="31">
<td background="/Images/line.jpg">
<table cellSpacing="0" cellPadding="0" width="1000" border="0">
<tr align="center" height="20">
<td width="278"> </td>
<td class="lt0" onmouseleave="mhLeave()" onmouseenter="mhEnter()"><A href="/">百宝箱首页</A></td>
<td class="ltsep">|</td>
<td class="lt0" onmouseleave="mhLeave()" onmouseenter="mhEnter()"><A href="Blog.aspx">管理首页</A></td>
<td class="ltsep">|</td>
<td class="lt0" onmouseleave="mhLeave()" onmouseenter="mhEnter()"><A href="/Main/TopList.aspx">排行榜</A></td>
<td class="ltsep">|</td>
<td class="lt0" onmouseleave="mhLeave()" onmouseenter="mhEnter()"><A href="EditPass.aspx">修改密码</A></td>
<td class="ltsep">|</td>
<td class="lt0" onmouseleave="mhLeave()" onmouseenter="mhEnter()"><A href="EditInfo.aspx">修改账户信息</A></td>
<td class="ltsep">|</td>
<td class="lt0" onmouseleave="mhLeave()" onmouseenter="mhEnter()"><A href="/Logout.aspx">退出登录</A></td>
<td width="255"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="1000" border="0">
<tr height="30">
<td> </td>
</tr>
<tr height="547">
<td vAlign="top" colSpan="2" align="center">
<table cellSpacing="0" cellPadding="0" width="670" border="0">
<tr>
<td align="center">
<asp:datagrid id="BlogList" PageSize="20" OnDeleteCommand="Delete" AutoGenerateColumns="False"
CellPadding="4" BackColor="White" BorderWidth="1px" BorderStyle="Solid" BorderColor="MediumPurple"
AllowPaging="True" Width="600" AllowCustomPaging="True" DataKeyField="BlogID" Runat="server">
<AlternatingItemStyle HorizontalAlign="Center" CssClass="menu" BackColor="White"></AlternatingItemStyle>
<ItemStyle HorizontalAlign="Center" CssClass="menu" BackColor="WhiteSmoke"></ItemStyle>
<HeaderStyle Font-Bold="True" HorizontalAlign="Center" ForeColor="White" CssClass="menu" BackColor="#C0C0FF"></HeaderStyle>
<PagerStyle Font-Bold="True" HorizontalAlign="Center" ForeColor="White" BackColor="#C0C0FF"
Mode="NumericPages"></PagerStyle>
<Columns>
<asp:TemplateColumn HeaderText="账户名称">
<ItemStyle Width="150px"></ItemStyle>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"Username") %>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="Blog名称">
<ItemStyle Width="150px"></ItemStyle>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"Name") %>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="随笔总数">
<ItemStyle Width="150px"></ItemStyle>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"EssayCount") %>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="文章总数">
<ItemStyle Width="150px"></ItemStyle>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"ArticleCount") %>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="评论总数">
<ItemStyle Width="150px"></ItemStyle>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem,"FeedBackCount") %>
</ItemTemplate>
</asp:TemplateColumn>
<asp:ButtonColumn Text="删除" HeaderText="操作" CommandName="Delete">
<ItemStyle Width="120px"></ItemStyle>
</asp:ButtonColumn>
</Columns>
</asp:datagrid>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -