Viewing file:      v_mainAlumni.php (6.51 KB)      -rwxr-xr-x Select action/file-type:    (+) |   (+) |   (+) | Code (+) | Session (+) |   (+) | SDB (+) |   (+) |   (+) |   (+) |   (+) |   (+) |
 
<?php
 $url = site_url($this->config->item("ea_folder")."alumni/am_detail");
 ?>
 <table border="0" width="100%">
     <!-- <tr>
         <td id="tabA" align="center" class="hand" onClick="controlsubmenu('tab1','tabA'); sendPost('hidform', {'tab':1},'<?php echo $url;?>')">1</td>
         <td id="tabB" align="center" class="hand" onClick="controlsubmenu('tab2','tabB'); sendPost('hidform', {'tab':2},'<?php echo $url;?>')">2</td>
         <td id="tabC" align="center" class="hand" onClick="controlsubmenu('tab3','tabC'); sendPost('hidform', {'tab':3},'<?php echo $url;?>')">3</td>
     <tr> -->
     <tr>
         <td><div id="header">
             <ul id="primary">
                 <!-- <li id="tabA" align="center" class="hand" onClick="controlsubmenu('tab1','tabA'); sendPost('hidform', {'tab':1,'stdId':<?php echo $stdId;?>},'<?php echo $url;?>')"><?php echo ($tab==1) ? "<span>" : "<a href='#'>";?><font size="2"><b>แก้ไขข้อมูลแรกเข้า</b></font><?php echo ($tab==1) ? "</span>" : "</a>";?></li> -->
                 <li id="tabA" align="center" class="hand" onClick="controlsubmenu('tab1','tabA'); sendPost('hidform', {'tab':1,'alumniId':<?php echo $alumniId;?>},'<?php echo $url;?>')"><?php echo ($tab==1) ? "<span>" : "<a href='#'>";?><font size="2"><b>ข้อมูลส่วนตัว</b></font><?php echo ($tab==1) ? "</span>" : "</a>";?></li>
                 <li id="tabB" align="center" class="hand" onClick="controlsubmenu('tab2','tabB'); sendPost('hidform', {'tab':2,'alumniId':<?php echo $alumniId;?>},'<?php echo $url;?>')"><?php echo ($tab==2) ? "<span>" : "<a href='#'>";?><font size="2"><b>ที่อยู่</b></font><?php echo ($tab==2) ? "</span>" : "</a>";?></li>
                 <li id="tabC" align="center" class="hand" onClick="controlsubmenu('tab3','tabC'); sendPost('hidform', {'tab':3,'alumniId':<?php echo $alumniId;?>},'<?php echo $url;?>')"><?php echo ($tab==3) ? "<span>" : "<a href='#'>";?><font size="2"><b>การทำงาน</b></font><?php echo ($tab==3) ? "</span>" : "</a>";?></li>
                 <li id="tabD" align="center" class="hand" onClick="controlsubmenu('tab4','tabD'); sendPost('hidform', {'tab':4,'alumniId':<?php echo $alumniId;?>},'<?php echo $url;?>')"><?php echo ($tab==4) ? "<span>" : "<a href='#'>";?><font size="2"><b>การได้รับรางวัล</b></font><?php echo ($tab==4) ? "</span>" : "</a>";?></li>
                 <li id="tabE" align="center" class="hand" onClick="controlsubmenu('tab5','tabE'); sendPost('hidform', {'tab':5,'alumniId':<?php echo $alumniId;?>},'<?php echo $url;?>')"><?php echo ($tab==5) ? "<span>" : "<a href='#'>";?><font size="2"><b>การเรียนต่อ</b></font><?php echo ($tab==5) ? "</span>" : "</a>";?></li>
             </ul>
         </div></td>
     </tr>
     <tr>
         <td colspan="3"><br /></td>
     </tr>
     <tr>
         <td colspan="3"><?php echo $v;?></td>
     </tr>
     <div id="tab1"></div>
     <div id="tab2"></div>
     <div id="tab3"></div>
     <div id="tab4"></div>
     <div id="tab5"></div>
 </table>
 <!-- <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
     <tr>
         <td align="center">
             <label><div id="tabmargin"><br>
             <iframe name="frameprocess" id="frameprocess" scrolling="No" frameborder="1" height="0%" width="0%" ></iframe>
             <form name="ps" method="post" action="processalumni.php" enctype="multipart/form-data">
                 <table border="0" cellspacing="0" cellpadding="0">
                     <tr>
                         <td valign='middle'>
                         <table width="100%" height="26" >
                             <tr>
                                 <!-- tab ข้อมูลส่วนตัว -->
                                 <!-- <td  align="center"  width="100" background="<?php //if(($status == 1)||($status == "") ) echo $GLOBALS['BG_BIOC']; else echo $GLOBALS['BG_BIO']; ?>"><font size="2" color="<?php echo $font_color_table; ?>" ><a href="mainalumni.php?alumniId=<?php //echo $alumniId;?>&status=<? echo "1";?>"><b>ข้อมูลส่วนตัว</b></a></font></td> -->
 
                                 <!-- tab ที่อยู่ -->
                                 <!-- <td  align="center" width="100" background="<?php //if($status == 2)  echo $GLOBALS['BG_BIOC']; else echo $GLOBALS['BG_BIO']; ?>"><font size="2" color="<?php echo $font_color_table; ?>"><a href="mainalumni.php?alumniId=<?php //echo $alumniId;?>&status=<? //echo "2";?>"><b>ที่อยู่</b></a></font></td> -->
 
                                 <!-- tab การทำงาน -->
                                 <!-- <td  align="center"  width="100"  background="<?php //if($status == 3)  echo $GLOBALS['BG_BIOC']; else echo $GLOBALS['BG_BIO']; ?>"><font size="2" color="<?php echo $font_color_table; ?>"><a href="mainalumni.php?alumniId=<?php //echo $alumniId;?>&status=<? echo "3";?>"><b>การทำงาน</b></a></font></td> -->
 
                                 <!-- tab การได้รับรางวัล -->
                                 <!-- <td  align="center" width="100" background="<?php //if($status == 4)  echo $GLOBALS['BG_BIOC']; else echo $GLOBALS['BG_BIO']; ?>"><font size="2" color="<?php echo $font_color_table; ?>"><a href="mainalumni.php?alumniId=<?php //echo $alumniId;?>&status=<? echo "4";?>"><b>การได้รับรางวัล</b></a></font></td>  -->
                                 <!-- tab การเรียนต่อ -->
                                 <!-- <td  align="center" width="100" background="<?php //if($status == 5)  echo $GLOBALS['BG_BIOC']; else echo $GLOBALS['BG_BIO']; ?>"><font size="2" color="<?php echo $font_color_table; ?>"><a href="mainalumni.php?alumniId=<?php //echo $alumniId;?>&status=<? echo "5";?>"><b>การเรียนต่อ</b></a></font></td>
                             </tr>
                         </table></td>
                         <td valign="top" align="center"> -->
 <?php
                         /*$oAb->SearchByKey($alumniId);
                         $oAb->GetRecord();
                         if($oAb->picturePath=='../picture/photo.gif') {*/
 ?>
                         <!-- <img src="../picture/photo.gif"> -->
 <?php
                         //} else {
 ?>
                         <!-- <img src="../picturePerson/<?php //echo $oAb->picturePath;?>"> -->
 <?php
                         //}
 ?>
                         <!-- </td>
                     </tr>
                 </table> -->
 <?php
 /*                if($status==1)
                     include_once("addalumni_1.php");
 
                 else if ($status==2)
                     include_once("addalumni_2.php");
 
                 else if ($status==3) { 
                     if($method=="edited")
                         include_once("editalumni_3.php");
                     else
                         include_once("addalumni_3.php");
                 }
                 else if ($status==4) {
                     if($method=="edited")
                         include_once("editalumni_4.php");
                     else
                         include_once("addalumni_4.php");
                 }
                 else if($status==5) {
                     if($method=="edited")
                         include_once("editalumni_5.php");
                     else
                         include_once("addalumni_5.php");
                 }
                 else {
                     include_once("addalumni_1.php");
                     $status=1;
                 }
 */
 ?>
             <!-- </form></div>
             </label>
         </fieldset><br></td>
     </tr>
 </table> --> 
  |