<%@ Page Language="C#" AutoEventWireup="true" CodeFile="etwtranslate.aspx.cs" Inherits="etw_f_m_etwtranslate" ValidateRequest="false" %>

<!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 rel="stylesheet" type="text/css" href="media/css2.css" />
         <script type="text/javascript" src="../fckeditor/fckeditor.js"></script>  
</head>
<body>
  <form id="form1" runat="server">
  <div id="main">
   <div id="head">
       <div id="name"><h1>客户询盘翻译后台管理 --- <%=language%></h1>
       <div class="rt2">你好！<%=username %>你还有<span id="untranscount"> <a href="untranslist.aspx"><%=untranssum %></a></span> 未翻译的新询盘 <a href="transpassword.aspx">修改密码</a>   <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">退出系统</asp:LinkButton></div>
       </div>
   </div>
   <div id="left">
       <ul>
      <h2>询盘管理</h2>
      <li><a href="untranslist.aspx?lang=<%=langid %>">未翻译询盘 <%=untranssum %></a> </li>
      <li><a href="translated.aspx?lang=<%=langid %>">已翻译询盘 <%=translatesum %> </a></li>
      </ul>
      
   </div>
    
    <div id="right"> 
        <div id="title"> &nbsp; 询盘管理 >>询盘翻译详细信息 </div>
		<div id="con">
		      <table width="762" border="1" class="contents" bordercolor="#d0d0d0" cellpadding="0" cellspacing="0" style="border:solid 1px #ffffff">

      <tr><td width="89" scope="col">客户名称</td> 
        <td width="612" scope="col">&nbsp;  <%=kehuname%>  
 </td>
        </tr>
             <tr><td width="90"  style="height: 21px">询盘主题&nbsp;</td><td style="height: 21px"><%=title %>&nbsp; </td></tr>          
			 <tr><td style="height: 21px">来源地区 &nbsp; </td><td style="height: 21px"> <%=address%> &nbsp;</td></tr>
			 <tr><td style="height: 21px">来源地址 &nbsp; </td><td style="height: 21px"> <%=url %> &nbsp;</td></tr>     
              
                  <asp:Repeater ID="Repeater1" runat="server">
                  <ItemTemplate>
                  <tr><td style=" font-size:11px;" rowspan="2" >翻译记录<br /> (第<%#Container.ItemIndex +1 %> 次): </td><td style="height: 21px"> <%# Eval("source_content") %> <%# trans_fujian(Eval("fujian").ToString()) %> &nbsp;</td></tr>
                  <tr> <td  > <%# Eval("trans_content")%> <%# trans_fujian(Eval("trans_fujian").ToString())%> &nbsp;</td></tr>
                  <tr><td  >翻译人:</td> <td style="height: 21px"><%# Eval("realname").ToString()%>  &nbsp;</td></tr>
                  </ItemTemplate>
                  </asp:Repeater>        
                    <tr><td style="height: 21px">询盘内容: </td><td > <%=fanyi_content %></td></tr>
                   <tr><td>询盘翻译&nbsp;</td><td>
            <script type="text/javascript" language="JavaScript">
			window.onload = function()
				{
				var sBasePath = "../fckeditor/"
                var oFCKeditor = new FCKeditor('trans_content') ;
                oFCKeditor.BasePath	= sBasePath ;
                oFCKeditor.ToolbarSet="Default";
                oFCKeditor.Width = '90%' ;
                oFCKeditor.Height = '220' ;	
                oFCKeditor.ReplaceTextarea() ;
               }
function Submit1_onclick() {

}

           </script>
             <textarea name="trans_content" rows="1" cols="1" style="display: none" id="trans_content" runat="server"></textarea>
			  </td><td></td></tr>
			   <tr><td>上传附件：</td><td><%=transfujian%>&nbsp;&nbsp;
            
            <INPUT type="file" class="tex" size="30" NAME="filelogo" id="FileUpload1" runat="server"  > </td></tr>
            <tr><td>&nbsp;</td><td><asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" style="float:left">
          <asp:ListItem Selected="True" Value="0">发送翻译</asp:ListItem>
          <asp:ListItem  Value="1">保存翻译</asp:ListItem>
      </asp:RadioButtonList>
                <asp:Button ID="Button2" style="float:left; margin-top:7px;" runat="server" Text="翻译" OnClick="Button2_Click" /> </td></tr>
</table>
 
        </div>
    </div>
</div>
    </form>
</body>
</html>
