<%@ page language="VB" autoeventwireup="false" inherits="b2b_parrot_admin_peizhi_jb, App_Web_admin_peizhi_jb.aspx.25f04327" %>
<!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>
<title>基本参数设置</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script language="JavaScript" src="js/tanbox.js"></script>
<script src="js/intjs.js" type="text/javascript"></script>
<script src="js/web_alt.js" type="text/javascript"></script>
<link href="css/body.css" rel="stylesheet" type="text/css" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="css/text.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
<!--
    function img_mappath(img_val, input_val) {
	var arr = showModalDialog("admin_select_img.aspx?temp="+ Math.random , "", "dialogWidth:963px; dialogHeight:600px; status:0; help:0");
        if (arr != null) {
            document.getElementById(input_val).value = arr;
        }
    }
//-->
document.oncontextmenu=new Function('event.returnValue=false;'); 
</script>

</head>
<body>
<form id="form1" runat="server">
  <table width="100%" border="0" cellspacing="3" cellpadding="0">
    <tr>
      <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td bgcolor="#E7E7E7"><table width="100%" border="0" cellspacing="1" cellpadding="0">
                <tr>
                  <td bgcolor="#FFFFFF"><table width="100%" height="29" border="0" cellpadding="0" cellspacing="5">
                      <tr>
                        <td height="19" bgcolor="#EBEBEB"><table width="100%" border="0" cellspacing="8" cellpadding="0">
                            <tr>
                              <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                                  <tr>
                                    <td width="15%" height="25" align="center" class="wuse16"><strong>管理中心</strong></strong></td>
                                    <td width="15%" valign="bottom" class="wuse12">网站基本设置</td>
                                    <td align="right" valign="bottom" class="huise12"><table width="0" border="0" cellspacing="2" cellpadding="0">
                                        <tr>
                                          <td width="95" height="25" align="center" bgcolor="#EEEEEE" onmouseover="this.bgColor='#FD8420';" onmouseout="this.bgColor='#EEEEEE';"><strong class="wuse12"><a href="admin_peizhi_jb.aspx">基本参数设置</a></strong></td>
                                            <%If ubb.xml_tables("red_parrot.xml", "parrot_user") = "True" Then%>
                                          <td width="95" align="center" bgcolor="#EEEEEE" class="wuse12" onmouseover="this.bgColor='#FD8420';" onmouseout="this.bgColor='#EEEEEE';"><strong><a href="admin_peizhi_vip.aspx">会员参数设置</a></strong></td>
                                          <td width="95" align="center" bgcolor="#EEEEEE" class="wuse12" onmouseover="this.bgColor='#FD8420';" onmouseout="this.bgColor='#EEEEEE';"><strong><a href="admin_peizhi_vip_jifen.aspx">会员积分设置</a></strong></td>
                                            <%End If%>
                                          <td width="95" align="center" bgcolor="#EEEEEE" class="wuse12" onmouseover="this.bgColor='#FD8420';" onmouseout="this.bgColor='#EEEEEE';"><a href="admin_peizhi_changpin.aspx"><strong>商品及文章设置</strong></a></td>
                                          <td width="95" align="center" bgcolor="#EEEEEE" class="wuse12" onmouseover="this.bgColor='#FD8420';" onmouseout="this.bgColor='#EEEEEE';"><strong><a href="admin_peizhi_css.aspx">控制面板</a></strong></td>
                                        </tr>
                                    </table></td>
                                  </tr>
                              </table></td>
                            </tr>
                        </table></td>
                      </tr>
                  </table></td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  <fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>网站设置</strong></legend>
<table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" style="margin-top:5px;">
                                          <tr>
                                            <td width="20%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">网站名称：</td>
                                            <td height="25" class="wuse12">
                                              <asp:TextBox 
                                  ID="pz_name" runat="server" CssClass="text_autox22_cccccc" MaxLength="26" Width="500px"></asp:TextBox>                                            </td>
                                          </tr>
                                          <tr>
                                            <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">网站标语：</td>
                                            <td height="25" class="wuse12">
                                              <asp:TextBox 
                                  ID="pz_Slogan" runat="server" CssClass="text_autox22_cccccc" Width="550px"></asp:TextBox>                                            </td>
                                          </tr>
                                          <tr>
                                            <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">关键字词：</td>
                                            <td height="25" class="wuse12">
                                              <asp:TextBox 
                                  ID="pz_Keywords" runat="server" CssClass="text_autox22_cccccc" Width="550px"></asp:TextBox>                                            </td>
                                          </tr>
                                          <tr>
                                            <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">网站描述：</td>
                                            <td height="25" class="wuse12">
                                              <asp:TextBox 
                                  ID="pz_Description" runat="server" CssClass="text_autox22_cccccc" Width="550px"></asp:TextBox>                                            </td>
                                          </tr>
                                          <tr>
                                            <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">logo地址：</td>
                                            <td height="25" class="wuse12">
                                              <asp:TextBox 
                                  ID="pz_logo" runat="server" CssClass="text_autox22_cccccc" Width="350px"></asp:TextBox>
                                             <a href="javascript:img_mappath(this,'pz_logo');" class="wuse12">打开图象库</a></td>
                                          </tr>
                                          <tr>
                                            <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">字体转换：</td>
                                            <td height="25" class="wuse12">
                                              <asp:TextBox 
                                  ID="pz_replace" runat="server" CssClass="text_autox22_cccccc" Width="300px" Height="50px" 
                                                    TextMode="MultiLine"></asp:TextBox>
                                                <span class="hongse12">格式：目标字体1,转换字体1|目标字体2,转换字体2</span></td>
                                          </tr>
                                          <tr>
                                            <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">留言类型：</td>
                                            <td height="25" class="wuse12"><asp:TextBox 
                                  ID="pz_ly_lei" runat="server" CssClass="text_autox22_cccccc" Width="300px"></asp:TextBox>
                                              <span class="hongse12">(多个类别 | 竖线隔开 如：xxxxx |xxxx)</span></td>
                                          </tr>
               
  </table>
</fieldset>
<% If ubb.xml_tables("red_parrot.xml", "parrot_qqkefu") = "True" Then%>
<fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>在线客服</strong><span class="huise12">&nbsp;--&nbsp;本功能需要模版中包含[!--QQ--]标签&nbsp;</span></legend>
<table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" style="margin-top:5px;">
                                           
<tr>
                                            <td width="20%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">Q Q 备注：</td>
                                            <td height="25" class="wuse12">
                                              <asp:TextBox 
                                  ID="pz_bb" runat="server" CssClass="text_autox22_cccccc" Width="350px"></asp:TextBox>                                            </td>
                                          </tr>
                                          <tr>
                                            <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">Q Q 在线：</td>
                                            <td height="25" class="wuse12">
                                              <asp:TextBox 
                                  ID="pz_qq" runat="server" CssClass="text_autox22_cccccc" Width="300px"></asp:TextBox>
                                              <span class="hongse12">(多个客服必须用 | 竖线隔开 如：xxxxx |xxxx)</span></td>
                                          </tr>
                                          <tr>
                                            <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">啊里旺旺：</td>
                                            <td height="25" class="wuse12">
                                              <asp:TextBox 
                                  ID="pz_ww" runat="server" CssClass="text_autox22_cccccc" Width="300px"></asp:TextBox>
                                              <span class="hongse12">(多个客服必须用 | 竖线隔开 如：xxxxx |xxxx)</span></td>
                                          </tr>
                                          <%If ubb.xml_tables("red_parrot.xml", "parrot_onlinetalk") = "True" Then%>
                                          <tr>
                                            <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">在线交谈调用代码：</td>
                                            <td height="25" class="hongse12"><label>
                                              <textarea name="textfield" id="textfield" Class="text_autox22_cccccc" style="width:380px;height:50px;"> &lt;style type="text/css"&gt;
 #div_1 {
width:148px;
height:73px;
position:fixed;
_position:absolute;
right:0px;
top:0px;
}
&lt;/style&gt;
&lt;script type="text/javascript"&gt;
window.onscroll = window.onresize = window.onload = function(){
 var odiv = document.getElementById("div_1");
 var sTop = document.documentElement.scrollTop || document.body.scrollTop;
 var cHeight= document.documentElement.clientHeight || document.body.clientHeight;
 var mid = (cHeight - odiv.offsetHeight) / 2; 
 // odiv.style.top = parseInt(sTop + mid) + "px";   //理论上应该只设这句就可以居中吧
 //实际上的 各大浏览器只认识下面这if判断
 if(navigator.appVersion.indexOf("MSIE 6")&gt; -1){
  odiv.style.top = parseInt(sTop + mid) + "px";
 }else{
  odiv.style.top =mid + "px";
 }
}
&lt;/script&gt;
&lt;div id="div_1"&gt;&lt;img src="images/online_qq.gif" width="148" height="73" onClick="window.open('web_aspx/web_Customerserver.aspx','','width=655,height=520,resizable=no scrollbars=no');" onmouseover= "this.style.cursor= 'hand' " onmouseout= "this.style.cursor= 'normal'"/&gt;&lt;/div&gt;</textarea>
                                              在需要显示的模版中加入代码即可
                                            ！</label></td>
                                          </tr>
                                         
                                          <tr>
                                            <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">智能服务生</td>
                                            <td height="25" >
                                                <asp:RadioButtonList ID="pz_Customer_auto" runat="server" CssClass="wuse12" 
                                                    RepeatDirection="Horizontal">
                                              <asp:ListItem value="True">开启智能交谈</asp:ListItem>
                                              <asp:ListItem value="False">关闭智能交谈</asp:ListItem>
                                            </asp:RadioButtonList></td>
                                          </tr>
                                          <%If ubb.xml_tables("red_parrot.xml", "parrot_email") = "True" Then%>
                                           <tr>
                                            <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">在线交谈邮件提示：</td>
                                            <td height="25" ><asp:RadioButtonList ID="pz_mailonlinetalk" runat="server" CssClass="wuse12" 
                                                    RepeatDirection="Horizontal">
                                              <asp:ListItem value="True">开启邮件提示</asp:ListItem>
                                              <asp:ListItem value="False">关闭邮件提示</asp:ListItem>
                                            </asp:RadioButtonList></td>
                                          </tr>
                                          <%end if
										  end if %>
  </table>
</fieldset>
<%End If
 If ubb.xml_tables("red_parrot.xml", "parrot_email") = "True" Then%>
<fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>邮箱设置</strong></legend>
<table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" style="margin-top:5px;">
                                        
                                          
                                          <tr>
                                            <td width="20%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">邮箱服务器地址：</td>
                                            <td height="25" class="wuse12">
                                                <asp:TextBox 
                                  ID="pz_mailserver" runat="server" CssClass="text_autox22_cccccc" Width="350px"></asp:TextBox></td>
                                          </tr>
                                          <tr>
                                            <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">邮箱登陆用户名：</td>
                                            <td height="25" class="wuse12">
                                                <asp:TextBox 
                                  ID="pz_mailuser" runat="server" CssClass="text_autox22_cccccc" Width="350px"></asp:TextBox></td>
                                          </tr>
                                          <tr>
                                            <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">邮箱登陆密　码：</td>
                                            <td height="25" class="wuse12">
                                                <asp:TextBox 
                                  ID="pz_mailmima" runat="server" CssClass="text_autox22_cccccc" Width="350px"></asp:TextBox></td>
                                          </tr>          
                                          <tr>
                                            <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">接收邮件邮箱：</td>
                                            <td height="25" class="wuse12">
                                               <asp:TextBox 
                                  ID="pz_mailurl" runat="server" CssClass="text_autox22_cccccc" Width="350px"></asp:TextBox></td>
                                          </tr>          
  </table>
</fieldset>
  <%End If 
 If ubb.xml_tables("red_parrot.xml", "parrot_user") = "True" Then%>
<fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>QQ集成登录设置</strong></legend>
<table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" style="margin-top:5px;">
                                           <tr>
                                            <td width="20%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">QQ登录集成APPID：</td>
                                            <td height="25" class="wuse12"><asp:TextBox 
                                  ID="pz_qqappid" runat="server" CssClass="text_autox22_cccccc" Width="150px"></asp:TextBox>
                                              登录
                                              <a href="http://connect.opensns.qq.com/" target="_blank">http://connect.opensns.qq.com/</a> 申请APP ID和App   Key</td>
                                          </tr>
                                          <tr>
                                            <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">QQ登录集成APPKEY：</td>
                                            <td height="25" class="wuse12"><asp:TextBox 
                                  ID="pz_qqappkey" runat="server" CssClass="text_autox22_cccccc" Width="350px"></asp:TextBox></td>
                                          </tr>
                                         
  </table>
</fieldset>
      <%end if  %>  
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center"><asp:Button ID="up_ok" runat="server" CssClass="btn" Text="提交修改" />&nbsp;&nbsp;<asp:Label ID="pz_ts" runat="server" CssClass="hongse12"></asp:Label></td>
    </tr>
</table>
     
</form>
</body>
</html>
