<?php require_once('Connections/project.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? doubleval($theValue) : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } } @session_start(); if($_SESSION['UserID'] == "") { echo "Please Login!"; exit(); } mysql_connect("localhost","root","root"); mysql_select_db("project"); $strSQL = "SELECT * FROM member,scorep WHERE UserID = '".$_SESSION['UserID']."' "; $objQuery = mysql_query($strSQL); $objResult = mysql_fetch_array($objQuery); ?> <?php require_once('mpdf/mpdf.php'); ob_start(); ?> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> <style type="text/css"> <!-- @page rotated { size: landscape; } .style1 { font-family: "TH SarabunPSK"; font-size: 18pt; font-weight: bold; } .style2 { font-family: "TH SarabunPSK"; font-size: 16pt; font-weight: bold; } .style3 { font-family: "TH SarabunPSK"; font-size: 16pt; } .style5 {cursor: hand; font-weight: normal; color: #000000;} .style9 {font-family: Tahoma; font-size: 12px; } .style11 {font-size: 12px} .style13 {font-size: 9} .style16 {font-size: 9; font-weight: bold; } .style17 {font-size: 12px; font-weight: bold; } --> </style> <!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"> <html> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> </head> <body> <div align="right">แบบ ป.กพม. 1 </div> <center> <table width="100" border="0" align="center"> <tr> <td><center> แบบประเมินการปฏิบัติราชการพนักงานมหาวิทยาลัยสายวิชาการ </center> <br /> <center> มหาวิทยาลัยราชภัฏจันทรเกษม </center> <center> (ชุดที่ 1: สายวิชาการ) </center> <br /> <center> (ประเมินผลการปฏิบัติงาน) </center> <br /> <center> สังกัด <?php echo $objResult["Under"];?> </center></td> </tr> </table> </center> <table width="703" border="0" align="center"> <tr> <td><strong>รอบการประเมิน </strong><strong> <?php echo $objResult["roup"];?> <?php echo $objResult["year1"];?></strong><br> ชื่อผู้รับการประเมิน <?php echo $objResult["Username"];?> <br> ตำแหน่ง <?php echo $objResult["Positiona"];?> ประเภทตำแหน่ง <?php echo $objResult["Positionp"];?><br> สังกัด <?php echo $objResult["Under"];?><br> ชื่อผู้บังคับบัญชา/ผู้ประเมิน <?php echo $objResult["Nameban"];?> ตำแหน่ง.<?php echo $objResult["Positionr"];?></td> </tr> </table>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง