Viewing file: v_addPreAdmit.php (4.1 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $row_pa = (isset($qu_pa) && $qu_pa!= NULL) ? $qu_pa->row() : NULL; ?> <table width="100%" align="center"> <tr> <td> <div align="center"><table width="100%"> <tr> <td colspan="2" align="center" class="h error">ข้аёаёЎаё№аёҐаёЄаё–аёІаё™аё°/аё•аёіа№Ѓаё«аё™а№€аё‡аёЃа№€аёаё™а№Ђаё‚้าเรียน</td> </tr> <tr> <td align="right"> <?php echo anchor_popup($this->config->item("rg_folder")."bdpbri/pa_print", "<img src=\"".base_url().$this->config->item("rg_print")."\" width=\"15\" height=\"14\" align=\"absmiddle\" border=\"0\" />"); ?> </td> </tr> <tr> <td><?php echo form_open($this->config->item("rg_folder")."bdpbri/pa_insert_update");?><table class="szone"> <tr bgcolor="<?php echo $tr_color_even;?>"> <td class="coltd_szone2"><font size="2">аёЉаё·а№€аёаёЄаё–аёІаё™аё°/аё•аёіа№Ѓаё«аё™а№€аё‡аёЃа№€аёаё™а№Ђаё‚้าเรียน</font></td> <td><input type="text" name="paName" id="paName" value="<?php echo setValue('paName',$row_pa);?>" size="20" class="required" /> <span class="error">* <?php echo form_error("paName");?></span></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" value="เคลียร์ข้аёаёЎаё№аёҐ" /> <input type="hidden" name="paId" id="paId" value="<?php echo setValue('paId',$row_pa);?>" /></td> </tr> </table><?php echo form_close();?></td> </tr> <?php if(isset($rs_pa) && $rs_pa->num_rows() > $this->config->item("rg_max_row")) { ?> <tr> <td colspan="3"><div class="boxBlock leftBox"><font size="2"> а№ЃаёЄаё”аё‡ <?php echo $rs_pa->num_rows();?> аёЈаёІаёўаёЃаёІаёЈаё€аёІаёЃ <?php echo $this->config->item('rg_max_row');?> аёЈаёІаёўаёЃаёІаёЈ</font> </div></td> <tr> <?php } ?> <tr> <td><table width="100%" align="center" class="headCol"> <tr> <th class="seqCol"><font size="2" color="<?php echo $font_color_table;?>"><b>ลำดับที่</b></font></th> <th><font color="<?php echo $font_color_table;?>" size="2"><b>аёЉаё·а№€аёаёЄаё–аёІаё™аё°/аё•аёіа№Ѓаё«аё™а№€аё‡аёЃа№€аёаё™а№Ђаё‚้าเรียน</b></font></td> <th class="editCol"><font color="<?php echo $font_color_table;?>" size="2">แก้ไข</font></th> <th class="deleteCol"><font color="<?php echo $font_color_table;?>" size="2">ลบ</font></th> </tr> <?php $i = 0; if(isset($rs_pa) && $rs_pa->num_rows()) { foreach($rs_pa->result() as $row) { echo "<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">"; ?> <td align="center"><font size="2"><?php echo $i+1;?></font></td> <td class="indent"><font size="2"><?php echo $row->paName;?></font></td> <td align="center"> <img class="hand" src="<?php echo base_url().$this->config->item("rg_edit");?>" align="absmiddle" border="0" onClick="sendPost('hidform', {'paId':<?php echo $row->paId;?>}, '<?php echo site_url($this->config->item('rg_folder').'bdpbri/pa_input');?>')" /></td> <td align="center"> <span onClick="confirmDel2({paId:<?php echo $row->paId;?>}, 'm_form1','<?php echo site_url($this->config->item('rg_folder').'bdpbri/pa_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"><span class="error">** ไม่ปรากฏรายการในฐานข้аёаёЎаё№аёҐ **</span></td> </tr> <?php } ?> </table></td> </tr> <tr> <td align="right"><font size="2">аёЈаё§аёЎ <?php echo $i;?> аёЈаёІаёўаёЃаёІаёЈ</font></td> </tr> </table></div> <div class="error"><strong>аё«аёЎаёІаёўа№Ђаё«аё•аёё : </strong>* аё«аёЎаёІаёўаё–аё¶аё‡ ต้аёаё‡аёЃаёЈаёаёЃаё‚้аёаёЎаё№аёҐа№ѓаё«а№‰аёЄаёЎаёљаё№аёЈаё“а№Њ</div> </td> </tr> </table>
|