<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Circulation_View.aspx.cs" Inherits="TotCms.Web.Office.Circulation.Circulation_View" 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 href="../style/global.css" rel="stylesheet" type="text/css" />
    <script src="../../swfupload/swfupload.js" type="text/javascript"></script>
    <script src="../js/common.js" type="text/javascript"></script>
    <script src="../../ckeditor/ckeditor.js" type="text/javascript"></script>
    <script src="../../js/jquery-1.5.1.min.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="br"></div>
    <div>
        <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr class="suphead">
        <td>
        <asp:Label ID="lbTitle" runat="server"></asp:Label>
        </td>
        </tr>
        </table>
        <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border">         
            <tr>
                <td align="center" class="line20">
                    &nbsp;&nbsp;发布人:<asp:Label ID="lbStaffId" runat="server"></asp:Label>
                    &nbsp;&nbsp;发布时间:<asp:Label ID="lbPubDate" runat="server"></asp:Label><br />
                    &nbsp;&nbsp;附件:<asp:HyperLink ID="spnAttachment" runat="server"></asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td align="center" class="content">
                    <div id="divContent" runat="server"></div>
                </td>
            </tr>
            <tr>
                <td>
                    <hr />
                </td>
            </tr>
            <tr>              
              <td>
              <table width="100%" cellpadding="0" cellspacing="1" border="0">
                <tr class="suphead">
                  <td>姓名</td>
                  <td>确认/标志</td>
                  <td>状态</td>
                  <td>确认时间</td>
                </tr>
                <asp:Repeater ID="rpStaffs" runat="server">
                <ItemTemplate>
                <tr class="lines">
                  <td height="25"><%# Eval("UserName") %></td>
                  <td><%# Eval("Attitude")%></td>
                  <td><%# Convert.ToInt32(Eval("Status"))==1?"已确认":"未确认" %></td>
                  <td><%# Eval("ReadDate") %></td>
                </tr>
                </ItemTemplate>
                </asp:Repeater>
              </table>
              </td>
            </tr>
            <tr>
                <td class="topic">意见内容</td>
            </tr>
            <tr>
            <td>
            <asp:TextBox ID="Content" runat="server" TextMode="MultiLine">同意</asp:TextBox>
          <script type="text/javascript">
		      //<![CDATA[
            // Replace the <textarea id="Content"> with an CKEditor instance.            

            var editor = CKEDITOR.replace('Content',
			      {
			        toolbar:
					    [
						    ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
						    ['UIColor']
					    ],
			        filebrowserBrowseUrl: '../../ckfinder/ckfinder.html', //启用浏览功能
			        filebrowserImageBrowseUrl: '../../ckfinder/ckfinder.html?Type=Images',
			        filebrowserFlashBrowseUrl: '../../ckfinder/ckfinder.html?Type=Flash',
			        filebrowserUploadUrl: '../../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files',
			        filebrowserImageUploadUrl: '../../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images',
			        filebrowserFlashUploadUrl: '../../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash'
			      }
            );
		      //]]>
		      </script>
            </td>
          </tr>
            <tr>    
                <td align="center">
                    <asp:Button CssClass="button_blue" ID="btnOk" runat="server" Text = "确认传阅" onclick="btnOk_Click" />&nbsp;&nbsp;<input type="button" class="button_gray" onclick="javascript:history.back()" value="返 回" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
