zoukankan      html  css  js  c++  java
  • zongjie

    $msg = $_GET['msg'];
    $startDate = $_POST['startDate'];
    $endDate = $_POST['endDate'];
    $quickdate = $_POST['quickdate'];
    $index = $_POST['index'];
    $fileRow = $_POST['fileRow'];

    //---------------------------------------------------------------
    //起始日期
    if ($startDate == '' || $startDate == NULL) {
    $startDate = date("Y-m-d 00:00:00",strtotime('-1 day'));
    }


    //结束日期
    if ($endDate == '' || $endDate == NULL) {
    $endDate = date("Y-m-d 23:59:59",strtotime('-1 day'));
    }

    //时间段
    if ($quickdate == '' || $quickdate == NULL) {
    $quickdate = 'day';
    }

    //分页初始化
    if ($fileRow == '' || $fileRow == NULL) {
    $fileRow = "0_10";
    }

    //分页显示
    if (is_null($index)) {
    $index = 0;
    }
    $row=explode('_',$fileRow);
    if($row[0]==1||$row[0]==''){
    $row[0]=0;
    }

    $root = "Data/";

    $file = "login" . $quickdate . "_" . $fileRow . ".xml";

    $file1 = "logins_line" . $quickdate . "_" . $fileRow . ".xml";

    db_create_login_line_xml($startDate, $endDate, $root.$file1, $row[0], 10);

    db_create_login_xml($startDate, $endDate, $root.$file, $row[0], 10);

    $module = renderChart("FusionCharts/Column2D.swf", $root . $file, "", "login", 1077, 400, false, true);

    $logins=renderChart("FusionCharts/Column2D.swf", $root . $file1, "", "logins", 1077, 400, false, true);

    $page = db_file_select($startDate,$endDate,$fileRow,$index);

  • 相关阅读:
    原生js中,call(),apply(),bind()三种方法的区别
    jQuery回溯!!!!!!!
    java中异常类与类别
    Java 多线程(并发)
    Java中反射与常用方法
    漫谈计算机构成
    java语言特性(相比C++)
    初级排序算法学习笔记
    java中参数传递
    关于类的知识
  • 原文地址:https://www.cnblogs.com/lyy-php/p/4727077.html
Copyright © 2011-2022 走看看