<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Contact.aspx.cs" Inherits="KZS.Web.Manage.Setting.Contact" %>

<!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 id="Head1" runat="server">
    <title></title>
    <link href="../Template/Images/global.css" rel="stylesheet" type="text/css" />
    <script src="/Common/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        $(function () {
            $("#AddServiceTel").click(function () {
                $("#ServiceTel").append(" <tr><td class=\"tit talc\" style=\"width: 100px;\">客服名称：</td><td><input type=\"text\" value=\"\" name=\"ServiceTelName\" />电话：<input type=\"text\" value=\"\" name=\"ServiceTel\" /><input type=\"button\" value=\"删除\" class=\"delService\"></td></tr>");
                $(".delService").click(function () { $(this).parent().parent().remove(); });
            });
            $(".delService").click(function () { $(this).parent().parent().remove() });
        });
    </script>
</head>
<body>
    <div id="topitem">
    </div>
    <form id="form1" runat="server">
    <div>
        <table border="1" width="80%" class="lsttab" style="border-collapse: collapse" bordercolor="#C0C0C0">
            <tr>
                <td class="tit talc" style="width: 100px;">
                    网站LOGO：
                </td>
                <td>
                    <asp:FileUpload ID="SiteLogo" runat="server" />
                    <span style="color: Red;">&nbsp;根据模板建议尺寸上传</span><br />
                    <img src="/uploads/<%=mc.Logo %>" border="0" />
                </td>
            </tr>
            <tr>
                <td class="tit talc" style="width: 100px;">
                    电话：
                </td>
                <td>
                    <input type="text" value="<%=mc.Tel %>" name="Tel" />
                </td>
            </tr>

            <tr>
                <td class="tit talc" style="width: 100px;">
                    Q&nbsp; Q：
                </td>
                <td>
                    <input type="text" value="<%=mc.QQ %>" name="QQ" />
                </td>
            </tr>
            <tr>
                <td class="tit talc" style="width: 100px;">
                    EMail：
                </td>
                <td>
                    <input type="text" value="<%=mc.Mail %>" name="Mail" />
                </td>
            </tr>
            <tr>
                <td class="tit talc" style="width: 100px;">
                    地址：
                </td>
                <td>
                    <input type="text" value="<%=mc.Address %>" name="Address" style="width:350px" />
                </td>
            </tr>
            <tr>
                <td class="tit talc" style="width: 100px;">
                    客服电话：
                </td>
                <td>
                    <input id="AddServiceTel" type="button" value="增加" />
                </td>
            </tr>
             
             <tbody id="ServiceTel">
             <%=TelStr%> 
                </tbody>
              <tr>
                <td class="tit talc" style="width: 100px;">
                    
                </td>
                <td>
                 <asp:Button ID="btn_save" runat="server" Text="确认修改" />
                </td>
            </tr>
        </table>
       
        <br />
     
    </div>
    </form>
</body>
</html>
