<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SelectTemplate.aspx.cs"
    Inherits="WstWeb.Admin.Template.SelectTemplate" %>

<!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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <script src="../Js/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="../Js/easyui/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../Js/easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="../Js/PublicComm.js" type="text/javascript"></script>
    <script src="../Js/WinFuns.js" type="text/javascript"></script>
    <script src="../Js/pageloader.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server" method="post">
    <div class="ctright">
        <div class="formclum">
        </div>
        <div class="form">
            <br />
            模版选择完成后点击保存即可&nbsp;&nbsp;&nbsp;<asp:Button ID="btnSave" runat="server" CssClass="button3" Text="" OnClick="btnSave_Click" />&nbsp;&nbsp;&nbsp;当前选择模版：<strong id="xzmb"></strong>
            <br />
            <ul class="moban">
                <asp:Repeater ID="RepList" runat="server">
                <ItemTemplate>
                    <li>
                    <p><img src="<%# Eval("Demo") %>" width="200" height="240" border="0" /></p>
                    <p>模版名称：<%# Eval("Wenjian")%></p>
                    <p><input name="radMoban" type="radio" value="<%# Eval("Wenjian")%>" <%# IsCheck(Eval("Wenjian").ToString()) %> /> 选择该模版</p>
                    </li>
                </ItemTemplate>
                </asp:Repeater>                
            </ul>            
        </div>
         <script language="javascript">
             $("#xzmb").css("color","red");
             $("#xzmb").text($("input[name='radMoban']:checked").val());
            </script>
    </div>
    <input type="hidden" id="hdnId" runat="server" value="-1" />
    </form>
</body>
</html>
