<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="selEmailModel.aspx.cs" Inherits="ZYDN.Web.system.USER.selEmailModel" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script language="javascript" type="text/javascript" src="../JS/JFramework.js"></script>
    <script language="javascript" type="text/javascript" src="../JS/Sys.js"></script>
    <script language="javascript" type="text/javascript">
        function returnCheck(){
            var emailTeamp=document.getElementsByName("emailTeamp");
            for(var i=0;i<emailTeamp.length;i++){
                if(emailTeamp[i].checked){
                    window.returnValue=emailTeamp[i].value;
                    window.close();
                }
            }
        }
    </script>
    <style type="text/css">
        
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="width:300px; height:260px; overflow-y:auto;overflow-x:hidden;">
        <asp:Repeater ID="bindEmaliModel" runat="server">
            <HeaderTemplate>
                <table border="0" cellpadding="0" cellspacing="0" style="width:300px;">
                    <tr>
                        <td style="border:solid 1px #c0c0c0;">&nbsp</td>
                        <td style="border:solid 1px #c0c0c0;font-size:12px;border-left:none; text-align:center;">模板名称</td>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                    <tr>
                        <td style="border:solid 1px #c0c0c0;border-top:none;width:20px;"><input type="radio" name="emailTeamp" id=<%#Eval("id")%> value=<%#Eval("id")%>></td>
                        <td style="border-right:solid 1px #c0c0c0; border-bottom:solid 1px #c0c0c0;font-size:12px;text-align:center;"><%#Eval("tempName")%></td>
                    </tr>
            </ItemTemplate>
            <FooterTemplate>
                   </table>
            </FooterTemplate>
        </asp:Repeater>  
    </div>
    <div style="border:solid 1px #c0c0c0; text-align:center;width:300px;height:25px; margin-top:5px;padding-top:2px;">
        <input type="button" style="border:solid 1px #000000;width:80px;;height:20px;" value="调用模板" onclick="returnCheck()" />
    </div>
    </form>
</body>
</html>
