Beispiel #1
0
<br />
<br />
<table>
			<tr>
				
				<td width="100">总计申报学分:</td>
					<td width="80">
					<?php 
$citem = $tongji->countAllCreditByStudId($_SESSION['studno']);
echo $citem == '' ? 0 : $citem;
?>
					
					</td>
					<td width="100">有效申报学分:</td>
					<td width="80"><?php 
$citem = $tongji->countVerifyValidCreditByStudId($_SESSION['studno']);
echo $citem == '' ? 0 : $citem;
?>
</td>
					<td width="100"> </td>
					</td>
					
			</tr>
			<?php 
$data = $tongji->countLessonCredit($_SESSION['studno']);
foreach ($data as $v) {
    $score[$v['mark_lesson_type']] = $v['mark_lesson_score'];
}
?>
			<tr>
				<td width="100">求真课程学分:</td>
Beispiel #2
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();