<commit_before><?php
require 'core/init.php';
if (isset($_GET['successvalid']) && empty($_GET['successvalid'])) {
	echo 'Profile edit saved successfully';
}
if (isset($_GET['successpass']) && empty($_GET['successpass'])) {
	echo 'Password changed successfully';
}
session_start();
if($general->logged_in()){

	if(isset($_SESSION['user_name'])){
		$record=$users->userData($_SESSION['user_name']);
		?>
		<html>
		<head>
			<title>Profile</title>
			<link rel="stylesheet" type="text/css" href="css/style.css" >
		</head>
		<body>
			<div id="container">
				<ul>
					<li><a href="index.php">Home</a></li>
					<li><a href="edit.php">edit</a></li>
					<li><a href="resetpass.php">Reset Password</a></li>
					<li><a href="logout.php">Logout</a></li>
					<li><a href="test.php">Exam Portal</a></li>


				</ul>
				<table border="solid black">
					<tr>
						
						<td colspan="2"><img src=<?php echo $record['photo']?> height="200px" width="200px"></td>
					</tr>
					<tr>
						<td>First Name:</td>
						<td><?php echo $record['first_name']?></td>
					</tr>
					<tr>
						<td>Last Name:</td>
						<td><?php echo $record['last_name']?></td>
					</tr>
					<tr>
						<td>Birth Date:</td>
						<td><?php echo $record['birth']?></td>
					</tr><commit_msg>Updated Site 2.0<commit_after><?php
require 'core/init.php';
if (isset($_GET['successvalid']) && empty($_GET['successvalid'])) {
	echo 'Profile edit saved successfully';
}
if (isset($_GET['successpass']) && empty($_GET['successpass'])) {
	echo 'Password changed successfully';
}
session_start();
if($general->logged_in()){

	if(isset($_SESSION['user_name'])){
		$record=$users->userData($_SESSION['user_name']);
		?>
		<html>
		<head>
			<title>Profile</title>
			<link rel="stylesheet" type="text/css" href="css/style.css" >
		</head>
		<body>
			<div id="container">
				<ul>
					<li><a href="index.php">Home</a></li>
					<li><a href="edit.php">edit</a></li>
					<li><a href="resetpass.php">Reset Password</a></li>
					<li><a href="logout.php">Logout</a></li>
					<li><a href="test.php">Exam Portal</a></li>
                    <li><a href="questions.php">New Exam Portal</a></li>


				</ul>
				<table border="solid black">
					<tr>
						
						<td colspan="2"><img src=<?php echo $record['photo']?> height="200px" width="200px"></td>
					</tr>
					<tr>
						<td>First Name:</td>
						<td><?php echo $record['first_name']?></td>
					</tr>
					<tr>
						<td>Last Name:</td>
						<td><?php echo $record['last_name']?></td>
					</tr>
					<tr>
						<td>Birth Date:</td>
						<td><?php echo $record['birth']?></td>
					</tr>
{'fraction_non_alphanumeric': 0.24406130268199233, 'fraction_numerical': 0.006130268199233717, 'mean_word_length': 3.478559176672384, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 129, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2297333', 'n_tokens_mistral': 1188, 'n_tokens_neox': 946, 'n_words': 165}