<%@ page language="C#" autoeventwireup="true" validaterequest="false" inherits="WebAdmin_Admin_mail_tpl, LebiMall" %>
<!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>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="js/checked.js"></script>
     <link href="css/tipswindown.css" type="text/css" rel="stylesheet" />
    <script src="js/jquery.js" type="text/javascript"></script>
    <script src="js/tipswindown.js" type="text/javascript"></script>
    <script src="js/topHead.js" type="text/javascript"></script>
    <script type="text/javascript" >
        function resizeEditor(id,size){
            var newheight = parseInt(document.getElementById("txt_"+id+"_content").style.height, 10)+size;   
	        if(newheight >= 100) {   
		        document.getElementById("txt_"+id+"_content").style.height = newheight + 'px';   
	        }   
        }
      
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <script>header(5,2,"images/");</script>
   
    <!--面包屑-->
    <div class="blank clearfix"></div>
    
    <!--功能区-->
   <div class="tabmenus mainwidth">
            <ul>
                <li class="current"><a href="Admin_mail_tpl.aspx"><span>邮件模版</span></a></li>
                <li><a href="Email_Send.aspx"><span>群发邮件</span></a></li>
            </ul>
        </div>
    <div class="tab-mainbody">
        <div class="tab-mainbody2">
        <div class="functionHandleArea clearfix">
             <input id="Image2" type="image" border="0" title=" 保存 " runat="server" src="images/bt_app.gif"
                align="absmiddle" onserverclick="Image1_ServerClick">
            <input type="image" name="Submit" title=" 重填 " onclick="reset();return false;" src="images/bt_res.gif"
                align="absmiddle">
        </div>
        <div id="datalist">
                <table cellpadding="0" cellspacing="0" width="100%" id="list">
                    <tr>
                        <th >
                            注册邮件</th><th><div style="float:left;"> <span class="title_r" id="msg_sub"></span></div><div style="float:right"><a href="javascript:resizeEditor('zc',-50);"><img src="images/bt_close.gif" border='0' id="zc_close" style=" margin:5px 0 0 0;"></a>&nbsp;<a href="javascript:resizeEditor('zc',50)"><img
                                        src="images/bt_open.gif" id="zc_open" border='0' style=" margin:5px 5px 0 0;"></a></div><div style="clear:both;"></div>
                                        <script type="text/javascript">
                                           var $=jQuery;
                                            var f="<%=Session["returnValue"]  %>";
                                            var i =2;
                                            if(f=="true"){
                                                tipsWindown('操作结果','text:操作成功！','250','60','true','2000','true','text');
                                                <% Session["returnValue"]= null; %>
                                            }
                                            if(f=="false"){
                                                tipsWindown('操作结果','text:操作失败！','250','60','true','2000','true','text');
                                                <% Session["returnValue"]= null; %>
                                            }
                                        </script>
                                    </th>
                    </tr>
                    <tr>
                        <td class="row">
                            邮件标题：</td>
                        <td class="row">
                            <input type="text" class="input" runat="server" size="70" id="txt_zc_title" /></td>
                    </tr>
                    <tr>
                        <td class="row">
                            邮件内容：</td>
                        <td class="row">
                            <textarea id="txt_zc_content"  class="input-textarea" style="width: 100%; height:100px;" runat="server"></textarea></td>
                    </tr>
                    <tr><th >订单邮件-->会员</th><th style="text-align:right;"><a href="javascript:resizeEditor('dd',-50)"><img src="images/bt_close.gif" border='0' style=" margin:5px 0 0 0;" ></a>&nbsp;<a href="javascript:resizeEditor('dd',50)"><img
                                        src="images/bt_open.gif" border='0' style=" margin:5px 5px 0 0;"></a></th></tr>
                    <tr>
                        <td class="row">
                            邮件标题：</td>
                        <td class="row">
                            <input type="text" class="input" runat="server"  size="70" id="txt_dd_title" /></td>
                    </tr>
                    <tr>
                        <td class="row">
                            邮件内容：</td>
                        <td class="row">
                            <textarea id="txt_dd_content" class="input-textarea" style="width: 100%; height:100px;" runat="server"></textarea></td>
                    </tr>
                    
                    <tr> <th >订单邮件-->店铺</th><th style="text-align:right;"><a href="javascript:resizeEditor('dp',-50)"><img src="images/bt_close.gif" border='0' style=" margin:5px 0 0 0;" ></a>&nbsp;<a href="javascript:resizeEditor('dp',50)"><img
                                        src="images/bt_open.gif" border='0' style=" margin:5px 5px 0 0;"></a></th></tr>
                    <tr>
                        <td class="row">
                            邮件标题：</td>
                        <td class="row">
                            <input type="text" class="input" runat="server" size="70" id="txt_dp_title" /></td>
                    </tr>
                    <tr>
                        <td class="row">
                            邮件内容：</td>
                        <td class="row">
                            <textarea id="txt_dp_content" class="input-textarea" style="width: 100%; height:100px;" runat="server"></textarea></td>
                    </tr>
                    
                    
                    
                    
                    <!-- 订单更改  -->
                    
                    <tr><th >订单更改邮件-->会员确认付款</th><th style="text-align:right;"><a href="javascript:resizeEditor('ddqrfk',-50)"><img src="images/bt_close.gif" border='0' style=" margin:5px 0 0 0;" ></a>&nbsp;<a href="javascript:resizeEditor('ddqrfk',50)"><img
                                        src="images/bt_open.gif" border='0' style=" margin:5px 5px 0 0;"></a></th></tr>
                    <tr>
                        <td class="row">
                            邮件标题：</td>
                        <td class="row">
                            <input type="text" class="input" runat="server" size="70" id="txt_ddqrfk_title" /></td>
                    </tr>
                    <tr>
                        <td class="row">
                            邮件内容：</td>
                        <td class="row">
                            <textarea id="txt_ddqrfk_content" class="input-textarea" style="width: 100%; height:100px;" runat="server"></textarea></td>
                    </tr>
                    
                    <tr> <th >订单更改邮件-->会员确认收货</th><th style="text-align:right;"><a href="javascript:resizeEditor('ddqrsh',-50)"><img src="images/bt_close.gif" border='0' style=" margin:5px 0 0 0;" ></a>&nbsp;<a href="javascript:resizeEditor('ddqrsh',50)"><img
                                        src="images/bt_open.gif" border='0' style=" margin:5px 5px 0 0;"></a></th></tr>
                    <tr>
                        <td class="row">
                            邮件标题：</td>
                        <td class="row">
                            <input type="text" class="input" runat="server" size="70" id="txt_ddqrsh_title" /></td>
                    </tr>
                    <tr>
                        <td class="row">
                            邮件内容：</td>
                        <td class="row">
                            <textarea id="txt_ddqrsh_content" class="input-textarea" style="width: 100%; height:100px;" runat="server"></textarea></td>
                    </tr>
                    
                     <tr> <th >订单更改邮件-->卖家发货</th><th style="text-align:right;"><a href="javascript:resizeEditor('ddqrfh',-50)"><img src="images/bt_close.gif" border='0' style=" margin:5px 0 0 0;" ></a>&nbsp;<a href="javascript:resizeEditor('ddqrfh',50)"><img
                                        src="images/bt_open.gif" border='0' style=" margin:5px 5px 0 0;"></a></th></tr>
                    <tr>
                        <td class="row">
                            邮件标题：</td>
                        <td class="row">
                            <input type="text" class="input" runat="server" size="70" id="txt_ddqrfh_title" /></td>
                    </tr>
                    <tr>
                        <td class="row">
                            邮件内容：</td>
                        <td class="row">
                            <textarea id="txt_ddqrfh_content" class="input-textarea" style="width: 100%; height:100px;" runat="server"></textarea></td>
                    </tr>
                   
                   <tr><td colspan="2" class="list-foot" style="height: 27px">
                   <input id="Image1" type="image" border="0" title=" 保存 " runat="server" src="images/bt_app.gif"
                                align="absmiddle" onserverclick="Image1_ServerClick">
                            <input type="image" name="Submit" title=" 重填 " onclick="reset();return false;" src="images/bt_res.gif"
                                align="absmiddle">
                                </td></tr>
                </table>
                <script type="text/javascript">tdshowm("list");</script>
            </div>
        </div></div>
    </form>
</body>
</html>
