Server IP : 202.29.229.35 / Your IP : 3.145.125.13 Web Server : Apache System : Linux aapanel2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 User : www ( 1001) PHP Version : 5.5.38 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/www.ivecr2.ac.th/ |
Upload File : |
<div class="box"> <div style="width: 100%;"> <?php include('connect/connect.php'); function check_pic($id){ if ($handle = opendir('system_admin/pic_new/')) { while (false !== ($entry = readdir($handle))) { if ($entry != "." && $entry != "..") { //strpos(); $entry_array = explode("_",$entry); if($id == $entry_array[0]){ $name[]= $entry; } } } closedir($handle); if(count($name) > 0){ return $name; }else{ return false; } } } $n_ID=$_GET['nID']; //echo "====>".$nID; $sql="select * from tbl_new where n_ID='$n_ID' "; $result=mysqli_query($connect1,$sql); $rs=mysqli_fetch_assoc($result); $nid=$rs['n_ID']; $dp_ID=$rs['dp_ID']; $queryperlogin = "select * from tbl_datatecher1 where tecNumber='$dp_ID' "; //echo "=>".$queryperlogin."<br>"; $resultperlogin=mysqli_query($connect1,$queryperlogin); $rsperteclogin=mysqli_fetch_assoc($resultperlogin); $selectworklogin = $rsperteclogin['selectwork'];//กลุ่มงาน //echo "==>".$selectworklogin; //ชื่อกลุ่มงาน $sqlworklogin="select * from tbl_departmentall where daNodpt='$selectworklogin' "; $resqlworklogin=mysqli_query($connect1,$sqlworklogin); $rsworklogin=mysqli_fetch_assoc($resqlworklogin); $workname = $rsworklogin['daFname']; //$tecLogFname=$tecPrefixThaiori." ".$rspertec['tecFnameThai']." ".$rspertec['tecLnameThai']; ?> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><div class="fdefault fbold txt-topic display-inline-block" style="width: 500px;" >ข่าวประชุม/สัมมนา/อบรม</div></td> <td align="right" valign="top"><div class="fgray" style="line-height: 20px;"> <a href="?i=tab_newlbtech" class="link-orange">ย้อนกลับ...</a></div></td> </tr> </table> <div class="line-bottom-red display-inline-block" style="width: 700px;" ></div> <div class="link-default-org" style="margin-bottom: 5px; padding:5px"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="right" valign="top"> </td> </tr> <tr> <td align="center" valign="top"><p> </p> <table width="100%" border="0" align="center" cellpadding="5" cellspacing="0"> <tr> <td align="center" valign="top"></td> </tr> <tr> <td align="center" valign="top"><b><?php echo $rs['n_Title'];?></b></td> </tr> <tr> <td align="left" valign="top"><p style="text-align:justify"> <?php echo $rs['n_Detail'];?></p></td> </tr> <tr> <td align="center" valign="top"> </td> </tr> </table> <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="top"> <?php $pic = check_pic($nid); foreach($pic as $item){ //$pic_big= '<img src="img/'.$item.' " width="200px" height="150px">'; //} ?> <!-----------------------------------------------เริ่มแสดงความเห็นใต้ภาพ----------------------------------------------> <a rel="example_group" href="system_admin/pic_new/<?php echo $item;?>" title=""><img src="system_admin/pic_new/<?php echo $item;?>" alt="" width="150px" height="110" style="border:1px solid #CCCCCC; padding:4px"/></a> <?php }//foreach ?></td> </tr> </table></td> </tr> <tr> <td align="center" valign="top"> </td> </tr> <tr> <td align="center" valign="top"><i><font size="2px" color="#999999">นำเข้าข้อมูลเมื่อ : <?php echo displaydate($rs['n_Date']);?> นำเข้าข้อมูลโดย <?php echo $workname; ?> </font></i></td> </tr> </table> </div> </div> </div>