{layout:simple} {class:Shop.Admin.product.productlimit_list_window}
<lbbody>
    <%foreach (DB.LebiShop.Lebi_Product model in products)
          {
            DB.LebiShop.Lebi_Product_Limit limit=GetLimitInfo(model.id);
           
    %>
    <tr class="list" ondblclick="selectproductone(<%=model.id %>,'<%=model.Number%>');">
        <td style="text-align:center">
            <img src="<%=Image(model.ImageOriginal,50,50) %>" style="max-width:50px;max-height:50px;"/>
        </td>
        <td>
            <%=model.Number %>&nbsp;
        </td>
        <td style="width:400px;word-wrap: break-word;">
            <%=Sub(Lang(model.Name),60) %>&nbsp;
        </td>
        <td>
            <%=GetUnitName(model.Units_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="limitproductid" value="<%=model.id%>" limit="true" />
        </td>
    </tr>
    <%} %>
    <tr>
    <td colspan="7">
    <%=PageString %>
    </td>
    </tr>
</lbbody>
