Server IP : 202.29.229.35 / Your IP : 18.216.220.6 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/system_admin/ |
Upload File : |
<?php session_start(); if($_SESSION['r_statuslogin'] != 1){ echo '<script language="javascript">alert("สำหรับผู้ดูแลระบบเท่านั้น")</script>'; echo'<meta http-equiv="refresh" content="0;url=../index.php">'; exit(); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <!------------นำเมาส์ชี้ที่่รูปแล้วเกิดภาพซ้อน-------------------> <style type="text/css"> /*Credits: Dynamic Drive CSS Library */ /*URL: http://www.dynamicdrive.com/style/ */ .thumbnail{ position: relative; z-index: 0; } .thumbnail:hover{ background-color: transparent; z-index: 50; } .thumbnail span{ /*CSS for enlarged image*/ position: absolute; background-color: lightyellow;/* สีขอบรูปใหญ่ */ padding: 5px; /*ขนาดเส้นกรอบ */ left: -1000px; border: 1.5px dashed gray; /*ขนาดและสีเส้นปะ*/ visibility: hidden; color: black; text-decoration: none ; } .thumbnail span img{ /*CSS for enlarged image*/ border-width: 0; padding: 2px; } .thumbnail:hover span{ /*CSS for enlarged image on hover*/ visibility: visible; top: 0; left: 60px; /*รูปเยื้องทางซ้าย*/ } .style24 {color: #FFFFFF} </style> <!----------------------------> <body> <p><center><h2>รายชื่อผู้ดูแลระบบงานทั้งหมด</h2></center></p> <form id="form1" name="form1" method="post" action=""> <table width="700" border="0" align="center" cellpadding="0" cellspacing="5"> <tr> <td width="214" align="right">ค้นหาตามชื่องาน/แผนกวิชา :</td> <td width="345" align="left"><select name="selectwork" id="selectwork"> <option value="">-----------------------------เลือก---------------------------</option> <?php $sqlad="select * from tbl_departmentall order by daNodpt ASC"; $resqlad=mysql_query($sqlad,$connect1); while($rsad=mysql_fetch_array($resqlad)){ ?> <option value="<?php echo $rsad['daNodpt'];?>"><?php echo $rsad['daFname']; ?></option> <?php }//end while ?> </select></td> <td width="121" align="left"><input type="submit" name="button" id="button" value="ค้นหา" /></td> </tr> </table> </form> <?php $selectwork=$_POST['selectwork'] ; if($selectwork != ""){ $sqlwork1="select * from tbladmin where addepartmentID='$selectwork' order by addepartmentID ASC "; }else{ $sqlwork1="select * from tbladmin order by addepartmentID ASC "; } $resqlwork1=mysql_query($sqlwork1,$connect1); $numrow=mysql_num_rows($resqlwork1); ?> <table width="700" border="0" align="center" cellpadding="5" cellspacing="0"> <tr> <td align="center" valign="top"> </td> <td align="center" valign="top"><font color="#0033FF" size="+1">ผู้ดูแลระบบงานทั้งหมด : <?php echo $numrow;?> คน</font></td> <td align="center" valign="top"><a href="?i=subject_nameaFrm">เพิ่มข้อมูล</a></td> </tr> <tr> <td width="48" align="center" valign="top" bgcolor="#999999"><strong>ที่</strong></td> <td width="446" align="center" valign="top" bgcolor="#999999"><strong>ชื่อ/นามสกุล/แผนกวิชา/งาน</strong></td> <td width="176" align="center" valign="top" bgcolor="#999999"><strong>การจัดการ</strong></td> </tr> <?php $n=0; while($rs=mysql_fetch_array($resqlwork1)){ $n++; if($rs['addepartmentID'] >= 29){ $fristname="แผนกวิชา"; } if($bg == "#F5F5F5") { $bg = "#FDFDFD"; } else { $bg = "#F5F5F5"; } ?> <tr bgcolor="<?php echo $bg?>" > <td width="48" align="center" valign="top"><?php echo $n;?></td> <td width="446" align="left" valign="top"> <a class="thumbnail" href="#"><?php echo $rs['adFname']." ".$rs['adLname'];?><span><?php if($rs['adPhoto'] != ""){ ?><img width="200" src="file_pictureadmin/<?php echo $rs['adPhoto']; ?>" /> <?php }else{ ?> <img alt="" src="./file_pictureadmin/pic20160107093759.jpg" width="200"/><?php }?> </span></a> <font color="#0099FF" size="-2"><i><?php echo " (".$rs['addepartment'].")";?></i></font></td> <td width="176" align="center" valign="top"><a href="?i=subject_nameaEdit&adID=<?php echo $rs['adID'];?>">แก้ไขข้อมูล</a> || <a href="?i=subject_nameDel&adID=<?php echo $rs['adID'];?>">ลบข้อมูล</a></td> </tr> <?php }//end while ?> </table> </body> </html>