Viewing file:      v_showCourseEditGradeRow.php (3.22 KB)      -rwxr-xr-x Select action/file-type:    (+) |   (+) |   (+) | Code (+) | Session (+) |   (+) | SDB (+) |   (+) |   (+) |   (+) |   (+) |   (+) |
 
<?php $row_cfg = isset($qu_cfg) ? $qu_cfg->row() : NULL; ?> <table class="headCol">     <tr>         <th class="amtCol"><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">รหัสวิชา</font></th>         <th><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">ชื่อวิชา</font></th>         <th class="editCol"><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">กลุ่ม</font></th>         <th class="amtCol"><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">จำนวน<br />นักศึกษา</font></th>         <th class="amtCol"><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">หน่วยกิต</font></th>         <th class="amtCol"><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">สถานะ<br>การส่งเกรด</font></th>         <th class="editCol"><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">พิมพ์</font></th>     </tr> <?php $num_rows = count($arr); if(isset($arr) && count($arr)) {     foreach($arr as $key => $val) {         echo "<tr onmouseover=\"bgColor='".$row_cfg->cfgBgClSwapTr."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">"; ?>         <td class="indent"><font size="2"><?php echo $arr[$key]['rd']->crsCode;?></font></td>         <td class="indent"><font size="2"><?php echo explodeSquare($arr[$key]['rd']->crsName);?></font><br> <?php         if($arr[$key]['cur']->num_rows()) {             foreach($arr[$key]['cur']->result() as $row_cur) { ?>         <font size="2" color="<?php echo $row_cfg->cfgFnClErrSpec;?>"><div><?php echo '['.$row_cur->curName.']';?></div></font> <?php             }         } ?>         </td>         <td align="center"><font size="2"><?php echo $arr[$key]['rd']->coSection;?></font></td>         <td align="center"><font size="2"><?php echo $arr[$key]['rd']->coNumSeatReg;?></font></td>         <td align="center"><font size="2"><?php echo $arr[$key]['rd']->crsUnit;?></font></td>         <td align="center"> <?php         if($arr[$key]['rd']->coSendGradeStatus=='Y') { ?>         <img src="<?php echo base_url().$this->config->item("rg_edit");?>" align="absmiddle" border="0" width="23" height="19" class="hand" onClick="sendPost('hidform_edit',{'coId':<?php echo $arr[$key]['rd']->coId;?>, 'acY':<?php echo $acY;?>, 'tmId':<?php echo $tmId;?>}, '<?php echo site_url($this->config->item('rg_folder').'grade/editGrd');?>')" /> <?php         } else { ?>         <img src="<?php echo base_url().$this->config->item("rg_edit_yell");?>" align="absmiddle" border="0" width="23" height="19" /> <?php         } ?>         </td>         <td align="center">         <img src="<?php echo base_url().$this->config->item("rg_print");?>" align="absmiddle" border="0" class="hand" onClick="sendPost(         'hidform',         {'coId':<?php echo $arr[$key]['rd']->coId;?>,          'clIdStr':<?php echo $arr[$key]['clIdStr'];?>,          'acY':<?php echo $acY;?>,          'tmId':<?php echo $tmId;?>},          '<?php echo site_url($this->config->item('rg_folder').'grade/printSendGradePDF');?>', {})" /></td> <?php     } } else { ?>     <tr>         <td colspan="7" align="center"><font size="2" color="<?php echo $row_cfg->cfgFnClErrSpec; ?>">** ไม่ปรากฏรายวิชาที่เปิดสอนในฐานข้อมูล **</font></td>     </tr> <?php } ?> </table> <table width="100%">     <td align="right">รวม <?php echo $num_rows;?> รายการ</td> </table>
  |