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/event_calendar/public/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/pathumthani_eoffice/application/event_calendar/public/script.js
// JavaScript Document
 //เรียกใช้ function Ajax 
	someObject = function()
	{		
		this.messages=null;	
		this.url=null;	
		this.GetData = function()//ส่งค่าไปยัง page
			{                
				this.InitializeRequest('GET', this.url);				
				this.Commit( null);
			}			  
		this.OnLoading = function()//กำลังรอ
			{
			var	str_return='<br><br><div align="center"><font size="1" color="#000000"  style="font-weight:bold"  >';
			        str_return+='<img src="images/loading.gif" /><br>Pleate Wait...</font></div>';
				document.getElementById('detail').innerHTML =str_return;
			}
		this.OnSuccess = function()//มีการคืนค่ากลับมา
			{
			     var str_return=this.GetResponseText();			
			    document.getElementById('detail').innerHTML =str_return
			}	
	}
	someObject.prototype = new ajax();
	myObject = new someObject();	
	// Ajax 
	
 function Showdetail(senddate){
					myObject.url='detail.php?messagesid=' + Math.random()*1000+'&edate='+senddate+'&action=limit'			;
					myObject.GetData( );		          
	}	
 function showall(senddate){	  
 myleft=(screen.width)?(screen.width-700)/2:100;    
mytop=(screen.height)?(screen.height-500)/2:100;      
properties = " width=700,height=500,status=yes";
properties +=",menubar=no,scrollbars=yes, top="+mytop+",left="+myleft;  
url='detail.php?messagesid=' + Math.random()*1000+'&edate='+senddate+'&action=all' ;		
window.open(url,"",properties); 				
					
	}	

Anon7 - 2021