<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="scoreconfig.aspx.cs" Inherits="FangPage.Admin.scoreconfig" %>
<%@ Register TagPrefix="cc1" Namespace="FangPage.Control" Assembly="FangPage.Control" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>用户积分配置</title>
    <link href="styles/datagrid.css" type="text/css" rel="stylesheet" />
    <link href="styles/bmsmanager.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="js/common.js"></script>
    <script type="text/javascript" src="js/modalpopup.js"></script>
</head>
<body>
    <form id="Form1" runat="server">
        <script type="text/javascript">
		    showhint(0, '可以通过设置正负值的方式变更积分的增减。如果是发表被删除, 积分也会按其值相应减少');
        </script>
        <table cellspacing="0" cellpadding="4" width="100%" align="center">
            <tr>
                <td>
                    <cc1:DataGrid ID="DataGrid1" runat="server">
                        <Columns>
                            <asp:BoundColumn DataField="id" Visible="false"></asp:BoundColumn>
                            <asp:BoundColumn DataField="id"  HeaderText="编号"></asp:BoundColumn>
                            <asp:BoundColumn DataField="name"  HeaderText="积分策略"></asp:BoundColumn>
                            <asp:BoundColumn DataField="credits" HeaderText="积分"></asp:BoundColumn>
                            <asp:BoundColumn DataField="money" HeaderText="金钱"></asp:BoundColumn>
                            <asp:TemplateColumn HeaderText="操作">
                                <ItemTemplate>
                                    <a href="scoreedit.aspx?id=<%# DataBinder.Eval(Container, "DataItem.id").ToString()%>">
                                        编辑</a>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                        </Columns>
                    </cc1:DataGrid>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
