<%--
 //-----------------------------------------------------------
    // 文件名称: Kft_Kft_Login.aspx
    // 页面名称: 客服通登陆 
    //
    // 描    述:
    //
    // 修改标识: Add By 钟治宇 2008-11-13  客服通功能改进　　：　
    //          将　Kft_Kft_Api.aspx与Kft_Kft_Register.aspx　两个功能模块整理到这个模块运行．．．
    //          2008-12-04
--%>
<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.Kft_Kft_Login, V5Shop.Shop.Config" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc1" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<!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" />
    <link href="css/css_list.css" rel="stylesheet" type="text/css" />
    <link href="css/control.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" language="javascript" src="js/Common.js"></script>

    <script type="text/javascript" language="javascript">
  function checkForm(){
   if(document.getElementById("rdClose").checked==true){
          alert("请先开启客户通");
	        return false;
	}
    if (document.getElementById("domain_name").value==""){
			alert("请输入账号");
      document.getElementById("domain_name").focus();
			return false;
		}
		if (document.getElementById("name").value==""){
			alert("请输入工号");
                 document.getElementById("name").focus();
			return false;
		}
		if (document.getElementById("password").value==""){
			alert("请输入密码");
      document.getElementById("password").focus();
			return false;
		}
		window.location.href='Kft_Kft_Login.aspx?act=open&name=' + document.getElementById("domain_name").value;
		var talkWin = window.open("","form"+document.getElementById("domain_name").value,"height=568,width=778,top=180,left=200,status=yes,toolbar=no,menubar=no,resizable=no,scrollbars=no,location=no,titlebar=no");
		
		document.getElementById("login").target="form"+document.getElementById("domain_name").value;
		return true;
	}

	   
    </script>

</head>
<body>
<%--<form id="form1" runat="server">
    <div class="OperateTitle">
        <div>
            <asp:Label ID="lblLogin" runat="server" Text="【 客服通登陆 】"></asp:Label>
        </div>
    </div>
    <div>
        
            <table width="100%" border="0" cellpadding="0" cellspacing="0" id="OperateTable">
                <tr>
                    <td width="20%" height="30" align="right">
        <asp:Label ID="lblCount" runat="server" Text="帐号：" ></asp:Label> 
        			</td>
                    <td><input name="name" type="text" size="40" id="domain_name" runat="server" /></td>
                </tr>
                <tr>
                    <td width="20%" height="30" align="right">
        <asp:Label ID="lblCount0" runat="server" Text="工号："   ></asp:Label> 
        			</td>
                    <td>
                        <input name="name" type="text" size="40" id="name" runat="server" /></td>
                </tr>
                <tr>
                    <td width="20%" height="30" align="right">
        <asp:Label ID="lblCount1" runat="server" Text="密码：" ></asp:Label> 
        			</td>
                    <td>
                        <input name="password" type="password" size="40" id="password"  runat="server"/></td>
                </tr>
                <tr>
                    <td align="center" style="height: 50px">
                    </td>
                    <td align="left" style="height: 50px">

                        <input type="submit" name="Submit" value=" 登录 " class="button" onclick="document.getElementById('form1').action='http://kf.web08.net/bglogin.php'" />
                        <asp:Button ID="Button1" runat="server" Text="注册" class="button" OnClick="Button1_Click" Width="47px" />           2008-11-13 

                         &nbsp;</td>
                </tr>
            </table>

            
</form>  2008-12-04--%>
     <form action="http://kf.web08.net/bglogin.php"  method="post" id="login" onSubmit="return checkForm()">
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
                                           <tr>
<td  height="30" align="right"><label for="rdOpen" onclick="window.location.href='Kft_Kft_Login.aspx?act=open'">
  <font color="#006699">  是否开启：</font></label></td>
<td >
<input name="status" type="radio" id="rdOpen" onclick="window.location.href='Kft_Kft_Login.aspx?act=open'" runat="server" style="position: relative" /><label for="rdOpen" onclick="window.location.href='Kft_Kft_Login.aspx?act=open'">开启</label>
    <input name="status" type="radio" id="rdClose" onclick="window.location.href='Kft_Kft_Login.aspx?act=close'" runat="server" /><label for="rdClose" onclick="window.location.href='Kft_Kft_Login.aspx?act=close'">关闭</label>
    </td>

</tr>                                  
</table>
<hr />
<table width="100%" border="0" cellpadding="0" cellspacing="0" id="OperateTable">
  <tr>
    <td  height="30" align="right"><font color="#006699">帐　号：</font></td>
    <td ><input class="input" name="domain_name" type="text" size="15" id="Text1"  /></td>
  </tr>
  <tr>
    <td height="30" align="right"><font color="#006699">工　号：</font></td>
    <td><input class="input" name="name" type="text" size="15" id="Text2" /></td>
  </tr>
  <tr>
    <td height="30" align="right"><font color="#006699">密　码：</font></td>
    <td><input class="input" name="password" type="password" size="15" id="password1" /></td>
  </tr>
  <tr>
    <td height="38"  align="right"><input name="submit" type="submit" value=" 登录 " onclick="" class="button" /></td>
   　<td>&nbsp;<input name="submit" type="button" value=" 注册 " class="button" onclick="window.location.href='Kft_Kft_Register.aspx'"  /></a></td>
  </tr>

</table>
                                      
            <script type="text/javascript">
            //加TABLE样式
            InitTrClass();
            </script>
                 </form>
        <table width="100%" border="0" cellpadding="10" cellspacing="1" bgcolor="#BED3DA"
            class="left-padding">
            <tr>
                <td bgcolor="#F4F7F9" class="a2">
                    <img height="14" src="images/kft/arrow.gif" width="13"/>
                    点击按钮下载威博客服通<font color="#000000">&lt;试用版&gt;</font><br/>
                    <br/>
                    <a href="http://www.manyshop.net/021web.rar" target="_blank">
                        <img src="images/kft/download.gif" width="120" height="25" border="0"/></a><br/>
                    <br/>
                    <font color="#FF6600">下载完毕后需解压，完成后双击安装使用。</font><br/>
                    <br/>
                    <a href="http://www.021web.com.cn/kft.html" target="_blank"><font color="#000000">更有标准版和高级版为您提供更强大的功能</font></a>
                    >></td>
            </tr>
        </table>
       <%--  </div>--%>
    <uc1:PageBottom ID="PageBottom" runat="server" />


</body>
</html>