<html>
<head>
<title><? echo $_SESSION['nama']; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="smart.css" rel="stylesheet" type="text/css" media="all"/>
</head>
<body bgcolor=#def>	
<?
session_start();
if (empty($_SESSION['user']))
{ 	echo "User Kosong"; header( 'Location: index.html' ); }

?>
<p style="float: rigt;display:inline;">User : <? echo $_SESSION['user']."/".$_SESSION['hak']; ?></p>
<br><h3 style="display:inline;"><? echo $_SESSION['nama']; ?></h3><br>
<marquee width="250">
<? echo $_SESSION['pengumuman']; ?>
 </marquee>
 
<ul>
<h3>INPUT DATA</H3>
<li><a href="menumasuk.php"><input 
style="height:35px; font-size:14pt;width: 200px;padding: 10px 24px;border-radius: 8px;background-color: #33FF36;"

 type="submit" value="Pemasukan"></a></li>
<li><a href="menukeluar.php"><input 
style="height:35px; font-size:14pt;width: 200px;padding: 10px 24px;border-radius: 8px;background-color: #33FF36;"
 type="submit" value="Pengeluaran"></a></li>
<li><a href="jurnalumum.php"><input 
style="height:35px; font-size:14pt;width: 200px;padding: 10px 24px;border-radius: 8px;background-color: #33FF36;"
 type="submit" value="Jurnal Umum"></a></li>
<h3>LAPORAN</H3>

<li><a href="aruskas.php?bl=01"><input 
style="height:35px; font-size:14pt;width: 200px;padding: 10px 24px;border-radius: 8px;background-color: #E033FF;"
 type="submit" value="Kas Bulanan"></a></li>

<li><a href="neracasaldotgl.php?tgl1=<? echo date("Y-m-d"); ?>"><input 
style="height:35px; font-size:14pt;width: 200px;padding: 10px 24px;border-radius: 8px;background-color: #E033FF;"
 type="submit" value="Rekap"></a></li>
 
 <li><a href="bukujurnal.php"><input 
style="height:35px; font-size:14pt;width: 200px;padding: 10px 24px;border-radius: 8px;background-color: #E033FF;"
 type="submit" value="Jurnal"></a></li>

</form>

 <li><a href="neracasaldotgl4.php?tgl1=<? echo date("Y-m-d"); ?>"><input
style="height:35px; font-size:14pt;width: 200px;padding: 10px 24px;border-radius: 8px;background-color: #E033FF;"
 type="submit" value="LAPORAN"></a></li>

<h3>PENGATURAN</H3>

 <li><a href="bukuhapus.php"><input 
style="height:35px; font-size:14pt;width: 200px;padding: 10px 24px;border-radius: 8px;background-color: #337AFF;"
 type="submit" value="Hapus Transaksi"></a></li>

 <li><a href="anggaran2.php"><input 
style="height:35px; font-size:14pt;width: 200px;padding: 10px 24px;border-radius: 8px;background-color: #337AFF;"
 type="submit" value="Anggaran"></a></li>

<br>
<?
if ($_SESSION['hak']==9)
{
	?>
  <li><a href="listuser.php"><input 
style="height:35px; font-size:14pt;width: 200px;padding: 10px 24px;border-radius: 8px;background-color: #F3EC10;"
 type="submit" value="Pilih Komunitas"></a></li>
	<?
}
?>

<li><a href="logout.php"><input 
style="height:35px; font-size:14pt;width: 150px;padding: 10px 24px;border-radius: 8px;background-color: #BA200B;"


type="submit" value="KELUAR"></a></li>
</ul>
</body>
</html>