Viewing file:      v_addExternalPlaceRow.php (1.78 KB)      -rwxr-xr-x Select action/file-type:    (+) |   (+) |   (+) | Code (+) | Session (+) |   (+) | SDB (+) |   (+) |   (+) |   (+) |   (+) |   (+) |
 
<?php $row_cfg = (isset($qu_cfg) && $qu_cfg!=NULL) ? $qu_cfg->row() : NULL; ?> <table class="headCol">     <tr>         <th class="seqCol"><font size="2" color="<?php echo $row_cfg->cfgFnClHeadTb;?>">ลำดับที่</font></th>         <th><font color="<?php echo $row_cfg->cfgFnClHeadTb;?>" size="2">ชื่อสถานที่ฝึกงานหลัก</font></th>         <th><font color="<?php echo $row_cfg->cfgFnClHeadTb;?>" size="2">ชื่อสถานที่ฝึกงานย่อย</font></th>         <th class="deleteCol"><font color="<?php echo $row_cfg->cfgFnClHeadTb;?>" size="2">ลบ</font></th>     </tr> <?php $i = 0; if(isset($rs_etp) && $rs_etp->num_rows()) {     foreach($rs_etp->result() as $row) {         echo "<tr onmouseover=\"bgColor='".$row_cfg->cfgBgClSwapTr."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">"; ?>                     <td align="center"><div id='showEtp'><font size="2"><?php echo $i+1;?></font></td>         <td><font size="2"><?php echo $row->mepName;?></font></td>         <td><font size="2"><?php echo $row->sepName;?></font></td>         <td align="center"><span onClick="confirmDel2({etpMepId:<?php echo $row->etpMepId;?>, etpSepId:<?php echo $row->etpSepId;?>}, 'm_form1','<?php echo site_url($this->config->item('rg_folder').'basedata/etp_delete');?>')" /><img src="<?php echo base_url().$this->config->item("rg_delete");?>" align="absmiddle" border="0" width="16" height="19" class="hand"/></span></td>     </tr> <?php         $i++;     } } else { ?>     <tr>         <td colspan="4" height="22" align="center"><font size="2" color="<?php echo $row_cfg->cfgFnClErrSpec;?>">** ไม่ปรากฏรายการในฐานข้อมูล **</font></td>     </tr> <?php } ?>     <tr>         <td colspan="4" align="right"><font size="2">รวม <?php echo $i;?> รายการ</font></td>     </tr> </table>
  |