Viewing file:      v_detail_smo.php (2.67 KB)      -rwxr-xr-x Select action/file-type:    (+) |   (+) |   (+) | Code (+) | Session (+) |   (+) | SDB (+) |   (+) |   (+) |   (+) |   (+) |   (+) |
 
<style>
 @media print {
     @page { size:A4 portrait; }
 }
 
 @media print{
 .no-print{ display:none;}
 }
 </style>
 <table width="100%" align="center" >
     <tr>
         <td align="center"><h3>ข้อมูล <?php echo set_value('sc_name', $qu_smo->sc_name);?></h3></td>
     </tr>
     <tr>
         <td >
             <table width="100%" class='szone2' border="0">
                 <input type="hidden" name="sc_id" value="<?php echo set_value('sc_id', $qu_smo->sc_id);?>" />
                     <tr>
                         <th width="20%" align="right">ชื่อสโมสร (ไทย) </th>
                         <td width="80%"><?php echo set_value('sc_name', $qu_smo->sc_name);?></td>
                     </tr>
                     <tr>
                         <th align="right">ชื่อสโมสร (อังกฤษ) </th>
                         <td><?php echo set_value('sc_name_eng', $qu_smo->sc_name_eng);?></td>
                     </tr>
                     <tr>
                         <th align="right" valign="top">วัตถุประสงค์ </th>
                         <td><?php echo set_value('sc_objective', $qu_smo->sc_objective);?></td>
                     </tr>
                     <tr>
                         <th align="right" valign="top">รายละเอียด </th>
                         <td><?php echo set_value('sc_detail', $qu_smo->sc_detail);?></td>
                     </tr>
                     <tr>
                         <th align="right">วันที่ก่อตั้งสโมสร </th>
                         <td><?php echo set_value('sc_fr_date', $qu_smo->sc_fr_date);?></td>
                     </tr>
                     <tr>
                         <th align="right">วันที่สิ้นสุดสโมสร </th>
                         <td><?php echo set_value('sc_to_date', $qu_smo->sc_to_date);?></td>
                     </tr>
                     <tr>
                         <th align="right">แนบไฟล์ </th>
                         <td>
                         <?    
                         if(isset($file[set_value('sc_id', $qu_smo->sc_id)]) and $file[set_value('sc_id', $qu_smo->sc_id)]->num_rows()>0){
                             foreach ($file[set_value('sc_id', $qu_smo->sc_id)]->result() as $row_file) {
                                 echo anchor_popup(base_url().$row_file->fup_path,$row_file->fup_file_name);
                             }
                         }
                         ?>
                         </span>
                         </td>
                     </tr>
             </table>
         </td>
     </tr>
 <tr><td align='center'>
 <br>
 <input type="button" value="พิมพ์หน้านี้" onclick="printWindow()" class="no-print">
 <br>
 </td></tr>
 </table>
 <SCRIPT LANGUAGE="Javascript">
 function printWindow(){
     window.print()
 }
 </SCRIPT>
  |