您的位置:首页 > 其它

zongjie

2015-08-13 13:40 309 查看
$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);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: