-=[ Mr. Bumblebee ]=-
_Indonesia_
<?php
################################################
// include
################################################
include $_SERVER['DOCUMENT_ROOT'] . '/inc/config.php' ;
################################################
$temp_writeDate = date("Ymd_His");
$fileName = "ÁÖ¹®°ü¸®_" . $temp_writeDate . ".xls";
header( "Content-type: application/vnd.ms-excel" );
header( "Content-Disposition: attachment; filename=$fileName" );
header( "Content-Description: PHP4 Generated Data" );
// admin_check();
//if(!(empty($search)){$search}
$total = $exe->qry_alllist ( " from tbl_order where 1 " .
" order by numid desc " , " numid , date_format(write_date,'%Y-%m-%d') as write_date , ordertitle, oname , otel, ohp, rname , rhp, rtel, raddr1 , raddr2, result_price " , $total ) ;
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="9" height="1" bgcolor="#92BE7C">Çʵå»çÄ¿</td>
</tr>
<tr>
<td align="center" bgcolor="#E9F5E3" >¹øÈ£</td>
<td align="center" bgcolor="#E9F5E3" >ÁÖ¹®ÀÏÀÚ</td>
<td align="center" bgcolor="#E9F5E3" >ÁÖ¹®¸í</td>
<td align="center" bgcolor="#E9F5E3" >ÁÖ¹®ÇÑ ºÐ</td>
<td align="center" bgcolor="#E9F5E3" >ÁÖ¹®ÇÑ ºÐ ¿¬¶ôó</td>
<td align="center" bgcolor="#E9F5E3" >¹Þ´Â ºÐ</td>
<td align="center" bgcolor="#E9F5E3" >¹Þ´Â ºÐ ¿¬¶ôó</td>
<td align="center" bgcolor="#E9F5E3" >¹Þ´Â ºÐ ÁÖ¼Ò</td>
<td align="center" bgcolor="#E9F5E3" >ÁÖ¹®Ãѱݾ×</td>
</tr>
<tr>
<td colspan="9" height="1" bgcolor="#92BE7C"></td>
</tr>
<?
$count=1;
while ( $rs = $exe->fetch ( $total['execute'] )){
?>
<tr >
<td align="center" height="30"><?=$count?></td>
<td align="center" style=cursor:hand; onClick="location.href='$page_info[link]'" onMouseOver="this.style.backgroundColor='#FBF9DB'" onMouseOut="this.style.backgroundColor=''"><?=$rs[write_date]?></td>
<td align="center" style=cursor:hand; onClick="location.href='$page_info[link]'" onMouseOver="this.style.backgroundColor='#FBF9DB'" onMouseOut="this.style.backgroundColor=''"><?=$rs[ordertitle]?></td>
<td align="center" style=cursor:hand; onClick="location.href='$page_info[link]'" onMouseOver="this.style.backgroundColor='#FBF9DB'" onMouseOut="this.style.backgroundColor=''"><font color='blue'><?=$rs[oname] ?></font></td>
<td align="center" style=cursor:hand; onClick="location.href='$page_info[link]'" onMouseOver="this.style.backgroundColor='#FBF9DB'" onMouseOut="this.style.backgroundColor=''"><font color='blue'><?=$rs[otel] ?> / <?=$rs[ohp] ?></font></td>
<td align="center" style=cursor:hand; onClick="location.href='$page_info[link]'" onMouseOver="this.style.backgroundColor='#FBF9DB'" onMouseOut="this.style.backgroundColor=''"><font color='blue'><?=$rs[rname] ?></font></td>
<td align="center" style=cursor:hand; onClick="location.href='$page_info[link]'" onMouseOver="this.style.backgroundColor='#FBF9DB'" onMouseOut="this.style.backgroundColor=''"><font color='blue'><?=$rs[rtel] ?> / <?=$rs[rhp] ?></font></td>
<td align="center" style=cursor:hand; onClick="location.href='$page_info[link]'" onMouseOver="this.style.backgroundColor='#FBF9DB'" onMouseOut="this.style.backgroundColor=''"><font color='blue'><?=$rs[raddr1] ?> <?=$rs[raddr2] ?></font></td>
<td align="center" ><?=$rs[result_price]?> ¿ø</td>
</tr>
<tr>
<td colspan="9" height="1" bgcolor="#cccccc"></td>
</tr>
<?
$count++;
}
?>
</table>
Copyright © 2017 || Recoded By Mr.Bumblebee