ToMoral.CRM/install/step2.aspx

(开头部分) 6KB

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

<%@ Page Language="C#" AutoEventWireup="true" %>

<%
    //刷新静态方法缓存  
    tomoral.CRM.Data.install inss = new tomoral.CRM.Data.install();
    string filename = Server.MapPath("/conn.config");
    inss.CheckConfig(filename);
    string filename1 = Server.MapPath("/Web.config");
    inss.CheckConfig(filename1);

    //判断是否已配置
    tomoral.CRM.Data.install ins = new tomoral.CRM.Data.install();
    int configed = ins.configed();

    if (configed == 1)
    {
       Response.Redirect( "remind.aspx");
    }    
   
%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta content="IE=edge" http-equiv="X-UA-Compatible">
    <meta http-equiv="content-type" content="text/html; charset=gb2312">
    <title>俊逸CRM-安装</title>
    <link href="../lib/ligerUI/skins/ext/css/ligerui-dialog.css" rel="stylesheet" />
    <link href="../CSS/input.css" rel="stylesheet" />
    <script src="../lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../lib/ligerUI/js/plugins/ligerDialog.js" type="text/javascript"></script>
    <script src="../JS/tomoral.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $("#btn_retry").click(function () { check(); })
            $("#btn_next").click(function () { window.location.href = "step3.aspx"; })
            check();
        });
        function check() {
            $.ajax({
                type: 'post',
                url: '../Data/install.ashx',
                data: [
                { name: 'Action', value: 'initcheck' },
                { name: 'rnd', value: Math.random() }
                ],
                success: function (result) {
                    var arr = new Array();
                    arr = result.split(",");
                    if (arr[0] == 1) $("#Span0").text("通过!"); else $("#Span0").text("失败!");
                    if (arr[1] == 1) $("#Span1").text("通过!"); else $("#Span1").text("失败!");
                    if (arr[2] == 1) $("#Span2").text("通过!"); else $("#Span2").text("失败!");
                    if (arr[3] == 0) $("#Span3").text("通过!"); else $("#Span3").text("失败,已配置!");
                    $("span").css({ "font-weight": "bolder","color":"#f00" });
                    if (arr[0]==1 && arr[1]==1 && arr[2]==1&&arr[3]==0) {
                        $("#btn_next").attr("disabled", "");
                    }
                    else {
                        $("#btn_next").attr("disabled", "disabled");
后面还有 87 行代码,购买后查看完整代码

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

AI 解读

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

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