<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PropValue.aspx.cs" Inherits="XpShop.Manage.PropValue" %>
<!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>规格值管理</title>
    <!--#include file="inc/head.inc"-->
   <script type="text/javascript" src="inc/PropValue.js"></script>
   <script type="text/javascript">
         var  ShopFolder='<%=webSite %>';
         var  pid='<%=Request.QueryString["pid"] %>';
   </script>
</head>
<body>
    <div class="container">
		<div class="sub_container">
			<div class="sub_container_title"><a href="<%=AdminDefault%>" target="_top">桌面</a><img src="images/admin_title.jpg" height="9" width="8" align="absMiddle">规格值管理</div>
			<div class="sub_container_content">
            <form id="form1" runat="server">
            <div class="frame">
				<div class="frame_title">规格值列表</div>
				<div class="frame_content">
                <table cellSpacing="0" cellPadding="0" border="1" width="100%">
                <thead>
                    <th>名称</th>
                    <th>别名</th>
                    <th>备注</th>
                    <th>排序</th>
                    <th>操作</th>
                </thead>
                <tbody>
                    <%for (int i = 0; i < dtPropValue.Rows.Count; i++){%>
                    <tr>
                        <td><%=dtPropValue.Rows[i]["vname"] %></td>
                        <td><%=dtPropValue.Rows[i]["alias"] %></td>
                        <td><%=dtPropValue.Rows[i]["remark"] %></td>
                        <td><input type="text" name="sort" value="<%=dtPropValue.Rows[i]["sort"] %>" /></td>
                        <td><input type="hidden" name="vid" value="<%=dtPropValue.Rows[i]["vid"] %>" /> <span class="proupdate">修改&nbsp;</span>  <span class="prodelete">删除</span></td>
                    </tr>
                    <%} %>
                </tbody>
                <footer>
                    <tr>
                    
                        <td colspan="5" align="center"><asp:Button ID="btnUpdate" runat="server" onclick="btnUpdate_Click" Text="更改排序"></asp:Button></td>
                    </tr>
                </footer>
		        </table>
		        </div>
		    </div>
		    <div class="frame">
				<div class="frame_title">规格值添加</div>
				<div class="frame_content">
				    <table cellSpacing="0" cellPadding="0" class="ptable">
				        <tr>
				            <th class="tl">名称</th>
				            <td class="tr"><asp:TextBox ID="tbPropName" runat="server"></asp:TextBox></td>
				        </tr>
				        <tr>
				            <th class="tl">别名</th>
				            <td class="tr"><asp:TextBox ID="tbAlias" runat="server"></asp:TextBox></td>
				        </tr>
				        <tr>
				            <th class="tl">备注</th>
				            <td class="tr"><asp:TextBox ID="tbRemark" runat="server"></asp:TextBox></td>
				        </tr>
				        <tr>
				            <td colspan="2" class="center">
				                <input name="proid" id="proid" type="hidden" />
				                <asp:Button ID="btSave" runat="server" onclick="btSave_Click" Text="保存" />
				            </td>
				        </tr>
				    </table>
				</div>
			</div>
            </form>
            </div>
        </div>
    </div>
</body>
</html>
