| Server IP : 104.21.80.248 / 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 : E:/Inetpub/www/myschool/triamudom/check/webadmin/ |
Upload File : |
<?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'];
$tb_teacher_id = $_REQUEST['tb_teacher_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="../id-plan/images/cbcscbmenu.css" type="text/css" />
<link href="../id-plan/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="750" 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_userdetail = $db->query("select * from tb_teachers where tb_teacher_id='".$tb_teacher_id."' ");
$fetch_userdetail = $db->fetch_array($sql_userdetail);
?>
<tr>
<td align="center" valign="top" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#FFFFFF"><strong><span class="style5">แบบฟอร์ม</span></strong></td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#FFFFFF"><strong><span class="style6">แผนพัฒนาตนเอง ( สำหรับครู )</span></strong></td>
</tr>
<tr>
<td valign="top" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td valign="top" bgcolor="#FFFFFF"><strong>ส่วนที่ 1 ข้อมูลส่วนบุคคล </strong></td>
</tr>
<tr>
<td valign="top" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td valign="top" bgcolor="#FFFFFF"><table width="95%" border="0" align="center" cellpadding="5" cellspacing="2">
<tr>
<td width="24%" align="left" nowrap="nowrap" bgcolor="#FFFFFF"><strong>เลขที่ตำแหน่ง : </strong></td>
<td width="31%" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_teacher_number" type="text" class="printstyle" id="tb_teacher_number" value="<?php print $fetch_userdetail['tb_teacher_number'];?>" size="5" readonly="" /></td>
<td width="13%" align="right" nowrap="nowrap" bgcolor="#FFFFFF"><strong>ชื่อ - สกุล : </strong></td>
<td width="32%" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_teacher_name" type="text" class="printstyle" id="tb_teacher_name" size="25" value="<?php print $fetch_userdetail['tb_teacher_name'];?>" readonly="" /></td>
</tr>
<tr>
<td align="left" nowrap="nowrap" bgcolor="#FFFFFF"><strong>ตำแหน่ง : </strong></td>
<td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_teacher_position" type="text" class="printstyle" id="tb_teacher_position" size="20" value="<?php print $disp->display_positionname($fetch_userdetail['tb_teacher_position']);?>" readonly="" /></td>
<td align="right" valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><strong>วิทยฐานะ : </strong></td>
<td valign="top" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_teacher_name" type="text" class="printstyle" id="tb_teacher_name" size="25" value="<?php print $disp->display_academicname($fetch_userdetail['tb_academic_id']);?>" readonly="" /></td>
</tr>
<tr>
<td colspan="2" align="left" nowrap="nowrap" bgcolor="#FFFFFF"><strong>ระยะเวลาดำรงตำแหน่งปัจจุบัน :</strong>
<input name="tb_teacher_name" type="text" class="printstyle" id="tb_teacher_name" size="1" value="<?php print $fetch_userdetail['tb_teacher_time'];?>" readonly="" />
<strong>ปี</strong></td>
<td align="right" nowrap="nowrap" bgcolor="#FFFFFF"><strong>เบอร์โทร : </strong></td>
<td align="left" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_teacher_phone" type="text" class="printstyle" id="tb_teacher_phone" size="25" value="<?php print $fetch_userdetail['tb_teacher_phone'];?>" readonly="" /></td>
</tr>
<tr>
<td align="left" nowrap="nowrap" bgcolor="#FFFFFF"><strong>กลุ่มสาระฯ : </strong></td>
<td colspan="3" align="left" nowrap="nowrap" bgcolor="#FFFFFF"><input name="tb_teacher_phone2" type="text" class="printstyle" id="tb_teacher_phone2" size="40" value="<?php print $disp->display_departmentname($fetch_userdetail['tb_department_id']);?>" readonly="" /></td>
</tr>
<tr bgcolor="#03b4fe">
<td colspan="4" align="left" nowrap="nowrap" bgcolor="#FFFFFF"><strong>วุฒิการศึกษา</strong></td>
</tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="22%" nowrap="nowrap"><img src="../id-plan/images/arrow-icon1.gif" width="9" height="9" align="absmiddle" /> ต่ำกว่าปริญญาตรี </td>
<td width="28%" align="center" nowrap="nowrap"><input name="tb_teacher_edudown" type="text" class="printstyle" id="tb_teacher_edudown" value="<?php print $fetch_userdetail['tb_teacher_edudown'];?>" size="30" readonly="" /></td>
<td width="12%" align="center" nowrap="nowrap">วิชาเอก</td>
<td width="38%" nowrap="nowrap"><input name="tb_teacher_majordown" type="text" class="printstyle" id="tb_teacher_majordown" size="30" value="<?php print $fetch_userdetail['tb_teacher_majordown'];?>" readonly="" /></td>
</tr>
<tr>
<td nowrap="nowrap"><img src="../id-plan/images/arrow-icon1.gif" width="9" height="9" align="absmiddle" /> ปริญญาตรี หรือ เทียบเท่า </td>
<td align="center" nowrap="nowrap"><input name="tb_teacher_edutee" type="text" class="printstyle" id="tb_teacher_edutee" value="<?php print $fetch_userdetail['tb_teacher_edutee'];?>" size="30" readonly="" /></td>
<td align="center" nowrap="nowrap">วิชาเอก</td>
<td nowrap="nowrap"><input name="tb_teacher_majortee" type="text" class="printstyle" id="tb_teacher_majortee" size="30" value="<?php print $fetch_userdetail['tb_teacher_majortee'];?>" readonly="" /></td>
</tr>
<tr>
<td nowrap="nowrap"><img src="../id-plan/images/arrow-icon1.gif" width="9" height="9" align="absmiddle" /> ปริญญาโทหรือ เทียบเท่า </td>
<td align="center" nowrap="nowrap"><input name="tb_teacher_edutro" type="text" class="printstyle" id="tb_teacher_edutro" value="<?php print $fetch_userdetail['tb_teacher_edutro'];?>" size="30" readonly="" /></td>
<td align="center" nowrap="nowrap">วิชาเอก</td>
<td nowrap="nowrap"><input name="tb_teacher_majortro" type="text" class="printstyle" id="tb_teacher_majortro" size="30" value="<?php print $fetch_userdetail['tb_teacher_majortro'];?>" readonly="" /></td>
</tr>
<tr>
<td nowrap="nowrap"><img src="../id-plan/images/arrow-icon1.gif" width="9" height="9" align="absmiddle" /> ปริญญาเอก หรือ เทียบเท่า </td>
<td align="center" nowrap="nowrap"><input name="tb_teacher_eduek" type="text" class="printstyle" id="tb_teacher_eduek" value="<?php print $fetch_userdetail['tb_teacher_eduek'];?>" size="30" readonly="" /></td>
<td align="center" nowrap="nowrap">วิชาเอก</td>
<td nowrap="nowrap"><input name="tb_teacher_majorek" type="text" class="printstyle" id="tb_teacher_majorek" size="30" value="<?php print $fetch_userdetail['tb_teacher_majorek'];?>" readonly="" /></td>
</tr>
<tr>
<td nowrap="nowrap"><img src="../id-plan/images/arrow-icon1.gif" width="9" height="9" align="absmiddle" /> อื่นๆ(โปรดระบุ)</td>
<td align="center" nowrap="nowrap"><input name="tb_teacher_eduother" type="text" class="printstyle" id="tb_teacher_eduother" value="<?php print $fetch_userdetail['tb_teacher_eduother'];?>" size="30" readonly="" /></td>
<td align="center" nowrap="nowrap">วิชาเอก</td>
<td nowrap="nowrap"><input name="tb_teacher_majorother" type="text" class="printstyle" id="tb_teacher_majorother" size="30" value="<?php print $fetch_userdetail['tb_teacher_majorother'];?>" readonly="" /></td>
</tr>
<tr>
<td colspan="4" nowrap="nowrap"><strong>เงินเดือน อันดับ คศ
<input name="tb_teacher_money1" type="text" class="printstyle" id="tb_teacher_money1" size="20" value="<?php print $fetch_userdetail['tb_teacher_money1'];?>" readonly="" />
ขั้น
<input name="tb_teacher_money2" type="text" class="printstyle" id="tb_teacher_money2" size="10" value="<?php print $fetch_userdetail['tb_teacher_money2'];?>" readonly="" />
อัตราเงินเดือน
<input name="tb_teacher_money3" type="text" class="printstyle" id="tb_teacher_money3" size="5" value="<?php print $fetch_userdetail['tb_teacher_money3'];?>" onblur="this.value=formatCurrency(this.value);" readonly="" />
บาท </strong></td>
</tr>
</table></td>
</tr>
<tr bgcolor="#03b4fe">
<td colspan="4" align="left" nowrap="nowrap" bgcolor="#FFFFFF"><strong>สถานที่ทำงาน ( 3 ลำดับล่าสุด ) </strong></td>
</tr>
<tr>
<td colspan="4" align="left"><table width="100%" border="0" cellspacing="3" cellpadding="3">
<tr>
<td width="25%" valign="top" nowrap="nowrap"><strong>1. โรงเรียน / หน่วยงาน </strong></td>
<td width="75%" ><?php if($fetch_userdetail['tb_teacher_school1']!="-"){?>
<span class="printstyle"><?php print $fetch_userdetail['tb_teacher_school1'];?></span>
<?php }else{?>
<input name="tb_teacher_money3" type="text" class="printstyle" id="tb_teacher_money3" value=" -" size="40" readonly="" />
<?php }?>
<strong>(ขณะที่ทำแผนพัฒนาตนเอง)</strong></td>
</tr>
<tr>
<td valign="top" nowrap="nowrap"><strong>2. โรงเรียน / หน่วยงาน </strong></td>
<td><?php if($fetch_userdetail['tb_teacher_school2']!="-"){?>
<span class="printstyle"><?php print $fetch_userdetail['tb_teacher_school2'];?></span>
<?php }else{?>
<input name="tb_teacher_money3" type="text" class="printstyle" id="tb_teacher_money3" value=" -" size="40" readonly="" />
<?php }?>
(หากมีการโอน / ย้าย)</td>
</tr>
<tr>
<td valign="top" nowrap="nowrap"><strong>3. โรงเรียน / หน่วยงาน </strong></td>
<td><?php if($fetch_userdetail['tb_teacher_school3']!="-"){?>
<span class="printstyle"><?php print $fetch_userdetail['tb_teacher_school3'];?></span>
<?php }else{?>
<input name="tb_teacher_money3" type="text" class="printstyle" id="tb_teacher_money3" value=" -" size="40" readonly="" />
<?php }?>
(หากมีการโอน / ย้าย)</td>
</tr>
</table></td>
</tr>
<tr bgcolor="#03b4fe">
<td colspan="4" align="left" nowrap="nowrap" bgcolor="#FFFFFF"><strong>งานในหน้าที่รับผิดชอบ</strong></td>
</tr>
<tr bgcolor="#03b4fe">
<td colspan="4" align="left" nowrap="nowrap" bgcolor="#FFFFFF"><?php
$sql_diswork = $db->query("select * from tb_works where tb_teacher_id ='".$tb_teacher_id."' ");
$num_diswork = $db->num_rows($sql_diswork);
if($num_diswork>0){
$totle=0;
while($fetch_diswork=$db->fetch_array($sql_diswork)){
$totle += $fetch_diswork['tb_work_time'];
?>
<table width="100%" border="0" cellspacing="3" cellpadding="3">
<tr>
<td width="62%" nowrap="nowrap"><strong>กลุ่มสาระที่สอน</strong> <span class="printstyle"><?php print $disp->display_departmentname($fetch_diswork['tb_department_id']);?> </span></td>
<td width="38%" nowrap="nowrap"><strong>ชั้น</strong> <span class="printstyle"> <?php print $disp->display_roomname($fetch_diswork['tb_room_id']);?> </span> </td>
</tr>
<tr>
<td nowrap="nowrap"> <strong>วิชาที่สอน</strong> <span class="printstyle"><?php print $fetch_diswork['tb_work_coursecode'];?> - <?php print $fetch_diswork['tb_work_coursename'];?></span></td>
<td nowrap="nowrap"><strong>จำนวนคาบ / สัปดาห์</strong> <span class="printstyle"> <?php print $fetch_diswork['tb_work_time'];?> </span> <strong>คาบ</strong></td>
</tr>
</table>
<?php
}
?>
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td><strong>รวม<span class="printstyle"> <?php print $totle;?> </span>คาบ/สัปดาห์</strong></td>
</tr>
</table>
<?php
}else{?>
<span class="style3">ยังไม่มีการบันทึกข้อมูล</span>
<?php } ?> </td>
</tr>
<tr bgcolor="#03b4fe">
<td colspan="4" align="left" bgcolor="#FFFFFF"><strong>งานพิเศษที่ได้รับมอบหมาย</strong> <?php if($fetch_userdetail['tb_teacher_workother']!="-"){?><span class="printstyle" style="line-height:24px;"><?php print $fetch_userdetail['tb_teacher_workother'];?> </span><?php }else{?><input name="tb_teacher_money3" type="text" class="printstyle" id="tb_teacher_money3" value=" -" size="40" readonly="">
<?php }?></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>