Viewing file: v_rptRis101.php (3.63 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<? $cfgClgLogo = (! isset($cfgClgLogo)? "" : $cfgClgLogo); $cfgClgName = (! isset($cfgClgName)? "" : $cfgClgName); $cfgSiteName = (! isset($cfgSiteName)? "" : $cfgSiteName); ?> <table width="100%" align="center"> <tr><td colspan="3" align="left"> <input type="button" value="กลับ" onClick="location.href='<?php echo "searchRptRis101";?>'"> </td></tr> <tr><td colspan="3" align="left"><hr/></td></tr> <tr> <td width="50"><img src="<?php echo base_url().$this->config->item('rg_upload_picture').$cfgClgLogo;?>" width="111" height="95" align="absmiddle" border="0"></td> <td width="500"><font size="2"><b><?=$cfgClgName;?><br><?=$cfgSiteName;?></b></font></td> <td width="200" align="right" valign="top"><font size="2"><b>RIS101</b></font></td> </tr> <tr valign="top"> <td align="center" colspan="3"><hr color="#000000" noshade><br></td> </tr> <tr> <td align="center" colspan="3"><table width="100%" align="center"> <tr> <td height="22" align="center"><font size="2"><b>รายการค่าลงทะเบียนและค่าใช้จ่ายสำหรับนักศึกษาใหม่</b></font></td> </tr> <tr> <td height="22" align="center"><font size="2"><b>ประจำปีการศึกษา <?php echo $acY;?></b></font></td> </tr> <tr> <td height="22"></td> </tr> <tr> <td height="22"><font size="2"><b>หลักสูตร <? if($qu_cur->num_rows()) { $row = $qu_cur->row(); echo $row->curName; }?></b></font></td> </tr> <tr> <td><table width="100%" class="headCol"> <tr bgcolor="<?=$this->config->item("rg_table_color");?>"> <th class="seqCol">ที่</th> <th>รายการ</th> <th class="amtCol">หน่วยกิต</th> <th class="amtCol">รวมเงิน</th> <th>หมายเหตุ</th> </tr> <?php $sumCommonFeeTP = 0; $i = 1; if($rs_cmft->num_rows()) { foreach($rs_cmft->result() as $row) { echo "<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">"; ?> <td class="gray" align="center"><?=$i;?></td> <td class="gray"><?=$row->feeName;?></td> <td class="gray" align="center">-</td> <td class="gray" align="right"><?=number_format($row->cmftAmt, 2);?></td> <td class="gray" align="center"></td> </tr> <?php $sumCommonFeeTP += $row->cmftAmt; $i++; } } $sumProgramFeeTP = 0; $j = $i; if($rs_cft->num_rows()) { foreach($rs_cft->result() as $row) { ?> <tr> <td class="gray" align="center"><?=$j;?></td> <td class="gray"><?=$row->feeName;?></td> <td class="gray" align="center">-</td> <td class="gray" align="right"><?=number_format($row->cftAmt, 2);?></td> <td class="gray" align="center"></td> </tr> <?php $sumProgramFeeTP += $row->cftAmt; $j++; } } ?> <tr> <td class="gray" height="22" colspan="3" align="center">รวมเงินที่ต้องชำระทั้งหมด</td> <td class="gray" align="right" bgcolor="<?=$this->config->item('rg_head_tb_headCol');?>"> <?php echo number_format($sumCommonFeeTP + $sumProgramFeeTP, 2);?></td> <td></td> </tr> </table></td> </tr> </table></td> </tr> <tr valign="bottom"> <td align="center" colspan="3" height="88"><hr color="#000000" noshade></td> </tr> <tr valign="top"> <td colspan="2"><font size="2">วันที่พิมพ์ : <?php echo date('d-m-y h:m');?></font></td> <td align="right"><font size="2">หน้า 1/1</font></td> </tr> </table>
|