<commit_before><html>
	
<head>
	
<title></title>

<script type="text/javascript"></script>

</head>

<body>

<button onclick="window.location='newuser.php?type=bar'">create business account</button>

<button onclick="window.location='newuser.php?type=user'">create user account</button>

<button onclick="window.location='userlogin.php'">user login</button>

<button onclick="window.location='barlogin.php'">bar login</button>

</body>

</html><commit_msg>changed index.php<commit_after><?php
session_save_path("D:\\");
session_start();

if(!isset($_SESSION['type'])){

    $_SESSION['type'] = "guest";

}

?>

<html>
	
<head>
	
<title>home</title>

<script type="text/javascript"></script>

</head>

<body>

<?php

if($_SESSION['type']=="user"){

    echo "Welcome ".$_SESSION['username']."!";

}else if($_SESSION['type']=="bar"){

    echo "Welcome ".$_SESSION['username']."!"; 

}else{

echo "
<button onclick=\"window.location='newuser.php?type=bar'\">create business account</button><br>
<button onclick=\"window.location='newuser.php?type=user'\">create user account</button><br>
<button onclick=\"window.location='userlogin.php'\">user login</button><br>
<button onclick=\"window.location='barlogin.php'\">bar login</button><br>
";

}

?>

</body>

</html>
{'fraction_non_alphanumeric': 0.22961203483768805, 'fraction_numerical': 0.0, 'mean_word_length': 6.391812865497076, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '6828548', 'n_tokens_mistral': 443, 'n_tokens_neox': 425, 'n_words': 64}