<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>
			CETAK-
			<?php 
			$login = $this->login;
			if(!empty($login['kd_user'])){
				echo $login['kd_user'];
			}
			?> 
			<?php echo $this->baseTitle ?>
		</title>
        <link href="<?php echo $this->baseUrl ?>assets/css/screenPrint.css" 
              rel="stylesheet" type="text/css" media="screen,print" />
        <link href="<?php echo $this->baseUrl ?>assets/css/print.css" 
              rel="stylesheet" type="text/css" media="print" />
		<script src="<?php echo $this->baseUrl ?>assets/js/jquery-1.7.2.min.js" type="text/javascript"></script>
		<script src="<?php echo $this->baseUrl ?>assets/js/jquery.printPage.js" type="text/javascript"></script>
	</head>
	<body>
		<div id="body">
<?php
$fontSize = '12';
if(!empty($this->set->fontSize)){
	$fontSize = $this->set->fontSize;
}
?>
		<style>
		<?php if(!empty($this->data->widthPaper)){ ?>
		#body{
			width: <?php echo $this->data->widthPaper ?>px;
		}
		<?php } ?>

		._judul{
			font-size: 16px;
			font-weight: bold;
			text-align: center;
		}
		._periode{
			font-size: 12px;
			text-align: center;
			margin-top: 5px;
		}
		.lapTable{
			font-size: 8px;
			border: 1px solid #000;
			margin-top: 5px;
		}
		.lapTable th{
			padding: 3px;
			font-size: <?php echo $fontSize ?>px;
			background-color: #cfcfcf;
			border: 1px solid #000;
		}
		.lapTable tr td{
			padding: 3px;
			font-size: <?php echo $fontSize ?>px;
			border-left: 1px solid #000;
			border-right: 1px solid #000;
			vertical-align: top;
		}
		._groupTable{
			padding: 3px;
			font-size: <?php echo $fontSize ?>px;
			background-color: #cfcfcf;
			border: 1px solid #000;
			font-weight: bold;
		}
		._buttonPost{
			border: none;
			background-color: #cfcfcf;
			font-size: 8pt;
			font-weight: bold;
			padding-top: 2px;
			font-family: verdana;
		}
		._right{
			text-align: right;
		}
		.hitGroup{
			border-top: 2px solid #000;
			border-bottom: 1px solid #000;
			text-align: right;
		}
		._ttd{
			background-color: #fff;
			border-top: 1px solid #000;
		}
		</style>
		<div style="width: 100%">
			<?php echo $this->data->data ?>
		</div>
		
		</div>
	</body>
</html>

<script type="text/javascript">
	$("#printAuto").printPage({
		attr: 'alt',
	});
</script>