<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="pagerview.aspx.cs" Inherits="HySoft.BaseCallCenter.Web.askmanage.pagerview" %>

<!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 id="Head1" runat="server">
    <title>预览试卷</title>
    <link href="/scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
    <script src="/scripts/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="/scripts/ui/json2.js" type="text/javascript"></script>
    <script src="/scripts/ui/js/core/base.js" type="text/javascript"></script>
    <script src="/scripts/ui/js/ligerui.min.js" type="text/javascript"></script>
    <script src="/scripts/ui/js/plugins/ligerTextBox.js" type="text/javascript"></script>
    <script src="/scripts/ui/js/plugins/ligerSpinner.js" type="text/javascript"></script>
    <script src="/scripts/function.js" type="text/javascript"></script>
    <script src="/scripts/utils.js" type="text/javascript"></script>
    <script src="/scripts/ui/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
    <link href="/scripts/ui/skins/Tab/css/grid.css" rel="stylesheet" type="text/css" />
    <link href="/images/style.css" rel="stylesheet" type="text/css" />
    <link href="/scripts/ui/skins/Tab/css/grid.css" rel="stylesheet" type="text/css" />
    <link href="/scripts/ui/skins/ligerui-icons.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            $("#pageloading").show();
            LoadList();
        });
        function LoadList() {
            var id = document.getElementById("txtId").value;
            var userid = document.getElementById("txtUserId").value;
            $.ajax({
                type: 'get',
                url: 'ajax/pagerview.aspx?action=getviewlist&pagerid=' + id + '&userid=' + userid,
                dataType: 'html',
                success: function (res) {
                    try {
                        if (res != "") {
                            document.getElementById("divDataItems").innerHTML = res;
                        }
                        $("#pageloading").hide();
                    } catch (e) {
                        document.getElementById("pageloading").innerHTML = e.message;
                    }
                }
            });
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:HiddenField ID="txtId" runat="server" Value="" />
    <asp:HiddenField ID="txtUserId" runat="server" Value="0" />
    <div class="l-loading" style="display: block" id="pageloading">试题加载中...
    </div>
    <table class="form_table">
        <col width="100px" />
        <col />
        <tbody>
            <tr>
                <th style="border-right: 1px dotted #cccccc;">
                    <span style="color: red;">问卷名称：</span>
                </th>
                <td>
                <span id="spanTitle" runat="server"></span>
                </td>
            </tr>
            <tr>
                <th style="border-top: 1px dotted #cccccc; border-right: 1px dotted #cccccc;">
                    <span style="color: red">问卷说明：</span>
                </th>
                <td style="border-top: 1px dotted #cccccc;">
                    <span id="spanRemark" runat="server"></span></td>
            </tr>
        </tbody>
    </table>
    <div id="divDataItems" style="width: 100%">
    </div>
    </form>
</body>
</html>
