<?php
    include('../loginsession.php');
    error_reporting(E_ALL);
    $filename = __FILE__;
    if (strlen(__FILE__) > 48) {$filename = substr(__FILE__, 48);}
    $save = mysqli_query($conn, "INSERT INTO novia_abc_user_logs (userid,filename) VALUES ('$userini_id','$filename')");
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//ID" "http://www.w3.org/TR/html4/frameset.dtd">
<html lang="id">
<head>
	<title>CATATAN 03</title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link href="../css/new.css" rel="stylesheet" type="text/css">
	<link href="../images/balance.ico" rel="icon" type="image/icon" />

	<style>
		body {
            margin: 0;
            background-color: #fff;
            color : #aaa;
            background-image : url('../images/main_bg.png');
            }
		a { text-decoration: none; color:inherit;}
		a:hover {color:#FF00FF;}   /* Mouse over link */
		
		.keterangan {
            font-family: Arial, sans-serif;
            font-size: 16px;
            color: #333;
            background-color: #f9f9f9;
            padding: 10px;
            margin: 50px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
            max-width: 400px;
        }
		.box{
			max-width: 100px;
			/*margin: 0px 0 0 100px;*/
			margin-left: 50px;
			font-family: "Time New Roman";
		}
		.box1{
			font-family: "Time New Roman";
		}
	
    </style>	
</head>
<body>
<br>
<a href="../coding/coding_main.php" title="Lihat Keuangan Hari ini"><button style="padding : 10px; width:100%; background-color:#546E7A;">CODING</button></a>
<br>
<br>
    <div><a href="../index.php"><img src="../images/logo_brown.png" alt="Deskripsi Gambar" width="100%" height="auto"></a></div>
	
	<br>
	
	<div class="box">
        <img src="../images/greenmap.png" alt="Deskripsi gambar" width="100" height="100">
		<div align="center">Keterangan</div>
    </div>
	<br>
	<div class="box">
        <a href="../index.php"><img src="../images/Vespa.ico" alt="Deskripsi gambar" width="100" height="auto"></a>
		<div align="center">Meditasi</div>
    </div>
	
	<div class="keterangan">
        Keterangan: Ini adalah contoh deskripsi atau informasi yang dapat diletakkan dalam elemen. 
        Styling pada elemen ini memberikan tampilan yang lebih menarik dan mudah dibaca.<br>
        <?php
        echo $userini_username."<br>";
        echo $userini_name."<br>";
        echo $userini_id."<br>";
        ?>
    </div>
    
    <br>
    <br>
<?php

        $iduser = 3;
        $query = mysqli_query($conn, "SELECT * FROM novia_abc_users WHERE id='$iduser'");
        if ($query) {
            $userData = mysqli_fetch_array($query);
            if ($userData) {
                $username = $userData['username'];
            } else {
                //echo "Data pengguna tidak ditemukan.";
            }
        } else {
            //echo "Kueri gagal dieksekusi.";
        }


?>
</body>