<commit_before><div id="exchanges-list-page">

<div id="filters">
<?php
echo $this->Html->link('mostrar filtros', '#', array('id'=>'toggle_filtros'));
echo $this->Form->create('Filter', array('id'=>'filters_form', 'url'=>$this->Html->url($this->here)));

echo $this->Form->input('query', array('label'=>'Búsqueda'));

echo $this->Form->input('exchange_type', array('multiple'=>'checkbox', 'options'=>Configure::read('ExchangeType.Names'), 'label'=>'Publicaciones'));

echo $this->Form->end('Filtrar');
?>
<div class="clear"></div>
</div>

<ul id="exchanges">
<?php foreach ($exchanges as $e) { ?>
        <li>
	<h3><?php echo $this->Html->link($e['Exchange']['title'], '/exchanges/view/'.$e['Exchange']['_id']); ?></h3>
	 <?php 
	 if ($this->Exchange->defaultPhotoUrl($e)) {
		 echo $this->Exchange->defaultPhoto($e); 
	 }
         ?>
<p class="datos-adicionales">
		  <span class="tipo "><strong><?php echo Configure::read('ExchangeType.Names.'.$e['Exchange']['exchange_type_id']); ?></strong></span> 
		  <span class=""><?= $this->Exchange->ubicacion($e); ?></span>
		  </p>
<p class="datos-adicionales">Publicado <?php echo $this->Time->timeAgoInWords($e['Exchange']['created'])?> por <?= $this->Html->link($e['Exchange']['username'], array('controller'=>'users', 'action'=>'view', $e['Exchange']['user_id'])) ?></p>
	 <?php echo $e['Exchange']['detail']; ?>
<div class="links">
		 <?php echo $this->Html->link('+enviar mensaje', array('controller'=>'conversations', 'action'=>'add', $e['Exchange']['user_id'])); ?>
		 <?php echo $this->Html->link('+comentar', array('controller'=>'exchanges', 'action'=>'view', $e['Exchange']['_id'].'#comment')); ?><commit_msg>Recortando texto, temporario<commit_after><div id="exchanges-list-page">

<div id="filters">
<?php
echo $this->Html->link('mostrar filtros', '#', array('id'=>'toggle_filtros'));
echo $this->Form->create('Filter', array('id'=>'filters_form', 'url'=>$this->Html->url($this->here)));

echo $this->Form->input('query', array('label'=>'Búsqueda'));

echo $this->Form->input('exchange_type', array('multiple'=>'checkbox', 'options'=>Configure::read('ExchangeType.Names'), 'label'=>'Publicaciones'));

echo $this->Form->end('Filtrar');
?>
<div class="clear"></div>
</div>

<ul id="exchanges">
<?php foreach ($exchanges as $e) { ?>
        <li>
	<h3><?php echo $this->Html->link($e['Exchange']['title'], '/exchanges/view/'.$e['Exchange']['_id']); ?></h3>
	 <?php 
	 if ($this->Exchange->defaultPhotoUrl($e)) {
		 echo $this->Exchange->defaultPhoto($e); 
	 }
         ?>
<p class="datos-adicionales">
		  <span class="tipo "><strong><?php echo Configure::read('ExchangeType.Names.'.$e['Exchange']['exchange_type_id']); ?></strong></span> 
		  <span class=""><?= $this->Exchange->ubicacion($e); ?></span>
		  </p>
<p class="datos-adicionales">Publicado <?php echo $this->Time->timeAgoInWords($e['Exchange']['created'])?> por <?= $this->Html->link($e['Exchange']['username'], array('controller'=>'users', 'action'=>'view', $e['Exchange']['user_id'])) ?></p>
		 <?php // mejorar para no cortar palabras, y agregar ... ?>
		 <?php echo substr($e['Exchange']['detail'], 0, 170); ?>
<div class="links">
		 <?php echo $this->Html->link('+enviar mensaje', array('controller'=>'conversations', 'action'=>'add', $e['Exchange']['user_id'])); ?>
		 <?php echo $this->Html->link('+comentar', array('controller'=>'exchanges', 'action'=>'view', $e['Exchange']['_id'].'#comment')); ?>
{'fraction_non_alphanumeric': 0.2876752336448598, 'fraction_numerical': 0.002336448598130841, 'mean_word_length': 7.021077283372366, 'pattern_counts': {'":': 0, '<': 66, '<?xml version=': 0, '>': 150, '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': '2962762', 'n_tokens_mistral': 1176, 'n_tokens_neox': 1138, 'n_words': 184}