403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/Menu_Dent/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/Menu_Dent/index backup -11-12-2567.php
<?php
function dCon($code){
	switch ($code) {
	   case '01':
			return  "ทันตแพทย์";
		case '02': 
			return "ทันตาภิบาล";
		case '03': 
			return "ผู้ช่วยทันตแพทย์";
		default :
			return '';
	}
}
function dLev($code){
	switch ($code) {
		   case '9':
				return "เชี่ยวชาญ";
			case '8': 
				return "ชำนาญการพิเศษ";
			case '7': 
				return "ชำนาญการ";
			default :
				return '';
		}
}		
function dPos($code){
	switch ($code) {
		   case '1':
				return "หัวหน้ากลุ่มงาน";
			case '2': 
				return "รองหัวหน้ากลุ่มงาน";
			case '3': 
				return "หัวหน้างาน";
			case '4': 
				return "ผูู้ดูแลงานทันตกรรมชุมชน";
			default :
				return '';
		}
}			
	$numall =0;
	//ตั้งค่าการเชื่อมต่อฐานข้อมูล
	$database_host = '192.168.1.39';
	$database_port = '3306';
	$database_username = 'root';
	$database_password = '090407';
	$database_name = 'mit';	//table empimage
	$mysqli = new mysqli($database_host, $database_username, $database_password, $database_name, $database_port);
	$mysqli->set_charset("utf8");
	if ($mysqli->connect_error) {
		die('Error : ('. $mysqli->connect_errno .') '. $mysqli->connect_error);
	}

?>
<!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" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=1;">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<title>กลุ่มงานทันตกรรม</title>
<style type="text/css">
/* ส่วนกำหนดสำหรับ แสดง iframe  */
div#myiframe1{
    position:relative;
    margin:auto;
    display:block;  
    width:1000px; /*ความกว้างส่วนของเนื้อหา iframe ที่ต้องการแสดง*/
    height:530px; /* ความสูงส่วนของเนื้อหา iframe ที่ต้องการแสดง */
    overflow:hidden;
}
/* ส่วนกำหนด สำหรับ iframe */
div#myiframe1 iframe{
	position:absolute;
	display:block;
	float:left;
	margin-top:-685px; /* ปรับค่าของ iframe ให้ขยับขึ้นบนตามตำแหน่งที่ต้องการ */
	margin-left:-715px; /* ปรับค่าของ iframe ให้ขยับมาด้านซ้ายตามตำแหน่งที่ต้องการ */
	left: 714px;
	top: 136px;
	height: 1129px;
}
/* ส่วนกำหนดสำหรับ แสดง iframe  */
div#myiframe2{
    position:relative;
    margin:auto;
    display:block;  
    width:1000px; /*ความกว้างส่วนของเนื้อหา iframe ที่ต้องการแสดง*/
    height:530px; /* ความสูงส่วนของเนื้อหา iframe ที่ต้องการแสดง */
    overflow:hidden;
}
/* ส่วนกำหนด สำหรับ iframe */
div#myiframe2 iframe{
	position:absolute;
	display:block;
	float:left;
	margin-top:-685px; /* ปรับค่าของ iframe ให้ขยับขึ้นบนตามตำแหน่งที่ต้องการ */
	margin-left:-715px; /* ปรับค่าของ iframe ให้ขยับมาด้านซ้ายตามตำแหน่งที่ต้องการ */
	left: 714px;
	top: 136px;
	height: 1131px;
}
div#myiframe3{
    position:relative;
    margin:auto;
    display:block;  
    width:1000px; /*ความกว้างส่วนของเนื้อหา iframe ที่ต้องการแสดง*/
    height:530px; /* ความสูงส่วนของเนื้อหา iframe ที่ต้องการแสดง */
    overflow:hidden;
}
/* ส่วนกำหนด สำหรับ iframe */
div#myiframe3 iframe{
	position:absolute;
	display:block;
	float:left;
	margin-top:-685px; /* ปรับค่าของ iframe ให้ขยับขึ้นบนตามตำแหน่งที่ต้องการ */
	margin-left:-715px; /* ปรับค่าของ iframe ให้ขยับมาด้านซ้ายตามตำแหน่งที่ต้องการ */
	left: 714px;
	top: 136px;
	height: 1131px;
}
div#myiframe4{
    position:relative;
    margin:auto;
    display:block;  
    width:1000px; /*ความกว้างส่วนของเนื้อหา iframe ที่ต้องการแสดง*/
    height:512px; /* ความสูงส่วนของเนื้อหา iframe ที่ต้องการแสดง */
    overflow:hidden;
}
/* ส่วนกำหนด สำหรับ iframe */
div#myiframe4 iframe{
	position:absolute;
	display:block;
	float:left;
	margin-top:-685px; /* ปรับค่าของ iframe ให้ขยับขึ้นบนตามตำแหน่งที่ต้องการ */
	margin-left:-715px; /* ปรับค่าของ iframe ให้ขยับมาด้านซ้ายตามตำแหน่งที่ต้องการ */
	left: 714px;
	top: 136px;
	height: 1131px;	
}
div#myiframe5{
    position:relative;
    margin:auto;
    display:block;  
    width:1000px; /*ความกว้างส่วนของเนื้อหา iframe ที่ต้องการแสดง*/
    height:554px; /* ความสูงส่วนของเนื้อหา iframe ที่ต้องการแสดง */
    overflow:hidden;
}
/* ส่วนกำหนด สำหรับ iframe */
div#myiframe5 iframe{
	position:absolute;
	display:block;
	float:left;
	margin-top:-685px; /* ปรับค่าของ iframe ให้ขยับขึ้นบนตามตำแหน่งที่ต้องการ */
	margin-left:-715px; /* ปรับค่าของ iframe ให้ขยับมาด้านซ้ายตามตำแหน่งที่ต้องการ */
	left: 714px;
	top: 136px;
	height: 1177px;	
	}
div#myiframe6{
    position:relative;
    margin:auto;
    display:block;  
    width:1000px; /*ความกว้างส่วนของเนื้อหา iframe ที่ต้องการแสดง*/
    height:567px; /* ความสูงส่วนของเนื้อหา iframe ที่ต้องการแสดง */
    overflow:hidden;
}
/* ส่วนกำหนด สำหรับ iframe */
div#myiframe6 iframe{
	position:absolute;
	display:block;
	float:left;
	margin-top:-690px; /* ปรับค่าของ iframe ให้ขยับขึ้นบนตามตำแหน่งที่ต้องการ */
	margin-left:-715px; /* ปรับค่าของ iframe ให้ขยับมาด้านซ้ายตามตำแหน่งที่ต้องการ */
	left: 714px;
	top: 136px;
	height: 1196px;	
}
</style>
</head>
<body>
<!--
We will create a family tree using just CSS(3)
The markup will be simple nested lists
-->
<link rel="stylesheet" type="text/css" href="css/style.css">
<div align="center">
 
<table width="100%" border="0">
<table width="100%" border="0" >
	<tr bgcolor="#00FF33" height="30" >
   	  <td width = "25%"><div align="center"><a href="indexdoc.php?dirname=ServiceProfile&repname=Service Profile"  target="_blank"  class="style13"style="text-decoration: none;">Service Profile</a></div></td>
   	  <td width = "25%"><div align="center"><a href="indexdoc.php?dirname=CPGWI&repname=CPG or WI"  target="_blank" class="style13"style="text-decoration: none;">CPG OR WI</a></div></td>
   	  <td width = "25%"><div align="center"><a href="indexdoc.php?dirname=Clinicaltracer&repname=Clinical Tracer"  target="_blank"  class="style13"style="text-decoration: none;">Clinical tracer</a></div></td>
	  <td width = "25%"><div align="center"><a href="indexdoc.php?dirname=Library&repname=Library"  target="_blank"  class="style13"style="text-decoration: none;">คลังความรู้</a></div></td>
   </tr>
  
  <tr>
  <td colspan="4">
	<img src="image/headerdental.jpg" width="100%" height="180" align="absmiddle"/>     
	<div class="tree" >
<?php 
		$numall=0;
		$rec0 = 1;
		$get_sub = $mysqli->query('SELECT empimage.EmpID,empimage.EmpTitle,empimage.EmpName,empimage.Empsurname ,
		empimage.no ,empimage.EmpPicture ,empimage.deptcode ,empimage.con,empimage.lev,empimage.Active,empimage.gad
		FROM empimage  WHERE no IS NOT NULL AND no != " " AND Active="A" AND substr(empimage.DeptCode,1,2) = "03" group by substr(empimage.deptcode,1,4) '); //HEAD
		while($sub1 = $get_sub->fetch_array()){
			if ($rec0 <= 2) 	echo "<ul>";
			$uDept = $sub1['deptcode'];	
			$numall+=1;
			echo "<li>";	
			echo '<a href="Doc/JD/'.trim($sub1['EmpName']).' '.$sub1['Empsurname'].'.pdf"  target="_blank"> 
			<img src="data:image/jpeg;base64,'.base64_encode( $sub1['EmpPicture'] ).'" width="80" height="100"><br>';
			echo trim($sub1['EmpTitle']).trim($sub1['EmpName']).' '.$sub1['Empsurname'].'<br>';
			echo dCon($sub1['con']).dLev($sub1['lev']).'<br>';
			echo dPos(substr($uDept,4,1)).'<br>[ '.$sub1['gad'].' ]<br></a>';
			//echo $sub1['gad'].'<br></a>';
			if ($rec0 >= 2) {
				$SQL = 'SELECT empimage.EmpID,empimage.EmpTitle,empimage.EmpName,empimage.Empsurname ,
				empimage.no ,empimage.EmpPicture ,empimage.deptcode,empimage.con,empimage.lev,empimage.Active,empimage.gad
				FROM empimage  WHERE no IS NOT NULL AND no != " " AND Active="A" AND substr(empimage.DeptCode,1,4) = "'.SUBSTR($uDept,0,4).'"';
				$get_sub2 = $mysqli->query($SQL);
				$row_cnt = $get_sub2->num_rows;
				if ($row_cnt > 1){
					$rec = 1;
					echo "<ul>";
					while($sub2 = $get_sub2->fetch_array()){
						if ($rec > 1){
							$numall+=1;
							echo "<li>";	
							$uDept = $sub2['deptcode'];	
							echo '<a href="Doc/JD/'.trim($sub2['EmpName']).' '.$sub2['Empsurname'].'.pdf"  target="_blank"> 
							<img src="data:image/jpeg;base64,'.base64_encode( $sub2['EmpPicture'] ).'" width="50" height="60"><br>';
							echo trim($sub2['EmpTitle']).trim($sub2['EmpName']).' '.$sub2['Empsurname'].'<br>';
							echo dCon($sub2['con']).dLev($sub2['lev']).'<br>';
							echo dPos( substr($uDept,4,1)).'<br>';	
							//echo $sub2['gad'].'<br>';	
							echo '</a>';
							echo "</li>";	
						}
						$rec += 1;
					}
					echo "</ul>";	
				}
				mysqli_free_result($get_sub2);		
				echo "</li>";
			}
			$rec0 +=1;	
		}	
		if ( $rec0 >= 2) echo "</li>";
		echo "</li>";
		echo "</ul>";
		mysqli_free_result($get_sub);
?>		
	</div>	</td>
  </tr>
  <tr>
  	<td colspan="3"><br />
		<?php
		echo '&nbsp;&nbsp;&nbsp; '."จำนวนเจ้าหน้าที่ ".$numall;
		//echo "จำนวนเจ้าหน้าที่ ".$numall. '[ ref:'.$database_host.' Database : empimage]';
		?><br />	</td>
  </tr>
  <tr>
  	<td  bgcolor="C1C1FF" colspan="3">
  		<H3 align="center"> <img src="image/logo1.png" width="40" height="40" border="0">ผลการดำเนินงานตามตัวชี้วัด </H3>
	</td>
  </tr>
  <tr>
  	<td bgcolor="C1C1FF" colspan="3">
    	<p align="center"><br><a href="https://cbi.hdc.moph.go.th/hdc/reports/report.php?source=kpi/kpi_dent.php&amp;cat_id=db30e434e30565c12fbac44958e338d5&amp;id=99ccd1e29a5cdb81256fb3fa587698ef">ข้อ 1</a><br />
<div id="myiframe1">
  <iframe src="https://cbi.hdc.moph.go.th/hdc/reports/report.php?source=kpi/kpi_dent.php&cat_id=db30e434e30565c12fbac44958e338d5&id=99ccd1e29a5cdb81256fb3fa587698ef" scrolling="no"
frameborder="0" width="1000" height="1000"></iframe>
  </a></div>
</p>
<p align="center"><br><a href="https://cbi.hdc.moph.go.th/hdc/reports/report.php?source=kpi/kpi_dent.php&amp;cat_id=db30e434e30565c12fbac44958e338d5&amp;id=c314de5a8bd00380b4f4f5632d7bc324">ข้อ 17.4</a>
<div id="myiframe2">
  <iframe src="https://cbi.hdc.moph.go.th/hdc/reports/report.php?source=kpi/kpi_dent.php&cat_id=db30e434e30565c12fbac44958e338d5&id=c314de5a8bd00380b4f4f5632d7bc324" scrolling="No"
frameborder="0" width="1000" height="1000"></iframe>
</div></p>
<p align="center"><br><a href="https://cbi.hdc.moph.go.th/hdc/reports/report.php?source=kpi/kpi_dent.php&amp;
cat_id=db30e434e30565c12fbac44958e338d5&amp;id=e72fe87e1432da642b6c015c485176fa">ข้อ 17.8</a>
<div id="myiframe3">
  <iframe src="https://cbi.hdc.moph.go.th/hdc/reports/report.php?source=kpi/kpi_dent.php&cat_id=db30e434e30565c12fbac44958e338d5&id=e72fe87e1432da642b6c015c485176fa" scrolling="No"
frameborder="0" width="1000" height="1000"></iframe>
</div></p>
<p align="center"><br><a href="https://cbi.hdc.moph.go.th/hdc/reports/report.php?source=kpi/kpi_dent.php&amp;
cat_id=db30e434e30565c12fbac44958e338d5&amp;id=34f8384163b3a218f0300448482d9b6e">ข้อ 17.13</a>
<div id="myiframe4">
  <iframe src="https://cbi.hdc.moph.go.th/hdc/reports/report.php?source=kpi/kpi_dent.php&cat_id=db30e434e30565c12fbac44958e338d5&id=34f8384163b3a218f0300448482d9b6e" scrolling="No"
frameborder="0" width="1000" height="1000"></iframe>
</div></p>
<p align="center"><br><a href="https://cbi.hdc.moph.go.th/hdc/reports/report.php?source=pformated/format1.php&amp;cat_id=db30e434e30565c12fbac44958e338d5&amp;id=d36f6c38999d128132513933e36a848a">ข้อ 18.7</a>
<div id="myiframe5">
  <iframe src="https://cbi.hdc.moph.go.th/hdc/reports/report.php?source=pformated/format1.php&cat_id=db30e434e30565c12fbac44958e338d5&id=d36f6c38999d128132513933e36a848a" scrolling="No"
frameborder="0" width="1000" height="1000"></iframe>
</div></p>
<p align="center"><br /><a href="https://cbi.hdc.moph.go.th/hdc/reports/report.php?source=pformated/format1.php&amp;cat_id=db30e434e30565c12fbac44958e338d5&amp;id=9aa3ec7a10773b04ce35800578f75852">ข้อ 18.14</a>
<div id="myiframe6">
  <iframe src="https://cbi.hdc.moph.go.th/hdc/reports/report.php?source=pformated/format1.php&cat_id=db30e434e30565c12fbac44958e338d5&id=9aa3ec7a10773b04ce35800578f75852" scrolling="No"
frameborder="0" width="1000" height="1000"></iframe>
</div></p>
<p>&nbsp;</p>    </td>
  </tr>
</table>


</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit