Beispiel #1
0
<?php

ob_start();
include_once "../../include/mysqldao.class.php";
require_once "../../control/tongji.include.php";
require_once "../../include/function.include.php";
$tongji = new Tongji();
$name = $tongji->executeQueryA('select dept_name from group_dept where id = ?', array($_SESSION['admin_org_code']));
if (isset($_GET['i_time'])) {
    $next = intval($_GET['i_time']) + 1;
    $time[0] = strtotime($_GET['i_time'] . '-09-01 00:00:00');
    $time[1] = strtotime($next . '-09-01 00:00:00');
} else {
    $time[0] = strtotime(getYear() . '-09-01 00:00:00');
    $time[1] = strtotime(getYear() + 1 . '-09-01 00:00:00');
}
if (isset($_GET['i_time_year'])) {
    $year = intval($_GET['i_time_year']);
    $time[0] = strtotime($year . '-01-31 00:00:00');
    $time[1] = strtotime($year + 1 . '-01-31 00:00:00');
}
?>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>湖南农业大学 后台管理</title>
</head>
<script type="text/javascript" src="<?php 
echo APP_ROOT;
?>