<commit_before><?php
/***********************************************
 * SET OF FUNCTIONS USED TO LAY OUT INDEX PAGE *
 ***********************************************/

 /* Create the menu for the <nav> bar in index */
 function create_menu()
 {
  $menu =  '<a href="index.php"> Accueil </a>';
  $menu .= '<a href="contact.php"> Contact </a>';

  $menu .= '<a href="register.php"> Inscription </a>';
  $menu .= '<a href="login.php"> Connexion </a>';

  return $menu;
 }

 /* Return a page definition with a title, filename and text */
 function create_page($page)
 {
   $pvalues = page_values($page);
   return new Page($pvalues[0], $pvalues[1], $pvalues[2]);
 }


 /* Set the Page object values depending on the GET[page] element*/
 function page_values($page)
 {
   switch($page){
     case 'index' :
       return $values = array('Accueil', 'index.php', 'Page d\'accueil');
       break;
     case 'contact' :
       return $values = array('Contact', 'contact.php', 'Page de contact');
       break;
     case 'register' :
       return $values = array('Inscription', 'register.php', 'Page d\'inscription');
       break;
     case 'login' :
       return $values = array('Connexion', 'login.php', 'Page de connexion');
       break;
     default :
       return $values = array('Accueil', 'index.php', 'Page d\'accueil');
       break;
   }
 }
?><commit_msg>Conflict by trying to include index.php resolved<commit_after><?php
/***********************************************
 * SET OF FUNCTIONS USED TO LAY OUT INDEX PAGE *
 ***********************************************/

 /* Create the menu for the <nav> bar in index */
 function create_menu()
 {
  $nav =  '<a href="index.php?page=index"> Accueil </a>';
  $nav .= '<a href="index.php?page=contact"> Contact </a>';

  $nav .= '<a href="index.php?page=register"> Inscription </a>';
  $nav .= '<a href="index.php?page=login"> Connexion </a>';

  echo $nav;
 }

 /* Return a page definition with a title, filename and text */
 function create_page($page)
 {
   $pvalues = page_values($page);
   return new Page($pvalues[0], $pvalues[1], $pvalues[2]);
 }


 /* Set the Page object values depending on the GET[page] element*/
 function page_values($page)
 {
   switch($page)
   {
     case 'index' :
       return $values = array('Accueil', 'welcome.php', 'Page d\'accueil');
       break;
     case 'contact' :
       return $values = array('Contact', 'contact.php', 'Page de contact');
       break;
     case 'register' :
       return $values = array('Inscription', 'register.php', 'Page d\'inscription');
       break;
     case 'login' :
       return $values = array('Connexion', 'login.php', 'Page de connexion');
       break;
     default :
       return $values = array('Accueil', 'welcome.php', 'Page d\'accueil');
       break;
   }
 }
?>
{'fraction_non_alphanumeric': 0.2284390591589451, 'fraction_numerical': 0.0021382751247327157, 'mean_word_length': 3.345201238390093, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '2805165', 'n_tokens_mistral': 865, 'n_tokens_neox': 853, 'n_words': 248}