Viewing file:      v_showConfirmMatchCur.php (3.24 KB)      -rwxr-xr-x Select action/file-type:    (+) |   (+) |   (+) | Code (+) | Session (+) |   (+) | SDB (+) |   (+) |   (+) |   (+) |   (+) |   (+) |
 
<?php
 ini_set("memory_limit", $this->config->item('rg_memory_limit'));
 set_time_limit(0);
 ?>
 <table width="100%">
     <tr>
         <td class="h error">ตรวจสอบการกำหนดหลักสูตรให้นักศึกษาใหม่ ปีการศึกษา <?php echo $acY_R;?></td>
     </tr>
     <tr>
         <td><br /></td>
     </tr>
     <tr>
         <td><table class="headCol">
 <?php
 $i = 0;
 $tmp_crsAd = '';
 $sum_std = 0;
 if(count($show_std)) {
     foreach($show_std as $key => $val) {
 
         $j = 0;
         foreach($val as $key_s => $v_s) {    // key_s = std[i][j]
             if($tmp_crsAd!=$v_s['crsAd']->itv_crs_id) {
 ?>
             <tr>
                 <td colspan="4" class="indent" bgcolor="<?php echo $table_color_even;?>"><font color="<?php echo $font_color_table;?>"><b><?php echo $i+1;?>. <?php echo $v_s['crsAd']->crs_name;?></b></font></td>
             </tr>
 <?php
             }
 ?>
             <tr>
                 <td colspan="4" class="indentPm" bgcolor="<?php echo $table_color_even;?>"><font color="<?php echo $font_color_table;?>"><b><?php echo $v_s['curRg']->curName;?></b></font></td>
             </tr>
             <tr>
                 <th class="seqCol">ลำดับที่</th>
                 <th>ชื่อ - นามสกุล</th>
                 <th>โควตา</th>
                 <th>ประเภทการรับ</th>
             </tr>
 <?php
             $cnt = 0;
             foreach($v_s['std']->result() as $row) {
                 echo "<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
 ?>
                 <td align="center"><?php echo $cnt+1;?></td>
                 <td class="indent"><?php echo $row->pf_name.$row->app_name.' '.$row->app_lname;?></td>
                 <td class="indent"><?php echo $row->qt_name;?></td>
                 <td class="indent"><?php echo $row->at_name;?></td>
             </tr>
 <?php
                 $cnt++;
                 $sum_std++;
             }
 
             $tmp_crsAd = $v_s['crsAd']->itv_crs_id;
             $j++;
         }
 
         $i++;
     }
 }
 ?>
         </table></td>
     </tr>
     <tr>
         <td align="right">รวม <?php echo $sum_std;?> รายการ</td>
     </tr>
     <tr>
         <?php echo form_open($this->config->item("rg_folder")."import/processAddStdAndSdt", array("name" => "myform", "id" => "myform"));?>
         <td align="center"><br /><input type="submit" name="add" value="ยืนยันการกำหนดหลักสูตร" onclick="return confirmSubmit('คุณตรวจสอบข้อมูลการจัดหลักสูตรเรียบร้อยแล้วใช่หรือไม่ ?')">
         <input type="hidden" name="acY_R" id="acY_R" value="<?php echo $acY_R;?>" />
         </td><?php echo form_close();?>
     </tr>
     <tr>
         <td><br /><hr /><br /></td>
     </tr>
     <tr>
         <?php echo form_open($this->config->item("rg_folder")."import/sub_showImportStd", array("name" => "myform_new", "id" => "myform_new"));?>
         <td align="center"><br /><input type="submit" name="add" value="นำเข้าข้อมูลนักเรียนที่มีสิทธิ์เข้าศึกษาจากระบบ Admission ใหม่อีกครั้ง" onClick="return confirmSubmit('คุณต้องการนำเข้าข้อมูลนักเรียนที่มีสิทธิ์ใหม่อีกครั้ง ใช่หรือไม่ !?')" />
         </td><?php echo form_close();?>
     </tr>
 </table>
 
  |