<commit_before><<<<<<< HEAD
w<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" context="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="description" content="">
    <link rel="stylesheet" href="<?= base_url('assets/css/style.css'); ?>">
    <title> Products </title>

    <link href="<?php echo base_url('assets/css/bootstrap.min.css') ?>" rel="stylesheet">
    <link href="<?php echo base_url('assets/css/font-awesome.min.css') ?>" rel="stylesheet">
</head>
<body>
	<?php var_dump($this->session->userdata('user_session')) ?>
  <?php var_dump($products) ?>
  <?php var_dump($this->session->userdata('cart_items')) ?>

=======
<?php var_dump($this->session->userdata('user_session')) ?>
<?php $this->load->view('/templates/header') ?>
<?php $this->load->view('/templates/navbar') ?>
>>>>>>> 08d6d1fb035ba2f3ad044008d1517f059893f58c


	<h1>Products index</h1>
<div class="container">
 <h1>Products</h1>

<table class='table table-hover'>
  <tr>
    <th>Name</th>
    <th>Description</th>
    <th>Price</th>
    <th>Actions</th>
    <th> ADD CART</th>
  </tr>
  <?php
    foreach ($products as $product) {
   ?>
  <tr>
    <td><a href="products/show/<?= $product['id']?>"><?= $product['title'] ?></a></td>
    <td><?= $product['title'] ?></td>
    <td><?= $product['description'] ?></td>
    <td>$ <?= $product['price'] ?></td>
    <td>
      <!-- Products Action Dropdown button -->
    <div class="btn-group">
      <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        Action <span class="caret"></span><commit_msg>index updated<commit_after>
<?php var_dump($this->session->userdata('user_session')) ?>
<?php $this->load->view('/templates/header') ?>
<?php $this->load->view('/templates/navbar') ?>



	<h1>Products index</h1>
<div class="container">
 <h1>Products</h1>

<table class='table table-hover'>
  <tr>
    <th>Name</th>
    <th>Description</th>
    <th>Price</th>
    <th>Actions</th>
    <th> ADD CART</th>
  </tr>
  <?php
    foreach ($products as $product) {
   ?>
  <tr>
    <td><a href="products/show/<?= $product['id']?>"><?= $product['title'] ?></a></td>
    <td><?= $product['title'] ?></td>
    <td><?= $product['description'] ?></td>
    <td>$ <?= $product['price'] ?></td>
    <td>
      <!-- Products Action Dropdown button -->
    <div class="btn-group">
      <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        Action <span class="caret"></span>
{'fraction_non_alphanumeric': 0.2445187662578967, 'fraction_numerical': 0.015235971757710888, 'mean_word_length': 4.3096646942800785, 'pattern_counts': {'":': 0, '<': 118, '<?xml version=': 0, '>': 134, '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': '4721921', 'n_tokens_mistral': 974, 'n_tokens_neox': 955, 'n_words': 170}