<?php
	
	if(empty($_GET['minus'])){ $_GET['minus'] = 1;}
	$user->set_bseite($_GET['minus']);
	
	$buchungen = $user->buchungen();
	
	

?>
<ul class="nav nav-pills mb-3" id="pills-tab" role="tablist">
	<li class="nav-item">
		<a class="nav-link active" id="pills-home-tab" data-toggle="pill" href="#pills-a" role="tab" aria-controls="pills-a" aria-selected="true">Buchungen Konto A</a>
	</li>
	<li class="nav-item">
		<a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-b" role="tab" aria-controls="pills-b" aria-selected="false">Buchungen Konto B</a>
	</li>
</ul>
<div class="tab-content" id="pills-tabContent">
	<div class="tab-pane fade show active" id="pills-a" role="tabpanel" aria-labelledby="pills-home-tab">
		<table class="table table-fluid tabgle-striped">
			<tr>
				<th>Zeit</th>
				<th>Buchung</th>
				<th><?php echo $waehrung;?></th>
				<th>Verwendungszweck</th>
				<th>TAN</th>
				<th>Kontobuchung erfolgreich</th>
			</tr>
			<?php echo $buchungen['A'];?>
		</table>
	</div>
	<div class="tab-pane fade" id="pills-b" role="tabpanel" aria-labelledby="pills-profile-tab">
		<table class="table table-fluid table-striped">
			<tr>
				<th>Zeit</th>
				<th>Buchung</th>
				<th><?php echo $waehrung;?></th>
				<th>Verwendungszweck</th>
				<th>TAN</th>
				<th>Kontobuchung erfolgreich</th>
			</tr>
			<?php echo $buchungen['B'];?>
		</table>
	</div>
</div>