<?php ob_start(); session_start(); error_reporting(0); define('ELKATEK_ELEKTRONIK_YENIYOL', false); define('ELKATEK_ELEKTRONIK_Panel-Content', false); include_once "../../library/Elkatek_Connection.php"; include_once "../library/functions.php"; $islem = new Eretna_Araclar(); $id = intval($_GET['id']); ########################################## SİPARİŞ BİLGİLERİ ############################################## $sorgu = @mysql_query("SELECT * FROM siparis WHERE id=" . $id . " LIMIT 1"); $yaz = @mysql_fetch_assoc($sorgu); header("Content-Type: application/vnd.ms-excel"); header("Content-disposition: attachment; filename=siparis_" . $id . ".xls"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Sipariş Bilgilerini Yazdır</title> <link href="../css/print.css" rel="stylesheet" type="text/css" media="print" /> <link href="../css/print.css" rel="stylesheet" type="text/css" media="screen" /> </head> <body> <table width="650" border="1" cellspacing="0" cellpadding="0" align="center"> <tr> <td align="center"><h2>Sipariş / Teslimat Bilgileri</h2></td>
<?php ob_start(); session_start(); error_reporting(0); define('ELKATEK_ELEKTRONIK_YENIYOL', false); define('ELKATEK_ELEKTRONIK_Panel-Content', false); include_once "../../library/Elkatek_Connection.php"; include_once "../library/functions.php"; $islem = new Eretna_Araclar(); $yaz = @mysql_fetch_assoc($sorgu); header("Content-Type: application/vnd.ms-excel"); header("Content-disposition: attachment; filename=bulten_" . date("d-m-Y") . ".xls"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Sipariş Bilgilerini Yazdır</title> <link href="../css/print.css" rel="stylesheet" type="text/css" media="print" /> <link href="../css/print.css" rel="stylesheet" type="text/css" media="screen" /> </head> <body> <table border="1"> <thead> <tr> <th>No</th> <th>Tarih</th> <th>E-Posta</th>