<%@ Register TagPrefix="uc1" TagName="footer" Src="modules/footer.ascx" %>
<%@ Register TagPrefix="uc1" TagName="header" Src="modules/header.ascx" %>
<%@ Page language="c#" Codebehind="Countries.aspx.cs" AutoEventWireup="false" Inherits="SK.MemberWeb.admin.Countries" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>国家设置</title>
		<META http-equiv="Content-Type" content="text/html; charset=utf-8">
		<LINK href="images/style.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<FORM id="Form1" method="post" runat="server">
			<script language="javascript">
		function CheckInput()
		{
			if(document.getElementById('txtCountryName').value=="")
			{
				alert('请输入国家名称');
				document.getElementById('txtCountryName').focus();
				return false;
			}
		}
			</script>
			<uc1:header id="Header1" runat="server"></uc1:header>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td bgcolor="#E9E7E3"><table width="1001" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="200" valign="top" bgcolor="#404040"><table width="184" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:5px;">
                          <tr>
                            <td height="33" background="Images/LeftMenuTopBg.png">&nbsp;&nbsp;&nbsp;&nbsp;<font color="#FFFFFF" style="font-size:14px"><b>CPUSH MMS 4.1</b></font></td>
                          </tr>
                        </table>
                          <table width="182" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:5px">
                             <tr>
                              <td height="5" bgcolor="#D4D0C8"></td>
                            </tr>
		                        <tr>
                              <td height="26" bgcolor="#D4D0C8">&nbsp;&nbsp;<img src="Images/LeftMenuAR.png" width="9" height="10" align="absmiddle" />&nbsp;&nbsp;<font style="font-size:13px"><a href="LeaveWordList.aspx">留言管理</a></font></td>
                            </tr>
                            	<tr>
                              <td height="26" bgcolor="#D4D0C8">&nbsp;&nbsp;<img src="Images/LeftMenuAR.png" width="9" height="10" align="absmiddle" />&nbsp;&nbsp;<font style="font-size:13px"><a href="Countries.aspx">国家管理</a></font></td>
                            </tr>
                          	
							  <tr>
                              <td height="5" bgcolor="#D4D0C8"></td>
                            </tr>
                        </table></td>
                      <td valign="top" bgcolor="#E9E7E3">
					  <TABLE width="600" border="0" cellPadding="5" cellSpacing="0" bgcolor="#FFFFFF" style="margin-left:10px; margin-top:10px; margin-bottom:10px">
                        <TR>
                          <TD bgcolor="#DEDEDE" colspan="6">&nbsp;<B>国家设置</B></TD>
                        </TR>
                        <TR>
                          <TD height="1" bgcolor="#999999" colspan="6"></TD>
                        </TR>
                        <TR>
                          <TD height="1" bgcolor="#CCCCCC" colspan="6"></TD>
                        </TR>
                        <TR>
                          <TD height="1" bgcolor="#EDEDED" colspan="6"></TD>
                        </TR>
                                   
                                        <TR>
                                          <TD height="40" colspan="6">&nbsp;&nbsp;国家名称：
                                            <asp:TextBox id="txtCountryName" runat="server" CssClass="search"></asp:TextBox>
                                              <asp:Button id="btnAdd" runat="server" Text=" 增 加 " CssClass="login"></asp:Button></TD>
                                        </TR>
                                        <TR bgColor="#efefef">
                                          <TD height="28">&nbsp;国家名称</TD>
                                          <TD height="28">&nbsp;管理省份</TD>
                                          <TD height="28" width="50" align="center">&nbsp;编辑</TD>
                                          <TD height="28" width="50" align="center">&nbsp;删除</TD>
                                        </TR>
										    <TR>
                          <TD height="1" bgcolor="#CCCCCC" colspan="6"></TD>
                        </TR>
                                        <asp:repeater id="lstCountry" Runat="server">
                                          <ItemTemplate>
                                            <TR>
                                              <TD height="28">&nbsp;<a href='Country_Edit.aspx?id=<%# DataBinder.Eval(Container, "DataItem.CountryID") %>' ><%# DataBinder.Eval(Container, "DataItem.CountryName") %></a></TD>
                                              <TD height="28">&nbsp;<a href='Provinces.aspx?id=<%# DataBinder.Eval(Container, "DataItem.CountryID") %>' >省份列表</a></TD>
                                              <TD height="28" align="center"><a href='Country_Edit.aspx?id=<%# DataBinder.Eval(Container, "DataItem.CountryID") %>' ><img src='images/edit_x.gif' border="0"></a></TD>
                                              <TD height="28" align="center"><asp:linkbutton runat="server" Text="<img src='images/cancel_x.gif' border=0>" CommandName="Delete"  CausesValidation="false" OnLoad="Delete_Load" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.CountryID") %>' ID="Linkbutton1"> </asp:linkbutton></TD>
                                            </TR>
														    <TR>
                          <TD height="1" bgcolor="#CCCCCC" colspan="6"></TD>
                        </TR>
                                          </ItemTemplate>
                                        
                                        </asp:repeater>
                                                                        </TABLE></td>
                    </tr>
                </table></td>
              </tr>
            </table>
			<uc1:footer id="Footer1" runat="server"></uc1:footer>
	    </FORM>
	</body>
</HTML>
