{layout:simple} {class:Shop.Admin.User.productlimit_list_window}
<lbbody>
    <%foreach (DB.LebiShop.Lebi_User model in users)
          {
            DB.LebiShop.Lebi_Product_Limit limit=GetLimitInfo(model);
           
    %>
<tr class="list" >
        
        <td>
            <%=model.UserName %>&nbsp;
        </td>
        <td style="width:400px;word-wrap: break-word;">
            <%=model.RealName %>&nbsp;
        </td>
        <td>
            <%=GetlevelName(model.UserLevel_id) %>&nbsp;
        </td>
        <td>
            <input type="checkbox" name="IsShow<%=model.id%>"  cname="IsShow" value="1" limit="true" <%=limit.IsShow==1?"checked":""%> />
        </td>
        <td>
            <input type="checkbox" name="IsPriceShow<%=model.id%>" cname="IsPriceShow" value="1" limit="true" <%=limit.IsPriceShow==1?"checked":""%> />
        </td>
        <td>
            <input type="checkbox" name="IsBuy<%=model.id%>" cname="IsBuy" value="1" limit="true" <%=limit.IsBuy==1?"checked":""%> />
            <input type="hidden" name="limituserid" value="<%=model.id%>" limit="true" />
        </td>
    </tr>
    <%} %>
    <tr>
    <td colspan="7">
    <%=PageString %>
    </td>
    </tr>
    <%if(userlevel.id>0){%>
    <tr >
        <td colspan="6">
            <%=Lang(userlevel.Name)%>：
      
            <label>
                <%=Tag("禁止购买")%>
                <input type="checkbox" name="IsShow<%=userlevel.id%>"  value="1" limit="true" <%=userlevellimit.IsShow==1?"checked":""%> />
            </label>
             <label>
                <%=Tag("禁止看价")%>
                 <input type="checkbox" name="IsPriceShow<%=userlevel.id%>"  value="1" limit="true" <%=userlevellimit.IsPriceShow==1?"checked":""%> />
             </label>
             <label>
                <%=Tag("禁止购买")%>
                 <input type="checkbox" name="IsBuy<%=userlevel.id%>"  value="1" limit="true" <%=userlevellimit.IsBuy==1?"checked":""%> />
             </label>

         </td>
    </tr>
    <%}%>
</lbbody>
