<?php
include("checklogin.php");
?>

<html>

	<head>
		<title>Internal Page</title>
	</head>
	
	<body>
		User ID: <?php echo $_SESSION["user_id"]; ?><br>
		Username: <?php echo $_SESSION["uname"]; ?><br>
		Name: <?php echo $_SESSION["name"]; ?><input type="button" value="Edit" onclick="window.location.href = 'edit_name.php'"><br>
		Given Name: <?php echo $_SESSION["gname"]; ?><input type="button" value="Edit" onclick="window.location.href = 'edit_name.php'"><br>
		
		<input type="button" value="Edit Password" onclick="window.location.href = 'edit_password.php'"><br>
		
		<input type="button" value="Logout" onclick="window.location.href = 'logout.php'">
	</body>

</html>