Viewing file:      v_report005_search.php (3.3 KB)      -rwxr-xr-x Select action/file-type:    (+) |   (+) |   (+) | Code (+) | Session (+) |   (+) | SDB (+) |   (+) |   (+) |   (+) |   (+) |   (+) |
 
<table width="100%">
     <tr>
         <td class="h error" align="center">รายงานแสดงการติดตามการทำงานของศิษย์เก่าที่ไม่ได้อัพเดทข้อมูล</td>
     </tr>
     <tr>
         <td><br /></td>
     </tr>
     <tr>
         <td><table class="szone"><?php echo form_open($this->config->item("ea_folder")."report/report005_show", array("name" => "myform", "id" => "myform"));?>
             <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                 <td class="coltd_szone2">หลักสูตรตามระบบทะเบียนศิษย์เก่า</td>
                 <td>
 <?php
                 echo form_dropdown('programAlumniId', $rs_pa, set_value('programAlumniId'));
 ?>
                 <span class="error"> *<?php echo form_error('programAlumniId');?></span></td>
             </tr>
             <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                 <td class="coltd_szone2">ปีการศึกษาที่จบ</td>
                 <td><input type="text" name="graduateY" id="graduateY" value="<?php echo isset($acY) ? set_value('graduateY',$acY) : set_value('graduateY');?>" class="required-int" size="5" maxlength="4" />
                 <span class="error"> *<?php echo form_error('graduateY');?></span></td>
             </tr>
             <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                 <td colspan="2" align="center">
                 <input type="submit" name="search" id="search" value="ค้นหา" />
                 </td>
             </tr>
         <?php echo form_close();?></table></td>
     </tr>
     <tr>
         <td><br /></td>
     </tr>
     <tr>
         <td align="right">ส่งออก <img class="hand" title="ส่งออกเป็น excel" src="<?php echo base_url().$this->config->item('rg_excel_exp');?>" align="absmiddle" border="0" onClick="sendPost('hidform',
         {'programAlumniId':<?php echo isset($programAlumniId) ? $programAlumniId : "0";?>,
          'graduateYear':<?php echo isset($graduateYear) ? $graduateYear : "0";?>},
         '<?php echo site_url($this->config->item('ea_folder').'report/report005_ex');?>')" />
         </td>
     </tr>
     <tr>
         <td><table class="headCol">
             <tr bgcolor="<?php echo $this->config->item('table_c_even');?>">
                 <th class="seqCol">ลำดับที่</th>
                 <th class="stdCodeCol">รหัสนักศึกษา</th>
                 <th>ชื่อ - นามสกุลศิษย์เก่า</th>
                 <th class="domCol">วันที่สำเร็จการศึกษา</th>
             </tr>
 <?php
     $i = 0;
     if(isset($rs_am) && $rs_am->num_rows()) {
         foreach($rs_am->result() as $row_am) {
             echo "<tr onmouseover=\"bgColor='".$this->config->item('tr_c_even')."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
 ?>
                 <td align="center"><?php echo $i+1;?></td>
                 <td align="center"><?php echo $row_am->studentCode;?></td>
                 <td class="indent"><?php echo $row_am->prefixName.$row_am->studentName.' '.$row_am->studentSurname;?></td>
                 <td class="indent"><?php echo abbreDate2($row_am->finishDate);?></td>
             </tr>
 <?php
             $i++;
         }
     } else {
 ?>
             <tr>
                 <td colspan="4" align="center"><span class="error">** ไม่ปรากฏรายการในฐานข้อมูล **</span></td>
             </tr>
 <?php
     }
 ?>
         </table></td>
     </tr>
     <tr>
         <td align="right">รวม <?php echo $i;?> รายการ</td>
     </tr>
 </table>
  |