<%@ Language=VBScript %>
<%
If session("agentusername")="" Then
	ef=True
	ec="授权非法，有可能是超时造成的。"
ElseIf Request("id")<>"" and not IsNumeric(Request("id")) Then
	ef=True
	ec="编号必须是数字"
end if
if not ef then%>
<!--#include virtual="/inc-freehost-function/htmlwrite.asp"--><%=htmlwrite("html5")%>
　客服问答
<%=htmlwrite("html6")%>
<br>
<br>
<%
Set conn=Server.CreateObject("ADODB.Connection")
	conn.Open Application("FreeHostDBlink")

	Set dsnewsone = Server.CreateObject("ADODB.Recordset")	
	Sql="Select * from FreeHost.FreeHost_online_aws where id='"&Request("id")&"' and agent1='"&session ("agentusername")&"'"
	dsnewsone.Open Sql,conn,1,1
if not dsnewsone.eof then
username=dsnewsone("username")
posttime=dsnewsone("posttime")
title=dsnewsone("title")
scon=dsnewsone("con")
typeid=dsnewsone("type1")

ip=dsnewsone("ip")
admuser=dsnewsone("admuser")
admpass=dsnewsone("admpass")
ftpname=dsnewsone("ftpname")
url=dsnewsone("url")
Curtime=dsnewsone("firstposttime")
If IsNull(dsnewsone("url")) Then url=""
'aboutimg=dsnewsone("aboutimg")


end if
	dsnewsone.close

	Set dsnews = Server.CreateObject("ADODB.Recordset")	
	Sql="Select * from FreeHost.FreeHost_online_aws where agent1='"&session ("agentusername")&"' order by id desc"
if Request("op")="notfinish" then Sql="Select * from FreeHost.FreeHost_online_aws where agent1='"&session ("agentusername")&"'  and status='待回复' order by id desc"
if Request("op")="haveaws" then Sql="Select * from FreeHost.FreeHost_online_aws where  agent1='"&session ("agentusername")&"'  and status='已回复' order by id desc"
if Request("op")="finish" then Sql="Select * from FreeHost.FreeHost_online_aws where  agent1='"&session ("agentusername")&"'  and status='已结束' order by id desc"
if Request("op")="new" then Sql="Select * from FreeHost.FreeHost_online_aws where  agent1='"&session ("agentusername")&"'  and status='新问题' order by id desc"

if Request("type1")<>"" and Request("type1")<>"0" And  IsNumeric(Request("type1")) Then sql=replace(sql,"order by id desc"," and type1='"&Request("type1")&"' order by id desc")

	dsnews.PageSize = 15
	dsnews.Open Sql,conn,1,1

if dsnews.Eof then
%>
<br>
数据库中不存在相关的记录。
<%
else
if Request.ServerVariables("QUERY_STRING")<>"" then
ask=Split(Request.ServerVariables("QUERY_STRING"), chr(38)&"pn")
else
ask=Split("freehost=1", "")
ask(0)="freehost=lsoft"
end if
	pn=1
if Request.QueryString ("pn")<>"" then pn=Request.QueryString ("pn")
If dsnews.RecordCount <> 0 Then dsnews.AbsolutePage = CLng(pn)  
    if clng(pn)<=10 then
    begini=1
      if dsnews.PageCount<=10 then
       endini=dsnews.PageCount 
       else
       endini=10
      end if
    end if
type1=Request("type1")	
%>
<form action="" method="get" name="acttype">
分　类：                    
                    <select name="type1" id="type1">
					<option value="0" <%if type1="0" then%>selected<%end if%>>全部问题</option>
                      <option value="1" <%if type1="1" then%>selected<%end if%>>售前咨询</option>
                      <option value="2" <%if type1="2" then%>selected<%end if%>>虚拟主机技术问题</option>
                      <option value="3" <%if type1="3" then%>selected<%end if%>>域名问题</option>
                      <option value="4" <%if type1="4" then%>selected<%end if%>>邮箱问题</option>
                      <option value="5" <%if type1="5" then%>selected<%end if%>>数据库问题</option>
                      <option value="6" <%if type1="6" then%>selected<%end if%>>服务器重启</option>
                      <option value="7" <%if type1="7" then%>selected<%end if%>>重装操作系统</option>
                      <option value="8" <%if type1="8" then%>selected<%end if%>>财务相关</option>
					  <option value="9" <%if type1="9" then%>selected<%end if%>>续费</option>
                      <option value="10" <%if type1="10" then%>selected<%end if%>>网站备案</option>
                      <option value="11" <%if type1="11" then%>selected<%end if%>>变更联系方式</option>
                      <option value="12" <%if type1="12" then%>selected<%end if%>>投诉</option>
        </select>
					　
                    <a href="javascript:location.href='aws.asp?'+'type1='+document.acttype.type1.value">全部问题</a>　
					<a href="javascript:location.href='aws.asp?op=new'+'&type1='+document.acttype.type1.value">新问题</a>　 <a href="javascript:location.href='aws.asp?op=notfinish'+'&type1='+document.acttype.type1.value"></a><a href="javascript:location.href='aws.asp?op=notfinish'+'&type1='+document.acttype.type1.value">待回复</a>　
					<a href="javascript:location.href='aws.asp?op=haveaws'+'&type1='+document.acttype.type1.value">已回复</a>　
					<a href="javascript:location.href='aws.asp?op=finish'+'&type1='+document.acttype.type1.value">已结束</a><br>
</form>
<%if clng(pn)<=10 then%>最新 <%for i=begini to endini
    if clng(pn)=i then%><font color=red>[<%=i%>]</font><%else%><a href="?<%=ask(0)%>&pn=<%=i%>"><font color="#000000">[<%=i%>]</font></a><%end if%>　<%next%> 
        <%else%>　<a href="?<%=ask(0)%>&pn=1"><font color="#000000">最新[1]--[10]</font></a>　　现在是第<font color=red>[<%=pn%>]</font>页 
        　共<%=dsnews.PageCount%>页　<%end if%><%If Clng(pn)>1 Then%><a href="?<%=ask(0)%>&pn=<%=pn-1%>"><font color="#000000">上一页</font></a>
        <%End If%>|<%If Clng(pn)<dsnews.PageCount Then%><a href="?<%=ask(0)%>&pn=<%=pn+1%>"><font color="#000000">下一页</font></a>
        <%End If%>
        <table width="100%"  border="0" cellspacing="1" bgcolor="#000000">
          <tr bgcolor="#CCCCCC">
            <td width="7%" align="center">编号</td>
            <td width="36%" align="center">标题</td>
            <td width="9%" align="center">用户</td>
            <td width="20%" align="center">时间</td>
            <td width="14%" align="center">状态</td>
            <td width="14%" align="center">操作</td>
          </tr>
          <%
For N=1 To dsnews.PageSize 
					If dsnews.RecordCount=0 Then Exit For
%>
          <tr bgcolor="#FAFAFA">
            <td align="center"><%=dsnews("id")%></td>
            <td align="center"><a href="aws.asp?id=<%=dsnews("id")%>"><font color="#000000"><%=Server.HTMLEncode(dsnews("title"))%></font></a></td>
            <td align="center"><a href="searchuser.asp?username=<%=dsnews("username")%>" target="_blank"><%=dsnews("username")%></a></td>
            <td align="center"><%=dsnews("posttime")%><br>
            </td>
            <td align="center"><%=dsnews("status")%></td>
            <td align="center"><a href="aws.asp?id=<%=dsnews("id")%>"><font color="#000000">回</font></a>　<a href="aws-sub2.asp?id=<%=dsnews("id")%>&op=close&Submit=again"><font color="#000000">结</font></a>　<a href="aws-sub2.asp?id=<%=dsnews("id")%>&op=close&op2=del&Submit=again"><font color="#000000">删</font></a></td>
          </tr>
          <%
If clng(pn)=dsnews.PageCount Then
I = dsnews.RecordCount - (dsnews.PageCount-1) * dsnews.PageSize
If N=I Then Exit For
End If
dsnews.movenext
Next%>
        </table>
        <%end if
dsnews.close
set dsnews=nothing%>
<form action="aws-sub.asp" method="post" name="Xuform" enctype="multipart/form-data" onsubmit="UBB_Edit_CopyData('Body');">	
		              <table width="100%" height="36"  border="0" cellpadding="0" cellspacing="0" bgcolor="#999999">
              <tr bgcolor="#CCCCCC">
                <td bgcolor="#CCCCCC"><strong>　<font color="#000000">提问/回复：(代理自己发出的提问会提交给管理员)</font></strong></td>
                </tr>
            </table>
            <table width="100%"  border="0" cellspacing="1" bgcolor="#000000">
              <tr>
                <td width="9%" height="56" rowspan="2" bgcolor="#FAFAFA"><p>　标题：
                    <input name="title" type="text" id="title" value="<%=Server.HTMLEncode(title)%>" size="44" maxlength="100">
					<input name="id" type="hidden" value="<%=Request("id")%>"><br>

					<%if scon<>"" then
					type1= typeid
					%><%end if%>
　分　类：                    
                    <select name="type1" id="type1" onChange="changeshow(this.options[this.options.selectedIndex].value)">
                      <option value="1" <%if type1="1" then%>selected<%end if%>>售前咨询</option>
                      <option value="2" <%if type1="2" then%>selected<%end if%>>虚拟主机技术问题</option>
                      <option value="3" <%if type1="3" then%>selected<%end if%>>域名问题</option>
                      <option value="4" <%if type1="4" then%>selected<%end if%>>邮箱问题</option>
                      <option value="5" <%if type1="5" then%>selected<%end if%>>数据库问题</option>
                      <option value="6" <%if type1="6" then%>selected<%end if%>>服务器重启</option>
                      <option value="7" <%if type1="7" then%>selected<%end if%>>重装操作系统</option>
                      <option value="8" <%if type1="8" then%>selected<%end if%>>财务相关</option>
					  <option value="9" <%if type1="9" then%>selected<%end if%>>续费</option>
                      <option value="10" <%if type1="10" then%>selected<%end if%>>网站备案</option>
                      <option value="11" <%if type1="11" then%>selected<%end if%>>变更联系方式</option>
                      <option value="12" <%if type1="12" then%>selected<%end if%>>投诉</option>
                  </select>
<DIV id="showserver">					
                    　服务器IP：
                    <input name="ip" type="text" id="ip" value="<%=Server.HTMLEncode(ip)%>" size="32" maxlength="50">
(如果有端口也请写上)<br>
                    　服务器管理帐号：
                    <input name="admuser" type="text" id="admuser" value="<%=Server.HTMLEncode(admuser)%>" size="37" maxlength="50">
                    <br>
                    　服务器管理密码：
                    <input name="admpass" type="text" id="admpass" value="<%=Server.HTMLEncode(admpass)%>" size="37" maxlength="50">
                    <br>
</div>					
<DIV id="showftp">
                    　FTP用户名：
                    <input name="ftpname" type="text" id="ftpname" value="<%=Server.HTMLEncode(ftpname)%>" size="41" maxlength="50">
                    <br>
                    　相关网址：
                    <input name="url" type="text" id="url" value="<%=Server.HTMLEncode(url)%>" size="42" maxlength="100">
                  <br>
</div>									
										<%if scon<>"" then

					%>
                    
					







　原内容：
<%sconary=Split(scon,vbcrlf&"-------")%>
<table width="95%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#CCCCCC">
<%For i=0 To UBound(sconary)
leftsconary=Split(sconary(i)," 回复(")

if isnull(Curtime) then curtime="首次提问"
If UBound(leftsconary)>0 Then
curtime=Replace(Replace(Replace(Left(leftsconary(1),20),")--",""),")-",""),")","")
End if

leftsconary2=Split(leftsconary(0),"-------")
curusername=leftsconary2(UBound(leftsconary2))
If leftsconary2(UBound(leftsconary2))=sconary(i) Then curusername=username
Rsconary=Split(sconary(i),")-------")
If UBound(Rsconary)>0 Then
endscon=Rsconary(1)
Else
endscon=Rsconary(0)
End if
%>
  <tr>
    <td width="150" height="40" align="center" bgcolor="#FFFFFF"><%If InStr(curusername,"人员")>1 then%><%=curusername%><%else%><a href="searchuser.asp?username=<%=curusername%>" target="_blank"><%=curusername%></a><%End if%><br>
    <%=curtime%></td>
    <td bgcolor="#FFFFFF"><%=Replace(endscon,vbcrlf,"<br>")%></td>
  </tr>
<%next%>
</table>

<br>
<br>
<%end if%>
           <DIV id="imgdivX">
<%
If request("id")<>"" And IsNumeric(Request("id")) Then
set dsnewsone = Server.CreateObject("ADODB.Recordset")	
	Sql="Select * from FreeHost.FreeHost_online_aws where id='"&Request("id")&"'"
	dsnewsone.Open Sql,conn,1,1
For i=1 To 10
If Not IsNull(dsnewsone("aboutimg"&i)) and  request("id")<>"" Then

%>
　相关图片<%=i%>：				    <img src="aws-showimg.asp?id=<%=request("id")%>&imgid=<%=i%>" name="idimg" id="idimg"><br>
<%
End If
Next
End if%>

		   </div>		
		   












<br><br><br>
　回复新内容:



<link rel="stylesheet" type="text/css" href="/style/ubb/base.css" />
<script language = "javaScript" src = "inc/Main.js" type="text/javascript"></script>
<div class="menuskin" id="popmenu" onmouseover="clearhidemenu()" onmouseout="dynamichide(event)" style="z-index:100;"></div>


 <script language = "javascript" src="/style/ubb/DhtmlEdit.js" type="text/javascript"></script>
<div onkeydown=ctlent()>

<input type="hidden" name="Body" id="Body" value="" />
<table cellpadding="3" cellspacing="1" align="center" class="tableborder1" style="text-align:left;text-indent:10px;">
<script language = "javascript" type="text/javascript">
<!--
var PostType=1;
var Forum_PostFace='';
var Forum_PostFace=Forum_PostFace.split("\|\|\|");
var retitle='';
var Forum_Emot='';
Forum_Emot=Forum_Emot.split("<><><>");
var Emot_PageSize=15; //心情一行个数

function DoTitle(addTitle) { 
var revisedTitle; 
var currentTitle = document.Xuform.topic.value; 
revisedTitle = addTitle+currentTitle; 
document.Xuform.topic.value=revisedTitle; 
document.Xuform.topic.focus(); 
return; 
}

function showtitle()
{
	if (document.Xuform.reishow.checked == true)
	{
		if (document.Xuform.topic.value=='')
		{
			document.Xuform.topic.value=retitle;
		}
		document.getElementById("advance").innerText="不采用";
	}
	else
	{
		if (document.Xuform.topic.value==retitle)
		{
			document.Xuform.topic.value='';
		}
		document.getElementById("advance").innerText="采用";
	}
}
//-->
</script>



<tr><td width="100%" class="tablebody1" valign="top">

<link rel="STYLESHEET" type="text/css" href="/style/ubb/edit.css">
<table id="UBB_Edit_Container" class="UBB_Edit_Body" height="300" width="100%" cellpadding="3" cellspacing="0" border="0">
<tr>
<td>
<table cellpadding="0" cellspacing="0" >
<tr class="yToolbar" id="ExtToolbar0" >
<td>&nbsp;</td>
<td>
<select language="javascript" class="UBB_Edit_TBGen" id="FontName" onchange="FormatText ('fontname',this[this.selectedIndex].value);"> 
<option class="heading" selected="selected">字体</option>
<option value="宋体">宋体</option>
<option value="黑体">黑体</option>
<option value="楷体_GB2312">楷体</option>
<option value="仿宋_GB2312">仿宋</option>
<option value="隶书">隶书</option>
<option value="幼圆">幼圆</option>
<option value="新宋体">新宋体</option>
<option value="细明体">细明体</option>
<option value="Arial">Arial</option>
<option value="Arial Black">Arial Black</option>
<option value="Arial Narrow">Arial Narrow</option>
<option value="Bradley Hand ITC">Bradley Hand ITC</option>
<option value="Brush Script	MT">Brush Script MT</option>
<option value="Century Gothic">Century Gothic</option>
<option value="Comic Sans MS">Comic Sans MS</option>
<option value="Courier">Courier</option>
<option value="Courier New">Courier New</option>
<option value="MS Sans Serif">MS Sans Serif</option>
<option value="Script">Script</option>
<option value="System">System</option>
<option value="Times New Roman">Times New Roman</option>
<option value="Viner Hand ITC">Viner Hand ITC</option>
<option value="Verdana">Verdana</option>
<option value="Wide Latin">Wide Latin</option>
<option value="Wingdings">Wingdings</option>
</select>
<select language="javascript" class="UBB_Edit_TBGen" id="FontSize" onchange="FormatText('fontsize',this[this.selectedIndex].value);">
<option class="heading" selected="selected">字号</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
</select>
</td>
<td id="forecolor" name="forecolor" class="UBB_Edit_Btn" title="字体颜色" language="javascript" onclick="UBB_Edit_foreColor();this.className='UBB_Edit_TabOn';" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/fgcolor.gif" width="16" height="16" unselectable="on"  />
</td>
<td id="backcolor" class="UBB_Edit_Btn" title="字体背景颜色" language="javascript" onclick="UBB_Edit_backColor();this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn';>
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/fbcolor.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="插入特殊符号" language="javascript" onclick="insertSpecialChar();this.className='UBB_Edit_TabOn';" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn';>
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/specialchar.gif" /></td>
<td><img alt="" src="/style/ubb/separator.gif" />
</td>
<td class="UBB_Edit_Btn" title="替换" language="javascript" onclick="UBB_Edit_replace();this.className='UBB_Edit_TabOn';" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn';>
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/replace.gif" width="16" height="16">
</td>
<td class="UBB_Edit_Btn" title="插入Real Media" language="javascript" onclick="UBB_Edit_forrm();this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; ><img alt="" class="UBB_Edit_Ico" src="/style/ubb/rm.gif" width="16" height="16" unselectable="on" /> </td>
<td><img alt="" src="/style/ubb/separator.gif"></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" >
<tr class="yToolbar" id="ExtToolbar1">
<td class="UBB_Edit_Btn" title="全选" language="javascript" onclick="FormatText('selectAll');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn' >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/selectAll.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="剪切" language="javascript" onclick="FormatText('cut');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/cut.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="复制" language="javascript" onclick="FormatText('copy');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/copy.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="粘贴" language="javascript" onclick="FormatText('paste');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/paste.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="撤消" language="javascript" onclick="FormatText('undo');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/undo.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="恢复" language="javascript" onclick="FormatText('redo');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/redo.gif" width="16" height="16" unselectable="on" />
</td>
<td><img alt="" src="/style/ubb/separator.gif"></td>
<td class="UBB_Edit_Btn" title="插入超级链接" language="javascript" onclick="UBB_Edit_UserDialog('CreateLink');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/wlink.gif" width="18" height="18" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="去掉超级链接" language="javascript" onclick="FormatText('Unlink');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/unlink.gif" width="16" height="16" unselectable="on" />
</td> 
<td class="UBB_Edit_Btn" title="插入图片" language="javascript" onclick="UBB_Edit_UserDialog('InsertImage');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/img.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="插入水平线" language="javascript" onclick="FormatText('InsertHorizontalRule', '');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/hr.gif" width="16" height="16" unselectable="on" />
</td>
<td><img alt="" src="/style/ubb/separator.gif"></td>
<td class="UBB_Edit_Btn" title="插入表格" language="javascript" onclick="UBB_Edit_fortable();this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/table.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="插入行" language="javascript" onclick="UBB_Edit_InsertRow();this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/insertrow.gif" width="16" height="16">
</td>
<td class="UBB_Edit_Btn" title="删除行" language="javascript" onclick="UBB_Edit_DeleteRow();this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/deleterow.gif" width="16" height="16">
</td>
<td class="UBB_Edit_Btn" title="插入列" language="javascript" onclick="UBB_Edit_InsertColumn();this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/insertcolumn.gif" width="16" height="16">
</td>
<td class="UBB_Edit_Btn" title="删除列" language="javascript" onclick="UBB_Edit_DeleteColumn();this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/deletecolumn.gif" width="16" height="16">
</td>
<td><img alt="" src="/style/ubb/separator.gif"></td>
<td class="UBB_Edit_Btn" title="插入Flash" language="javascript" onclick="UBB_Edit_forswf();this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/swf.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="插入Windows Media" language="javascript" onclick="UBB_Edit_forwmv();this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/wmv.gif" width="16" height="16" unselectable="on" />
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" >
<tr class="yToolbar" id="ExtToolbar2">
<td class="UBB_Edit_Btn" title="加粗" language="javascript" onclick="FormatText('bold', '');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/bold.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="斜体" language="javascript" onclick="FormatText('italic', '');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/italic.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="下划线" language="javascript" onclick="FormatText('underline', '');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/underline.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="上标" language="javascript" onclick="FormatText('superscript', '');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/superscript.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="下标" language="javascript" onclick="FormatText('subscript', '');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/subscript.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="删除线" language="javascript" onclick="FormatText('strikethrough', '');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/strikethrough.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="取消格式" language="javascript" onclick="FormatText('RemoveFormat', '');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/removeformat.gif" width="16" height="16" unselectable="on" />
</td>
<td><img alt="" src="/style/ubb/separator.gif"></td>
<td class="UBB_Edit_Btn" title="左对齐" NAME="Justify" language="javascript" onclick="FormatText('justifyleft', '');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/aleft.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="居中" NAME="Justify" language="javascript" onclick="FormatText('justifycenter', '');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/center.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="右对齐" NAME="Justify" language="javascript" onclick="FormatText('justifyright', '');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/aright.gif" width="16" height="16" unselectable="on" />
</td>
<td><img alt="" src="/style/ubb/separator.gif"></td>
<td class="UBB_Edit_Btn" title="编号" language="javascript" onclick="FormatText('insertorderedlist', '');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/numlist.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="项目符号" language="javascript" onclick="FormatText('insertunorderedlist', '');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/bullist.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="减少缩进量" language="javascript" onclick="FormatText('outdent', '');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/outdent.gif" width="16" height="16" unselectable="on" />
</td>
<td class="UBB_Edit_Btn" title="增加缩进量" language="javascript" onclick="FormatText('indent', '');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/indent.gif" width="16" height="16" unselectable="on" />
</td>
<td><img alt="" src="/style/ubb/separator.gif"></td>
<td class="UBB_Edit_Btn" title="插入引用" language="javascript" onclick="UBB_Edit_specialtype('<div class=quote>','</div>');this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; >
<img alt="" class="UBB_Edit_Ico" src="/style/ubb/quote.gif" width="16" height="16"></td>
<td class="UBB_Edit_Btn" title="插入代码" language="javascript" onclick="UBB_Edit_code();this.className='UBB_Edit_TabOn';ondrag='return false;'" onmouseover=this.className='UBB_Edit_BtnMouseOverUp'; onmouseout=this.className='UBB_Edit_Btn'; ><img alt="" class="UBB_Edit_Ico" src="/style/ubb/code.gif" width="16" height="16"></td>
</tr></table>
<table cellpadding="0" cellspacing="0" >
<tr class="yToolbar" id="old_Toolbars" style="display:none"><td>
<!--post.asp##ubb部分Star-->
<imgonclick="funx_ubb('B')" src="skins/Default/ubb/bold.gif" alt="粗体" border="0" />
<imgonclick="funx_ubb('I')" src="skins/Default/ubb/italicize.gif" alt="斜体" border="0" />
<imgonclick="funx_ubb('U')" src="skins/Default/ubb/underline.gif" alt="下划线" border="0" />
<imgonclick="funx_ubb('center')" src="skins/Default/ubb/center.gif" alt="居中" border="0" />
<imgonclick="Curl()" src="skins/Default/ubb/url1.gif" alt="超级连接" border="0" />
<imgonclick="QX_Signal('EMAIL')" src="skins/Default/ubb/email1.gif" alt="Email连接" border="0" />
<imgonclick="QX_Signal('IMG')" src="skins/Default/ubb/image.gif" alt="图片" border="0" />
<imgonclick="Cswf()" src="skins/Default/ubb/swf.gif" alt="Flash图片" border="0" />
<imgonclick="Cdir()" src="skins/Default/ubb/Shockwave.gif" alt="Shockwave文件" border="0" />
<imgonclick="Crm()" src="skins/Default/ubb/rm.gif" alt="realplay视频文件" border="0" />
<imgonclick="Cwmv()" src="skins/Default/ubb/mp.gif" alt="Media Player视频文件" border="0" />
<imgonclick="Cmov()" src="skins/Default/ubb/qt.gif" alt="QuickTime视频文件" border="0" />
<imgonclick="funx_ubb('QUOTE')" src="skins/Default/ubb/quote1.gif" alt="引用" border="0" />
<imgonclick="funx_ubb('fly')" src="skins/Default/ubb/fly.gif" alt="飞行字" border="0" />
<imgonclick="funx_ubb('move')" src="skins/Default/ubb/move.gif" alt="移动字" border="0" />
<imgonclick="Cguang()" src="skins/Default/ubb/glow.gif" alt="发光字" border="0" />
<imgonclick="Cying()" src="skins/Default/ubb/shadow.gif" alt="阴影字" border="0" />
<imgonclick="openScript('smiley.asp',450,250)" src="skins/Default/ubb/ubb_smilie.gif"alt="查看更多的心情图标" border="0" />
<imgonclick="QX_Signal('SOUND')" src="skins/Default/ubb/csound.gif" alt="背景音乐" border="0" />
<!--post.asp##ubb部分-->
<!--post.asp##ubb部分End-->
</td></tr>
</table>
</td></tr>
<tr><td height="100%" id="PostiFrame" width="100%">
<iframe class="UBB_Edit_Composition" id="UBB_Edit_Composition" marginheight="5" marginwidth="5" width="100%" height="100%"></iframe>
</td></tr>
<tr><td><table cellpadding="0" cellspscing="0" border="0" width="100%"><tr><td width='10'>&nbsp;</td>
<td class="UBB_Edit_TabOn" id="UBB_Edit_TabDesign" onclick="if (UBB_Edit_bTextMode!=1) {UBB_Edit_setMode(1);}" unselectable="on" width="60" >
<img alt="" unselectable="on" src="/style/ubb/mode.design.gif" ALIGN="absmiddle" width="21" height="20">&nbsp;Design</td>
<td style="width:10px"></td>
<td class="UBB_Edit_TabOff" id="UBB_Edit_TabOldTools" onclick="if (UBB_Edit_bTextMode!=3){UBB_Edit_setMode(3);}" unselectable="on" width="80">
<img alt="" unselectable="on" src="/style/ubb/oldubb.gif" ALIGN="absmiddle"  height=20>&nbsp;UBB模式
</td>
<td style="width:10px"></td>
<td class="UBB_Edit_TabOff" id="UBB_Edit_TabView" onclick="UBB_Edit_View();" unselectable="on" width='60' >
<img alt="" unselectable="on" src="/style/ubb/mode.view.gif" ALIGN="absmiddle" width=20 height=20>&nbsp;VIEW
</td>
<td style="width:10px"></td>
<!--post.asp##UBB_Edit多功能编辑器HTML工具按钮-->
<td class="UBB_Edit_TabOff" id="UBB_Edit_TabHtml" onclick="if (UBB_Edit_bTextMode!=2) {UBB_Edit_setMode(2);}" unselectable="on" width="60" style="cursor: pointer;"><img unselectable="on" src="/style/ubb/mode.html.gif" align="absmiddle" width="21" height="20">&nbsp;HTML</td>
<td style="width:10px"></td>
<td ><input type="checkbox" name="autofix" id="autofix" value="1" checked="checked" />自动修正</td>
<td align='right'>
<select id="Zoom" class="UBB_Edit_TBGen" onchange="doZoom(this)" >
	<option value="100">100%</option>
	<option value="50">50%</option>
	<option value="75">75%</option>
	<option value="100">100%</option>
	<option value="125">125%</option>
	<option value="150">150%</option>
	<option value="175">175%</option>
	<option value="200">200%</option>
</select>
<a href="javascript:UBB_Edit_Size(-300)"><img alt="" src="/style/ubb/minus.gif" unselectable="on" border="0" /></a> <a href="javascript:UBB_Edit_Size(300)"><img alt="" src="/style/ubb/plus.gif" unselectable="on" border="0" /></a></td><td width='20'></td></tr></table></td></tr></table>
<script language = "javaScript" type="text/javascript">
var UBB_Edit_bIsIE5=document.all;
var UBB_Edit_Mode = 3;
if (UBB_Edit_bIsIE5){
	var IframeID=frames["UBB_Edit_Composition"];
}
else{
	var IframeID=document.getElementById("UBB_Edit_Composition").contentWindow;
	var UBB_Edit_bIsNC=true;
}
if (UBB_Edit_bLoad==false)
{
	UBB_Edit_InitDocument("Body","GB2312");
}
</script><div id="constr"></div>
</td></tr>
<tr>
<td width="100%" valign="bottom"  class="tablebody2"><span id="emot"></span>

　　<input name="Submitend" type="submit" id="Submitend" value="<%if Request("id")="" then%>提交<%else%>继续发表<%end if%>">
<input type="reset" name="Submit2" value="清 除" onClick="ClearReset()" />
<input name="Submit" type="hidden" value="继续发表" id="Submit">

</td>
</tr>
</table>
<script language = "javascript" type="text/javascript">
<!--
var ShowFacePage=0;
function show_post_face(n){
	var CountLength=Forum_PostFace.length-2;
	var j=1;
	var page_size=18;//每页个数
	var br=9;	//换行个数
	var post_face='';
	var SelectFace ='';
	var ShowFacePage=document.getElementById("ShowFacePage");
	var thispage=ShowFacePage + n;
//	document.getElementById("ShowBack").style.display="";
	//document.getElementById("ShowNext").style.display="";

}

//-->
</script>
<form name="preview" action="preview.asp?boardid=6" method="post" target="preview_page">
<input type="hidden" name="XQtitle" value="" /><input type="hidden" name="theBody" value="" />
<script language = "javascript" type="text/javascript" src="/style/ubb/DhtmlEdit1.js"></script>
<script language = "javascript" type="text/javascript" src="/style/ubb/post.js"></script>
<script language="javascript">
Maxtitlelength=200;
ispostnew=1;
MaxConlength=16240;
</script>

















					
					
					
					
<%For i=6 To 10%>
上传问题的相关图片<%=i%>：
<input name="aboutimg<%=i%>" type="file" id="aboutimg">
(JPG格式，大小必须在100K以内,会代替原图片) <br>
<%next%>　　　　　　　　　

                  <input name="op" type="hidden" id="op">
                  <input name="op2" type="hidden" id="op2">
                  <input name="endtest" type="hidden" id="endtest"></td>
              </tr>
            </table>

 <script language="JavaScript" type="text/JavaScript">
if ((document.Xuform.type1.value==1)||(document.Xuform.type1.value==3)||(document.Xuform.type1.value==4)||(document.Xuform.type1.value==5)||(document.Xuform.type1.value==9)||(document.Xuform.type1.value==11)||(document.Xuform.type1.value==12))
{
document.getElementById("showserver").style.display='none';
document.getElementById("showftp").style.display='none';
}
else
{
if ((document.Xuform.type1.value==2)||(document.Xuform.type1.value==10))
{
document.getElementById("showserver").style.display='none';
document.getElementById("showftp").style.display='';
}
if ((document.Xuform.type1.value==6)||(document.Xuform.type1.value==7))
{
document.getElementById("showserver").style.display='';
document.getElementById("showftp").style.display='none';
}
}

function changeshow(s)
{

if (s>0)
{

if ((document.Xuform.type1.value==1)||(document.Xuform.type1.value==3)||(document.Xuform.type1.value==4)||(document.Xuform.type1.value==5)||(document.Xuform.type1.value==9)||(document.Xuform.type1.value==11)||(document.Xuform.type1.value==12))
{
document.getElementById("showserver").style.display='none';
document.getElementById("showftp").style.display='none';
}
else
{
if ((document.Xuform.type1.value==2)||(document.Xuform.type1.value==10))
{
document.getElementById("showserver").style.display='none';
document.getElementById("showftp").style.display='';
}
if ((document.Xuform.type1.value==6)||(document.Xuform.type1.value==7))
{
document.getElementById("showserver").style.display='';
document.getElementById("showftp").style.display='none';
}


}

}
}

        </script>				

</form>
<form action="aws-sub3.asp" method="post" name="form1">
<table width="100%" height="36"  border="0" cellpadding="0" cellspacing="0" bgcolor="#999999">
  <tr bgcolor="#CCCCCC">
    <td colspan="2" bgcolor="#CCCCCC"><strong>　<font color="#000000">问题处理：</font></strong></td>
    <td width="44%">&nbsp;</td>
  </tr>
</table>
<table width="100%"  border="0" cellspacing="1" bgcolor="#000000">
  <tr>
    <td width="9%" height="56" rowspan="2" bgcolor="#FAFAFA"><p>　 
      <input name="awstoadmin" type="radio" value="n" <%if session("awstoadmin")=false then%>checked<%end if%>>
        自己回答所有名下用户的问题　　
        <input name="awstoadmin" type="radio" value="y"  <%if session("awstoadmin")=true then%>checked<%end if%>>
        将所有名下用户的问题自动提交给主站管理员处理　 
        <input name="Submit" type="submit" id="Submit" value="执行">
    </p></td>
  </tr>
</table></form>
<%=htmlwrite("html7")%>
<%end if
if ef then
Response.Redirect "e.asp?e="&ec
end if%>
