<commit_before><!DOCTYPE html>
<html>
<<<<<<< Updated upstream
<head>
    <title>My Bibliographies</title>
		<meta charset="utf-8" />
		<link rel="stylesheet" type="text/css" href="main.css" />
</head>
<body>
    <?php require 'header.php' ?>
    <h1>My Bibiographies</h1>
    <!--Add a list of Bibliographies based on the query 
    "SELECT bibliographies.name 
    FROM bibliographies, users 
    WHERE users.userID = (ID of the current user) AND users.userID = bibliographies.userID"-->
    <?php
        require "dbconnect.php";
        session_start();
        $currentUser=$_SESSION['name'];
        $conn = dbconnect();

    		        $query = "SELECT *  
                              FROM bibliographies 
                              WHERE userID = :currentUser";
    		        
	        $stid = oci_parse($conn,$query);
			oci_bind_by_name($stid, ":currentUser", $currentUser);
        	oci_execute($stid,OCI_DEFAULT);
            	
            while($objResult = oci_fetch_array($stid,OCI_BOTH))  
            {
               foreach($objResult as $item)
               {
       ?>
                   <a href="add_citation_manual.php?bID=<?php=$objResult["bID"];?>"><?php echo $objResult["name"];?></a>
       <?php 
               }
            }
        ?>
        </table>
        <?php
            oci_commit($stid);
            oci_free_statement($stid);
            oci_close($conn); 
        ?>
    </body>
</html>
>>>>>>> Stashed changes
<commit_msg>Fixed changes<commit_after><!DOCTYPE html>
<html>
<head>
    <title>My Bibliographies</title>
		<meta charset="utf-8" />
		<link rel="stylesheet" type="text/css" href="main.css" />
</head>
<body>
    <?php require 'header.php' ?>
    <h1>My Bibiographies</h1>
    <!--Add a list of Bibliographies based on the query 
    "SELECT bibliographies.name 
    FROM bibliographies, users 
    WHERE users.userID = (ID of the current user) AND users.userID = bibliographies.userID"-->
    <?php
        require "dbconnect.php";
        session_start();
        $currentUser=$_SESSION['name'];
        $conn = dbconnect();

    		        $query = "SELECT *  
                              FROM bibliographies 
                              WHERE userID = :currentUser";
    		        
	        $stid = oci_parse($conn,$query);
			oci_bind_by_name($stid, ":currentUser", $currentUser);
        	oci_execute($stid,OCI_DEFAULT);
            	
            while($objResult = oci_fetch_array($stid,OCI_BOTH))  
            {
               foreach($objResult as $item)
               {
       ?>
                   <a href="add_citation_manual.php?bID=<?php=$objResult["bID"];?>"><?php echo $objResult["name"];?></a>
       <?php 
               }
            }
        ?>
        </table>
        <?php
            oci_commit($stid);
            oci_free_statement($stid);
            oci_close($conn); 
        ?>
    </body>
</html>

{'fraction_non_alphanumeric': 0.14517801590044935, 'fraction_numerical': 0.002073971655720705, 'mean_word_length': 1.8151750972762646, 'pattern_counts': {'":': 2, '<': 56, '<?xml version=': 0, '>': 56, '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': '1510781', 'n_tokens_mistral': 924, 'n_tokens_neox': 864, 'n_words': 165}