Viewing file:      v_showRegisFee.php (3.59 KB)      -rwxr-xr-x Select action/file-type:    (+) |   (+) |   (+) | Code (+) | Session (+) |   (+) | SDB (+) |   (+) |   (+) |   (+) |   (+) |   (+) |
 
<?php $rowCur = (isset($qu_cur) && $qu_cur!=NULL) ? $qu_cur->row() : NULL; $rowSy = (isset($qu_sy) && $qu_sy!=NULL) ? $qu_sy->row() : NULL; $rowTm = (isset($qu_tm) && $qu_tm!=NULL) ? $qu_tm->row() : NULL; ?> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">     <tr>         <td>             <div align="center">             <table class="szone">                 <tr bgcolor="<?php echo $tr_color_even;?>">                     <td class="coltd_szone">หลักสูตร</td>                     <td width="80%"><font size="2" ><?php echo setValue("curName",$rowCur);?></font></td>                 </tr>                 <tr bgcolor="<?php echo $tr_color_even;?>">                     <td class="coltd_szone">ปีการศึกษาที่รับเข้า</td>                     <td><font size="2" ><?php echo $adY;?></font></td>                 </tr>                 <tr bgcolor="<?php echo $tr_color_even;?>">                     <td class="coltd_szone">ชั้นปีที่</td>                     <td><font size="2" ><?php echo setValue("syCode",$rowSy);?></font></td>                 </tr>                 <tr bgcolor="<?php echo $tr_color_even;?>">                     <td class="coltd_szone">ปีการศึกษา</td>                     <td><font size="2" ><?php echo $acY;?></font></td>                 </tr>                 <tr bgcolor="<?php echo $tr_color_even;?>">                     <td class="coltd_szone">ภาคการศึกษา</td>                     <td><font size="2" ><?php echo setValue("tmCode",$rowTm);?></font></td>                 </tr>                 <tr>                     <td colspan="2"><br /></td>                 </tr>                 <tr>                     <td colspan="2">                     <table class="headCol">                         <tr>                             <th class="stdCodeCol">รหัสนักศึกษา</th>                             <th>ชื่อ-นามสกุลนักศึกษา</th>                             <th>จำนวนเงิน</th>                             <th>ค้างชำระ</th>                             <th>ค่าปรับ</th>                         </tr> <?php             $i = 0;             if(isset($arr) && $arr!=NULL) {                 foreach($arr as $key => $value) {                     echo "<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">"; ?>                             <td align="center"><?php echo $arr[$key]['std']->stdCode;?></td>                             <td class="indent">                             <span class="hand" onClick="sendPost(                             'hidform',                             {'stdId':<?php echo $arr[$key]['std']->stdId;?>,                              'acY':<?php echo $acY;?>,                              'syId':<?php echo setValue('syId',$rowSy);?>,                              'tmId':<?php echo setValue('tmId',$rowTm);?>},                              '<?php echo site_url($this->config->item('rg_folder').'popup/showDetailRegisFee');?>',                              {})" /><?php echo $arr[$key]['std']->prefixName.$arr[$key]['std']->stdName.' '.$arr[$key]['std']->stdSurname;?></span></td>                             <td width="10%" align="right"><?php echo number_format($arr[$key]['sumTotalAmt'],2);?></td>                             <td width="10%" align="right"><?php echo number_format($arr[$key]['sumBalance'],2);?></td>                             <td width="10%" align="right"><?php echo number_format($arr[$key]['sumLateFine'],2);?></td>                         </tr> <?php                     $i++;                 }             } ?>                         <tr bgcolor="<?php echo $table_color_even;?>">                                 <td colspan="2" align="right">รวม</td>                             <td align="right"><?php echo number_format($sumTt,2);?></td>                             <td align="right"><?php echo number_format($sumBl,2);?></td>                             <td align="right"><?php echo number_format($sumLf,2);?></td>                         </tr>                     </table></td>                 </tr>                 <tr>                     <td colspan="2"><br>                     <input type="button" name="back" value="ย้อนกลับ" onClick="window.history.back()"></td>                 </tr>             </table></div>         <br><span class="error"><b>หมายเหตุ : </b>ใช้เมาส์คลิกที่ชื่อนักศึกษาเพื่อดูรายละเอียดของค่าใช้จ่าย</span></td>     </tr> </table>
  |