<%@ Page Language="C#" EnableViewState="false" AutoEventWireup="true" CodeBehind="ShowNews.aspx.cs" Inherits="Forum.Web.Admin.Body.ShowNews" %>

<%@ Register assembly="Forum.Control" namespace="Forum.Control" tagprefix="cc1" %>

<!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 id="Head1" runat="server">
    <title></title>
    <link href="../styles/dntmanager.css" rel="stylesheet" type="text/css" />
</head>
<script src="../js/public.js" type="text/javascript"></script>
<body  class="ContentBody">
<form id="form2" runat="server">
<div class="ManagerForm">
		<fieldset>
		    <legend style="background:url(../images/icons/icon56.jpg) no-repeat 6px 50%;">查看信息</legend>

        
<div class="MainDiv">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center" height="35" style='color:<%#color%>'>
        <asp:Label ID="Label4" runat="server" ></asp:Label>&nbsp;<asp:Label ID="Label1" runat="server" Font-Size="14px"></asp:Label>
      </td>
  </tr>
  <tr>
    <td align="center">
        <asp:Label ID="Label2" runat="server"></asp:Label>
      </td>
  </tr>
  <tr>
    <td style="word-break:break-all; padding:5px;">
        <asp:Label ID="Label3" runat="server" ></asp:Label>
      </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
</div>
		</fieldset>
        <div class="Navbutton">
<script type="text/javascript">
var id_=hbctl_.Request("id");
function goedit()
{
    window.location="AddNews.aspx?id="+id_;
}
function deldata()
{
    var msg=window.confirm("您确定要删除？");
    if(msg)
    {
        var rvalue=Forum.Web.Admin.Body.ShowNews.deldata(id_).value;
        if(rvalue==1)
        {
            window.location="NewsList2.aspx"
        }
    }
}
</script>
<cc1:Button ID="Button1" runat="server" AutoPostBack="False" 
                ButtonImgUrl="../images/false.gif" ScriptContent="deldata()" Text=" 删 除" />
            <cc1:Button ID="Button2" runat="server" AutoPostBack="False" 
                ButtonImgUrl="../images/icon_edit.gif" Text=" 编 辑" 
                ScriptContent="goedit()" />
            <cc1:Button ID="Button3" runat="server" AutoPostBack="False" 
                ButtonImgUrl="../images/cache_reset.gif" Text=" 返回上一页" 
                ScriptContent="history.go(-1)" />
        </div>
        </div>
    </form>
</body>
</html>
