Exemple #1
0
    ?>
年毕业生素拓课程表<small>(导出时间:<?php 
    echo getNowDate();
    ?>
)</small></th>
    </tr>
    <tr align="center" color="blue" border>
     <td>学号</td>
     <td>姓名</td>
     <td>课程号</td>
     <td>学分</td>
     <td>成绩</td>
	</tr>
   <?php 
    foreach ($s_no as $v) {
        $lesson = $tongji->countLessonCredit($v['sno'], true);
        foreach ($lesson as $l) {
            ?>
			<tr>
			<td align="center">&nbsp;<?php 
            echo $v['sno'];
            ?>
</td>
			<td align="center">&nbsp;<?php 
            echo $v['stud_name'];
            ?>
</td>
			<td align="center">&nbsp;<?php 
            echo $l['mark_lesson_no'];
            ?>
</td>
Exemple #2
0
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>
					<td width="80"><?php 
echo $score['求真'] == '' ? 0 : $score['求真'];
?>
</td>
				<td width="100">求善课程学分:</td>
					<td width="80"><?php 
echo $score['求善'] == '' ? 0 : $score['求善'];
?>
</td>