<%@ page language="C#" autoeventwireup="true" inherits="Rest_Manage_RestManage_IntegralTemplate, DoodiiShop" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!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 runat="server">
    <title>无标题页</title>
</head>
<body>
    <asp:DataGrid ID="dataGrid" runat="server" Width="100%" AutoGenerateColumns="False"
        OnItemDataBound="dataGrid_ItemDataBound" Style="float: left">
        <ItemStyle HorizontalAlign="Center" Height="30px" CssClass="dataGridTr1"></ItemStyle>
        <HeaderStyle HorizontalAlign="Center" CssClass="thx"></HeaderStyle>
        <Columns>
            <asp:BoundColumn Visible="False" DataField="id" ReadOnly="True" HeaderText="id"></asp:BoundColumn>
            <asp:BoundColumn DataField="rowNum" HeaderText="序号" ReadOnly="True"></asp:BoundColumn>
            <asp:TemplateColumn Visible="False" HeaderText="图标">
                <ItemTemplate>
                    <font face="宋体"><a href='<%# DataBinder.Eval(Container, "DataItem.logo") %>' target="_blank">
                        <asp:Image ID="Image1" runat="server" Width="80px" ImageUrl='<%# DataBinder.Eval(Container, "DataItem.logo") %>'
                            Height="50px"></asp:Image></a></font></ItemTemplate>
            </asp:TemplateColumn>
            <asp:TemplateColumn HeaderText="餐馆名称">
                <ItemTemplate>
                    <a href='<%# DataBinder.Eval(Container, "DataItem.id","/index.aspx") %>' target="_blank">
                        <asp:Label ID="Label1" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Name") %>'>
                        </asp:Label></a></ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox ID="txtNameA" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Name") %>'>
                    </asp:TextBox></EditItemTemplate>
            </asp:TemplateColumn>
            <asp:BoundColumn Visible="False" DataField="provinceID" ReadOnly="True" HeaderText="省份ID">
            </asp:BoundColumn>
            <asp:BoundColumn Visible="False" DataField="provinceName" ReadOnly="True" HeaderText="省份">
            </asp:BoundColumn>
            <asp:BoundColumn Visible="False" DataField="cityName" ReadOnly="True" HeaderText="所属城市">
            </asp:BoundColumn>
            <asp:BoundColumn Visible="False" DataField="regionName" ReadOnly="True" HeaderText="所属地区">
            </asp:BoundColumn>
            <asp:BoundColumn Visible="False" DataField="zoneName" ReadOnly="True" HeaderText="所属片区">
            </asp:BoundColumn>
            <asp:BoundColumn HeaderText="客户评价" Visible="False"></asp:BoundColumn>
            <asp:BoundColumn DataField="clickAmount" HeaderText="点击率"></asp:BoundColumn>
            <asp:BoundColumn DataField="bulletinAmount" HeaderText="公告数量" Visible="False"></asp:BoundColumn>
            <asp:TemplateColumn HeaderText="过期公告数量" Visible="False">
                <ItemTemplate>
                    <a href='/Rest/Manage/RestBulletinManage.aspx?restId=<%#Eval("id") %>&state=3' target="_blank">
                        <asp:Label ID="Label1" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.bulletinAmountOverdue") %>'>
                        </asp:Label></a></ItemTemplate>
            </asp:TemplateColumn>
            <asp:TemplateColumn HeaderText="公告中数量" Visible="False">
                <ItemTemplate>
                    <a href='/Rest/Manage/RestBulletinManage.aspx?restId=<%#Eval("id") %>&state=2' target="_blank">
                        <asp:Label ID="Label1" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.bulletinAmountNew") %>'>
                        </asp:Label></a></ItemTemplate>
            </asp:TemplateColumn>
            <asp:HyperLinkColumn Text="周边建筑物管理" DataNavigateUrlField="id" DataNavigateUrlFormatString="shop2Area.aspx?id={0}"
                HeaderText="周边建筑物管理" Visible="False"></asp:HyperLinkColumn>
            <asp:HyperLinkColumn Text="[管理]" DataNavigateUrlField="id" DataNavigateUrlFormatString="/Rest/Manage/RestManage_IntegralSetting.aspx?restId={0}"
                HeaderText="管理"></asp:HyperLinkColumn>
            <asp:HyperLinkColumn Text="菜类管理" DataNavigateUrlField="id" DataNavigateUrlFormatString="/Rest/Manage/RestMenuClass.aspx?restID={0}"
                HeaderText="菜类管理" Visible="False"></asp:HyperLinkColumn>
            <asp:HyperLinkColumn Text="菜单管理" DataNavigateUrlField="id" DataNavigateUrlFormatString="/Rest/Manage/RestMenuManage.aspx?restID={0}"
                Visible="False"></asp:HyperLinkColumn>
            <asp:HyperLinkColumn Visible="False" Text="修改详细" Target="_blank" DataNavigateUrlField="id"
                DataNavigateUrlFormatString="shopDetail.aspx?id={0}" HeaderText="详细介绍"></asp:HyperLinkColumn>
            <asp:HyperLinkColumn Visible="False" Text="修改基本" Target="_blank" DataNavigateUrlField="id"
                DataNavigateUrlFormatString="popShop.aspx?id={0}" HeaderText="基本信息"></asp:HyperLinkColumn>
            <asp:EditCommandColumn Visible="False" UpdateText="更新" CancelText="取消" EditText="编辑基本信息">
            </asp:EditCommandColumn>
            <asp:ButtonColumn Visible="False" Text="删除" CommandName="Delete"></asp:ButtonColumn>
        </Columns>
        <PagerStyle Visible="False"></PagerStyle>
        <AlternatingItemStyle CssClass="dataGridTr2" />
    </asp:DataGrid>
    <div style="float: left">
        <br />
        <PageControl:myPageControl ID="MyPageControl1" runat="server" PageSize="10" TotalRecord="20"
            JavascriptFunction="PageChange" IsDoPostBack="False" ItemSize="5" PageInfoShow="False" />
    </div>
    <style>
.dataGridOver
{
    background-color:#FFFACD;
}
.dataGridTr1
{
    background-color:#ffffff;
}
.dataGridTr2
{
    background-color:#f4f4f4;
}
.thx
{
    background-color:#cccccc;
    text-align:center;
}
</style>
</body>
</html>
