403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.156
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/myschool/triamudom/check/id-plan/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/triamudom/check/id-plan/print_user_plan.php
<?php
session_start();
$path = "../";
include ($path.'include/config_db.php');
include ($path.'include/class_db.php'); 
include ($path.'include/class_display.php'); 
include ($path.'include/function.php'); 
$CLASS['db']   = new db();
$CLASS['db']->connect(); 
$CLASS['disp']   = new display();
$db   = $CLASS['db']; 
$disp   = $CLASS['disp']; 
if($_SESSION['sessionuser_id'] !=''){
?>
<!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>
<title>ระบบบันทึกแผนการพัฒนาตนเอง (ของครู)  โรงเรียนแกลง''วิทยสถาวร'' จังหวัดระยอง</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="images/cbcscbmenu.css" type="text/css" />
<link href="css/default.CSS" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	background-color: #FFFFFF;
}
.style3 {color: #FF0000}
body,td,th {
	font-size: 14px;
}
.style5 {font-size: 18px}
.style6 {font-size: 16px}
-->
</style></head>

<body onload="window.print();">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <?php 
			$sql_resultper = $db->query("select * from tb_result_performance where tb_teacher_id='".$_SESSION['sessionuser_id']."' ");
			$fetch_resultper = $db->fetch_array($sql_resultper);
		?>
      <tr>
        <td align="center" valign="top" bgcolor="#FFFFFF"><strong><span class="style6">แบบฟอร์ม</span></strong></td>
      </tr>
      <tr>
        <td align="center" valign="top" bgcolor="#FFFFFF"><strong> แผนพัฒนาตนเอง ( สำหรับครู )</strong></td>
      </tr>
      <tr>
        <td valign="top" bgcolor="#FFFFFF">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top" bgcolor="#FFFFFF"><strong>ตารางสรุปแผนพัฒนาตนเอง</strong></td>
      </tr>
      <tr>
        <td valign="top" bgcolor="#FFFFFF">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#666666" style="line-height:24px;">
            <thead><tr>
              <td rowspan="2" align="center" valign="middle" nowrap="nowrap" bgcolor="#CCCCCC"><strong>อันดับ<br />
                ความสำคัญ</strong></td>
              <td rowspan="2" align="center" valign="middle" nowrap="nowrap" bgcolor="#CCCCCC"><strong>สมรรถนะที่จะพัฒนา</strong></td>
              <td rowspan="2" align="center" valign="middle" nowrap="nowrap" bgcolor="#CCCCCC"><strong>วิธีการ/รูปแบบการพัฒนา</strong></td>
              <td colspan="2" align="center" valign="middle" nowrap="nowrap" bgcolor="#CCCCCC"><strong>ระยะเวลาในการพัฒนา</strong></td>
              <td rowspan="2" align="center" valign="middle" nowrap="nowrap" bgcolor="#CCCCCC"><strong>การขอรับการสนับสนุน<br />
                จากหน่วยงาน</strong></td>
              <td rowspan="2" align="center" valign="middle" nowrap="nowrap" bgcolor="#CCCCCC"><strong>ประโยชน์ที่คาดว่า<br />
                จะได้รับ</strong></td>
            </tr>
            <tr>
              <td align="center" valign="middle" nowrap="nowrap" bgcolor="#CCCCCC"><strong>เริ่มต้น</strong></td>
              <td align="center" valign="middle" nowrap="nowrap" bgcolor="#CCCCCC"><strong>สิ้นสุด</strong></td>
            </tr></thead>
            <?php 
				  	$sql_diswork = $db->query("select * from tb_user_develops where tb_teacher_id ='".$_SESSION['sessionuser_id']."' order by tb_performance_id,tb_performance_group_id,tb_performance_detail_id asc ");
					$num_diswork = $db->num_rows($sql_diswork);
					if($num_diswork>0){
					$i=1;
					while($fetch_diswork=$db->fetch_array($sql_diswork)){
				  ?>
            <tr>
              <td align="center" valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><?php print $i;?>.</td>
              <td valign="top" bgcolor="#FFFFFF"><?php echo $disp->display_performancename($fetch_diswork['tb_performance_id']);?> &gt; <?php echo $disp->display_performancegroupname($fetch_diswork['tb_performance_group_id']);?> &gt; <?php echo $disp->display_performancedetailname($fetch_diswork['tb_performance_detail_id']);?></td>
              <td valign="top" bgcolor="#FFFFFF"><?php print $fetch_diswork['tb_user_develop_method'];?></td>
              <td align="center" valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><?php print display_date($fetch_diswork['tb_user_develop_datestart'],"shortthai")?></td>
              <td align="center" valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><?php print display_date($fetch_diswork['tb_user_develop_dateend'],"shortthai")?></td>
              <td valign="top" bgcolor="#FFFFFF"><?php print $fetch_diswork['tb_user_develop_support'];?></td>
              <td valign="top" bgcolor="#FFFFFF"><?php print $fetch_diswork['tb_user_develop_benefit'];?></td>
            </tr>
            <?php $i++;
					  }
					  
				  }else{?>
            <tr>
              <td colspan="7" align="center" bgcolor="#FFFFFF"><span class="style3">ยังไม่มีข้อมูล</span></td>
            </tr>
            <?php }
				  ?>
        </table></td>
      </tr>
      <tr>
        <td valign="top" bgcolor="#FFFFFF">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top" bgcolor="#FFFFFF">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top" bgcolor="#FFFFFF"><table width="95%" border="0" align="center" cellpadding="2" cellspacing="2" style="line-height:24px;">
            <tr>
              <td>&nbsp;</td>
              <td align="right" nowrap="nowrap">ความเห็นของผู้บังคับบัญชา...................................................</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td align="right">....................................................................................</td>
            </tr>
            <tr>
              <td width="50%" align="center">ลงชื่อ.................................................................</td>
              <td width="50%" align="right">ลงชื่อ................................................................</td>
            </tr>
            <tr>
              <td align="center">(<span class="printstyle">&nbsp;&nbsp;<?php print $_SESSION['sessionuser_name'];?> <?php print $_SESSION['sessionuser_sername'];?>&nbsp;&nbsp;</span>)</td>
              <td align="right">(............................................................)</td>
            </tr>
            <tr>
              <td align="center">ผู้จัดทำแผนพัฒนาตนเอง</td>
              <td align="right">ตำแหน่ง.............................................................. </td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
<?php 
	}else{
?>
<script language="javascript">window.location.href = 'login.php'</script>
<?php
	}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit