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

📄 index.aspx

📁 简单新闻管理系统一个采用Access数据库的新闻管理系统
💻 ASPX
📖 第 1 页 / 共 2 页
字号:
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="index.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>新闻系统|-51aspx.com</title>
    <style type="text/css">
<!--
.STYLE1 {
	font-size: 12px;
	color: #CC3300;
}
.STYLE2 {
	font-size: 12px;
	color: #660000;
}
.STYLE3 {
	font-size: 12px;
	color: #996600;
}
-->
    </style>
    <link href="font1.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
<!--
.STYLE4 {
	color: #990000;
	font-size: 12px;
}
.STYLE5 {
	font-size: 12px;
	color: #000000;
}
.STYLE6 {font-size: 12px; color: #000000; font-family: "新宋体";}
.STYLE7 {font-size: 12px}
.STYLE11 {font-size: 12px; color: #CC0000; }
body {
	background-color: #FBFADD;
}
-->
    </style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
<body>
<form runat="server" id="form1">
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="1360" valign="top"><table width="770" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29" background="image/saz.gif" bgcolor="#FFFFFF">&nbsp;</td>
        <td width="325" background="image/saz.gif" bgcolor="#FFFFFF"><span class="STYLE1"><img src="image/7655.jpg" width="13" height="11" />新闻资讯尽在其中……</span></td>
        <td width="78" background="image/saz.gif" bgcolor="#FFFFFF"><img src="image/gjz.gif" width="64" height="22" /></td>
        <td width="193" background="image/saz.gif" bgcolor="#FFFFFF">&nbsp;<asp:TextBox ID="TextBox1" runat="server" Width="174px"></asp:TextBox></td>
        <td width="159" background="image/saz.gif" bgcolor="#FFFFFF">&nbsp;<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/image/union_btn_sou.gif" /></td>
      </tr>
    </table>
      <table width="770" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="40" background="image/untitled.gif" style="height: 31px">&nbsp;</td>
          <td width="70" align="center" valign="middle" background="image/untitled.gif" style="height: 31px"><span class="STYLE2"><a href="index.aspx" target="_blank">新闻首页</a></span></td>
          <td width="70" align="center" valign="middle" background="image/untitled.gif" style="height: 31px"><span class="STYLE2"><a href="innews.aspx" target="_blank">国内新闻</a></span></td>
          <td width="70" align="center" valign="middle" background="image/untitled.gif" style="height: 31px"><span class="STYLE2"><a href="outnews.aspx" target="_blank">国际新闻</a></span></td>
          <td width="70" align="center" valign="middle" background="image/untitled.gif" style="height: 31px"><span class="STYLE2"><a href="sport.aspx" target="_blank">体育新闻</a></span></td>
          <td width="70" align="center" valign="middle" background="image/untitled.gif" style="height: 31px"><span class="STYLE2"><a href="yule.aspx" target="_blank">娱乐新闻</a></span></td>
          <td width="190" align="center" background="image/untitled.gif" style="height: 31px">&nbsp;
            <asp:Label ID="Label1" runat="server" Font-Size="10pt" ForeColor="Red"></asp:Label>
&nbsp;&nbsp;&nbsp;          </td>
          <td width="190" align="left" background="image/untitled.gif" style="height: 31px">&nbsp;<asp:LinkButton ID="LinkButton3" runat="server" Font-Size="10pt" ForeColor="#404000"
                  OnClick="LinkButton3_Click1">退出登录</asp:LinkButton>
              <asp:Label ID="Label2" runat="server" Text="1" Visible="False"></asp:Label>
              <asp:Label ID="Label3" runat="server" Text="3" Visible="False"></asp:Label>
              <asp:Label ID="Label4" runat="server" Text="4" Visible="False"></asp:Label>
              <asp:Label ID="Label5" runat="server" Text="2" Visible="False"></asp:Label>
              <asp:LinkButton ID="LinkButton4" runat="server" Font-Size="10pt" ForeColor="Red"
                  PostBackUrl="~/admilogint.aspx">管理员进入</asp:LinkButton></td>
        </tr>
      </table>
      <table width="770" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="image/p7ssm_loading.gif" width="78" height="8" /><img src="image/p7ssm_loading.gif" width="78" height="8" /><img src="image/p7ssm_loading.gif" width="78" height="8" /><img src="image/p7ssm_loading.gif" width="78" height="8" /><img src="image/p7ssm_loading.gif" width="78" height="8" /><img src="image/p7ssm_loading.gif" width="78" height="8" /><img src="image/p7ssm_loading.gif" width="78" height="8" /><img src="image/p7ssm_loading.gif" width="78" height="8" /><img src="image/p7ssm_loading.gif" width="78" height="8" /></td>
        </tr>
      </table>
      <table width="770" height="97" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="88" background="image/222441.gif">&nbsp;</td>
        </tr>
      </table>
      <table width="770" height="526" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="530" height="526" valign="top"><table width="530" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="26" background="image/menu_bg.gif"><div align="center"><span class="STYLE3"><marquee>胡锦涛的故乡及家族历史....... 最漂亮的中外十大奥运美女主持人........亨特儿与格蕾特儿 </marquee></span></div></td>
            </tr>
          </table>
            <table width="530" height="19" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td height="19" background="image/1.gif" bgcolor="#FFFFFF">&nbsp;</td>
              </tr>
            </table>
            <table width="530" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="58" height="27" align="center" class="b1 STYLE4">用户名:</td>
                <td width="139" align="left">&nbsp;<asp:TextBox ID="TextBox2" runat="server" Width="110px"></asp:TextBox></td>
                <td width="58" align="left"><span class="STYLE4">密 码:</span></td>
                <td width="139" align="left">&nbsp;<asp:TextBox ID="TextBox3" runat="server" Width="110px" TextMode="Password"></asp:TextBox></td>
                <td width="48" align="left">&nbsp;
                  <asp:LinkButton ID="LinkButton1" runat="server" Font-Size="10pt" ForeColor="#C04000" OnClick="LinkButton1_Click">登录</asp:LinkButton></td>
                <td width="88" align="left">&nbsp;
                  <asp:LinkButton ID="LinkButton2" runat="server" Font-Size="10pt" ForeColor="#C04000" PostBackUrl="~/reg.aspx">立即注册</asp:LinkButton></td>
              </tr>
            </table>
            <table width="530" height="459" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="240" height="459" valign="top"><table width="236" height="228" border="1" cellpadding="0" cellspacing="0" bordercolor="#996633">
                  <tr>
                    <td height="211" align="center" valign="middle" bgcolor="#FFFFFF"><img src="image/84744322222222233.gif" width="227" height="194" /></td>
                  </tr>
                </table>
                  <table width="240" height="231" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td height="231" valign="top"><table width="240" height="32" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td height="32" background="image/saz.gif" bgcolor="#F9FEDE"><img src="image/untmkitled.gif" width="9" height="12" class="a1" /><span class="STYLE6">国际新闻</span></td>
                        </tr>
                      </table>
                        <table width="240" height="198" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td height="198" bgcolor="#E7FABA" style="vertical-align: top">&nbsp; &nbsp;&nbsp;&nbsp;<asp:DataList ID="DataList1" runat="server" DataKeyField="News_ID"
                                    DataSourceID="AccessDataSource1" CellSpacing="8">
                                    <ItemTemplate>
                                        <asp:Image ID="Image1" runat="server" ImageUrl="~/image/01_02.gif" />
                                        <asp:HyperLink ID="HyperLink1" runat="server" Font-Size="10pt" NavigateUrl='<%# Eval("News_ID", "news.aspx?News_ID={0}") %>'
                                            Text='<%# Eval("News_Title", "{0}") %>' ForeColor="#804000"></asp:HyperLink><br />
                                    </ItemTemplate>
                                </asp:DataList><asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/news.mdb"
                                    SelectCommand="SELECT top 5 [News_ID], [Newsclass_ID], [News_Title] FROM [newsinfo] WHERE ([Newsclass_ID] = ?)">
                                    <SelectParameters>
                                        <asp:ControlParameter ControlID="Label2" Name="Newsclass_ID" PropertyName="Text"
                                            Type="Int32" />
                                    </SelectParameters>
                                </asp:AccessDataSource>
                                &nbsp;
                            </td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
                <td width="290" valign="top"><table width="290" height="31" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td height="31" background="image/saz.gif" bgcolor="#F9FEDE"><img src="image/untmkitled.gif" width="9" height="12" class="a1" /><span class="STYLE6">国内新闻</span></td>
                  </tr>
                </table>
                  <table width="290" height="428" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#FFFFFF" style="vertical-align: top">&nbsp;<asp:DataList ID="DataList4" runat="server" DataKeyField="News_ID" DataSourceID="AccessDataSource4" CellSpacing="8" BackColor="Transparent" ForeColor="Maroon">
                              <ItemTemplate>
                                  <asp:Image ID="Image4" runat="server" ImageUrl="~/image/01_02.gif" />
                                  <asp:HyperLink ID="HyperLink4" runat="server" Font-Size="10pt" ForeColor="Black"
                                      NavigateUrl='<%# Eval("News_ID", "news.aspx?News_ID={0}") %>' Text='<%# Eval("News_Title", "{0}") %>'></asp:HyperLink><br />
                              </ItemTemplate>
                          </asp:DataList><asp:AccessDataSource ID="AccessDataSource4" runat="server" DataFile="~/App_Data/news.mdb"
                              SelectCommand="SELECT [News_ID], [Newsclass_ID], [News_Title] FROM [newsinfo] WHERE ([Newsclass_ID] = ?)">

⌨️ 快捷键说明

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