<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NavList.aspx.cs" Inherits="web.admin.NavList" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>HelpCategory</title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<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/adminstyle.css" type="text/css" rel="stylesheet">
				<script language="JavaScript">
<!--
//By Dicky 2005-2-17 11:16:49
function Window_Load(Flag)
{

if (Flag == 0)
{

  parent.document.all['Loading'].style.display = 'block';
  parent.document.all['Loading'].style.width = '500';
   parent.document.all['Loading'].style.height = '60';
  //show the window
}
else
{
  parent.document.all['Loading'].style.display = 'none';
  
  //hide the window
}
}
//-->
</script>
	</HEAD>
	<body rightmargin="0" leftmargin="0" topmargin="0" onload="Window_Load(1);">
	
		<form id="Form2" method="post" runat="server" onsubmit="Window_Load(0);">
<table width="100%" height="550" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
<div class="top">
          <table width="100%" align="center" cellpadding="0" cellspacing="0" background="img/labelbg.gif" bgcolor="#EDF6FF">
            <tr>
		      <td width="5%" height="33" class="tl"></td>
		<td width="90%" class="tm"><span class="tt">平台基础设置管理 &gt;&gt; 导航菜单管理</span></td>
		      <td width="0%" class="tm2"><span class="tt"></span></td>
		<td width="5%" class="tr"></td>
	</tr>
</table>
</div>
        <div class="mframe"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
      <td class="ml"></td>
    <td  class="mm" align="left" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
                    <td bgcolor="#FFFFFF" valign="top" ><br>
                      <table width="90%" align="center" cellpadding="0"  cellspacing="0">
                        <tr>
		<td class="ml1"></td>
		<td class="mm1">
<table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
                              <tr>
					<td class="forumRowHighlight" height="23"><asp:datagrid id="dgCategoryList" runat="server" HeaderStyle-CssClass="summary-title" HorizontalAlign="Center"
							Width="100%" DataKeyField="ArticleCategoryID" AutoGenerateColumns="False" PagerStyle-Mode="NumericPages" AllowPaging="False" BorderColor="#E0E0E0" BorderWidth="1px">
							<HeaderStyle Font-Bold="False" BackColor="#EDF6FF" CssClass="head" Height="35px"></HeaderStyle>
							<Columns>
								<asp:TemplateColumn HeaderText="ID">
									<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
									<ItemTemplate>
										<%#DataBinder.Eval(Container.DataItem,"ArticleCategoryID")%>
									</ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" Width="40px" />
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="菜单名称(点击查看)">
									<ItemTemplate>
										<a href="<%#DataBinder.Eval(Container.DataItem,"Url")%>" target="_blank"><%#DataBinder.Eval(Container.DataItem,"CategoryName")%></a>
									</ItemTemplate>
                                    <HeaderStyle HorizontalAlign="Left" />
                                    <ItemStyle HorizontalAlign="Left" />
								</asp:TemplateColumn>
							
								<asp:TemplateColumn HeaderText="排序">
									<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
									<ItemTemplate>
										<a href='Cz.aspx?Action=ChangeHelpSortt&Type=D&CategoryID=<%# DataBinder.Eval(Container.DataItem, "ArticleCategoryID") %>'>
											<img src="images/a_down.gif" border="0" style='VISIBILITY:<%# GetVisibility(DataBinder.Eval(Container.DataItem, "Sort").ToString(),"D") %>'></a>
										<a href='Cz.aspx?Action=ChangeHelpSortt&Type=U&CategoryID=<%# DataBinder.Eval(Container.DataItem, "ArticleCategoryID") %>'>
											<img src="images/a_up.gif" border="0" style='VISIBILITY:<%# GetVisibility(DataBinder.Eval(Container.DataItem, "Sort").ToString(),"U") %>'></a>
									</ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" Width="30px" />
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="是否有效">
									<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
									<ItemTemplate>
										<a href='Cz.aspx?Action=ChangeHelpInNavv&CatID=<%# DataBinder.Eval(Container.DataItem, "ArticleCategoryID") %>&Status=<%# DataBinder.Eval(Container.DataItem, "Status") %>'>
											<img src='images/publish_<%# DataBinder.Eval(Container.DataItem, "Status") %>.png' border="0"></a>
									</ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" Width="60px" />
								</asp:TemplateColumn>
								<asp:TemplateColumn>
									<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
									<ItemTemplate>
										<a href='Navdd.aspx?CategoryID=<%#DataBinder.Eval(Container.DataItem,"ArticleCategoryID")%>'>
											修改</a>
									</ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" Width="30px" />
								</asp:TemplateColumn>
								<asp:ButtonColumn Text="&lt;div id=&quot;de&quot; onclick=&quot;javascript:return confirm('真的要删除吗？')&quot;&gt;删除&lt;/div&gt;" CommandName="Delete">
                                    <ItemStyle HorizontalAlign="Center" Width="30px" />
                                </asp:ButtonColumn>
							</Columns>
                        <PagerStyle Height="26px" Mode="NumericPages" />
                        <ItemStyle Height="26px" />
						</asp:datagrid></td>
				</tr>
			</table>
		</td>
		<td class="mr1"></td>
	</tr>
</table>
                    </td>
  </tr>
</table>


<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>
</td>
    <td  class="mr"></td>
  </tr>
</table>
<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>

</div>
    </td>
  </tr>
</table>
		</form>
	</body>
</HTML>
