<?php session_start();
include_once ("../../functions/init.php");
include_once ($thisUrl."adm1n/functions/access.php");
include_once ($thisUrl."adm1n/functions/koneksi.php");
include_once ($thisUrl."functions/indonesian_date.php");
include_once ($thisUrl."adm1n/functions/getUrl.php");
include_once ($thisUrl."adm1n/functions/php_functions.php");
include_once ($thisUrl."adm1n/functions/request_data.php");

$laporan = (isset($_POST["laporan"]) ? $_POST["laporan"] : null);
$fileName = str_replace(".php", ".xls", $laporan);
$date_start = (isset($_POST["data_start"]) ? $_POST["data_start"] : null);
$date_end = (isset($_POST["data_end"]) ? $_POST["data_end"] : null);
$remark = (isset($_POST["remark"]) ? $_POST["remark"] : null);
$pic = (isset($_POST["pic"]) ? $_POST["pic"] : null);
$_transaksi = (isset($_POST["_transaksi"]) ? $_POST["_transaksi"] : null);
$row1 = (isset($_POST["row1"]) ? $_POST["row1"] : null);
$row2 = (isset($_POST["row2"]) ? $_POST["row2"] : null);
$row3 = (isset($_POST["row3"]) ? $_POST["row3"] : null);
$fileName = "test.xls";

header('Content-Type: application/vnd.ms-excel');
header('Content-Disposition: attachment;filename='.$fileName);
header('Cache-Control: max-age=0');
header ('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header ('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header ('Cache-Control: cache, must-revalidate');
header ('Pragma: public');
header("Content-type: application/vnd-ms-excel");
header("Content-Disposition: attachment; filename=".$fileName);


/**

/**


var_dump($jenis_transaksi);  
$jenis_transaksi = (isset($jenis_transaksi) ? $jenis_transaks : array());
if ($_transaksi) {
	$_transaksi = explode (',',$_transaksi);	
	foreach ($_transaksi as $arr) {
		$jenis_transaksi[] = $arr;
	}
}**/
$export = 1;
include_once (__DIR__ . "/component.php");
include ("laporan_exhibitor.php");?>