Viewing file: v_addCourseFeeTp.php (5.56 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $row_cur = (isset($qu_cur) && $qu_cur!=NULL) ? $qu_cur->row() : NULL; $row_sy = (isset($qu_sy) && $qu_sy!=NULL) ? $qu_sy->row() : NULL; $row_tm = (isset($qu_tm) && $qu_tm!=NULL) ? $qu_tm->row() : NULL; $row_crft = (isset($qu_crft) && $qu_crft!=NULL) ? $qu_crft->row() : NULL; ?> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><div align="center"><br /> <?php echo form_open($this->config->item("rg_folder")."fee/crft_insert_update", array("name" => "myform", "id" => "myform"));?> <table class="szone"> <tr bgcolor="<?php echo $tr_color_even;?>"> <td class="coltd_szone"><font size="2"><b>หลักสูตร</b></font></td> <td><font size="2"><?php echo setValue('curName',$row_cur);?></font> <input type="hidden" name="curId" id="curId" value="<?php echo setValue('curId',$row_cur);?>" /></td> </tr> <tr bgcolor="<?php echo $tr_color_even;?>"> <td class="coltd_szone"><font size="2"><b>ปีการศึกษา</b></font></td> <td><input type="text" name="acY" id="acY" value="<?php echo $acY;?>" class="input2" /></td> </tr> <tr bgcolor="<?php echo $tr_color_even;?>"> <td class="coltd_szone"><font size="2"><b>ภาคการศึกษา</b></font></td> <td><font size="2"><?php echo setValue('tmCode',$row_tm);?></font> <input type="hidden" name="tmId" id="tmId" value="<?php echo setValue('tmId',$row_tm);?>" class="input1" /></td> </tr> <tr bgcolor="<?php echo $tr_color_even;?>"> <td class="coltd_szone"><font size="2"><b>ปีการศึกษาที่เข้า</b></font></td> <td><font size="2"><?php echo $adY!=NULL ? $adY : '-';?></font> <input type="hidden" name="adY" id="adY" value="<?php echo $adY!=NULL ? $adY : '0';?>" class="input1" /></td> </tr> <tr bgcolor="<?php echo $tr_color_even;?>"> <td class="coltd_szone"><font size="2"><b>ชั้นปี</b></font></td> <td><font size="2"><?php echo $row_sy!=NULL ? setValue('syCode',$row_sy) : '-';?></font> <input type="hidden" name="syId" id="syId" value="<?php echo $row_sy!=NULL ? setValue('syId',$row_sy) : '0';?>" class="input1" /></td> </tr> <tr bgcolor="<?php echo $tr_color_even;?>"> <td class="coltd_szone"><font size="2"><b>ค่าหน่วยกิตภาคทฤษฎี</b></font></td> <td><input type="text" name="crftLecCreditFee" id="crftLecCreditFee" value="<?php echo set_value('crftLecCreditFee',setValue('crftLecCreditFee',$row_crft));?>" size="5" maxlength="5" class="right" /> <font size="2"><b>บาท ต่อหน่วยกิต</b> <span class="error"> *<?php echo form_error('crftLecCreditFee');?></span></font> </tr> <tr bgcolor="<?php echo $tr_color_even;?>"> <td class="coltd_szone"><font size="2"><b>ค่าหน่วยกิตภาคทดลอง/ปฏิบัติ</b></font></td> <td><input type="text" name="crftLabCreditFee" id="crftLabCreditFee" value="<?php echo setValue('crftLabCreditFee',$row_crft);?>" size="5" maxlength="5" class="right" /> <font size="2"><b>บาท ต่อหน่วยกิต</b> <span class="error"> *</span><?php echo form_error('crftLabCreditFee');?></font> </tr> <tr bgcolor="<?php echo $tr_color_even;?>"> <td class="coltd_szone"><font size="2"><b>ค่าปรับล่าช้า</b></font></td> <td><input type="text" name="crftLateFine" value="<?php echo setValue('crftLateFine',$row_crft);?>" size="5" maxlength="5" class="right" /> <input type="radio" name="crftLateFineUnit" id="crftLateFineUnit" value="P" <?php echo ((setValue('crftLateFineUnit',$row_crft)=='P') ? "checked" : '');?> />% <input type="radio" name="crftLateFineUnit" id="crftLateFineUnit" value="B" <?php echo ((setValue('crftLateFineUnit',$row_crft)=='B') ? "checked" : '');?> />บาท <b>ต่อวัน</b> <font size="2" color="<?php echo $font_color_err;?>">*</font> <br /><?php echo form_error('crftLateFine') ? form_error('crftLateFine') : form_error('crftLateFineUnit');?></td> </tr> <tr bgcolor="<?php echo $tr_color_even;?>"> <td class="coltd_szone"><font size="2"><b>ค่าปรับล่าช้าสูงสุด</b></font></td> <td><input type="text" name="crftMaxLateFine" id="crftMaxLateFine" value="<?php echo setValue('crftMaxLateFine',$row_crft);?>" size="5" maxlength="5" class="right" /> <font size="2"><b>บาท</b> <span class="error"> *</span><?php echo form_error('crftMaxLateFine');?></font> </tr> <tr bgcolor="<?php echo $tr_color_even;?>"> <td width="200px" class="indent"><font size="2"><b>ค่ารักษาสถานภาพการเป็นนักศึกษา</b></font></td> <td><input type="text" name="crftKssFee" id="crftKssFee" value="<?php echo setValue('crftKssFee',$row_crft);?>" size="5" maxlength="5" class="right" /> <font size="2"><b>บาท</b></font> <font size="2" color="<?php echo $font_color_err;?>">*</font> <br /><?php echo form_error('crftKssFee');?></td> </tr> <tr bgcolor="<?php echo $tr_color_even;?>"> <td colspan="2" align="center"> <input type="submit" name="add" id="add" value="บันทึก" /> <input type="reset" name="clear" id="clear" value="เคลียร์ข้อมูล" /></td> </tr> </table><?php echo form_close();?></div> <br><font size="2" color="<?php echo $font_color_err;?>"><b>หมายเหตุ : </b>* หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</font></td> </tr> </table>
|