QiHaiFengProgram/WorkFlow/DocOnlineEdit.aspx

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DocOnlineEdit.aspx.cs" Inherits="QiHaiFengProgram.WorkFlow.DocOnlineEdit" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>项目管理</title>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<link href="../css/ads.css" rel="stylesheet" type="text/css" />
<link href="../css/page.css" rel="stylesheet" type="text/css" />
<link href="../css/loading.css" rel="stylesheet" type="text/css" />
<base target="_self"/>
<script type="text/javascript" src="../js/ParametersOnClient.js"></script>
<script type="text/javascript">
    function chknull() {
        document.all.OfficeOcx.caption = "在线编辑:<%=FileName%>";
        var serverpath = window.location.host + v_online_path;
        var num = Math.random();
        document.all.OfficeOcx.Open("http://" + serverpath + "/uploads/WorkFlow/<%=forfile%>?tmp=" + num + "", true);
    }

    function Track() {
        document.all.OfficeOcx.SetTrackRevisions(1); //进入非留痕状态
        document.all.OfficeOcx.SetCurrUserName("<%=realname%>"); //设置当前登录操作用户
        //document.all.FramerControl1.SetCurrTime("2006:02:07 11:11:11");//设置当前时间(笔迹留痕会显示("Like 2006:02:07 11:11:11")

    }
    function UnTrack() {
        document.all.OfficeOcx.SetTrackRevisions(0);
    }

    function SaveToWeb() {
        document.all.OfficeOcx.SetTrackRevisions(0);
        var serverpath = window.location.host + v_online_path;
        document.all.OfficeOcx.HttpInit(); //初始化Http引擎
        document.all.OfficeOcx.HttpAddPostString("RecordID", "200601022");
        document.all.OfficeOcx.HttpAddPostString("UserID", "七海封");
        document.all.OfficeOcx.HttpAddPostCurrFile("FileData", "bbb.doc");
        document.all.OfficeOcx.HttpPost("http://" + serverpath + "/WorkFlow/DocOnlineSave.aspx?file=<%=forfile%>&forname=<%=FileName%>");
    }

    function clearTrack() {
        document.all.OfficeOcx.SetTrackRevisions(4);
    }

    function print() {
        document.all.OfficeOcx.PrintOut();
    }
</script>
</head>

<body onload="chknull();Track();">
    <form id="Form1" method="post" runat="server">
        <table width="99%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="30px" height="22">
                    <img src="../images/module.gif" width="20" height="22" alt=""/></td>
                <td style="width: 50%; text-align: left;">
                    &nbsp;<asp:Label ID="lblPath" runat="server">在线编辑</asp:Label>
                    (<%=FileName%>)
后面还有 51 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。