Example #1
0
<?php

include_once "../../include/session.class.php";
include_once "../../include/mysqldao.class.php";
require_once "../../control/tongji.include.php";
require_once "../../include/function.include.php";
$tongji = new Tongji();
$org_data = $tongji->getCNO();
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');
}
if ($_POST["submit"] == "导出Excel") {
    $file_name = iconv("UTF-8", "GB2312", '学院申报统计表');
    Header("Content-type:charset=utf-8");
    Header("Content-type:application/octet-stream");
    Header("Accept-Ranges:bytes");
    Header("Content-type:application/vnd.ms-excel");
    Header("Content-Disposition:filename={$file_name}.xls");
    ?>
	 <html xmlns:o="urn:schemas-microsoft-com:office:office"
        xmlns:x="urn:schemas-microsoft-com:office:excel"
Example #2
0
<?php

ob_start();
include_once "../../include/session.class.php";
include_once "../../include/mysqldao.class.php";
require_once "../../control/tongji.include.php";
require_once "../../include/function.include.php";
$tongji = new Tongji();
$org_data = $tongji->getCNO();
ob_clean();
if ($_POST["submit"] == "导出Excel") {
    $file_name = iconv("UTF-8", "GB2312", '各学院毕业生素拓项目统计表');
    Header("Content-type:charset=utf-8");
    Header("Content-type:application/octet-stream");
    Header("Accept-Ranges:bytes");
    Header("Content-type:application/vnd.ms-excel");
    Header("Content-Disposition:filename={$file_name}.xls");
    ?>
	 <html xmlns:o="urn:schemas-microsoft-com:office:office"
        xmlns:x="urn:schemas-microsoft-com:office:excel"
        xmlns="http://www.w3.org/TR/REC-html40">
	  <head>
	        <meta http-equiv=Content-Type content="text/html; charset=utf-8">    
			<!--<link type="text/css" rel="stylesheet" href="../css/table.css" media="screen" />-->
	  </head>
		  	   <table width="100%" border="1" align="center" cellpadding="0" cellspacing="0" class="t1">
    <tr>
      <th colspan=6 align="center"><?php 
    echo $tongji->getYear();
    ?>
年各学院毕业生素拓项目统计表<small>(导出时间:<?php 
Example #3
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;
?>
Example #4
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();
$s_no = $tongji->getBYSNO();
ob_clean();
if ($_POST["submit"] == "导出Excel") {
    $file_name = iconv("UTF-8", "GB2312", '毕业生素拓课程表');
    Header("Content-type:charset=utf-8");
    Header("Content-type:application/octet-stream");
    Header("Accept-Ranges:bytes");
    Header("Content-type:application/vnd.ms-excel");
    Header("Content-Disposition:filename={$file_name}.xls");
    ?>
	 <html xmlns:o="urn:schemas-microsoft-com:office:office"
        xmlns:x="urn:schemas-microsoft-com:office:excel"
        xmlns="http://www.w3.org/TR/REC-html40">
	  <head>
	        <meta http-equiv=Content-Type content="text/html; charset=utf-8">    
			<!--<link type="text/css" rel="stylesheet" href="../css/table.css" media="screen" />-->
	  </head>
	  <table width="100%" border="1" align="center" cellpadding="0" cellspacing="0" class="t1">
    <tr>
      <th colspan=5 align="center"><?php 
    echo $tongji->getYear();
    ?>
年毕业生素拓课程表<small>(导出时间:<?php 
    echo getNowDate();
Example #5
0
<?php

ob_start();
include_once "../../include/session.class.php";
include_once "../../include/mysqldao.class.php";
require_once "../../control/tongji.include.php";
require_once "../../include/function.include.php";
$tongji = new Tongji();
$org_data = $tongji->getDFXID();
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');
}
ob_clean();
if ($_POST["submit"] == "导出Excel") {
    $file_name = iconv("UTF-8", "GB2312", '东方院各系素拓申报统计表');
    Header("Content-type:charset=utf-8");
    Header("Content-type:application/octet-stream");
    Header("Accept-Ranges:bytes");
    Header("Content-type:application/vnd.ms-excel");
    Header("Content-Disposition:filename={$file_name}.xls");
    ?>
Example #6
0
<?php

ob_start();
include_once "../../include/session.class.php";
include_once "../../include/mysqldao.class.php";
require_once "../../control/tongji.include.php";
require_once "../../include/function.include.php";
$tongji = new Tongji();
$org_data = $tongji->getDFXID();
ob_clean();
if ($_POST["submit"] == "导出Excel") {
    $file_name = iconv("UTF-8", "GB2312", '东方院各系毕业生素拓项目统计表');
    Header("Content-type:charset=utf-8");
    Header("Content-type:application/octet-stream");
    Header("Accept-Ranges:bytes");
    Header("Content-type:application/vnd.ms-excel");
    Header("Content-Disposition:filename={$file_name}.xls");
    ?>
	 <html xmlns:o="urn:schemas-microsoft-com:office:office"
        xmlns:x="urn:schemas-microsoft-com:office:excel"
        xmlns="http://www.w3.org/TR/REC-html40">
	  <head>
	        <meta http-equiv=Content-Type content="text/html; charset=utf-8">    
			<!--<link type="text/css" rel="stylesheet" href="../css/table.css" media="screen" />-->
	  </head>
		  	   <table width="100%" border="1" align="center" cellpadding="0" cellspacing="0" class="t1">
    <tr>
      <td colspan=6 align="center"><?php 
    echo $tongji->getYear();
    ?>
年东方院各系毕业生素拓项目统计表<small>(导出时间:<?php 
Example #7
0
$showinfo = $show->showstud($studno);
$showitem = $show->showitem($studno, $pageno);
for ($i = 0; $i < count($showitem); $i++) {
    // print_r($showitem);
    $itemcode[] = $showitem[$i]['app_item_code'];
}
//print_r($itemcode);
$itemdetail = $show->finditem($itemcode, $pageno);
//print_r($itemdetail);
$_SESSION['stud_no'] = $showinfo[0]['stud_no'];
$_SESSION['stud_name'] = $showinfo[0]['stud_name'];
$_SESSION['stud_sex'] = $showinfo[0]['stud_sex'];
$_SESSION['stud_college'] = $showinfo[0]['stud_college'];
$title = "项目列表";
require_once 'control/tongji.include.php';
$tongji = new Tongji();
require_once 'header.php';
?>
 <div id="leftinfo" class="fltlft" style="padding:20px 20px 20px 20px;width:150px;border-right:1px #ccc solid;height:400px">
 <h3>我的信息</h3>
<?php 
if (count($showinfo) !== 0) {
    ?>
<p>学号:<?php 
    echo $showinfo[0]['stud_no'];
    ?>
</p>
                  <p>姓名:<?php 
    echo $showinfo[0]['stud_name'];
    ?>
</p>
Example #8
0
<?php

include_once 'include/mysqldao.class.php';
require_once 'control/tongji.include.php';
$tongji = new Tongji();
echo '总学分:', $tongji->countAllCreditByStudId('200741903108');
echo '总项目数:', $tongji->countItemByStudId('200741903108');
echo '有限学分:', $tongji->countValidCreditByStudId('200741903108');
echo '已获得有效学分:', $tongji->countVerifyValidCreditByStudId('200741903108');
$tongji->getBYSTable();