<?php
	require_once("config/connect.php");
	require_once("global_functions.php");
	#check_login('', '', 'ENABLERKEY_CEKARTE');
?>
<head>
	<meta charset="utf-8">
	<title>SITPOS CE Karte</title>
	<?php echo PAGE_CACHE_OFF; ?>
	<script src="jquery/jquery-2.1.1.min.js"></script>
	<script src="jquery/jquery-ui1.11.4.js"></script>
	<script src="include/global_js_functions.js"></script>



	<link rel="stylesheet" type="text/css" href="include/menue.css">
	<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css">
	<style type="text/css">
		<?php include 'include/main.css'; ?>
		<?php include 'include/menue.css'; ?>
		
		#wrapper {display:block;}
	</style>
	
	<script>
		gastroVersion="<?php echo strtolower(GASTRO_VERSION); ?>";
		warenkorbAblageVersion="<?php echo strtolower(WARENKOERBE_ABLEGEN); ?>";
		
		function ceCardBalance(termName, termId){
			$("#loadKarteBalance").attr('src', 'include/cardPayment/function_karte.php?terminalId=12345678&zahlbetrag="0.00"&zahlartName=""&funktion=balance');
			
		}
		
	</script>

</head>
<body>

	<div id="wrapper" class="wrapper">
		<div id="generalDialog" ></div>
		<?php  menue_anzeigen(true);  ?>
	
		<div class="cclear"></div>
	
		<div id="lieferscheineContent" >
			<h1>CE Karte Balance !!! unfertig !!!</h1>
			
			<?php
				$zahlTerm=mysql_query("SELECT * FROM zahlungsterminal");
				while($zTermRow=mysql_fetch_array($zahlTerm)){
					$termName=$zTermRow['terminal_name'];
					$termId=$zTermRow['terminal_id'];
					echo "<button id='' class='button_none_float payTerminalBalaceBut orange' onclick=\"ceCardBalance('".$termName."', '".$termId."')\" >CE Karte ".$termName." Abschluss</button>";
					
				}
			
			
			
			?>
			
			
	
	
	
	
		<hr />
				<div class="cclear" ></div>
				<iframe style="width:96%; height:25%; overflow:auto;" id="loadKarteBalance" ></iframe>
				
		<div id="ceTermBalanceRes" style="width:96%; height:55%; overflow:auto; background:#dfd;"></div>
	
	
	
	
	
	
	
	
	
	
		</div> <!-- Content ende --> 	
	</div> <!-- Wrapper ende -->
</body>
</html>



































