<%@ Page Inherits="Caicai.Framework.UI.Admin.Common" Table="C_Common"  order="IsTop, OrderNum desc, id desc" %>
<!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>
<title><%= Caicai.Framework.Common.Language.Get("C_Common") %></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" href="style.css" rel="stylesheet" rev="stylesheet" media="all" />
<script type="text/javascript" src="../files/common/jquery.js"></script>
<script type="text/javascript" src="../files/xheditor/xheditor-zh-cn.min.js"></script>
<script type="text/javascript" src="include/xheditor.js"></script>
<script type="text/javascript" src="include/common.js"></script>
<script type="text/javascript">
$(function()
{
	$("#TB_Name").myValidator();

	var name = '<%= GetFileName(Caicai.Framework.Utils.CAppSettings.ConfigGet("Page.CommonSystem"), Caicai.Framework.Utils.CFetch.Get("system"))%>';

	if(name != "")
		$(".subsubmenu a").eq(0).html("&gt;&gt;&nbsp;" + decodeURI(name) + "管理系统");

	$("#manage_Category td").append("<a href='category.aspx?category=<%= Caicai.Framework.Utils.CFetch.Get("system") %>' class='open textbutton1' width='320' height='250'>管理分类</a>");

	var show =',<%= Caicai.Framework.Utils.CXml.GetXmlKey(Caicai.Framework.Utils.CAppSettings.ConfigGet("Page.CommonSystem"), "value", Caicai.Framework.Utils.CFetch.Get("system"), "show") %>,';

	if(show.indexOf(",Category,") < 0)
	{
		$(".shortcutmenu").hide();
	}

	$("#PanelManage tr, #PanelShow tr").each(function()
	{
		var id = $(this).attr("id");
		if(id != undefined)
		{
			var field = id.substring(id.indexOf('_')+1, id.length);
			if(show.indexOf("," + field + ",") < 0)
			{
				$(this).hide();
			}
		}
	})

	var note ='<%= Caicai.Framework.Utils.CXml.GetXmlKey(Caicai.Framework.Utils.CAppSettings.ConfigGet("Page.CommonSystem"), "value", Caicai.Framework.Utils.CFetch.Get("system"), "note") %>'.split(",");

	if(note != "")
	{
		for(i=0; i<note.length; i++)
		{
			var text = note[i].split("=");
			$("#manage_" + text[0] + " th").html(text[1] + "&nbsp;<a href='#' class='help'>[?]</a>");
		}

		$(".help").live("click", function()
		{
			$(this).parent().next().find(".note").toggle();
			return false;
		});
	}
})
</script>
</head>
<body id="C_Common">
<form id="form1" runat="server">
<table class="table subsubmenu">
	<thead>
	<tr>
		<td>
			<a href="?action=manage">&gt;&gt;&nbsp;<%= Caicai.Framework.Common.Language.Get("C_Common") %></a>
			<a href="?action=insert"><%= Caicai.Framework.Common.Language.Get("InsertData") %></a>
			
			
		</td>
		
	</tr>
  </thead>
</table>

<table class="table shortcutmenu" style="margin-top:8px;">
  <thead>
	<tr class="noeffect">
	  <td><a href="category.aspx?category=<%= Caicai.Framework.Utils.CFetch.Get("system") %>" class="open textbutton1" width="320" height="250">管理分类</a></td>
	</tr>
  </thead>
</table>

<asp:Panel ID="PanelDefault" runat="server">
<table class="table" style="margin-top:8px;">
<thead>
	<tr>
		
		<th width="50"><a href="#" class="deleteall" title="<%= Caicai.Framework.Common.Language.Get("DataDeleteInTitle") %>"><%= Caicai.Framework.Common.Language.Get("Delete") %></a><input type="checkbox" class="checkall"></th>
		
		<th width="40"><%= Caicai.Framework.Common.Language.Get("ID") %></th>
		
		<td><%= Caicai.Framework.Common.Language.Get("C_Common_Name") %></td>
		
		<td width="50"><%= Caicai.Framework.Common.Language.Get("C_Common_IsHide") %></td>
		
		<td width="50"><%= Caicai.Framework.Common.Language.Get("C_Common_OrderNum") %></td>
		
		<td width="120"><%= Caicai.Framework.Common.Language.Get("InputDate") %></td>
		<td width="150"><%= Caicai.Framework.Common.Language.Get("Manage") %></td>
	</tr>
</thead>

<asp:Repeater ID="RepeaterDefault" runat="server">
<ItemTemplate>
	<tr>
		
		<th><input type="checkbox" value="<%#Eval("ID")%>" class="checkdelete"></th>
		
		<th><%#Eval("ID")%></th>
		
		<td class="repeater_Name">
			<strong><a href="?action=show&id=<%#Eval("id")%>" class="show"><%#Eval("Name")%></a></strong><span class="gray"><%#Eval("Url")%></span>
		</td>
		
		<td class="repeater_IsHide">
			<img alt="<%# GetCheckBoxName(Eval("IsHide").ToString(), "True", "False")%>" src="images/ico_share_<%#Eval("IsHide")%>.gif" />
		</td>
		
		<td class="repeater_OrderNum">
			<a href="?action=up&ordernum=<%#Eval("OrderNum")%>&id=<%#Eval("id")%>" class="up"><img alt="<%#Eval("OrderNum")%>" src="images/ico_up.gif" /></a><a href="?action=down&ordernum=<%#Eval("OrderNum")%>&id=<%#Eval("id")%>" class="down"><img  alt="<%#Eval("OrderNum")%>" src="images/ico_down.gif" /></a>
		</td>
		
		<td><%#Eval("InputDate")%></td>
		<td class="manage">
			<a href="?action=show&id=<%#Eval("ID")%>" class="show"><%= Caicai.Framework.Common.Language.Get("Show") %></a>
			<a href="?action=update&id=<%#Eval("ID")%>" class="update"><%= Caicai.Framework.Common.Language.Get("Update") %></a>
			<a href="?action=copy&id=<%#Eval("ID")%>" class="copy"><%= Caicai.Framework.Common.Language.Get("Copy") %></a>
			<a href="?action=delete&id=<%#Eval("ID")%>" class="delete" title="<%= Caicai.Framework.Common.Language.Get("DataDeleteTitle") %>"><%= Caicai.Framework.Common.Language.Get("Delete") %></a>
		</td>
	</tr>
	
</ItemTemplate>
</asp:Repeater>

</table>
<table class="table">
<tr>
	<td class="page"><Caicai:CPageSql ID="PageDefault" runat="server" PageSize="15" /></td>
</tr>
</table>
<br />
</asp:Panel>

<asp:Panel ID="PanelManage" runat="server">
<table class="table" style="margin-top:8px;">
<thead>
<tr>
	<td colspan="2"><%= Caicai.Framework.Common.Language.Get("ManageData") %>&nbsp;<a href="#" class="helpall">[?]</a></td>
</tr>
</thead>

<tr id="manage_ClassID">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_ClassID") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_ClassID", "note") %></span>
	<Cai:CDropDownList ID="DDL_ClassID" runat="server" ControlType="TableName" Name="C_Word" Where="system like '{system}%'" Order="OrderNum desc, id desc" TextName="" ValueName=""   />
	</td>
</tr>

<tr id="manage_System">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_System") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_System", "note") %></span>
	<Cai:CDropDownList ID="DDL_System" runat="server" ControlType="FileName" Name="files/appsettings/commonsystem.xml" Where="" Order="" TextName="" ValueName=""   />
	</td>
</tr>

<tr id="manage_Category">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Category") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_Category", "note") %></span>
	<Cai:CDropDownList ID="DDL_Category" runat="server" ControlType="TableName" Name="C_Common" Where="" Order="" TextName="" ValueName=""   />
	</td>
</tr>

<tr id="manage_Name">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Name") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_Name", "note") %></span>
	<Cai:CTextBox ID="TB_Name" runat="server" ControlType="Default"  />
	</td>
</tr>

<tr id="manage_Attr">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr", "note") %></span>
	<Cai:CTextBox ID="TB_Attr" runat="server" ControlType="Default"  />
	</td>
</tr>

<tr id="manage_Attr1">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr1") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr1", "note") %></span>
	<Cai:CTextBox ID="TB_Attr1" runat="server" ControlType="Default"  />
	</td>
</tr>

<tr id="manage_Attr2">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr2") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr2", "note") %></span>
	<Cai:CTextBox ID="TB_Attr2" runat="server" ControlType="Default"  />
	</td>
</tr>

<tr id="manage_Attr3">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr3") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr3", "note") %></span>
	<Cai:CTextBox ID="TB_Attr3" runat="server" ControlType="Default"  />
	</td>
</tr>

<tr id="manage_Pic">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Pic") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_Pic", "note") %></span>
	<Cai:CTextBox ID="TB_Pic" runat="server" /><a href="#" class="uploadpic xheditorupload"><%= Caicai.Framework.Common.Language.Get("Upload") %></a><a href="TB_Pic" class="showpic"><%= Caicai.Framework.Common.Language.Get("ShowPic") %></a>
	</td>
</tr>

<tr id="manage_Pic1">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Pic1") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_Pic1", "note") %></span>
	<Cai:CTextBox ID="TB_Pic1" runat="server" /><a href="#" class="uploadpic xheditorupload"><%= Caicai.Framework.Common.Language.Get("Upload") %></a><a href="TB_Pic1" class="showpic"><%= Caicai.Framework.Common.Language.Get("ShowPic") %></a>
	</td>
</tr>

<tr id="manage_File">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_File") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_File", "note") %></span>
	<Cai:CTextBox ID="TB_File" runat="server" /><a href="#" class="uploadfile xheditorupload"><%= Caicai.Framework.Common.Language.Get("Upload") %></a><a href="TB_File" class="showfile"><%= Caicai.Framework.Common.Language.Get("ShowFile") %></a>
	</td>
</tr>

<tr id="manage_Url">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Url") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_Url", "note") %></span>
	<Cai:CTextBox ID="TB_Url" runat="server" ControlType="Default"  />
	</td>
</tr>

<tr id="manage_Content">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Content") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_Content", "note") %></span>
	<Cai:CTextBox ID="TB_Content" runat="server" ControlType="MultiLine" class="Editor" />
	</td>
</tr>

<tr id="manage_Note">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Note") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_Note", "note") %></span>
	<Cai:CTextBox ID="TB_Note" runat="server" ControlType="MultiLine"  />
	</td>
</tr>

<tr id="manage_IsTop">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_IsTop") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_IsTop", "note") %></span>
	<Cai:CCheckBox ID="CB_IsTop" runat="server"  />
	</td>
</tr>

<tr id="manage_IsRecommend">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_IsRecommend") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_IsRecommend", "note") %></span>
	<Cai:CCheckBox ID="CB_IsRecommend" runat="server"  />
	</td>
</tr>

<tr id="manage_IsHide">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_IsHide") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_IsHide", "note") %></span>
	<Cai:CCheckBox ID="CB_IsHide" runat="server"  />
	</td>
</tr>

<tr id="manage_OrderNum">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_OrderNum") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("C_Common_OrderNum", "note") %></span>
	<Cai:CTextBox ID="TB_OrderNum" runat="server" ControlType="OrderNum"  />
	</td>
</tr>

<tr id="manage_InputDate">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("InputDate") %>&nbsp;<a href="#" class="help">[?]</a></th>
	<td>
	<span class="note"><%= Caicai.Framework.Common.Language.Get("InputDate", "note") %></span>
	<Cai:CTextBox ID="TB_InputDate" runat="server" ControlType="DateTime" /><a href="#" class="datetime"><%= Caicai.Framework.Common.Language.Get("NowDateTime") %></a>
	</td>
</tr>
<tr>
	<th>&nbsp;</th>
	<td><asp:Button ID="ButtonManage" runat="server" CssClass="button" onclick="Manage_Click" /><input type="reset" class="button" value='<%= Caicai.Framework.Common.Language.Get("Reset") %>' /></td>
</tr>
</table>
</asp:Panel>

<asp:Panel runat="server" ID="PanelShow">
<table class="table" style="margin-top:8px;">
<asp:Repeater ID="RepeaterShow" runat="server">
<ItemTemplate>
	<thead>
	<tr>
		<td colspan="2"><%= Caicai.Framework.Common.Language.Get("ShowData") %></td>
	</tr>
	</thead>
	<tr>
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("ID") %></th>
		<td><%# Eval("ID")%></td>
	</tr>
	
	<tr id="show_ClassID">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_ClassID") %></th>
		<td>
			<strong><a href="?search=true&type=int&field=classid&keyword=<%#Eval("ClassID")%>"><%# GetTableName("C_Word", "", Eval("ClassID").ToString())%></a></strong>
		</td>
	</tr>
	
	<tr id="show_System">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_System") %></th>
		<td>
			<%# GetFileName("files/appsettings/commonsystem.xml", Eval("System").ToString())%>
		</td>
	</tr>
	
	<tr id="show_Category">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Category") %></th>
		<td>
			<%# GetTableName("C_Common", "", Eval("Category").ToString())%>
		</td>
	</tr>
	
	<tr id="show_Name">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Name") %></th>
		<td>
			<strong><a href="?action=show&id=<%#Eval("id")%>" class="show"><%#Eval("Name")%></a></strong><span class="gray"><%#Eval("Url")%></span>
		</td>
	</tr>
	
	<tr id="show_Attr">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr") %></th>
		<td>
			<%#Eval("Attr")%>
		</td>
	</tr>
	
	<tr id="show_Attr1">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr1") %></th>
		<td>
			<%#Eval("Attr1")%>
		</td>
	</tr>
	
	<tr id="show_Attr2">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr2") %></th>
		<td>
			<%#Eval("Attr2")%>
		</td>
	</tr>
	
	<tr id="show_Attr3">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr3") %></th>
		<td>
			<%#Eval("Attr3")%>
		</td>
	</tr>
	
	<tr id="show_Pic">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Pic") %></th>
		<td>
			<%#Eval("Pic")%>
		</td>
	</tr>
	
	<tr id="show_Pic1">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Pic1") %></th>
		<td>
			<%#Eval("Pic1")%>
		</td>
	</tr>
	
	<tr id="show_File">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_File") %></th>
		<td>
			<%#Eval("File")%>
		</td>
	</tr>
	
	<tr id="show_Url">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Url") %></th>
		<td>
			<%#Eval("Url")%>
		</td>
	</tr>
	
	<tr id="show_Content">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Content") %></th>
		<td>
			<div class="content"><%#Eval("Content")%></div>
		</td>
	</tr>
	
	<tr id="show_Note">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_Note") %></th>
		<td>
			<div class="content"><%#Eval("Note")%></div>
		</td>
	</tr>
	
	<tr id="show_IsTop">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_IsTop") %></th>
		<td>
			<%# GetCheckBoxName(Eval("IsTop").ToString(), "True", "False")%>
		</td>
	</tr>
	
	<tr id="show_IsRecommend">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_IsRecommend") %></th>
		<td>
			<%# GetCheckBoxName(Eval("IsRecommend").ToString(), "True", "False")%>
		</td>
	</tr>
	
	<tr id="show_IsHide">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_IsHide") %></th>
		<td>
			<img alt="<%# GetCheckBoxName(Eval("IsHide").ToString(), "True", "False")%>" src="images/ico_share_<%#Eval("IsHide")%>.gif" />
		</td>
	</tr>
	
	<tr id="show_OrderNum">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_OrderNum") %></th>
		<td>
			<a href="?action=up&ordernum=<%#Eval("OrderNum")%>&id=<%#Eval("id")%>" class="up"><img alt="<%#Eval("OrderNum")%>" src="images/ico_up.gif" /></a><a href="?action=down&ordernum=<%#Eval("OrderNum")%>&id=<%#Eval("id")%>" class="down"><img  alt="<%#Eval("OrderNum")%>" src="images/ico_down.gif" /></a>
		</td>
	</tr>
	
	<tr id="show_ClickNum">
		<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("C_Common_ClickNum") %></th>
		<td>
			<%#Eval("ClickNum")%>
		</td>
	</tr>
	
	<tr>
		<th><%= Caicai.Framework.Common.Language.Get("InputDate") %></th>
		<td><%# Eval("InputDate")%></td>
	</tr>
</ItemTemplate>
</asp:Repeater>
<tr>
	<td>&nbsp;</td>
	<td colspan="2" class="manage"><a href="javascript:history.back()"><% =Caicai.Framework.Common.Language.Get("ReturnBack") %></a></td>
</tr>
</table>
</div>
</asp:Panel>

<asp:Panel runat="server" ID="PanelImport">
<table class="table" style="margin-top:8px;">
<thead>
<tr>
	<td colspan="2"><%= Caicai.Framework.Common.Language.Get("ImportData") %></td>
</tr>
</thead>
<tr class="noeffect">
	<th style="width:120px;"><%= Caicai.Framework.Common.Language.Get("Import") %></th>
	<td>
	<div class="faq"><img src="images/import.png" /><%= Caicai.Framework.Common.Language.Get("ImportData", "note") %></div>
	&nbsp;<asp:Button ID="DownExcel" runat="server" CssClass="button" onclick="DownExcel_Click" />
	<div style="display:none;">
	<div id="ImportFields">[ClassID] as <%= Caicai.Framework.Common.Language.Get("C_Common_ClassID") %> ,[System] as <%= Caicai.Framework.Common.Language.Get("C_Common_System") %> ,[Category] as <%= Caicai.Framework.Common.Language.Get("C_Common_Category") %> ,[Name] as <%= Caicai.Framework.Common.Language.Get("C_Common_Name") %> ,[Attr] as <%= Caicai.Framework.Common.Language.Get("C_Common_Attr") %> ,[Attr1] as <%= Caicai.Framework.Common.Language.Get("C_Common_Attr1") %> ,[Attr2] as <%= Caicai.Framework.Common.Language.Get("C_Common_Attr2") %> ,[Attr3] as <%= Caicai.Framework.Common.Language.Get("C_Common_Attr3") %> ,[Pic] as <%= Caicai.Framework.Common.Language.Get("C_Common_Pic") %> ,[Pic1] as <%= Caicai.Framework.Common.Language.Get("C_Common_Pic1") %> ,[File] as <%= Caicai.Framework.Common.Language.Get("C_Common_File") %> ,[Url] as <%= Caicai.Framework.Common.Language.Get("C_Common_Url") %> ,[Content] as <%= Caicai.Framework.Common.Language.Get("C_Common_Content") %> ,[Note] as <%= Caicai.Framework.Common.Language.Get("C_Common_Note") %> ,[IsTop] as <%= Caicai.Framework.Common.Language.Get("C_Common_IsTop") %> ,[IsRecommend] as <%= Caicai.Framework.Common.Language.Get("C_Common_IsRecommend") %> ,[IsHide] as <%= Caicai.Framework.Common.Language.Get("C_Common_IsHide") %> ,[OrderNum] as <%= Caicai.Framework.Common.Language.Get("C_Common_OrderNum") %> ,[ClickNum] as <%= Caicai.Framework.Common.Language.Get("C_Common_ClickNum") %> ,</div>
	<textarea ID="TB_ImportFields" name="TB_ImportFields"></textarea></div></td>
</tr>
<tr>
	<th style="width:120px;"></th>
	<td><asp:FileUpload ID="FileUploadImport" runat="server" style="width:60%;" /></td>
</tr>
<tr>
	<th>&nbsp;</th>
	<td>&nbsp;<asp:Button ID="ButtonImport" runat="server" CssClass="button" onclick="Import_Click" /></td>
</tr>
</table>
</asp:Panel>
<asp:Panel runat="server" ID="PanelExport">
<table class="table" style="margin-top:8px;">
<thead>
<tr>
	<td colspan="2"><%= Caicai.Framework.Common.Language.Get("ExportData") %></td>
</tr>
</thead>
</table>
<table class="table">
<tr class="noeffect">
	<td>
		<div class="faq"><img src="images/export.png" /><%= Caicai.Framework.Common.Language.Get("ExportData", "note") %></div>
	</td>
</tr>
<tr>
	<td id="FieldsAll" align="right">
	<input id="ID" type="checkbox" name="CB_Fields" checked="checked" /><label for="ID"><%= Caicai.Framework.Common.Language.Get("ID") %></label>
	
	<input id="ClassID" type="checkbox" name="CB_Fields" checked="checked" /><label for="ClassID"><%= Caicai.Framework.Common.Language.Get("C_Common_ClassID") %></label>
	
	<input id="System" type="checkbox" name="CB_Fields" checked="checked" /><label for="System"><%= Caicai.Framework.Common.Language.Get("C_Common_System") %></label>
	
	<input id="Category" type="checkbox" name="CB_Fields" checked="checked" /><label for="Category"><%= Caicai.Framework.Common.Language.Get("C_Common_Category") %></label>
	
	<input id="Name" type="checkbox" name="CB_Fields" checked="checked" /><label for="Name"><%= Caicai.Framework.Common.Language.Get("C_Common_Name") %></label>
	
	<input id="Attr" type="checkbox" name="CB_Fields" checked="checked" /><label for="Attr"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr") %></label>
	
	<input id="Attr1" type="checkbox" name="CB_Fields" checked="checked" /><label for="Attr1"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr1") %></label>
	
	<input id="Attr2" type="checkbox" name="CB_Fields" checked="checked" /><label for="Attr2"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr2") %></label>
	
	<input id="Attr3" type="checkbox" name="CB_Fields" checked="checked" /><label for="Attr3"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr3") %></label>
	
	<input id="Pic" type="checkbox" name="CB_Fields" checked="checked" /><label for="Pic"><%= Caicai.Framework.Common.Language.Get("C_Common_Pic") %></label>
	
	<input id="Pic1" type="checkbox" name="CB_Fields" checked="checked" /><label for="Pic1"><%= Caicai.Framework.Common.Language.Get("C_Common_Pic1") %></label>
	
	<input id="File" type="checkbox" name="CB_Fields" checked="checked" /><label for="File"><%= Caicai.Framework.Common.Language.Get("C_Common_File") %></label>
	
	<input id="Url" type="checkbox" name="CB_Fields" checked="checked" /><label for="Url"><%= Caicai.Framework.Common.Language.Get("C_Common_Url") %></label>
	
	<input id="Content" type="checkbox" name="CB_Fields" checked="checked" /><label for="Content"><%= Caicai.Framework.Common.Language.Get("C_Common_Content") %></label>
	
	<input id="Note" type="checkbox" name="CB_Fields" checked="checked" /><label for="Note"><%= Caicai.Framework.Common.Language.Get("C_Common_Note") %></label>
	
	<input id="IsTop" type="checkbox" name="CB_Fields" checked="checked" /><label for="IsTop"><%= Caicai.Framework.Common.Language.Get("C_Common_IsTop") %></label>
	
	<input id="IsRecommend" type="checkbox" name="CB_Fields" checked="checked" /><label for="IsRecommend"><%= Caicai.Framework.Common.Language.Get("C_Common_IsRecommend") %></label>
	
	<input id="IsHide" type="checkbox" name="CB_Fields" checked="checked" /><label for="IsHide"><%= Caicai.Framework.Common.Language.Get("C_Common_IsHide") %></label>
	
	<input id="OrderNum" type="checkbox" name="CB_Fields" checked="checked" /><label for="OrderNum"><%= Caicai.Framework.Common.Language.Get("C_Common_OrderNum") %></label>
	
	<input id="ClickNum" type="checkbox" name="CB_Fields" checked="checked" /><label for="ClickNum"><%= Caicai.Framework.Common.Language.Get("C_Common_ClickNum") %></label>
	
	<input id="InputDate" type="checkbox" name="CB_Fields" checked="checked" /><label for="InputDate"><%= Caicai.Framework.Common.Language.Get("InputDate") %></label>
	</td>
</tr>
<tr align="right">
	<td>
		<div style="display:none;"><asp:TextBox ID="TB_Field" runat="server" /><asp:TextBox ID="checked_Fields" runat="server" width="80%">ID,ClassID,System,Category,Name,Attr,Attr1,Attr2,Attr3,Pic,Pic1,File,Url,Content,Note,IsTop,IsRecommend,IsHide,OrderNum,ClickNum,InputDate</asp:TextBox><asp:TextBox ID="TB_Fields" runat="server" width="80%"></asp:TextBox></div>
		<asp:TextBox ID="TB_Keyword" runat="server" />
		<select name="DDL_Fields" id="DDL_Fields">
		
		<option value="ClassID"><%= Caicai.Framework.Common.Language.Get("C_Common_ClassID") %></option>
		
		<option value="System"><%= Caicai.Framework.Common.Language.Get("C_Common_System") %></option>
		
		<option value="Category"><%= Caicai.Framework.Common.Language.Get("C_Common_Category") %></option>
		
		<option value="Name"><%= Caicai.Framework.Common.Language.Get("C_Common_Name") %></option>
		
		<option value="Attr"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr") %></option>
		
		<option value="Attr1"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr1") %></option>
		
		<option value="Attr2"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr2") %></option>
		
		<option value="Attr3"><%= Caicai.Framework.Common.Language.Get("C_Common_Attr3") %></option>
		
		<option value="Pic"><%= Caicai.Framework.Common.Language.Get("C_Common_Pic") %></option>
		
		<option value="Pic1"><%= Caicai.Framework.Common.Language.Get("C_Common_Pic1") %></option>
		
		<option value="File"><%= Caicai.Framework.Common.Language.Get("C_Common_File") %></option>
		
		<option value="Url"><%= Caicai.Framework.Common.Language.Get("C_Common_Url") %></option>
		
		<option value="Content"><%= Caicai.Framework.Common.Language.Get("C_Common_Content") %></option>
		
		<option value="Note"><%= Caicai.Framework.Common.Language.Get("C_Common_Note") %></option>
		
		<option value="IsTop"><%= Caicai.Framework.Common.Language.Get("C_Common_IsTop") %></option>
		
		<option value="IsRecommend"><%= Caicai.Framework.Common.Language.Get("C_Common_IsRecommend") %></option>
		
		<option value="IsHide"><%= Caicai.Framework.Common.Language.Get("C_Common_IsHide") %></option>
		
		<option value="OrderNum"><%= Caicai.Framework.Common.Language.Get("C_Common_OrderNum") %></option>
		
		<option value="ClickNum"><%= Caicai.Framework.Common.Language.Get("C_Common_ClickNum") %></option>
		
		<option value="InputDate"><%= Caicai.Framework.Common.Language.Get("InputDate") %></option>
		</select>
		<asp:Button ID="ButtonSearch" runat="server" CssClass="button" onclick="Search_Click" /></td>
</tr>
<tr class="noeffect">
	<td class="gridview">
	<asp:GridView ID="GridViewDefault" runat="server"></asp:GridView>
	</td>
</tr>
</table>
<table class="table">
</tr>
<tr>
	<th>&nbsp;</th>
	<td><asp:Button ID="ButtonExport" runat="server" CssClass="button" onclick="Export_Click" /></td>
</tr>
</table>
</asp:Panel>
</form>
</body>
</html>