<!--#include file="conn.asp"-->
<!--#include file="inc/cook2.asp"-->
<!--#include file="inc/dimflag.asp"-->
<!--#include file="top.asp"-->
<%
id=request.QueryString("id")
select case action
case "save"
set rs=server.createobject("adodb.recordset")
rs.open "select * from com_qq where type=0 and id = "&id&" ",conn,1,3
rs("cid")=request("cid")
rs("titlecn")=trim(request("titlecn"))
rs("titleen")=trim(request("titleen"))
rs("textcn")=ReplaceQQ(trim(request("concn")))
'rs("texten")=ReplaceQQ(trim(request("conen")))
rs("type")=0
rs.update
rs.close
set rs=nothing
response.redirect "qq_manage.asp"
response.End
%>
<%case ""%>
<%
set rs=server.CreateObject("adodb.recordset")
sql="select * from com_qq where type=0 and id="&id
rs.open sql,conn,1,1
%>
<div id="container">
<div class="top_but">
 <li class="left">&nbsp;</li>
 <li><a href="qq_manage.asp"><img src="images/but_11.gif" alt="管理"></a></li>
 <li><img src="images/but_8.gif" alt="刷新" onClick="window.location.reload(true);"></li>
 <li><img src="images/but_9.gif" alt="打印" onClick="window.print() "/></li>
</div>

<div class="tableAll titlebgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:700px">代码说明</li>
</div>
<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
 <li style="width:82%;">
 1.QQ添加代码：&lt;a target=&quot;_blank&quot; href=&quot;http://wpa.qq.com/msgrd?v=3&amp;uin=<font color="#FF0000">QQ号</font>&amp;site=qq&amp;menu=yes&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://wpa.qq.com/pa?p=2:<font color="#FF0000">QQ号</font>:1&quot; alt=&quot;点击这里给我发消息&quot; title=&quot;点击这里给我发消息&quot;/&gt;&lt;/a&gt;<br>
 
 2.msn添加代码：&lt;a href=&quot;msnim:chat?contact=<font color="#FF0000">MSN地址</font>&quot;&gt;&lt;img src=&quot;/cn_asp/images/msn.jpg&quot; border=0&gt;在线客服&lt;/a&gt;<br>    
 
 3.淘宝旺旺：&lt;a target=blank href=&quot;http://amos.im.alisoft.com/msg.aw?v=2&amp;uid=<font color="#FF0000">旺旺号码</font>&amp;site=cntaobao&amp;s=1&amp;charset=utf-8&quot;&gt;&lt;img SRC=&quot;http://amos.im.alisoft.com/online.aw?v=2&amp;uid=<font color="#FF0000">旺旺号码</font>&amp;site=cntaobao&amp;s=1&amp;charset=utf-8&quot; alt=&quot;点击联系我&quot;&gt;&lt;/a&gt;<br>
 
 4.旺旺国内版：&lt;a target=&quot;_blank&quot; href=&quot;http://amos.alicdn.com/msg.aw?v=2&amp;uid=<font color="#FF0000">旺旺号码</font>&amp;site=cnalichn&amp;s=10&amp;charset=UTF-8&quot; &gt;&lt;img src=&quot;http://amos.alicdn.com/online.aw?v=2&amp;uid=<font color="#FF0000">旺旺号码</font>&amp;site=cnalichn&amp;s=10&amp;charset=UTF-8&quot; alt=&quot;点击联系我&quot;/&gt;&lt;/a&gt;<br>

5.旺旺国际版：&lt;a class=&quot;alitalk-link&quot; data-uid=&quot;<font color="#FF0000">旺旺号码</font>&quot; target=&quot;_blank&quot; href=&quot;http://amos.alicdn.com/msg.aw?v=2&amp;uid=<font color="#FF0000">旺旺号码</font>&amp;site=enaliint&amp;s=22&amp;charset=UTF-8&quot;&gt;&lt;img class=&quot;qqimg&quot; src=&quot;http://amos.alicdn.com/online.aw?v=2&amp;uid=<font color="#FF0000">旺旺号码</font>&amp;site=enaliint&amp;s=22&amp;charset=UTF-8&quot; alt=&quot;点击联系我&quot;/&gt; SuiYuecms&lt;/a&gt;<br>
	 
	 6.Skype添加代码：&lt;a href=&quot;skype:<font color="#FF0000">Skype号</font>?chat&quot;&gt;&lt;img src=/cn_asp/images/skype.gif border=0&gt;在线客服&lt;/a&gt;	</li>
</div>

<form name="myform" method="post" action="?action=save&id=<%=id%>">
<div class="tableAll titlebgcolor">
 <li style="width:30px;">&nbsp;</li>
 <li style="width:700px">修改在线咨询</li>
</div>
<div class="tableAll trbgcolor">
  <li style="width:30px;">&nbsp;</li>
  <li style="width:100px;">选择分类</li>
  <li>

   <select name="cid" size="1" >
<%
set rss=server.CreateObject("adodb.recordset")
rss.open "select * from com_class where Cid=0 and type=70 and LevelID=0 order by pid asc,id desc",conn,1,1
do while not rss.eof
%>
<option value="<%=rss("ID")%>" <%if rs("cid")=rss("id") then%>selected<%end if%>><%=rss("ClassNamecn")%>
<%
rss.movenext
loop
rss.close
set rss=nothing
%>
    </select>
</li>
</div>
<div class="tableAll trbgcolor">
 <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">名　　称</li>
 <li><input name="titlecn" type="text" id="titlecn"  value="<%=rs("titlecn")%>" style="width:650px;"></li>
</div>
<div class="tableAll trbgcolor">
 <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">中文代码</li>
 <li><textarea name="concn" rows="10" style="width:650px;"><%=rs("textcn")%></textarea> </li>
</div>
<%if Const_webEn =1 then%>
<div class="tableAll trbgcolor">
 <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">英文代码</li>
 <li><textarea name="conen" rows="10" style="width:650px;"><%=rs("texten")%></textarea> </li>
</div>
<%end if%>
<div class="tableAll trbgcolor">
 <li style="width:30px;">&nbsp;</li>
 <li style="width:100px">&nbsp;</li>
 <li><input class="button" type="submit" name="Submit" value="确认OK，修改"> </li>
</div>
</form>

</div>
<%end select%>
<!--#include file="footer.asp"-->