<commit_before><?php require_once("views/default/default_header.php"); ?>

<section class="section images">
	<h2><?php echo $options['my_pictures']; ?></h2>
	<?php
	$pictures_html="";
	foreach($options['pictures'] as $picture){
		$pictures_html .= "<img src='/" .$picture->getThumbnailPath(). "' />";
	}
	if(sizeof($options['pictures'])===0) $pictures_html .= $options['no_pictures'];

	$pictures_html .= "<br /><a href='/upload/new'>" . $options['upload']  ."</a>";
	echo $pictures_html;
	?>

	<h2><?php echo $options['my_orders']; ?></h2>
	<?php
	$orders_html = "";
	foreach($options['orders'] as $order){
		$orders_html .= "<img src='/" .$order->getThumbnailPath(). "' />";
	}
	echo $orders_html;<commit_msg>orders in profile<commit_after><?php require_once("views/default/default_header.php"); ?>

<section class="section images">
	<h2><?php echo $options['my_pictures']; ?></h2>
	<?php
	$pictures_html="";
	foreach($options['pictures'] as $picture){
		$pictures_html .= "<img src='/" .$picture->getThumbnailPath(). "' />";
	}
	if(sizeof($options['pictures'])===0) $pictures_html .= $options['no_pictures'];

	$pictures_html .= "<br /><a href='/upload/new'>" . $options['upload']  ."</a>";
	echo $pictures_html;
	?>

	<h2><?php echo $options['my_orders']; ?></h2>
	<?php
	$orders_html = "";
	foreach($options['orders'] as $order){
	    foreach($order->pictures_orders() as $po) {
			$orders_html .= "<a href='/order/" . $order->getId(). "?download'>
			<img src='/" . $po->getPicture()->getThumbnailPath() . "' /></a>";
		}
	}
	echo $orders_html;
{'fraction_non_alphanumeric': 0.25806451612903225, 'fraction_numerical': 0.0064516129032258064, 'mean_word_length': 5.304878048780488, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 40, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3081331', 'n_tokens_mistral': 598, 'n_tokens_neox': 571, 'n_words': 97}