<commit_before><?php
session_start();

$header['js'][] = 'captura_documentos';

$contenido = 'documentos/captura';

$tipo = seleccionarTodo("*","cTipoDocumental","1 order by asc");
while($row=mysqli_fetch_array($tipo[1])){
	echo "<br>value ".$row[0];
	echo "<br>Text ".$row[1];}

$dependencia = seleccionarTodo("*", "cDependencia", 1);
while($row=mysqli_fetch_array($dependencia[1])){
	echo "<br>value ".$row[0];
	echo "<br>Text ".$row[1];}

$areaAtencion = seleccionarTodo("area,idArea","cArea","areaPadre=3");
while($row=mysqli_fetch_array($areaAtencion[1])){
	echo "<br>value ".$row[0];
	echo "<br>Text ".$row[1];}
	
$data = array(
		'header' => $header,
		'contenido' => $contenido,
		'tipo' => $tipo,
		'areaAtencin' => $areaAtencion,
);
 
Flight::render('template/layout', $data);<commit_msg>iteraciones comentadas<commit_after><?php
session_start();

$header['js'][] = 'captura_documentos';

$contenido = 'documentos/captura';

$tipo = seleccionarTodo("*","cTipoDocumental","1 order by asc");
/*while($row=mysqli_fetch_array($tipo[1])){
	echo "<br>value ".$row[0];
	echo "<br>Text ".$row[1];}
*/

$dependencia = seleccionarTodo("*", "cDependencia", 1);
/*while($row=mysqli_fetch_array($dependencia[1])){
	echo "<br>value ".$row[0];
	echo "<br>Text ".$row[1];}
*/

$areaAtencion = seleccionarTodo("area,idArea","cArea","areaPadre=3");
/*while($row=mysqli_fetch_array($areaAtencion[1])){
	echo "<br>value ".$row[0];
	echo "<br>Text ".$row[1];}
*/

$data = array(
		'header' => $header,
		'contenido' => $contenido,
		'tipo' => $tipo,
		'areaAtencin' => $areaAtencion,
		'dependencia' => $dependencia
);
 
Flight::render('template/layout', $data);
{'fraction_non_alphanumeric': 0.24288310115081768, 'fraction_numerical': 0.014536644457904301, 'mean_word_length': 7.385786802030457, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 24, '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': '2392701', 'n_tokens_mistral': 706, 'n_tokens_neox': 695, 'n_words': 102}